@supernova-studio/supernova-sdk-beta 2.4.11 → 2.5.1
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/SDKAreaAgentChats.d.ts +4 -1
- package/build/types/core/areas/SDKAreaBulkOperations.d.ts +3 -3
- package/build/types/core/areas/SDKAreaComponents.d.ts +7 -31
- package/build/types/core/areas/SDKAreaDataSources.d.ts +5 -0
- package/build/types/core/areas/SDKAreaDocumentation.d.ts +18 -20
- package/build/types/core/areas/SDKAreaMCP.d.ts +4 -3
- package/build/types/core/areas/SDKAreaMe.d.ts +0 -2
- package/build/types/core/areas/SDKAreaProjects.d.ts +77 -922
- package/build/types/core/areas/SDKAreaRawData.d.ts +78 -917
- package/build/types/core/areas/SDKAreaResources.d.ts +4 -2
- package/build/types/core/areas/SDKAreaThreads.d.ts +1 -115
- package/build/types/core/areas/SDKAreaTokenValues.d.ts +15 -2
- package/build/types/core/areas/SDKAreaTokens.d.ts +3 -4
- package/build/types/core/areas/SDKAreaVersions.d.ts +3 -3
- package/build/types/core/areas/SDKAreaWorkspaces.d.ts +3 -4
- package/build/types/core/data/SDKDataBridge.d.ts +0 -1
- package/build/types/core/data/SDKDataCore.d.ts +139 -1091
- package/build/types/core/data/SDKDataCoreCached.d.ts +0 -3
- package/build/types/core/data/requests/SDKDataCoreReadRequests.d.ts +55 -470
- package/build/types/core/data/requests/SDKDataCoreWriteRequests.d.ts +158 -1006
- package/build/types/core/resolvers/SDKDocsEntityItemResolver.d.ts +6 -6
- package/build/types/exports.d.ts +2 -1
- package/build/types/model/activity-events/SDKActivityEvent.d.ts +6710 -3
- package/build/types/model/agent-chats/SDKAgentChat.d.ts +12 -1
- package/build/types/model/base/SDKDesignSystemVersionStats.d.ts +6 -1
- package/build/types/model/docs/blocks/support/SDKDocsImageRef.d.ts +1 -1
- package/build/types/model/documentation/SDKPublishedDocsSite.d.ts +20 -0
- package/build/types/model/enums/SDKUnit.d.ts +2 -0
- package/build/types/model/exporters/exporter_builds/SDKExportDestinations.d.ts +3 -0
- package/build/types/model/support/SDKSource.d.ts +1 -1
- package/build/types/model/tokens/SDKColorToken.d.ts +4 -0
- package/build/types/model/tokens/SDKDimensionToken.d.ts +6 -1
- package/build/types/model/users/SDKUserWorkspaceNotificationSettings.d.ts +4 -0
- package/build/types/model/workspaces/SDKWorkspaceProduct.d.ts +0 -4
- package/build/types/model/workspaces/SDKWorkspaceProductPrice.d.ts +18 -9
- package/build/types/model/workspaces/SDKWorkspaceSubscription.d.ts +18 -19
- package/build/types/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +3 -6
- package/build/types/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +3 -29
- package/build/types/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +0 -31
- package/build/types/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +0 -2
- package/build/types/tools/token-preview/TokenUtilPreviewTypes.d.ts +2 -0
- package/build/types/utils/TokenUtils.d.ts +12 -4
- package/package.json +5 -23
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/index.d.ts +0 -4
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/lenient-resolve.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/placeholder.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/preserve.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/strict.d.ts +0 -2
- package/build/types/tools/design-tokens/utilities/unresolvable-modes/types.d.ts +0 -33
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { DTOActivityEventListResponse, DTOBillingCreditsUsageLogExportInput, DTOCodeComponent, DTOCodeComponentMarkdownQuery, DTOCodeComponentMarkdownResponse, DTOCodeComponentUsage, DTOCodeHistoryQuery, DTOCodeHistorySnapshot, DTOCodeScanListItem, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemContactsResponse, DTODesignSystemListViewItem, DTODesignSystemMemberListResponse, DTODesignSystemVersionStats, DTODocumentationAnalyticsTimeFrame, DTODocumentationLinkPreviewRequest, type DTODocumentationPageContentGetResponse, DTODocumentationPageDependenciesGetResponse, DTOFeatureArtifactListResponse, DTOFeatureIteration, DTOFeatureIterationTagListResponse,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import type { AgentChatChangedEntitiesResponse, AgentChatListFilter, AgentChatListResponse, AgentChatResponse } from "../../../model/agent-chats/SDKAgentChat";
|
|
1
|
+
import { DTOActivityEventListResponse, DTOBillingCreditsUsageLogExportInput, DTOCodeComponent, DTOCodeComponentMarkdownQuery, DTOCodeComponentMarkdownResponse, DTOCodeComponentUsage, DTOCodeHistoryQuery, DTOCodeHistorySnapshot, DTOCodeScanListItem, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemContactsResponse, DTODesignSystemListViewItem, DTODesignSystemMemberListResponse, DTODesignSystemVersionStats, DTODocumentationAnalyticsTimeFrame, DTODocumentationLinkPreviewRequest, type DTODocumentationPageContentGetResponse, DTODocumentationPageDependenciesGetResponse, DTOFeatureArtifactListResponse, DTOFeatureIteration, DTOFeatureIterationTagListResponse, DTOFeatureSandboxListResponse, DTOFigmaNode, DTOFigmaNodeV2, DTOForgeChatMessageListResponse, DTOForgeChatThreadListResponse, DTOForgeFeatureRoomResponse, DTOForgeFigmaNodeCreateRequest, DTOForgeProjectArtifact, DTOForgeProjectArtifactContentResponse, DTOForgeProjectArtifactRoomResponse, DTOForgeProjectFeature, DTOForgeProjectMembersListResponse, DTOForgeProjectPublishedFeature, DTOForgeProjectRoomResponse, DTOGetDocumentationPageAnchorsResponse, DTOLoginScreenSettings, DTOMCPAnalyticsFiltersQuery, DTOPageHistoryVersionContent, DTOPageHistoryVersionListResponse, DTOPipeline, DTOPortalSettings, DTOProjectContextOverrideResponse, type DTOSandboxTemplateListResponse, DTOSubscriptionResponse, DTOThreadMessageListResponse, DTOTokenCollection, DTOTrailEventListResponse, DTOWorkspaceUntypedDataListResponse, type DTOPublishedDocsSitesListResponse, type DTODocumentationMarkdownFetchErrorCode, type DTODocumentationMarkdownFromUrlMode } from "@supernova-studio/client";
|
|
2
|
+
import { type ActivityEventListFilter } from "../../../model/activity-events/SDKActivityEvent";
|
|
3
|
+
import type { AgentChatChangedEntitiesResponse, AgentChatListFilter, AgentChatListResponse, AgentChatResponse, AgentTurnRatingListResponse } from "../../../model/agent-chats/SDKAgentChat";
|
|
5
4
|
import { BootstrapDataRemoteModel } from "../../../model/base/SDKBootstrapData";
|
|
6
5
|
import { BrandRemoteModel } from "../../../model/base/SDKBrand";
|
|
7
6
|
import { DesignSystemVersionCreationJobRemoteModel, DesignSystemVersionRemoteModel } from "../../../model/base/SDKDesignSystemVersion";
|
|
@@ -12,6 +11,7 @@ import type { KnowledgeFileListResponse, KnowledgeSkillListResponse } from "../.
|
|
|
12
11
|
import { DocsBlockDefinitionModel } from "../../../model/docs/blocks/definition/SDKDocsBlockDefinition";
|
|
13
12
|
import { DocsEntityGroupModel } from "../../../model/docs/entities/SDKDocsEntityGroup";
|
|
14
13
|
import { DocsEntityPageModel } from "../../../model/docs/entities/SDKDocsEntityPage";
|
|
14
|
+
import { DocumentationLegacyGroupModel } from "../../../model/documentation/SDKDocumentationLegacyGroup";
|
|
15
15
|
import { DocumentationLegacyPageModel } from "../../../model/documentation/SDKDocumentationLegacyPage";
|
|
16
16
|
import { ElementDataViewRemoteModel } from "../../../model/elements/SDKElementDataView";
|
|
17
17
|
import { ElementPropertyRemoteModel } from "../../../model/elements/SDKElementProperty";
|
|
@@ -19,12 +19,11 @@ import { ElementPropertyValueRemoteModel } from "../../../model/elements/values/
|
|
|
19
19
|
import { DocumentationEnvironment } from "../../../model/enums/SDKDocumentationEnvironment";
|
|
20
20
|
import { TokenType } from "../../../model/enums/SDKTokenType";
|
|
21
21
|
import { AuthenticationTokens } from "../../../model/exporters/SDKConnections";
|
|
22
|
-
import { ExporterMembershipModel, ExporterModel
|
|
22
|
+
import { ExporterMembershipModel, ExporterModel } from "../../../model/exporters/SDKExporter";
|
|
23
23
|
import { ExporterCustomBlockModel } from "../../../model/exporters/custom_blocks/SDKExporterCustomBlock";
|
|
24
24
|
import { ExportBuildModel, ExportBuildStatus } from "../../../model/exporters/exporter_builds/SDKExportBuild";
|
|
25
25
|
import { ExportBuildResultLogModel } from "../../../model/exporters/exporter_builds/SDKExportBuildResults";
|
|
26
26
|
import { RemoteFile } from "../../../model/files/SDKFileUpload";
|
|
27
|
-
import { ComponentGroupRemoteModel } from "../../../model/groups/SDKComponentGroup";
|
|
28
27
|
import { DesignComponentGroupRemoteModel } from "../../../model/groups/SDKDesignComponentGroup";
|
|
29
28
|
import { TokenGroupRemoteModel } from "../../../model/groups/SDKTokenGroup";
|
|
30
29
|
import { ImportJobRemoteModel } from "../../../model/jobs/SDKImportJob";
|
|
@@ -128,11 +127,15 @@ export declare class DataCoreReadRequests {
|
|
|
128
127
|
getRemoteSources(designSystemId: string, filter?: {
|
|
129
128
|
brandId?: string;
|
|
130
129
|
}): Promise<Array<SourceRemoteModel>>;
|
|
130
|
+
/** Remote: Get data source usage across a workspace */
|
|
131
|
+
getRemoteDataSourceUsageStats(workspaceId: string): Promise<{
|
|
132
|
+
figmaSourceCount: number;
|
|
133
|
+
}>;
|
|
131
134
|
/** Remote: Get all figma node structures */
|
|
132
135
|
getFigmaNodeStructures(designSystemId: string): Promise<{
|
|
133
136
|
id: string;
|
|
134
137
|
sourceId: string;
|
|
135
|
-
importState: "
|
|
138
|
+
importState: "InProgress" | "Success" | "Failed";
|
|
136
139
|
createdAt: Date;
|
|
137
140
|
updatedAt: Date;
|
|
138
141
|
}[]>;
|
|
@@ -140,7 +143,7 @@ export declare class DataCoreReadRequests {
|
|
|
140
143
|
getFigmaNodeStructureDetail(designSystemId: string, figmaStructureId: string): Promise<{
|
|
141
144
|
id: string;
|
|
142
145
|
sourceId: string;
|
|
143
|
-
importState: "
|
|
146
|
+
importState: "InProgress" | "Success" | "Failed";
|
|
144
147
|
createdAt: Date;
|
|
145
148
|
updatedAt: Date;
|
|
146
149
|
rootNode: import("@supernova-studio/model").FigmaFileStructureNode;
|
|
@@ -153,6 +156,7 @@ export declare class DataCoreReadRequests {
|
|
|
153
156
|
}): Promise<RemoteStorybookEntry[]>;
|
|
154
157
|
/** Remote: Get design system documentation url */
|
|
155
158
|
getRemoteDocumentationUrl(designSystemId: string, versionId: string): Promise<string | null>;
|
|
159
|
+
getRemotePublishedDocsSites(designSystemId: string, versionId: string): Promise<DTOPublishedDocsSitesListResponse["publishedDocsSites"]>;
|
|
156
160
|
/** Remote: Get documentation metadata */
|
|
157
161
|
getRemoteDocumentationStructure(designSystemId: string, versionId: string): Promise<DocumentationLegacyModel>;
|
|
158
162
|
/** Remote: Get documentation elements diff */
|
|
@@ -300,12 +304,12 @@ export declare class DataCoreReadRequests {
|
|
|
300
304
|
components: Array<DesignComponentRemoteModel>;
|
|
301
305
|
documentationPages: Array<DocumentationLegacyPageModel>;
|
|
302
306
|
}>;
|
|
307
|
+
/** Remote: Get a single supernova-type component by its version-specific ID */
|
|
308
|
+
getRemoteComponent(designSystemId: string, versionId: string, componentIdInVersion: string): Promise<ComponentRemoteModel>;
|
|
303
309
|
/** Remote: Get all supernova-type components (note: Not design components, those have separate endpoints) */
|
|
304
310
|
getRemoteComponents(designSystemId: string, versionId: string, filter?: {
|
|
305
311
|
brandId?: string;
|
|
306
312
|
}): Promise<Array<ComponentRemoteModel>>;
|
|
307
|
-
/** Remote: Get all component groups */
|
|
308
|
-
getRemoteComponentGroups(designSystemId: string, versionId: string): Promise<Array<ComponentGroupRemoteModel>>;
|
|
309
313
|
/** Remote: Get design components (right now, those are only components coming from Figma) */
|
|
310
314
|
getRemoteDesignComponents(designSystemId: string, versionId: string, filter?: {
|
|
311
315
|
brandId?: string;
|
|
@@ -371,468 +375,127 @@ export declare class DataCoreReadRequests {
|
|
|
371
375
|
theme: {
|
|
372
376
|
background: {
|
|
373
377
|
aliasTo?: string;
|
|
374
|
-
value?:
|
|
375
|
-
opacity: {
|
|
376
|
-
aliasTo?: string;
|
|
377
|
-
value?: {
|
|
378
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
379
|
-
measure: number;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
color?: string | {
|
|
383
|
-
aliasTo?: string;
|
|
384
|
-
};
|
|
385
|
-
};
|
|
378
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
386
379
|
};
|
|
387
380
|
foreground: {
|
|
388
381
|
aliasTo?: string;
|
|
389
|
-
value?:
|
|
390
|
-
opacity: {
|
|
391
|
-
aliasTo?: string;
|
|
392
|
-
value?: {
|
|
393
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
394
|
-
measure: number;
|
|
395
|
-
};
|
|
396
|
-
};
|
|
397
|
-
color?: string | {
|
|
398
|
-
aliasTo?: string;
|
|
399
|
-
};
|
|
400
|
-
};
|
|
382
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
401
383
|
};
|
|
402
384
|
card: {
|
|
403
385
|
aliasTo?: string;
|
|
404
|
-
value?:
|
|
405
|
-
opacity: {
|
|
406
|
-
aliasTo?: string;
|
|
407
|
-
value?: {
|
|
408
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
409
|
-
measure: number;
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
color?: string | {
|
|
413
|
-
aliasTo?: string;
|
|
414
|
-
};
|
|
415
|
-
};
|
|
386
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
416
387
|
};
|
|
417
388
|
cardForeground: {
|
|
418
389
|
aliasTo?: string;
|
|
419
|
-
value?:
|
|
420
|
-
opacity: {
|
|
421
|
-
aliasTo?: string;
|
|
422
|
-
value?: {
|
|
423
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
424
|
-
measure: number;
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
color?: string | {
|
|
428
|
-
aliasTo?: string;
|
|
429
|
-
};
|
|
430
|
-
};
|
|
390
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
431
391
|
};
|
|
432
392
|
popover: {
|
|
433
393
|
aliasTo?: string;
|
|
434
|
-
value?:
|
|
435
|
-
opacity: {
|
|
436
|
-
aliasTo?: string;
|
|
437
|
-
value?: {
|
|
438
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
439
|
-
measure: number;
|
|
440
|
-
};
|
|
441
|
-
};
|
|
442
|
-
color?: string | {
|
|
443
|
-
aliasTo?: string;
|
|
444
|
-
};
|
|
445
|
-
};
|
|
394
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
446
395
|
};
|
|
447
396
|
popoverForeground: {
|
|
448
397
|
aliasTo?: string;
|
|
449
|
-
value?:
|
|
450
|
-
opacity: {
|
|
451
|
-
aliasTo?: string;
|
|
452
|
-
value?: {
|
|
453
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
454
|
-
measure: number;
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
|
-
color?: string | {
|
|
458
|
-
aliasTo?: string;
|
|
459
|
-
};
|
|
460
|
-
};
|
|
398
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
461
399
|
};
|
|
462
400
|
primary: {
|
|
463
401
|
aliasTo?: string;
|
|
464
|
-
value?:
|
|
465
|
-
opacity: {
|
|
466
|
-
aliasTo?: string;
|
|
467
|
-
value?: {
|
|
468
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
469
|
-
measure: number;
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
color?: string | {
|
|
473
|
-
aliasTo?: string;
|
|
474
|
-
};
|
|
475
|
-
};
|
|
402
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
476
403
|
};
|
|
477
404
|
primaryForeground: {
|
|
478
405
|
aliasTo?: string;
|
|
479
|
-
value?:
|
|
480
|
-
opacity: {
|
|
481
|
-
aliasTo?: string;
|
|
482
|
-
value?: {
|
|
483
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
484
|
-
measure: number;
|
|
485
|
-
};
|
|
486
|
-
};
|
|
487
|
-
color?: string | {
|
|
488
|
-
aliasTo?: string;
|
|
489
|
-
};
|
|
490
|
-
};
|
|
406
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
491
407
|
};
|
|
492
408
|
secondary: {
|
|
493
409
|
aliasTo?: string;
|
|
494
|
-
value?:
|
|
495
|
-
opacity: {
|
|
496
|
-
aliasTo?: string;
|
|
497
|
-
value?: {
|
|
498
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
499
|
-
measure: number;
|
|
500
|
-
};
|
|
501
|
-
};
|
|
502
|
-
color?: string | {
|
|
503
|
-
aliasTo?: string;
|
|
504
|
-
};
|
|
505
|
-
};
|
|
410
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
506
411
|
};
|
|
507
412
|
secondaryForeground: {
|
|
508
413
|
aliasTo?: string;
|
|
509
|
-
value?:
|
|
510
|
-
opacity: {
|
|
511
|
-
aliasTo?: string;
|
|
512
|
-
value?: {
|
|
513
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
514
|
-
measure: number;
|
|
515
|
-
};
|
|
516
|
-
};
|
|
517
|
-
color?: string | {
|
|
518
|
-
aliasTo?: string;
|
|
519
|
-
};
|
|
520
|
-
};
|
|
414
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
521
415
|
};
|
|
522
416
|
muted: {
|
|
523
417
|
aliasTo?: string;
|
|
524
|
-
value?:
|
|
525
|
-
opacity: {
|
|
526
|
-
aliasTo?: string;
|
|
527
|
-
value?: {
|
|
528
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
529
|
-
measure: number;
|
|
530
|
-
};
|
|
531
|
-
};
|
|
532
|
-
color?: string | {
|
|
533
|
-
aliasTo?: string;
|
|
534
|
-
};
|
|
535
|
-
};
|
|
418
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
536
419
|
};
|
|
537
420
|
mutedForeground: {
|
|
538
421
|
aliasTo?: string;
|
|
539
|
-
value?:
|
|
540
|
-
opacity: {
|
|
541
|
-
aliasTo?: string;
|
|
542
|
-
value?: {
|
|
543
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
544
|
-
measure: number;
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
color?: string | {
|
|
548
|
-
aliasTo?: string;
|
|
549
|
-
};
|
|
550
|
-
};
|
|
422
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
551
423
|
};
|
|
552
424
|
accent: {
|
|
553
425
|
aliasTo?: string;
|
|
554
|
-
value?:
|
|
555
|
-
opacity: {
|
|
556
|
-
aliasTo?: string;
|
|
557
|
-
value?: {
|
|
558
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
559
|
-
measure: number;
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
|
-
color?: string | {
|
|
563
|
-
aliasTo?: string;
|
|
564
|
-
};
|
|
565
|
-
};
|
|
426
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
566
427
|
};
|
|
567
428
|
accentForeground: {
|
|
568
429
|
aliasTo?: string;
|
|
569
|
-
value?:
|
|
570
|
-
opacity: {
|
|
571
|
-
aliasTo?: string;
|
|
572
|
-
value?: {
|
|
573
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
574
|
-
measure: number;
|
|
575
|
-
};
|
|
576
|
-
};
|
|
577
|
-
color?: string | {
|
|
578
|
-
aliasTo?: string;
|
|
579
|
-
};
|
|
580
|
-
};
|
|
430
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
581
431
|
};
|
|
582
432
|
destructive: {
|
|
583
433
|
aliasTo?: string;
|
|
584
|
-
value?:
|
|
585
|
-
opacity: {
|
|
586
|
-
aliasTo?: string;
|
|
587
|
-
value?: {
|
|
588
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
589
|
-
measure: number;
|
|
590
|
-
};
|
|
591
|
-
};
|
|
592
|
-
color?: string | {
|
|
593
|
-
aliasTo?: string;
|
|
594
|
-
};
|
|
595
|
-
};
|
|
434
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
596
435
|
};
|
|
597
436
|
border: {
|
|
598
437
|
aliasTo?: string;
|
|
599
|
-
value?:
|
|
600
|
-
opacity: {
|
|
601
|
-
aliasTo?: string;
|
|
602
|
-
value?: {
|
|
603
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
604
|
-
measure: number;
|
|
605
|
-
};
|
|
606
|
-
};
|
|
607
|
-
color?: string | {
|
|
608
|
-
aliasTo?: string;
|
|
609
|
-
};
|
|
610
|
-
};
|
|
438
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
611
439
|
};
|
|
612
440
|
input: {
|
|
613
441
|
aliasTo?: string;
|
|
614
|
-
value?:
|
|
615
|
-
opacity: {
|
|
616
|
-
aliasTo?: string;
|
|
617
|
-
value?: {
|
|
618
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
619
|
-
measure: number;
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
|
-
color?: string | {
|
|
623
|
-
aliasTo?: string;
|
|
624
|
-
};
|
|
625
|
-
};
|
|
442
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
626
443
|
};
|
|
627
444
|
ring: {
|
|
628
445
|
aliasTo?: string;
|
|
629
|
-
value?:
|
|
630
|
-
opacity: {
|
|
631
|
-
aliasTo?: string;
|
|
632
|
-
value?: {
|
|
633
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
634
|
-
measure: number;
|
|
635
|
-
};
|
|
636
|
-
};
|
|
637
|
-
color?: string | {
|
|
638
|
-
aliasTo?: string;
|
|
639
|
-
};
|
|
640
|
-
};
|
|
446
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
641
447
|
};
|
|
642
448
|
chart1: {
|
|
643
449
|
aliasTo?: string;
|
|
644
|
-
value?:
|
|
645
|
-
opacity: {
|
|
646
|
-
aliasTo?: string;
|
|
647
|
-
value?: {
|
|
648
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
649
|
-
measure: number;
|
|
650
|
-
};
|
|
651
|
-
};
|
|
652
|
-
color?: string | {
|
|
653
|
-
aliasTo?: string;
|
|
654
|
-
};
|
|
655
|
-
};
|
|
450
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
656
451
|
};
|
|
657
452
|
chart2: {
|
|
658
453
|
aliasTo?: string;
|
|
659
|
-
value?:
|
|
660
|
-
opacity: {
|
|
661
|
-
aliasTo?: string;
|
|
662
|
-
value?: {
|
|
663
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
664
|
-
measure: number;
|
|
665
|
-
};
|
|
666
|
-
};
|
|
667
|
-
color?: string | {
|
|
668
|
-
aliasTo?: string;
|
|
669
|
-
};
|
|
670
|
-
};
|
|
454
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
671
455
|
};
|
|
672
456
|
chart3: {
|
|
673
457
|
aliasTo?: string;
|
|
674
|
-
value?:
|
|
675
|
-
opacity: {
|
|
676
|
-
aliasTo?: string;
|
|
677
|
-
value?: {
|
|
678
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
679
|
-
measure: number;
|
|
680
|
-
};
|
|
681
|
-
};
|
|
682
|
-
color?: string | {
|
|
683
|
-
aliasTo?: string;
|
|
684
|
-
};
|
|
685
|
-
};
|
|
458
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
686
459
|
};
|
|
687
460
|
chart4: {
|
|
688
461
|
aliasTo?: string;
|
|
689
|
-
value?:
|
|
690
|
-
opacity: {
|
|
691
|
-
aliasTo?: string;
|
|
692
|
-
value?: {
|
|
693
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
694
|
-
measure: number;
|
|
695
|
-
};
|
|
696
|
-
};
|
|
697
|
-
color?: string | {
|
|
698
|
-
aliasTo?: string;
|
|
699
|
-
};
|
|
700
|
-
};
|
|
462
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
701
463
|
};
|
|
702
464
|
chart5: {
|
|
703
465
|
aliasTo?: string;
|
|
704
|
-
value?:
|
|
705
|
-
opacity: {
|
|
706
|
-
aliasTo?: string;
|
|
707
|
-
value?: {
|
|
708
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
709
|
-
measure: number;
|
|
710
|
-
};
|
|
711
|
-
};
|
|
712
|
-
color?: string | {
|
|
713
|
-
aliasTo?: string;
|
|
714
|
-
};
|
|
715
|
-
};
|
|
466
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
716
467
|
};
|
|
717
468
|
sidebar: {
|
|
718
469
|
aliasTo?: string;
|
|
719
|
-
value?:
|
|
720
|
-
opacity: {
|
|
721
|
-
aliasTo?: string;
|
|
722
|
-
value?: {
|
|
723
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
724
|
-
measure: number;
|
|
725
|
-
};
|
|
726
|
-
};
|
|
727
|
-
color?: string | {
|
|
728
|
-
aliasTo?: string;
|
|
729
|
-
};
|
|
730
|
-
};
|
|
470
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
731
471
|
};
|
|
732
472
|
sidebarForeground: {
|
|
733
473
|
aliasTo?: string;
|
|
734
|
-
value?:
|
|
735
|
-
opacity: {
|
|
736
|
-
aliasTo?: string;
|
|
737
|
-
value?: {
|
|
738
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
739
|
-
measure: number;
|
|
740
|
-
};
|
|
741
|
-
};
|
|
742
|
-
color?: string | {
|
|
743
|
-
aliasTo?: string;
|
|
744
|
-
};
|
|
745
|
-
};
|
|
474
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
746
475
|
};
|
|
747
476
|
sidebarPrimary: {
|
|
748
477
|
aliasTo?: string;
|
|
749
|
-
value?:
|
|
750
|
-
opacity: {
|
|
751
|
-
aliasTo?: string;
|
|
752
|
-
value?: {
|
|
753
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
754
|
-
measure: number;
|
|
755
|
-
};
|
|
756
|
-
};
|
|
757
|
-
color?: string | {
|
|
758
|
-
aliasTo?: string;
|
|
759
|
-
};
|
|
760
|
-
};
|
|
478
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
761
479
|
};
|
|
762
480
|
sidebarPrimaryForeground: {
|
|
763
481
|
aliasTo?: string;
|
|
764
|
-
value?:
|
|
765
|
-
opacity: {
|
|
766
|
-
aliasTo?: string;
|
|
767
|
-
value?: {
|
|
768
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
769
|
-
measure: number;
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
|
-
color?: string | {
|
|
773
|
-
aliasTo?: string;
|
|
774
|
-
};
|
|
775
|
-
};
|
|
482
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
776
483
|
};
|
|
777
484
|
sidebarAccent: {
|
|
778
485
|
aliasTo?: string;
|
|
779
|
-
value?:
|
|
780
|
-
opacity: {
|
|
781
|
-
aliasTo?: string;
|
|
782
|
-
value?: {
|
|
783
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
784
|
-
measure: number;
|
|
785
|
-
};
|
|
786
|
-
};
|
|
787
|
-
color?: string | {
|
|
788
|
-
aliasTo?: string;
|
|
789
|
-
};
|
|
790
|
-
};
|
|
486
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
791
487
|
};
|
|
792
488
|
sidebarAccentForeground: {
|
|
793
489
|
aliasTo?: string;
|
|
794
|
-
value?:
|
|
795
|
-
opacity: {
|
|
796
|
-
aliasTo?: string;
|
|
797
|
-
value?: {
|
|
798
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
799
|
-
measure: number;
|
|
800
|
-
};
|
|
801
|
-
};
|
|
802
|
-
color?: string | {
|
|
803
|
-
aliasTo?: string;
|
|
804
|
-
};
|
|
805
|
-
};
|
|
490
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
806
491
|
};
|
|
807
492
|
sidebarBorder: {
|
|
808
493
|
aliasTo?: string;
|
|
809
|
-
value?:
|
|
810
|
-
opacity: {
|
|
811
|
-
aliasTo?: string;
|
|
812
|
-
value?: {
|
|
813
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
814
|
-
measure: number;
|
|
815
|
-
};
|
|
816
|
-
};
|
|
817
|
-
color?: string | {
|
|
818
|
-
aliasTo?: string;
|
|
819
|
-
};
|
|
820
|
-
};
|
|
494
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
821
495
|
};
|
|
822
496
|
sidebarRing: {
|
|
823
497
|
aliasTo?: string;
|
|
824
|
-
value?:
|
|
825
|
-
opacity: {
|
|
826
|
-
aliasTo?: string;
|
|
827
|
-
value?: {
|
|
828
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
829
|
-
measure: number;
|
|
830
|
-
};
|
|
831
|
-
};
|
|
832
|
-
color?: string | {
|
|
833
|
-
aliasTo?: string;
|
|
834
|
-
};
|
|
835
|
-
};
|
|
498
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
836
499
|
};
|
|
837
500
|
fontFamily: {
|
|
838
501
|
aliasTo?: string;
|
|
@@ -1077,18 +740,7 @@ export declare class DataCoreReadRequests {
|
|
|
1077
740
|
value?: {
|
|
1078
741
|
color: {
|
|
1079
742
|
aliasTo?: string;
|
|
1080
|
-
value?:
|
|
1081
|
-
opacity: {
|
|
1082
|
-
aliasTo?: string;
|
|
1083
|
-
value?: {
|
|
1084
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
1085
|
-
measure: number;
|
|
1086
|
-
};
|
|
1087
|
-
};
|
|
1088
|
-
color?: string | {
|
|
1089
|
-
aliasTo?: string;
|
|
1090
|
-
};
|
|
1091
|
-
};
|
|
743
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
1092
744
|
};
|
|
1093
745
|
x: number;
|
|
1094
746
|
y: number;
|
|
@@ -1112,18 +764,7 @@ export declare class DataCoreReadRequests {
|
|
|
1112
764
|
value?: {
|
|
1113
765
|
color: {
|
|
1114
766
|
aliasTo?: string;
|
|
1115
|
-
value?:
|
|
1116
|
-
opacity: {
|
|
1117
|
-
aliasTo?: string;
|
|
1118
|
-
value?: {
|
|
1119
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
1120
|
-
measure: number;
|
|
1121
|
-
};
|
|
1122
|
-
};
|
|
1123
|
-
color?: string | {
|
|
1124
|
-
aliasTo?: string;
|
|
1125
|
-
};
|
|
1126
|
-
};
|
|
767
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
1127
768
|
};
|
|
1128
769
|
x: number;
|
|
1129
770
|
y: number;
|
|
@@ -1147,18 +788,7 @@ export declare class DataCoreReadRequests {
|
|
|
1147
788
|
value?: {
|
|
1148
789
|
color: {
|
|
1149
790
|
aliasTo?: string;
|
|
1150
|
-
value?:
|
|
1151
|
-
opacity: {
|
|
1152
|
-
aliasTo?: string;
|
|
1153
|
-
value?: {
|
|
1154
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
1155
|
-
measure: number;
|
|
1156
|
-
};
|
|
1157
|
-
};
|
|
1158
|
-
color?: string | {
|
|
1159
|
-
aliasTo?: string;
|
|
1160
|
-
};
|
|
1161
|
-
};
|
|
791
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
1162
792
|
};
|
|
1163
793
|
x: number;
|
|
1164
794
|
y: number;
|
|
@@ -1182,18 +812,7 @@ export declare class DataCoreReadRequests {
|
|
|
1182
812
|
value?: {
|
|
1183
813
|
color: {
|
|
1184
814
|
aliasTo?: string;
|
|
1185
|
-
value?:
|
|
1186
|
-
opacity: {
|
|
1187
|
-
aliasTo?: string;
|
|
1188
|
-
value?: {
|
|
1189
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
1190
|
-
measure: number;
|
|
1191
|
-
};
|
|
1192
|
-
};
|
|
1193
|
-
color?: string | {
|
|
1194
|
-
aliasTo?: string;
|
|
1195
|
-
};
|
|
1196
|
-
};
|
|
815
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
1197
816
|
};
|
|
1198
817
|
x: number;
|
|
1199
818
|
y: number;
|
|
@@ -1217,18 +836,7 @@ export declare class DataCoreReadRequests {
|
|
|
1217
836
|
value?: {
|
|
1218
837
|
color: {
|
|
1219
838
|
aliasTo?: string;
|
|
1220
|
-
value?:
|
|
1221
|
-
opacity: {
|
|
1222
|
-
aliasTo?: string;
|
|
1223
|
-
value?: {
|
|
1224
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
1225
|
-
measure: number;
|
|
1226
|
-
};
|
|
1227
|
-
};
|
|
1228
|
-
color?: string | {
|
|
1229
|
-
aliasTo?: string;
|
|
1230
|
-
};
|
|
1231
|
-
};
|
|
839
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
1232
840
|
};
|
|
1233
841
|
x: number;
|
|
1234
842
|
y: number;
|
|
@@ -1252,18 +860,7 @@ export declare class DataCoreReadRequests {
|
|
|
1252
860
|
value?: {
|
|
1253
861
|
color: {
|
|
1254
862
|
aliasTo?: string;
|
|
1255
|
-
value?:
|
|
1256
|
-
opacity: {
|
|
1257
|
-
aliasTo?: string;
|
|
1258
|
-
value?: {
|
|
1259
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
1260
|
-
measure: number;
|
|
1261
|
-
};
|
|
1262
|
-
};
|
|
1263
|
-
color?: string | {
|
|
1264
|
-
aliasTo?: string;
|
|
1265
|
-
};
|
|
1266
|
-
};
|
|
863
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
1267
864
|
};
|
|
1268
865
|
x: number;
|
|
1269
866
|
y: number;
|
|
@@ -1287,18 +884,7 @@ export declare class DataCoreReadRequests {
|
|
|
1287
884
|
value?: {
|
|
1288
885
|
color: {
|
|
1289
886
|
aliasTo?: string;
|
|
1290
|
-
value?:
|
|
1291
|
-
opacity: {
|
|
1292
|
-
aliasTo?: string;
|
|
1293
|
-
value?: {
|
|
1294
|
-
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
1295
|
-
measure: number;
|
|
1296
|
-
};
|
|
1297
|
-
};
|
|
1298
|
-
color?: string | {
|
|
1299
|
-
aliasTo?: string;
|
|
1300
|
-
};
|
|
1301
|
-
};
|
|
887
|
+
value?: import("@supernova-studio/model").ColorValue;
|
|
1302
888
|
};
|
|
1303
889
|
x: number;
|
|
1304
890
|
y: number;
|
|
@@ -1406,7 +992,6 @@ export declare class DataCoreReadRequests {
|
|
|
1406
992
|
getRemoteForgeProjectRoom(workspaceId: string, projectId: string): Promise<DTOForgeProjectRoomResponse>;
|
|
1407
993
|
getRemoteForgeProjectDocumentRoom(workspaceId: string, projectId: string, artifactId: string): Promise<DTOForgeProjectArtifactRoomResponse>;
|
|
1408
994
|
getRemoteForgeProjectFeatureRoom(workspaceId: string, projectId: string, featureId: string): Promise<DTOForgeFeatureRoomResponse>;
|
|
1409
|
-
getRemoteForgeProjectFeatureMessages(workspaceId: string, projectId: string, featureId: string): Promise<DTOFeatureMessageListResponse>;
|
|
1410
995
|
getRemoteForgeProjectFeatureArtifacts(workspaceId: string, projectId: string, featureId: string, { iterationId, messageId, }?: {
|
|
1411
996
|
iterationId?: string;
|
|
1412
997
|
messageId?: string;
|
|
@@ -1423,6 +1008,7 @@ export declare class DataCoreReadRequests {
|
|
|
1423
1008
|
getRemoteAgentChats(filter: AgentChatListFilter): Promise<AgentChatListResponse>;
|
|
1424
1009
|
getRemoteAgentChatByEveSession(eveSessionId: string): Promise<AgentChatResponse>;
|
|
1425
1010
|
getRemoteAgentChatChangedEntities(chatId: string): Promise<AgentChatChangedEntitiesResponse>;
|
|
1011
|
+
getRemoteAgentChatTurnRatings(chatId: string): Promise<AgentTurnRatingListResponse>;
|
|
1426
1012
|
validateFigmaNodeAccess(input: DTOForgeFigmaNodeCreateRequest): Promise<boolean>;
|
|
1427
1013
|
getRemoteBuild(workspaceId: string, buildId: string): Promise<ExportBuildModel>;
|
|
1428
1014
|
getRemoteBuilds(workspaceId: string, versionId: string, docsEnvironment?: DocumentationEnvironment, limit?: number, offset?: number, scheduleId?: string, exporterId?: string, destinations?: Array<"s3" | "webhook" | "github" | "documentation" | "azure" | "gitlab">, createdByUserId?: string, status?: ExportBuildStatus): Promise<Array<ExportBuildModel>>;
|
|
@@ -1430,11 +1016,10 @@ export declare class DataCoreReadRequests {
|
|
|
1430
1016
|
getBrands(designSystemId: string, versionId: string): Promise<Array<BrandRemoteModel>>;
|
|
1431
1017
|
getBrand(designSystemId: string, versionId: string, brandId: string): Promise<BrandRemoteModel>;
|
|
1432
1018
|
getAuthenticationTokens(): Promise<AuthenticationTokens>;
|
|
1433
|
-
getOAuthURL(service: "figma" | ExporterProvider): Promise<string>;
|
|
1434
1019
|
getVersion(designSystemId: string, versionId: string): Promise<DesignSystemVersionRemoteModel>;
|
|
1435
1020
|
getVersions(designSystemId: string): Promise<Array<DesignSystemVersionRemoteModel>>;
|
|
1021
|
+
getVersionCreationJobs(designSystemId: string, status?: "InProgress" | "Success" | "Error"): Promise<DesignSystemVersionCreationJobRemoteModel[]>;
|
|
1436
1022
|
getVersionCreationJob(designSystemId: string, jobId: string): Promise<DesignSystemVersionCreationJobRemoteModel>;
|
|
1437
|
-
getVersionCreationJobs(designSystemId: string): Promise<DesignSystemVersionCreationJobRemoteModel[]>;
|
|
1438
1023
|
getImportJobs(designSystemId: string, versionId: string): Promise<Array<ImportJobRemoteModel>>;
|
|
1439
1024
|
getImportJob(designSystemId: string, versionId: string, jobId: string): Promise<ImportJobRemoteModel>;
|
|
1440
1025
|
getKeyValueStorageData(designSystemId: string, keys: Array<string>): Promise<Record<string, string>>;
|
|
@@ -1488,7 +1073,7 @@ export declare class DataCoreReadRequests {
|
|
|
1488
1073
|
mcpConsumerCount: number;
|
|
1489
1074
|
}>;
|
|
1490
1075
|
/** Remote: Get MCP analytics for a design system */
|
|
1491
|
-
getRemoteMCPAnalytics(designSystemId: string, filters: Pick<DTOMCPAnalyticsFiltersQuery, "connectionType" | "contextIds" | "start" | "end">): Promise<{
|
|
1076
|
+
getRemoteMCPAnalytics(workspaceId: string, designSystemId: string | null, filters: Pick<DTOMCPAnalyticsFiltersQuery, "connectionType" | "contextIds" | "start" | "end">): Promise<{
|
|
1492
1077
|
hasMcpBeenUsed: boolean;
|
|
1493
1078
|
callsByDay: {
|
|
1494
1079
|
date: Date;
|