|
|
@@ -38,6 +38,7 @@ export type TFieldName =
|
|
|
| "bookMarkColor"
|
|
|
| "bookMarkText"
|
|
|
| "locked"
|
|
|
+ | "attachments"
|
|
|
| "confidence";
|
|
|
|
|
|
export interface IWbwField {
|
|
|
@@ -51,6 +52,13 @@ export enum WbwStatus {
|
|
|
apply = 5,
|
|
|
manual = 7,
|
|
|
}
|
|
|
+
|
|
|
+export interface IWbwAttachment {
|
|
|
+ id: string;
|
|
|
+ content_type: string;
|
|
|
+ size: number;
|
|
|
+ title: string;
|
|
|
+}
|
|
|
export interface WbwElement<R> {
|
|
|
value: R;
|
|
|
status: WbwStatus;
|
|
|
@@ -79,7 +87,7 @@ export interface IWbw {
|
|
|
bookMarkText?: WbwElement<string | null>;
|
|
|
locked?: boolean;
|
|
|
confidence: number;
|
|
|
- attachments?: UploadFile[];
|
|
|
+ attachments?: IWbwAttachment[];
|
|
|
hasComment?: boolean;
|
|
|
}
|
|
|
export interface IWbwFields {
|