@hestia-earth/api 0.28.41 → 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 +1 -0
- package/files/model/model.d.ts +17 -0
- package/files/model/model.js +1 -0
- package/package.json +1 -1
package/esm/files/model/model.js
CHANGED
package/files/model/model.d.ts
CHANGED
|
@@ -116,6 +116,22 @@ export interface IExtractionNote {
|
|
|
116
116
|
quote?: string;
|
|
117
117
|
nodes?: IExtractionNoteNode[];
|
|
118
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
|
+
}
|
|
119
135
|
export interface IFileMetadata {
|
|
120
136
|
slackThreadTs?: string;
|
|
121
137
|
nodesPerType?: Partial<Record<NodeType, number>>;
|
|
@@ -153,6 +169,7 @@ export declare class File extends BaseFile {
|
|
|
153
169
|
datasetUrl?: string;
|
|
154
170
|
extractionLogs?: string;
|
|
155
171
|
extractionNotes?: IExtractionNote[];
|
|
172
|
+
versions?: IFileVersion[];
|
|
156
173
|
manuallyEditedAt?: Date;
|
|
157
174
|
fromDraft?: boolean;
|
|
158
175
|
deleted?: boolean;
|
package/files/model/model.js
CHANGED