@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.
@@ -147,6 +147,9 @@ export class File extends BaseFile {
147
147
  extraction;
148
148
  datasetUrl;
149
149
  extractionLogs;
150
+ extractionNotes;
151
+ versions;
152
+ manuallyEditedAt;
150
153
  fromDraft;
151
154
  deleted;
152
155
  isOwner;
@@ -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;
@@ -154,6 +154,9 @@ class File extends BaseFile {
154
154
  extraction;
155
155
  datasetUrl;
156
156
  extractionLogs;
157
+ extractionNotes;
158
+ versions;
159
+ manuallyEditedAt;
157
160
  fromDraft;
158
161
  deleted;
159
162
  isOwner;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/api",
3
- "version": "0.28.40",
3
+ "version": "0.28.42",
4
4
  "description": "Hestia API definitions",
5
5
  "main": "models.js",
6
6
  "module": "esm/models.js",