Annotation: {
consumer?: string;
created: string;
document: { title: string[]; };
flagged: boolean;
group: string;
hidden: boolean;
id: string;
links?: any;
permissions?: any;
references?: string[];
tags: string[];
target?: ({ source?: string | undefined; selector?: ({ type: "FragmentSelector"; value: string; conformsTo?: string | undefined; } | { type: "CssSelector"; value: string; } | { type: "XPathSelector"; value: string; } | ... 6 more ... | { ...; })[] | undefined; })[];
text: string;
updated: string;
uri: string;
user: string;
user_info?: { display_name: string | null; };
}
Type declaration
-
Optional
consumer?: string
-
created: string
-
document: { title: string[]; }
-
flagged: boolean
-
group: string
-
hidden: boolean
-
id: string
-
Optional
links?: any
-
Optional
permissions?: any
-
Optional
references?: string[]
-
tags: string[]
-
Optional
target?: ({ source?: string | undefined; selector?: ({ type: "FragmentSelector"; value: string; conformsTo?: string | undefined; } | { type: "CssSelector"; value: string; } | { type: "XPathSelector"; value: string; } | ... 6 more ... | { ...; })[] | undefined; })[]
-
text: string
-
updated: string
-
uri: string
-
user: string
-
Optional
user_info?: { display_name: string | null; }
See
target
: https://github.com/hypothesis/client/blob/main/src/types/api.ts#L136user_info
: https://github.com/hypothesis/client/blob/main/src/types/api.ts#L143