@hestia-earth/api 0.28.39 → 0.28.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/files/model/model.js +2 -0
- package/files/model/model.d.ts +13 -0
- package/files/model/model.js +2 -0
- package/package.json +1 -1
package/esm/files/model/model.js
CHANGED
package/files/model/model.d.ts
CHANGED
|
@@ -105,6 +105,17 @@ export interface IFileTodoItem extends IFileComment {
|
|
|
105
105
|
index: number;
|
|
106
106
|
isChecked: boolean;
|
|
107
107
|
}
|
|
108
|
+
export interface IExtractionNoteNode {
|
|
109
|
+
type: NodeType;
|
|
110
|
+
id: string;
|
|
111
|
+
}
|
|
112
|
+
export interface IExtractionNote {
|
|
113
|
+
kind?: string;
|
|
114
|
+
text: string;
|
|
115
|
+
scope?: string;
|
|
116
|
+
quote?: string;
|
|
117
|
+
nodes?: IExtractionNoteNode[];
|
|
118
|
+
}
|
|
108
119
|
export interface IFileMetadata {
|
|
109
120
|
slackThreadTs?: string;
|
|
110
121
|
nodesPerType?: Partial<Record<NodeType, number>>;
|
|
@@ -141,6 +152,8 @@ export declare class File extends BaseFile {
|
|
|
141
152
|
extraction?: boolean;
|
|
142
153
|
datasetUrl?: string;
|
|
143
154
|
extractionLogs?: string;
|
|
155
|
+
extractionNotes?: IExtractionNote[];
|
|
156
|
+
manuallyEditedAt?: Date;
|
|
144
157
|
fromDraft?: boolean;
|
|
145
158
|
deleted?: boolean;
|
|
146
159
|
readonly isOwner?: boolean;
|
package/files/model/model.js
CHANGED