@hestia-earth/api 0.28.40 → 0.28.42
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 +3 -0
- package/files/model/model.d.ts +30 -0
- package/files/model/model.js +3 -0
- package/package.json +1 -1
package/esm/files/model/model.js
CHANGED
package/files/model/model.d.ts
CHANGED
|
@@ -105,6 +105,33 @@ 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
|
+
}
|
|
119
|
+
export interface IFileVersionSummary {
|
|
120
|
+
changes?: number;
|
|
121
|
+
applied?: number;
|
|
122
|
+
declined?: number;
|
|
123
|
+
unaddressed?: number;
|
|
124
|
+
unrequested?: number;
|
|
125
|
+
cells?: number;
|
|
126
|
+
}
|
|
127
|
+
export interface IFileVersion {
|
|
128
|
+
version: number;
|
|
129
|
+
createdAt: Date;
|
|
130
|
+
commentIds?: string[];
|
|
131
|
+
summary?: IFileVersionSummary;
|
|
132
|
+
key?: string;
|
|
133
|
+
readonly changesPath?: string;
|
|
134
|
+
}
|
|
108
135
|
export interface IFileMetadata {
|
|
109
136
|
slackThreadTs?: string;
|
|
110
137
|
nodesPerType?: Partial<Record<NodeType, number>>;
|
|
@@ -141,6 +168,9 @@ export declare class File extends BaseFile {
|
|
|
141
168
|
extraction?: boolean;
|
|
142
169
|
datasetUrl?: string;
|
|
143
170
|
extractionLogs?: string;
|
|
171
|
+
extractionNotes?: IExtractionNote[];
|
|
172
|
+
versions?: IFileVersion[];
|
|
173
|
+
manuallyEditedAt?: Date;
|
|
144
174
|
fromDraft?: boolean;
|
|
145
175
|
deleted?: boolean;
|
|
146
176
|
readonly isOwner?: boolean;
|
package/files/model/model.js
CHANGED