@supernova-studio/supernova-sdk-beta 2.4.9 → 2.4.11
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/build/supernova-sdk-typescript.js +1 -1
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/build/types/core/areas/SDKAreaBulkOperations.d.ts +72 -72
- package/build/types/core/areas/SDKAreaDesignSystems.d.ts +13 -13
- package/build/types/core/areas/SDKAreaDocumentation.d.ts +288 -288
- package/build/types/core/areas/SDKAreaMCP.d.ts +8 -1
- package/build/types/core/areas/SDKAreaProjects.d.ts +1091 -1091
- package/build/types/core/areas/SDKAreaRawData.d.ts +1046 -1046
- package/build/types/core/areas/SDKAreaResources.d.ts +90 -90
- package/build/types/core/areas/SDKAreaSanboxes.d.ts +9 -9
- package/build/types/core/areas/SDKAreaThreads.d.ts +67 -67
- package/build/types/core/areas/SDKAreaWorkspaces.d.ts +1 -1
- package/build/types/core/data/SDKDataCore.d.ts +1735 -1732
- package/build/types/core/data/requests/SDKDataCoreReadRequests.d.ts +628 -601
- package/build/types/core/data/requests/SDKDataCoreWriteRequests.d.ts +2494 -2495
- package/build/types/core/resolvers/SDKDocsEntityItemResolver.d.ts +121 -121
- package/build/types/exports.d.ts +1 -0
- package/build/types/model/activity-events/SDKActivityEvent.d.ts +3 -0
- package/build/types/model/agent-chats/SDKAgentChat.d.ts +3 -0
- package/build/types/model/base/SDKDesignSystem.d.ts +3 -1
- package/build/types/model/docs/blocks/properties/SDKDocsBlockContextProperty.d.ts +1 -1
- package/build/types/model/exporters/SDKPipeline.d.ts +1 -1
- package/build/types/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +29 -3
- package/build/types/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +31 -0
- package/build/types/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/index.d.ts +4 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/lenient-resolve.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/placeholder.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/preserve.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/strict.d.ts +2 -0
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/types.d.ts +33 -0
- package/package.json +1 -1
|
@@ -107,126 +107,126 @@ export declare class AreaDocumentation {
|
|
|
107
107
|
* @returns Newly created documentation group
|
|
108
108
|
*/
|
|
109
109
|
updateDocumentationGroup(from: RemoteWorkspaceVersionIdentifier, payload: DTOUpdateDocumentationGroupInput): Promise<{
|
|
110
|
-
type
|
|
111
|
-
output
|
|
112
|
-
success
|
|
110
|
+
type: "DocumentationPageCreate";
|
|
111
|
+
output: {
|
|
112
|
+
success: true;
|
|
113
113
|
};
|
|
114
114
|
} | {
|
|
115
|
-
type
|
|
116
|
-
output
|
|
117
|
-
success
|
|
115
|
+
type: "DocumentationPageUpdate";
|
|
116
|
+
output: {
|
|
117
|
+
success: true;
|
|
118
118
|
};
|
|
119
119
|
} | {
|
|
120
|
-
type
|
|
121
|
-
output
|
|
122
|
-
success
|
|
120
|
+
type: "DocumentationPageUpdateDocument";
|
|
121
|
+
output: {
|
|
122
|
+
success: true;
|
|
123
123
|
};
|
|
124
124
|
} | {
|
|
125
|
-
type
|
|
126
|
-
output
|
|
127
|
-
success
|
|
125
|
+
type: "DocumentationPageMove";
|
|
126
|
+
output: {
|
|
127
|
+
success: true;
|
|
128
128
|
};
|
|
129
129
|
} | {
|
|
130
|
-
type
|
|
131
|
-
output
|
|
132
|
-
success
|
|
130
|
+
type: "DocumentationPageDuplicate";
|
|
131
|
+
output: {
|
|
132
|
+
success: true;
|
|
133
133
|
};
|
|
134
134
|
} | {
|
|
135
|
-
type
|
|
136
|
-
output
|
|
137
|
-
success
|
|
135
|
+
type: "DocumentationPageDelete";
|
|
136
|
+
output: {
|
|
137
|
+
success: true;
|
|
138
138
|
};
|
|
139
139
|
} | {
|
|
140
|
-
type
|
|
141
|
-
output
|
|
142
|
-
success
|
|
140
|
+
type: "DocumentationGroupCreate";
|
|
141
|
+
output: {
|
|
142
|
+
success: true;
|
|
143
143
|
};
|
|
144
144
|
} | {
|
|
145
|
-
type
|
|
146
|
-
output
|
|
147
|
-
success
|
|
145
|
+
type: "DocumentationTabCreate";
|
|
146
|
+
output: {
|
|
147
|
+
success: true;
|
|
148
148
|
};
|
|
149
149
|
} | {
|
|
150
|
-
type
|
|
151
|
-
output
|
|
152
|
-
success
|
|
150
|
+
type: "DocumentationGroupUpdate";
|
|
151
|
+
output: {
|
|
152
|
+
success: true;
|
|
153
153
|
};
|
|
154
154
|
} | {
|
|
155
|
-
type
|
|
156
|
-
output
|
|
157
|
-
success
|
|
155
|
+
type: "DocumentationGroupMove";
|
|
156
|
+
output: {
|
|
157
|
+
success: true;
|
|
158
158
|
};
|
|
159
159
|
} | {
|
|
160
|
-
type
|
|
161
|
-
output
|
|
162
|
-
success
|
|
160
|
+
type: "DocumentationGroupDuplicate";
|
|
161
|
+
output: {
|
|
162
|
+
success: true;
|
|
163
163
|
};
|
|
164
164
|
} | {
|
|
165
|
-
type
|
|
166
|
-
output
|
|
167
|
-
success
|
|
165
|
+
type: "DocumentationGroupDelete";
|
|
166
|
+
output: {
|
|
167
|
+
success: true;
|
|
168
168
|
};
|
|
169
169
|
} | {
|
|
170
|
-
type
|
|
171
|
-
output
|
|
172
|
-
success
|
|
170
|
+
type: "DocumentationTabGroupDelete";
|
|
171
|
+
output: {
|
|
172
|
+
success: true;
|
|
173
173
|
};
|
|
174
174
|
} | {
|
|
175
|
-
type
|
|
176
|
-
figmaNodes
|
|
177
|
-
id
|
|
178
|
-
designSystemVersionId
|
|
179
|
-
createdAt
|
|
180
|
-
updatedAt
|
|
181
|
-
meta
|
|
182
|
-
name
|
|
175
|
+
type: "FigmaNodeRenderAsync";
|
|
176
|
+
figmaNodes: {
|
|
177
|
+
id: string;
|
|
178
|
+
designSystemVersionId: string;
|
|
179
|
+
createdAt: Date;
|
|
180
|
+
updatedAt: Date;
|
|
181
|
+
meta: {
|
|
182
|
+
name: string;
|
|
183
183
|
description?: string;
|
|
184
184
|
};
|
|
185
|
-
persistentId
|
|
186
|
-
data
|
|
187
|
-
|
|
185
|
+
persistentId: string;
|
|
186
|
+
data: {
|
|
187
|
+
sceneNodeId: string;
|
|
188
|
+
format: "Png" | "Svg";
|
|
189
|
+
renderState: "Success" | "InProgress" | "Failed";
|
|
190
|
+
hasSource: boolean;
|
|
188
191
|
scale?: number;
|
|
189
|
-
sceneNodeId?: string;
|
|
190
|
-
renderState?: "Success" | "InProgress" | "Failed";
|
|
191
192
|
renderedImage?: {
|
|
193
|
+
resourceId: string;
|
|
194
|
+
format: "Png" | "Svg";
|
|
195
|
+
scale?: number;
|
|
192
196
|
width?: number;
|
|
193
|
-
url?: string;
|
|
194
197
|
height?: number;
|
|
195
|
-
|
|
196
|
-
format?: "Png" | "Svg";
|
|
197
|
-
scale?: number;
|
|
198
|
+
url?: string;
|
|
198
199
|
originKey?: string;
|
|
199
200
|
};
|
|
200
201
|
renderError?: {
|
|
201
|
-
type
|
|
202
|
+
type: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
|
|
202
203
|
};
|
|
203
|
-
hasSource?: boolean;
|
|
204
204
|
};
|
|
205
|
-
origin
|
|
206
|
-
sourceId
|
|
205
|
+
origin: {
|
|
206
|
+
sourceId: string;
|
|
207
207
|
fileId?: string;
|
|
208
208
|
parentName?: string;
|
|
209
209
|
};
|
|
210
210
|
}[];
|
|
211
211
|
} | {
|
|
212
|
-
type
|
|
213
|
-
output
|
|
214
|
-
success
|
|
212
|
+
type: "DocumentationPageRestore";
|
|
213
|
+
output: {
|
|
214
|
+
success: true;
|
|
215
215
|
};
|
|
216
216
|
} | {
|
|
217
|
-
type
|
|
218
|
-
output
|
|
219
|
-
success
|
|
217
|
+
type: "DocumentationGroupRestore";
|
|
218
|
+
output: {
|
|
219
|
+
success: true;
|
|
220
220
|
};
|
|
221
221
|
} | {
|
|
222
|
-
type
|
|
223
|
-
output
|
|
224
|
-
success
|
|
222
|
+
type: "DocumentationPageApprovalStateChange";
|
|
223
|
+
output: {
|
|
224
|
+
success: true;
|
|
225
225
|
};
|
|
226
226
|
} | {
|
|
227
|
-
type
|
|
228
|
-
output
|
|
229
|
-
success
|
|
227
|
+
type: "ElementPropertyValuesEdit";
|
|
228
|
+
output: {
|
|
229
|
+
success: true;
|
|
230
230
|
};
|
|
231
231
|
}>;
|
|
232
232
|
/** Moves a documentation page
|
|
@@ -235,126 +235,126 @@ export declare class AreaDocumentation {
|
|
|
235
235
|
* @returns nothing
|
|
236
236
|
*/
|
|
237
237
|
moveDocumentationPage(from: RemoteWorkspaceVersionIdentifier, payload: DTOMoveDocumentationPageInputV2): Promise<{
|
|
238
|
-
type
|
|
239
|
-
output
|
|
240
|
-
success
|
|
238
|
+
type: "DocumentationPageCreate";
|
|
239
|
+
output: {
|
|
240
|
+
success: true;
|
|
241
241
|
};
|
|
242
242
|
} | {
|
|
243
|
-
type
|
|
244
|
-
output
|
|
245
|
-
success
|
|
243
|
+
type: "DocumentationPageUpdate";
|
|
244
|
+
output: {
|
|
245
|
+
success: true;
|
|
246
246
|
};
|
|
247
247
|
} | {
|
|
248
|
-
type
|
|
249
|
-
output
|
|
250
|
-
success
|
|
248
|
+
type: "DocumentationPageUpdateDocument";
|
|
249
|
+
output: {
|
|
250
|
+
success: true;
|
|
251
251
|
};
|
|
252
252
|
} | {
|
|
253
|
-
type
|
|
254
|
-
output
|
|
255
|
-
success
|
|
253
|
+
type: "DocumentationPageMove";
|
|
254
|
+
output: {
|
|
255
|
+
success: true;
|
|
256
256
|
};
|
|
257
257
|
} | {
|
|
258
|
-
type
|
|
259
|
-
output
|
|
260
|
-
success
|
|
258
|
+
type: "DocumentationPageDuplicate";
|
|
259
|
+
output: {
|
|
260
|
+
success: true;
|
|
261
261
|
};
|
|
262
262
|
} | {
|
|
263
|
-
type
|
|
264
|
-
output
|
|
265
|
-
success
|
|
263
|
+
type: "DocumentationPageDelete";
|
|
264
|
+
output: {
|
|
265
|
+
success: true;
|
|
266
266
|
};
|
|
267
267
|
} | {
|
|
268
|
-
type
|
|
269
|
-
output
|
|
270
|
-
success
|
|
268
|
+
type: "DocumentationGroupCreate";
|
|
269
|
+
output: {
|
|
270
|
+
success: true;
|
|
271
271
|
};
|
|
272
272
|
} | {
|
|
273
|
-
type
|
|
274
|
-
output
|
|
275
|
-
success
|
|
273
|
+
type: "DocumentationTabCreate";
|
|
274
|
+
output: {
|
|
275
|
+
success: true;
|
|
276
276
|
};
|
|
277
277
|
} | {
|
|
278
|
-
type
|
|
279
|
-
output
|
|
280
|
-
success
|
|
278
|
+
type: "DocumentationGroupUpdate";
|
|
279
|
+
output: {
|
|
280
|
+
success: true;
|
|
281
281
|
};
|
|
282
282
|
} | {
|
|
283
|
-
type
|
|
284
|
-
output
|
|
285
|
-
success
|
|
283
|
+
type: "DocumentationGroupMove";
|
|
284
|
+
output: {
|
|
285
|
+
success: true;
|
|
286
286
|
};
|
|
287
287
|
} | {
|
|
288
|
-
type
|
|
289
|
-
output
|
|
290
|
-
success
|
|
288
|
+
type: "DocumentationGroupDuplicate";
|
|
289
|
+
output: {
|
|
290
|
+
success: true;
|
|
291
291
|
};
|
|
292
292
|
} | {
|
|
293
|
-
type
|
|
294
|
-
output
|
|
295
|
-
success
|
|
293
|
+
type: "DocumentationGroupDelete";
|
|
294
|
+
output: {
|
|
295
|
+
success: true;
|
|
296
296
|
};
|
|
297
297
|
} | {
|
|
298
|
-
type
|
|
299
|
-
output
|
|
300
|
-
success
|
|
298
|
+
type: "DocumentationTabGroupDelete";
|
|
299
|
+
output: {
|
|
300
|
+
success: true;
|
|
301
301
|
};
|
|
302
302
|
} | {
|
|
303
|
-
type
|
|
304
|
-
figmaNodes
|
|
305
|
-
id
|
|
306
|
-
designSystemVersionId
|
|
307
|
-
createdAt
|
|
308
|
-
updatedAt
|
|
309
|
-
meta
|
|
310
|
-
name
|
|
303
|
+
type: "FigmaNodeRenderAsync";
|
|
304
|
+
figmaNodes: {
|
|
305
|
+
id: string;
|
|
306
|
+
designSystemVersionId: string;
|
|
307
|
+
createdAt: Date;
|
|
308
|
+
updatedAt: Date;
|
|
309
|
+
meta: {
|
|
310
|
+
name: string;
|
|
311
311
|
description?: string;
|
|
312
312
|
};
|
|
313
|
-
persistentId
|
|
314
|
-
data
|
|
315
|
-
|
|
313
|
+
persistentId: string;
|
|
314
|
+
data: {
|
|
315
|
+
sceneNodeId: string;
|
|
316
|
+
format: "Png" | "Svg";
|
|
317
|
+
renderState: "Success" | "InProgress" | "Failed";
|
|
318
|
+
hasSource: boolean;
|
|
316
319
|
scale?: number;
|
|
317
|
-
sceneNodeId?: string;
|
|
318
|
-
renderState?: "Success" | "InProgress" | "Failed";
|
|
319
320
|
renderedImage?: {
|
|
321
|
+
resourceId: string;
|
|
322
|
+
format: "Png" | "Svg";
|
|
323
|
+
scale?: number;
|
|
320
324
|
width?: number;
|
|
321
|
-
url?: string;
|
|
322
325
|
height?: number;
|
|
323
|
-
|
|
324
|
-
format?: "Png" | "Svg";
|
|
325
|
-
scale?: number;
|
|
326
|
+
url?: string;
|
|
326
327
|
originKey?: string;
|
|
327
328
|
};
|
|
328
329
|
renderError?: {
|
|
329
|
-
type
|
|
330
|
+
type: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
|
|
330
331
|
};
|
|
331
|
-
hasSource?: boolean;
|
|
332
332
|
};
|
|
333
|
-
origin
|
|
334
|
-
sourceId
|
|
333
|
+
origin: {
|
|
334
|
+
sourceId: string;
|
|
335
335
|
fileId?: string;
|
|
336
336
|
parentName?: string;
|
|
337
337
|
};
|
|
338
338
|
}[];
|
|
339
339
|
} | {
|
|
340
|
-
type
|
|
341
|
-
output
|
|
342
|
-
success
|
|
340
|
+
type: "DocumentationPageRestore";
|
|
341
|
+
output: {
|
|
342
|
+
success: true;
|
|
343
343
|
};
|
|
344
344
|
} | {
|
|
345
|
-
type
|
|
346
|
-
output
|
|
347
|
-
success
|
|
345
|
+
type: "DocumentationGroupRestore";
|
|
346
|
+
output: {
|
|
347
|
+
success: true;
|
|
348
348
|
};
|
|
349
349
|
} | {
|
|
350
|
-
type
|
|
351
|
-
output
|
|
352
|
-
success
|
|
350
|
+
type: "DocumentationPageApprovalStateChange";
|
|
351
|
+
output: {
|
|
352
|
+
success: true;
|
|
353
353
|
};
|
|
354
354
|
} | {
|
|
355
|
-
type
|
|
356
|
-
output
|
|
357
|
-
success
|
|
355
|
+
type: "ElementPropertyValuesEdit";
|
|
356
|
+
output: {
|
|
357
|
+
success: true;
|
|
358
358
|
};
|
|
359
359
|
}>;
|
|
360
360
|
/** Moves a documentation group
|
|
@@ -363,126 +363,126 @@ export declare class AreaDocumentation {
|
|
|
363
363
|
* @returns nothing
|
|
364
364
|
*/
|
|
365
365
|
moveDocumentationGroup(from: RemoteWorkspaceVersionIdentifier, payload: DTOMoveDocumentationGroupInput): Promise<{
|
|
366
|
-
type
|
|
367
|
-
output
|
|
368
|
-
success
|
|
366
|
+
type: "DocumentationPageCreate";
|
|
367
|
+
output: {
|
|
368
|
+
success: true;
|
|
369
369
|
};
|
|
370
370
|
} | {
|
|
371
|
-
type
|
|
372
|
-
output
|
|
373
|
-
success
|
|
371
|
+
type: "DocumentationPageUpdate";
|
|
372
|
+
output: {
|
|
373
|
+
success: true;
|
|
374
374
|
};
|
|
375
375
|
} | {
|
|
376
|
-
type
|
|
377
|
-
output
|
|
378
|
-
success
|
|
376
|
+
type: "DocumentationPageUpdateDocument";
|
|
377
|
+
output: {
|
|
378
|
+
success: true;
|
|
379
379
|
};
|
|
380
380
|
} | {
|
|
381
|
-
type
|
|
382
|
-
output
|
|
383
|
-
success
|
|
381
|
+
type: "DocumentationPageMove";
|
|
382
|
+
output: {
|
|
383
|
+
success: true;
|
|
384
384
|
};
|
|
385
385
|
} | {
|
|
386
|
-
type
|
|
387
|
-
output
|
|
388
|
-
success
|
|
386
|
+
type: "DocumentationPageDuplicate";
|
|
387
|
+
output: {
|
|
388
|
+
success: true;
|
|
389
389
|
};
|
|
390
390
|
} | {
|
|
391
|
-
type
|
|
392
|
-
output
|
|
393
|
-
success
|
|
391
|
+
type: "DocumentationPageDelete";
|
|
392
|
+
output: {
|
|
393
|
+
success: true;
|
|
394
394
|
};
|
|
395
395
|
} | {
|
|
396
|
-
type
|
|
397
|
-
output
|
|
398
|
-
success
|
|
396
|
+
type: "DocumentationGroupCreate";
|
|
397
|
+
output: {
|
|
398
|
+
success: true;
|
|
399
399
|
};
|
|
400
400
|
} | {
|
|
401
|
-
type
|
|
402
|
-
output
|
|
403
|
-
success
|
|
401
|
+
type: "DocumentationTabCreate";
|
|
402
|
+
output: {
|
|
403
|
+
success: true;
|
|
404
404
|
};
|
|
405
405
|
} | {
|
|
406
|
-
type
|
|
407
|
-
output
|
|
408
|
-
success
|
|
406
|
+
type: "DocumentationGroupUpdate";
|
|
407
|
+
output: {
|
|
408
|
+
success: true;
|
|
409
409
|
};
|
|
410
410
|
} | {
|
|
411
|
-
type
|
|
412
|
-
output
|
|
413
|
-
success
|
|
411
|
+
type: "DocumentationGroupMove";
|
|
412
|
+
output: {
|
|
413
|
+
success: true;
|
|
414
414
|
};
|
|
415
415
|
} | {
|
|
416
|
-
type
|
|
417
|
-
output
|
|
418
|
-
success
|
|
416
|
+
type: "DocumentationGroupDuplicate";
|
|
417
|
+
output: {
|
|
418
|
+
success: true;
|
|
419
419
|
};
|
|
420
420
|
} | {
|
|
421
|
-
type
|
|
422
|
-
output
|
|
423
|
-
success
|
|
421
|
+
type: "DocumentationGroupDelete";
|
|
422
|
+
output: {
|
|
423
|
+
success: true;
|
|
424
424
|
};
|
|
425
425
|
} | {
|
|
426
|
-
type
|
|
427
|
-
output
|
|
428
|
-
success
|
|
426
|
+
type: "DocumentationTabGroupDelete";
|
|
427
|
+
output: {
|
|
428
|
+
success: true;
|
|
429
429
|
};
|
|
430
430
|
} | {
|
|
431
|
-
type
|
|
432
|
-
figmaNodes
|
|
433
|
-
id
|
|
434
|
-
designSystemVersionId
|
|
435
|
-
createdAt
|
|
436
|
-
updatedAt
|
|
437
|
-
meta
|
|
438
|
-
name
|
|
431
|
+
type: "FigmaNodeRenderAsync";
|
|
432
|
+
figmaNodes: {
|
|
433
|
+
id: string;
|
|
434
|
+
designSystemVersionId: string;
|
|
435
|
+
createdAt: Date;
|
|
436
|
+
updatedAt: Date;
|
|
437
|
+
meta: {
|
|
438
|
+
name: string;
|
|
439
439
|
description?: string;
|
|
440
440
|
};
|
|
441
|
-
persistentId
|
|
442
|
-
data
|
|
443
|
-
|
|
441
|
+
persistentId: string;
|
|
442
|
+
data: {
|
|
443
|
+
sceneNodeId: string;
|
|
444
|
+
format: "Png" | "Svg";
|
|
445
|
+
renderState: "Success" | "InProgress" | "Failed";
|
|
446
|
+
hasSource: boolean;
|
|
444
447
|
scale?: number;
|
|
445
|
-
sceneNodeId?: string;
|
|
446
|
-
renderState?: "Success" | "InProgress" | "Failed";
|
|
447
448
|
renderedImage?: {
|
|
449
|
+
resourceId: string;
|
|
450
|
+
format: "Png" | "Svg";
|
|
451
|
+
scale?: number;
|
|
448
452
|
width?: number;
|
|
449
|
-
url?: string;
|
|
450
453
|
height?: number;
|
|
451
|
-
|
|
452
|
-
format?: "Png" | "Svg";
|
|
453
|
-
scale?: number;
|
|
454
|
+
url?: string;
|
|
454
455
|
originKey?: string;
|
|
455
456
|
};
|
|
456
457
|
renderError?: {
|
|
457
|
-
type
|
|
458
|
+
type: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
|
|
458
459
|
};
|
|
459
|
-
hasSource?: boolean;
|
|
460
460
|
};
|
|
461
|
-
origin
|
|
462
|
-
sourceId
|
|
461
|
+
origin: {
|
|
462
|
+
sourceId: string;
|
|
463
463
|
fileId?: string;
|
|
464
464
|
parentName?: string;
|
|
465
465
|
};
|
|
466
466
|
}[];
|
|
467
467
|
} | {
|
|
468
|
-
type
|
|
469
|
-
output
|
|
470
|
-
success
|
|
468
|
+
type: "DocumentationPageRestore";
|
|
469
|
+
output: {
|
|
470
|
+
success: true;
|
|
471
471
|
};
|
|
472
472
|
} | {
|
|
473
|
-
type
|
|
474
|
-
output
|
|
475
|
-
success
|
|
473
|
+
type: "DocumentationGroupRestore";
|
|
474
|
+
output: {
|
|
475
|
+
success: true;
|
|
476
476
|
};
|
|
477
477
|
} | {
|
|
478
|
-
type
|
|
479
|
-
output
|
|
480
|
-
success
|
|
478
|
+
type: "DocumentationPageApprovalStateChange";
|
|
479
|
+
output: {
|
|
480
|
+
success: true;
|
|
481
481
|
};
|
|
482
482
|
} | {
|
|
483
|
-
type
|
|
484
|
-
output
|
|
485
|
-
success
|
|
483
|
+
type: "ElementPropertyValuesEdit";
|
|
484
|
+
output: {
|
|
485
|
+
success: true;
|
|
486
486
|
};
|
|
487
487
|
}>;
|
|
488
488
|
/** Deletes a documentation group
|
|
@@ -530,126 +530,126 @@ export declare class AreaDocumentation {
|
|
|
530
530
|
* @returns page
|
|
531
531
|
*/
|
|
532
532
|
updateDocumentationPageOrTab(from: RemoteWorkspaceVersionIdentifier, payload: DTOUpdateDocumentationPageInputV2): Promise<{
|
|
533
|
-
type
|
|
534
|
-
output
|
|
535
|
-
success
|
|
533
|
+
type: "DocumentationPageCreate";
|
|
534
|
+
output: {
|
|
535
|
+
success: true;
|
|
536
536
|
};
|
|
537
537
|
} | {
|
|
538
|
-
type
|
|
539
|
-
output
|
|
540
|
-
success
|
|
538
|
+
type: "DocumentationPageUpdate";
|
|
539
|
+
output: {
|
|
540
|
+
success: true;
|
|
541
541
|
};
|
|
542
542
|
} | {
|
|
543
|
-
type
|
|
544
|
-
output
|
|
545
|
-
success
|
|
543
|
+
type: "DocumentationPageUpdateDocument";
|
|
544
|
+
output: {
|
|
545
|
+
success: true;
|
|
546
546
|
};
|
|
547
547
|
} | {
|
|
548
|
-
type
|
|
549
|
-
output
|
|
550
|
-
success
|
|
548
|
+
type: "DocumentationPageMove";
|
|
549
|
+
output: {
|
|
550
|
+
success: true;
|
|
551
551
|
};
|
|
552
552
|
} | {
|
|
553
|
-
type
|
|
554
|
-
output
|
|
555
|
-
success
|
|
553
|
+
type: "DocumentationPageDuplicate";
|
|
554
|
+
output: {
|
|
555
|
+
success: true;
|
|
556
556
|
};
|
|
557
557
|
} | {
|
|
558
|
-
type
|
|
559
|
-
output
|
|
560
|
-
success
|
|
558
|
+
type: "DocumentationPageDelete";
|
|
559
|
+
output: {
|
|
560
|
+
success: true;
|
|
561
561
|
};
|
|
562
562
|
} | {
|
|
563
|
-
type
|
|
564
|
-
output
|
|
565
|
-
success
|
|
563
|
+
type: "DocumentationGroupCreate";
|
|
564
|
+
output: {
|
|
565
|
+
success: true;
|
|
566
566
|
};
|
|
567
567
|
} | {
|
|
568
|
-
type
|
|
569
|
-
output
|
|
570
|
-
success
|
|
568
|
+
type: "DocumentationTabCreate";
|
|
569
|
+
output: {
|
|
570
|
+
success: true;
|
|
571
571
|
};
|
|
572
572
|
} | {
|
|
573
|
-
type
|
|
574
|
-
output
|
|
575
|
-
success
|
|
573
|
+
type: "DocumentationGroupUpdate";
|
|
574
|
+
output: {
|
|
575
|
+
success: true;
|
|
576
576
|
};
|
|
577
577
|
} | {
|
|
578
|
-
type
|
|
579
|
-
output
|
|
580
|
-
success
|
|
578
|
+
type: "DocumentationGroupMove";
|
|
579
|
+
output: {
|
|
580
|
+
success: true;
|
|
581
581
|
};
|
|
582
582
|
} | {
|
|
583
|
-
type
|
|
584
|
-
output
|
|
585
|
-
success
|
|
583
|
+
type: "DocumentationGroupDuplicate";
|
|
584
|
+
output: {
|
|
585
|
+
success: true;
|
|
586
586
|
};
|
|
587
587
|
} | {
|
|
588
|
-
type
|
|
589
|
-
output
|
|
590
|
-
success
|
|
588
|
+
type: "DocumentationGroupDelete";
|
|
589
|
+
output: {
|
|
590
|
+
success: true;
|
|
591
591
|
};
|
|
592
592
|
} | {
|
|
593
|
-
type
|
|
594
|
-
output
|
|
595
|
-
success
|
|
593
|
+
type: "DocumentationTabGroupDelete";
|
|
594
|
+
output: {
|
|
595
|
+
success: true;
|
|
596
596
|
};
|
|
597
597
|
} | {
|
|
598
|
-
type
|
|
599
|
-
figmaNodes
|
|
600
|
-
id
|
|
601
|
-
designSystemVersionId
|
|
602
|
-
createdAt
|
|
603
|
-
updatedAt
|
|
604
|
-
meta
|
|
605
|
-
name
|
|
598
|
+
type: "FigmaNodeRenderAsync";
|
|
599
|
+
figmaNodes: {
|
|
600
|
+
id: string;
|
|
601
|
+
designSystemVersionId: string;
|
|
602
|
+
createdAt: Date;
|
|
603
|
+
updatedAt: Date;
|
|
604
|
+
meta: {
|
|
605
|
+
name: string;
|
|
606
606
|
description?: string;
|
|
607
607
|
};
|
|
608
|
-
persistentId
|
|
609
|
-
data
|
|
610
|
-
|
|
608
|
+
persistentId: string;
|
|
609
|
+
data: {
|
|
610
|
+
sceneNodeId: string;
|
|
611
|
+
format: "Png" | "Svg";
|
|
612
|
+
renderState: "Success" | "InProgress" | "Failed";
|
|
613
|
+
hasSource: boolean;
|
|
611
614
|
scale?: number;
|
|
612
|
-
sceneNodeId?: string;
|
|
613
|
-
renderState?: "Success" | "InProgress" | "Failed";
|
|
614
615
|
renderedImage?: {
|
|
616
|
+
resourceId: string;
|
|
617
|
+
format: "Png" | "Svg";
|
|
618
|
+
scale?: number;
|
|
615
619
|
width?: number;
|
|
616
|
-
url?: string;
|
|
617
620
|
height?: number;
|
|
618
|
-
|
|
619
|
-
format?: "Png" | "Svg";
|
|
620
|
-
scale?: number;
|
|
621
|
+
url?: string;
|
|
621
622
|
originKey?: string;
|
|
622
623
|
};
|
|
623
624
|
renderError?: {
|
|
624
|
-
type
|
|
625
|
+
type: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
|
|
625
626
|
};
|
|
626
|
-
hasSource?: boolean;
|
|
627
627
|
};
|
|
628
|
-
origin
|
|
629
|
-
sourceId
|
|
628
|
+
origin: {
|
|
629
|
+
sourceId: string;
|
|
630
630
|
fileId?: string;
|
|
631
631
|
parentName?: string;
|
|
632
632
|
};
|
|
633
633
|
}[];
|
|
634
634
|
} | {
|
|
635
|
-
type
|
|
636
|
-
output
|
|
637
|
-
success
|
|
635
|
+
type: "DocumentationPageRestore";
|
|
636
|
+
output: {
|
|
637
|
+
success: true;
|
|
638
638
|
};
|
|
639
639
|
} | {
|
|
640
|
-
type
|
|
641
|
-
output
|
|
642
|
-
success
|
|
640
|
+
type: "DocumentationGroupRestore";
|
|
641
|
+
output: {
|
|
642
|
+
success: true;
|
|
643
643
|
};
|
|
644
644
|
} | {
|
|
645
|
-
type
|
|
646
|
-
output
|
|
647
|
-
success
|
|
645
|
+
type: "DocumentationPageApprovalStateChange";
|
|
646
|
+
output: {
|
|
647
|
+
success: true;
|
|
648
648
|
};
|
|
649
649
|
} | {
|
|
650
|
-
type
|
|
651
|
-
output
|
|
652
|
-
success
|
|
650
|
+
type: "ElementPropertyValuesEdit";
|
|
651
|
+
output: {
|
|
652
|
+
success: true;
|
|
653
653
|
};
|
|
654
654
|
}>;
|
|
655
655
|
/** Duplicates a documentation tab or page
|