@supernova-studio/supernova-sdk-beta 2.4.6 → 2.4.9
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/SDKSupernova.d.ts +9 -0
- package/build/types/core/areas/SDKAreaActivityEvents.d.ts +7 -0
- package/build/types/core/areas/SDKAreaAgentChats.d.ts +12 -0
- package/build/types/core/areas/SDKAreaBulkOperations.d.ts +7 -5
- package/build/types/core/areas/SDKAreaDataSources.d.ts +1 -1
- package/build/types/core/areas/SDKAreaDocumentation.d.ts +28 -13
- package/build/types/core/areas/SDKAreaImport.d.ts +35 -0
- package/build/types/core/areas/SDKAreaMCP.d.ts +19 -1
- package/build/types/core/areas/SDKAreaProjects.d.ts +137 -153
- package/build/types/core/areas/SDKAreaRawData.d.ts +132 -131
- package/build/types/core/areas/SDKAreaTokens.d.ts +17 -12
- package/build/types/core/data/SDKDataCore.d.ts +208 -186
- package/build/types/core/data/SDKDataCoreCached.d.ts +2 -2
- package/build/types/core/data/requests/SDKDataCoreReadRequests.d.ts +94 -67
- package/build/types/core/data/requests/SDKDataCoreWriteRequests.d.ts +217 -190
- package/build/types/core/resolvers/SDKDocsEntityItemResolver.d.ts +2 -2
- package/build/types/core/resolvers/SDKSnapshotTokenBuilder.d.ts +28 -0
- package/build/types/core/resolvers/SDKTokenResolver.d.ts +11 -9
- package/build/types/exports.d.ts +18 -11
- package/build/types/model/activity-events/SDKActivityEvent.d.ts +46 -0
- package/build/types/model/agent-chats/SDKAgentChat.d.ts +28 -0
- package/build/types/model/datasets/SDKDataset.d.ts +15 -5
- package/build/types/model/docs/blocks/definition/SDKDocsBlockBehavior.d.ts +4 -1
- package/build/types/model/docs/blocks/definition/actual/context-mcp/SDKDocsBlockActualContextMcp.d.ts +2 -0
- package/build/types/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +7 -24
- package/build/types/model/docs/blocks/properties/SDKDocsBlockAssetPropertyProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockBooleanProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockCodeProperty.d.ts +3 -6
- package/build/types/model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty.d.ts +3 -8
- package/build/types/model/docs/blocks/properties/SDKDocsBlockColorProperty.d.ts +3 -3
- package/build/types/model/docs/blocks/properties/SDKDocsBlockComponentProperty.d.ts +7 -10
- package/build/types/model/docs/blocks/properties/SDKDocsBlockComponentPropertyProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockContextProperty.d.ts +16 -0
- package/build/types/model/docs/blocks/properties/SDKDocsBlockDividerProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty.d.ts +3 -6
- package/build/types/model/docs/blocks/properties/SDKDocsBlockFigmaComponentProperty.d.ts +7 -26
- package/build/types/model/docs/blocks/properties/SDKDocsBlockFigmaNodeProperty.d.ts +7 -22
- package/build/types/model/docs/blocks/properties/SDKDocsBlockFileProperty.d.ts +4 -9
- package/build/types/model/docs/blocks/properties/SDKDocsBlockImageProperty.d.ts +3 -10
- package/build/types/model/docs/blocks/properties/SDKDocsBlockMarkdownProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockMultiRichTextProperty.d.ts +3 -3
- package/build/types/model/docs/blocks/properties/SDKDocsBlockMultiSelectProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockNumberProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockProperty.d.ts +3 -3
- package/build/types/model/docs/blocks/properties/SDKDocsBlockRichTextEditorProperty.d.ts +3 -3
- package/build/types/model/docs/blocks/properties/SDKDocsBlockRichTextProperty.d.ts +3 -7
- package/build/types/model/docs/blocks/properties/SDKDocsBlockSingleSelectProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +4 -22
- package/build/types/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +12 -28
- package/build/types/model/docs/blocks/properties/SDKDocsBlockTextProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockTokenProperty.d.ts +7 -31
- package/build/types/model/docs/blocks/properties/SDKDocsBlockTokenPropertyProperty.d.ts +3 -2
- package/build/types/model/docs/blocks/properties/SDKDocsBlockTokenTypeProperty.d.ts +3 -3
- package/build/types/model/docs/blocks/properties/SDKDocsBlockUrlProperty.d.ts +3 -2
- package/build/types/model/docs/sections/SDKDocsSection.d.ts +0 -31
- package/build/types/model/documentation/SDKPageHistoryVersion.d.ts +20 -0
- package/build/types/model/documentation/blocks/SDKDocumentationLegacyPageBlockContextMcp.d.ts +11 -0
- package/build/types/model/elements/SDKElementPropertyOption.d.ts +1 -2
- package/build/types/model/enums/SDKCodeLanguage.d.ts +1 -1
- package/build/types/model/enums/SDKDesignSystemRole.d.ts +1 -2
- package/build/types/model/enums/SDKDocsBlockBehaviorSelectionType.d.ts +4 -2
- package/build/types/model/enums/SDKDocsBlockContainerSize.d.ts +6 -4
- package/build/types/model/enums/SDKDocsBlockItemPropertyType.d.ts +3 -1
- package/build/types/model/enums/SDKDocumentationLegacyPageBlockType.d.ts +1 -0
- package/build/types/model/enums/SDKTokenType.d.ts +2 -0
- package/build/types/model/enums/SDKWorkspaceSeatType.d.ts +14 -3
- package/build/types/model/exporters/SDKExporter.d.ts +2 -2
- package/build/types/model/membership/SDKMembership.d.ts +1 -1
- package/build/types/model/support/SDKSource.d.ts +4 -3
- package/build/types/model/themes/SDKTokenThemeOverride.d.ts +1 -0
- package/build/types/model/tokens/remote/SDKRemoteTokenModel.d.ts +34 -1
- package/build/types/model/tokens/remote/SDKRemoteTokenValue.d.ts +1 -1
- package/build/types/model/workspaces/SDKWorkspaceProductPrice.d.ts +6 -3
- package/build/types/model/workspaces/SDKWorkspaceSubscription.d.ts +2 -6
- package/build/types/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +6 -3
- package/build/types/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +9 -0
- package/build/types/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +1 -1
- package/build/types/utils/TokenUtils.d.ts +1 -1
- package/package.json +17 -21
- package/build/types/model/enums/SDKDocsBlockTokenNameFormat.d.ts +0 -10
|
@@ -9,7 +9,7 @@ import { DesignComponentGroup } from "../../model/groups/SDKDesignComponentGroup
|
|
|
9
9
|
import { TokenGroup } from "../../model/groups/SDKTokenGroup";
|
|
10
10
|
import { Source } from "../../model/support/SDKSource";
|
|
11
11
|
import { TokenTheme } from "../../model/themes/SDKTokenTheme";
|
|
12
|
-
import {
|
|
12
|
+
import { AnyToken } from "../../model/tokens/SDKTokenValue";
|
|
13
13
|
import { DataCore } from "./SDKDataCore";
|
|
14
14
|
export declare class DataCoreCached extends DataCore {
|
|
15
15
|
private tokensCache;
|
|
@@ -26,7 +26,7 @@ export declare class DataCoreCached extends DataCore {
|
|
|
26
26
|
tokens(designSystemId: string, versionId: string, filter?: {
|
|
27
27
|
type?: TokenType;
|
|
28
28
|
brandId?: string;
|
|
29
|
-
}): Promise<
|
|
29
|
+
}): Promise<AnyToken[]>;
|
|
30
30
|
tokenGroups(designSystemId: string, versionId: string, filter?: {
|
|
31
31
|
type?: TokenType;
|
|
32
32
|
brandId?: string;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { DTOCodeComponent, DTOCodeComponentMarkdownQuery, DTOCodeComponentMarkdownResponse, DTOCodeComponentUsage, DTOCodeHistoryQuery, DTOCodeHistorySnapshot, DTOCodeScanListItem, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemContactsResponse, DTODesignSystemListViewItem, DTODesignSystemMemberListResponse, DTODesignSystemVersionStats, DTODocumentationAnalyticsTimeFrame, DTODocumentationLinkPreviewRequest, type DTODocumentationPageContentGetResponse, DTODocumentationPageDependenciesGetResponse, DTOFeatureArtifactListResponse, DTOFeatureIteration, DTOFeatureIterationTagListResponse, DTOFeatureMessageListResponse, DTOFeatureSandboxListResponse, DTOFigmaNode, DTOFigmaNodeV2, DTOForgeChatMessageListResponse, DTOForgeChatThreadListResponse, DTOForgeFeatureRoomResponse, DTOForgeFigmaNodeCreateRequest, DTOForgeProjectArtifact, DTOForgeProjectArtifactContentResponse, DTOForgeProjectArtifactRoomResponse, DTOForgeProjectFeature, DTOForgeProjectMembersListResponse, DTOForgeProjectPublishedFeature, DTOForgeProjectRoomResponse, DTOGetDocumentationPageAnchorsResponse, DTOLoginScreenSettings, DTOPipeline, DTOPortalSettings, DTOProjectContextOverrideResponse, type DTOSandboxTemplateListResponse, DTOSubscriptionResponse, DTOThreadMessageListResponse, DTOTokenCollection, DTOTrailEventListResponse, DTOWorkspaceUntypedDataListResponse } from "@supernova-studio/client";
|
|
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, DTOFeatureMessageListResponse, DTOFeatureSandboxListResponse, DTOFigmaNode, DTOFigmaNodeV2, DTOForgeChatMessageListResponse, DTOForgeChatThreadListResponse, DTOForgeFeatureRoomResponse, DTOForgeFigmaNodeCreateRequest, DTOForgeProjectArtifact, DTOForgeProjectArtifactContentResponse, DTOForgeProjectArtifactRoomResponse, DTOForgeProjectFeature, DTOForgeProjectMembersListResponse, DTOForgeProjectPublishedFeature, DTOForgeProjectRoomResponse, DTOGetDocumentationPageAnchorsResponse, DTOLoginScreenSettings, DTOPageHistoryVersionContent, DTOPageHistoryVersionListResponse, DTOPipeline, DTOPortalSettings, DTOProjectContextOverrideResponse, type DTOSandboxTemplateListResponse, DTOSubscriptionResponse, DTOThreadMessageListResponse, DTOTokenCollection, DTOTrailEventListResponse, DTOWorkspaceUntypedDataListResponse, type DTODocumentationMarkdownFetchErrorCode, type DTODocumentationMarkdownFromUrlMode } from "@supernova-studio/client";
|
|
2
2
|
import { DocumentationLegacyGroupModel } from "../../../exports";
|
|
3
|
+
import { ActivityEventListFilter } from "../../../model/activity-events/SDKActivityEvent";
|
|
4
|
+
import type { AgentChatChangedEntitiesResponse, AgentChatListFilter, AgentChatListResponse, AgentChatResponse } from "../../../model/agent-chats/SDKAgentChat";
|
|
3
5
|
import { BootstrapDataRemoteModel } from "../../../model/base/SDKBootstrapData";
|
|
4
6
|
import { BrandRemoteModel } from "../../../model/base/SDKBrand";
|
|
5
7
|
import { DesignSystemVersionCreationJobRemoteModel, DesignSystemVersionRemoteModel } from "../../../model/base/SDKDesignSystemVersion";
|
|
@@ -142,9 +144,9 @@ export declare class DataCoreReadRequests {
|
|
|
142
144
|
sourceId?: string;
|
|
143
145
|
importState?: "Success" | "InProgress" | "Failed";
|
|
144
146
|
rootNode?: {
|
|
147
|
+
type?: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
|
|
145
148
|
id?: string;
|
|
146
149
|
name?: string;
|
|
147
|
-
type?: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
|
|
148
150
|
size?: {
|
|
149
151
|
width?: number;
|
|
150
152
|
height?: number;
|
|
@@ -169,8 +171,15 @@ export declare class DataCoreReadRequests {
|
|
|
169
171
|
/** Remote: Get documentation metadata */
|
|
170
172
|
getRemoteRealDocumentationStructure(designSystemId: string, versionId: string): Promise<(DocsEntityPageModel | DocsEntityGroupModel)[]>;
|
|
171
173
|
getRemoteDocumentationContentRaw(designSystemId: string, versionId: string, pageId: string): Promise<DTODocumentationPageContentGetResponse["pageContent"]>;
|
|
174
|
+
/** Remote: Download markdown content from a URL through the workspace git integration and store it for the version */
|
|
175
|
+
getRemoteMarkdownFromUrl(designSystemId: string, versionId: string, url: string, mode: DTODocumentationMarkdownFromUrlMode): Promise<{
|
|
176
|
+
content: string;
|
|
177
|
+
lastError: DTODocumentationMarkdownFetchErrorCode | null;
|
|
178
|
+
}>;
|
|
172
179
|
/** Remote: Get id of the room for a specific page */
|
|
173
180
|
getRemoteDocumentationPageRoomId(designSystemId: string, versionId: string, pageId: string): Promise<string>;
|
|
181
|
+
listRemotePageHistoryVersions(designSystemId: string, versionId: string, pageId: string): Promise<DTOPageHistoryVersionListResponse["pageHistoryVersions"]>;
|
|
182
|
+
getRemotePageHistoryVersion(designSystemId: string, versionId: string, pageId: string, pageHistoryVersionId: string): Promise<DTOPageHistoryVersionContent>;
|
|
174
183
|
/** Remote: Get id of the room for a specific design system and version. This room contains doc structure */
|
|
175
184
|
getRemoteDocumentationVersionRoomId(designSystemId: string, versionId: string): Promise<string>;
|
|
176
185
|
/** Remote: Get id of the room for a specific workspace. */
|
|
@@ -363,6 +372,24 @@ export declare class DataCoreReadRequests {
|
|
|
363
372
|
designSystemId?: string;
|
|
364
373
|
brandId?: string;
|
|
365
374
|
theme?: {
|
|
375
|
+
spacing?: {
|
|
376
|
+
value?: {
|
|
377
|
+
unit?: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
378
|
+
measure?: number;
|
|
379
|
+
};
|
|
380
|
+
aliasTo?: string;
|
|
381
|
+
};
|
|
382
|
+
radius?: {
|
|
383
|
+
value?: {
|
|
384
|
+
unit?: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
385
|
+
measure?: number;
|
|
386
|
+
};
|
|
387
|
+
aliasTo?: string;
|
|
388
|
+
};
|
|
389
|
+
fontFamily?: {
|
|
390
|
+
value?: string;
|
|
391
|
+
aliasTo?: string;
|
|
392
|
+
};
|
|
366
393
|
card?: {
|
|
367
394
|
value?: {
|
|
368
395
|
color?: string | {
|
|
@@ -378,17 +405,6 @@ export declare class DataCoreReadRequests {
|
|
|
378
405
|
};
|
|
379
406
|
aliasTo?: string;
|
|
380
407
|
};
|
|
381
|
-
fontFamily?: {
|
|
382
|
-
value?: string;
|
|
383
|
-
aliasTo?: string;
|
|
384
|
-
};
|
|
385
|
-
radius?: {
|
|
386
|
-
value?: {
|
|
387
|
-
unit?: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
388
|
-
measure?: number;
|
|
389
|
-
};
|
|
390
|
-
aliasTo?: string;
|
|
391
|
-
};
|
|
392
408
|
border?: {
|
|
393
409
|
value?: {
|
|
394
410
|
color?: string | {
|
|
@@ -404,14 +420,7 @@ export declare class DataCoreReadRequests {
|
|
|
404
420
|
};
|
|
405
421
|
aliasTo?: string;
|
|
406
422
|
};
|
|
407
|
-
|
|
408
|
-
value?: {
|
|
409
|
-
unit?: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
410
|
-
measure?: number;
|
|
411
|
-
};
|
|
412
|
-
aliasTo?: string;
|
|
413
|
-
};
|
|
414
|
-
sidebar?: {
|
|
423
|
+
input?: {
|
|
415
424
|
value?: {
|
|
416
425
|
color?: string | {
|
|
417
426
|
aliasTo?: string;
|
|
@@ -636,7 +645,7 @@ export declare class DataCoreReadRequests {
|
|
|
636
645
|
};
|
|
637
646
|
aliasTo?: string;
|
|
638
647
|
};
|
|
639
|
-
|
|
648
|
+
ring?: {
|
|
640
649
|
value?: {
|
|
641
650
|
color?: string | {
|
|
642
651
|
aliasTo?: string;
|
|
@@ -651,7 +660,7 @@ export declare class DataCoreReadRequests {
|
|
|
651
660
|
};
|
|
652
661
|
aliasTo?: string;
|
|
653
662
|
};
|
|
654
|
-
|
|
663
|
+
chart1?: {
|
|
655
664
|
value?: {
|
|
656
665
|
color?: string | {
|
|
657
666
|
aliasTo?: string;
|
|
@@ -666,7 +675,7 @@ export declare class DataCoreReadRequests {
|
|
|
666
675
|
};
|
|
667
676
|
aliasTo?: string;
|
|
668
677
|
};
|
|
669
|
-
|
|
678
|
+
chart2?: {
|
|
670
679
|
value?: {
|
|
671
680
|
color?: string | {
|
|
672
681
|
aliasTo?: string;
|
|
@@ -681,7 +690,7 @@ export declare class DataCoreReadRequests {
|
|
|
681
690
|
};
|
|
682
691
|
aliasTo?: string;
|
|
683
692
|
};
|
|
684
|
-
|
|
693
|
+
chart3?: {
|
|
685
694
|
value?: {
|
|
686
695
|
color?: string | {
|
|
687
696
|
aliasTo?: string;
|
|
@@ -696,7 +705,7 @@ export declare class DataCoreReadRequests {
|
|
|
696
705
|
};
|
|
697
706
|
aliasTo?: string;
|
|
698
707
|
};
|
|
699
|
-
|
|
708
|
+
chart4?: {
|
|
700
709
|
value?: {
|
|
701
710
|
color?: string | {
|
|
702
711
|
aliasTo?: string;
|
|
@@ -711,7 +720,7 @@ export declare class DataCoreReadRequests {
|
|
|
711
720
|
};
|
|
712
721
|
aliasTo?: string;
|
|
713
722
|
};
|
|
714
|
-
|
|
723
|
+
chart5?: {
|
|
715
724
|
value?: {
|
|
716
725
|
color?: string | {
|
|
717
726
|
aliasTo?: string;
|
|
@@ -726,7 +735,7 @@ export declare class DataCoreReadRequests {
|
|
|
726
735
|
};
|
|
727
736
|
aliasTo?: string;
|
|
728
737
|
};
|
|
729
|
-
|
|
738
|
+
sidebar?: {
|
|
730
739
|
value?: {
|
|
731
740
|
color?: string | {
|
|
732
741
|
aliasTo?: string;
|
|
@@ -1067,6 +1076,7 @@ export declare class DataCoreReadRequests {
|
|
|
1067
1076
|
shadow2xs?: {
|
|
1068
1077
|
value?: {
|
|
1069
1078
|
value?: {
|
|
1079
|
+
radius?: number;
|
|
1070
1080
|
color?: {
|
|
1071
1081
|
value?: {
|
|
1072
1082
|
color?: string | {
|
|
@@ -1082,10 +1092,8 @@ export declare class DataCoreReadRequests {
|
|
|
1082
1092
|
};
|
|
1083
1093
|
aliasTo?: string;
|
|
1084
1094
|
};
|
|
1085
|
-
type?: "Drop" | "Inner";
|
|
1086
1095
|
x?: number;
|
|
1087
1096
|
y?: number;
|
|
1088
|
-
radius?: number;
|
|
1089
1097
|
spread?: number;
|
|
1090
1098
|
opacity?: {
|
|
1091
1099
|
value?: {
|
|
@@ -1094,6 +1102,7 @@ export declare class DataCoreReadRequests {
|
|
|
1094
1102
|
};
|
|
1095
1103
|
aliasTo?: string;
|
|
1096
1104
|
};
|
|
1105
|
+
type?: "Drop" | "Inner";
|
|
1097
1106
|
};
|
|
1098
1107
|
aliasTo?: string;
|
|
1099
1108
|
}[];
|
|
@@ -1102,6 +1111,7 @@ export declare class DataCoreReadRequests {
|
|
|
1102
1111
|
shadowXs?: {
|
|
1103
1112
|
value?: {
|
|
1104
1113
|
value?: {
|
|
1114
|
+
radius?: number;
|
|
1105
1115
|
color?: {
|
|
1106
1116
|
value?: {
|
|
1107
1117
|
color?: string | {
|
|
@@ -1117,10 +1127,8 @@ export declare class DataCoreReadRequests {
|
|
|
1117
1127
|
};
|
|
1118
1128
|
aliasTo?: string;
|
|
1119
1129
|
};
|
|
1120
|
-
type?: "Drop" | "Inner";
|
|
1121
1130
|
x?: number;
|
|
1122
1131
|
y?: number;
|
|
1123
|
-
radius?: number;
|
|
1124
1132
|
spread?: number;
|
|
1125
1133
|
opacity?: {
|
|
1126
1134
|
value?: {
|
|
@@ -1129,6 +1137,7 @@ export declare class DataCoreReadRequests {
|
|
|
1129
1137
|
};
|
|
1130
1138
|
aliasTo?: string;
|
|
1131
1139
|
};
|
|
1140
|
+
type?: "Drop" | "Inner";
|
|
1132
1141
|
};
|
|
1133
1142
|
aliasTo?: string;
|
|
1134
1143
|
}[];
|
|
@@ -1137,6 +1146,7 @@ export declare class DataCoreReadRequests {
|
|
|
1137
1146
|
shadowSm?: {
|
|
1138
1147
|
value?: {
|
|
1139
1148
|
value?: {
|
|
1149
|
+
radius?: number;
|
|
1140
1150
|
color?: {
|
|
1141
1151
|
value?: {
|
|
1142
1152
|
color?: string | {
|
|
@@ -1152,10 +1162,8 @@ export declare class DataCoreReadRequests {
|
|
|
1152
1162
|
};
|
|
1153
1163
|
aliasTo?: string;
|
|
1154
1164
|
};
|
|
1155
|
-
type?: "Drop" | "Inner";
|
|
1156
1165
|
x?: number;
|
|
1157
1166
|
y?: number;
|
|
1158
|
-
radius?: number;
|
|
1159
1167
|
spread?: number;
|
|
1160
1168
|
opacity?: {
|
|
1161
1169
|
value?: {
|
|
@@ -1164,6 +1172,7 @@ export declare class DataCoreReadRequests {
|
|
|
1164
1172
|
};
|
|
1165
1173
|
aliasTo?: string;
|
|
1166
1174
|
};
|
|
1175
|
+
type?: "Drop" | "Inner";
|
|
1167
1176
|
};
|
|
1168
1177
|
aliasTo?: string;
|
|
1169
1178
|
}[];
|
|
@@ -1172,6 +1181,7 @@ export declare class DataCoreReadRequests {
|
|
|
1172
1181
|
shadowMd?: {
|
|
1173
1182
|
value?: {
|
|
1174
1183
|
value?: {
|
|
1184
|
+
radius?: number;
|
|
1175
1185
|
color?: {
|
|
1176
1186
|
value?: {
|
|
1177
1187
|
color?: string | {
|
|
@@ -1187,10 +1197,8 @@ export declare class DataCoreReadRequests {
|
|
|
1187
1197
|
};
|
|
1188
1198
|
aliasTo?: string;
|
|
1189
1199
|
};
|
|
1190
|
-
type?: "Drop" | "Inner";
|
|
1191
1200
|
x?: number;
|
|
1192
1201
|
y?: number;
|
|
1193
|
-
radius?: number;
|
|
1194
1202
|
spread?: number;
|
|
1195
1203
|
opacity?: {
|
|
1196
1204
|
value?: {
|
|
@@ -1199,6 +1207,7 @@ export declare class DataCoreReadRequests {
|
|
|
1199
1207
|
};
|
|
1200
1208
|
aliasTo?: string;
|
|
1201
1209
|
};
|
|
1210
|
+
type?: "Drop" | "Inner";
|
|
1202
1211
|
};
|
|
1203
1212
|
aliasTo?: string;
|
|
1204
1213
|
}[];
|
|
@@ -1207,6 +1216,7 @@ export declare class DataCoreReadRequests {
|
|
|
1207
1216
|
shadowLg?: {
|
|
1208
1217
|
value?: {
|
|
1209
1218
|
value?: {
|
|
1219
|
+
radius?: number;
|
|
1210
1220
|
color?: {
|
|
1211
1221
|
value?: {
|
|
1212
1222
|
color?: string | {
|
|
@@ -1222,10 +1232,8 @@ export declare class DataCoreReadRequests {
|
|
|
1222
1232
|
};
|
|
1223
1233
|
aliasTo?: string;
|
|
1224
1234
|
};
|
|
1225
|
-
type?: "Drop" | "Inner";
|
|
1226
1235
|
x?: number;
|
|
1227
1236
|
y?: number;
|
|
1228
|
-
radius?: number;
|
|
1229
1237
|
spread?: number;
|
|
1230
1238
|
opacity?: {
|
|
1231
1239
|
value?: {
|
|
@@ -1234,6 +1242,7 @@ export declare class DataCoreReadRequests {
|
|
|
1234
1242
|
};
|
|
1235
1243
|
aliasTo?: string;
|
|
1236
1244
|
};
|
|
1245
|
+
type?: "Drop" | "Inner";
|
|
1237
1246
|
};
|
|
1238
1247
|
aliasTo?: string;
|
|
1239
1248
|
}[];
|
|
@@ -1242,6 +1251,7 @@ export declare class DataCoreReadRequests {
|
|
|
1242
1251
|
shadowXl?: {
|
|
1243
1252
|
value?: {
|
|
1244
1253
|
value?: {
|
|
1254
|
+
radius?: number;
|
|
1245
1255
|
color?: {
|
|
1246
1256
|
value?: {
|
|
1247
1257
|
color?: string | {
|
|
@@ -1257,10 +1267,8 @@ export declare class DataCoreReadRequests {
|
|
|
1257
1267
|
};
|
|
1258
1268
|
aliasTo?: string;
|
|
1259
1269
|
};
|
|
1260
|
-
type?: "Drop" | "Inner";
|
|
1261
1270
|
x?: number;
|
|
1262
1271
|
y?: number;
|
|
1263
|
-
radius?: number;
|
|
1264
1272
|
spread?: number;
|
|
1265
1273
|
opacity?: {
|
|
1266
1274
|
value?: {
|
|
@@ -1269,6 +1277,7 @@ export declare class DataCoreReadRequests {
|
|
|
1269
1277
|
};
|
|
1270
1278
|
aliasTo?: string;
|
|
1271
1279
|
};
|
|
1280
|
+
type?: "Drop" | "Inner";
|
|
1272
1281
|
};
|
|
1273
1282
|
aliasTo?: string;
|
|
1274
1283
|
}[];
|
|
@@ -1277,6 +1286,7 @@ export declare class DataCoreReadRequests {
|
|
|
1277
1286
|
shadow2xl?: {
|
|
1278
1287
|
value?: {
|
|
1279
1288
|
value?: {
|
|
1289
|
+
radius?: number;
|
|
1280
1290
|
color?: {
|
|
1281
1291
|
value?: {
|
|
1282
1292
|
color?: string | {
|
|
@@ -1292,10 +1302,8 @@ export declare class DataCoreReadRequests {
|
|
|
1292
1302
|
};
|
|
1293
1303
|
aliasTo?: string;
|
|
1294
1304
|
};
|
|
1295
|
-
type?: "Drop" | "Inner";
|
|
1296
1305
|
x?: number;
|
|
1297
1306
|
y?: number;
|
|
1298
|
-
radius?: number;
|
|
1299
1307
|
spread?: number;
|
|
1300
1308
|
opacity?: {
|
|
1301
1309
|
value?: {
|
|
@@ -1304,23 +1312,27 @@ export declare class DataCoreReadRequests {
|
|
|
1304
1312
|
};
|
|
1305
1313
|
aliasTo?: string;
|
|
1306
1314
|
};
|
|
1315
|
+
type?: "Drop" | "Inner";
|
|
1307
1316
|
};
|
|
1308
1317
|
aliasTo?: string;
|
|
1309
1318
|
}[];
|
|
1310
1319
|
aliasTo?: string;
|
|
1311
1320
|
};
|
|
1312
1321
|
};
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
+
scope?: {
|
|
1323
|
+
designSystemId?: string;
|
|
1324
|
+
selections?: {
|
|
1325
|
+
tokens?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1326
|
+
tokenThemes?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1327
|
+
figmaComponents?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1328
|
+
designComponents?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1329
|
+
assets?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1330
|
+
documentation?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1331
|
+
contexts?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1332
|
+
skills?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1333
|
+
files?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1334
|
+
codeComponents?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1322
1335
|
};
|
|
1323
|
-
url?: string;
|
|
1324
1336
|
};
|
|
1325
1337
|
defaultTokenThemeSetId?: string;
|
|
1326
1338
|
productContext?: string;
|
|
@@ -1338,21 +1350,6 @@ export declare class DataCoreReadRequests {
|
|
|
1338
1350
|
}[];
|
|
1339
1351
|
includedContextIds?: string[];
|
|
1340
1352
|
includedByContextIds?: string[];
|
|
1341
|
-
scope?: {
|
|
1342
|
-
designSystemId?: string;
|
|
1343
|
-
selections?: {
|
|
1344
|
-
tokens?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1345
|
-
tokenThemes?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1346
|
-
figmaComponents?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1347
|
-
designComponents?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1348
|
-
assets?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1349
|
-
documentation?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1350
|
-
contexts?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1351
|
-
skills?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1352
|
-
files?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1353
|
-
codeComponents?: import("@supernova-studio/model").DatasetFilterGroup;
|
|
1354
|
-
};
|
|
1355
|
-
};
|
|
1356
1353
|
mcpUrlSlug?: string;
|
|
1357
1354
|
metadata?: string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
1358
1355
|
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any;
|
|
@@ -1386,6 +1383,18 @@ export declare class DataCoreReadRequests {
|
|
|
1386
1383
|
type?: "Phosphor" | "Lucide" | "Tabler";
|
|
1387
1384
|
variant?: string;
|
|
1388
1385
|
};
|
|
1386
|
+
thumbnail?: {
|
|
1387
|
+
id?: string;
|
|
1388
|
+
name?: string;
|
|
1389
|
+
source?: {
|
|
1390
|
+
type?: "UserUpload";
|
|
1391
|
+
userId?: string;
|
|
1392
|
+
} | {
|
|
1393
|
+
type?: "Figma";
|
|
1394
|
+
renderMode?: "Image" | "HTML" | "JSON";
|
|
1395
|
+
};
|
|
1396
|
+
url?: string;
|
|
1397
|
+
};
|
|
1389
1398
|
sandboxTemplate?: {
|
|
1390
1399
|
id?: string;
|
|
1391
1400
|
version?: string;
|
|
@@ -1419,8 +1428,12 @@ export declare class DataCoreReadRequests {
|
|
|
1419
1428
|
getRemoteForgeProjectTrailEvents({ projectId, }: {
|
|
1420
1429
|
projectId: string;
|
|
1421
1430
|
}): Promise<DTOTrailEventListResponse>;
|
|
1431
|
+
getRemoteActivityEvents(filter: ActivityEventListFilter): Promise<DTOActivityEventListResponse>;
|
|
1422
1432
|
getRemotePublishedFeature(featureId: string): Promise<DTOForgeProjectPublishedFeature>;
|
|
1423
1433
|
getRemoteThreads(threadId: string): Promise<DTOThreadMessageListResponse>;
|
|
1434
|
+
getRemoteAgentChats(filter: AgentChatListFilter): Promise<AgentChatListResponse>;
|
|
1435
|
+
getRemoteAgentChatByEveSession(eveSessionId: string): Promise<AgentChatResponse>;
|
|
1436
|
+
getRemoteAgentChatChangedEntities(chatId: string): Promise<AgentChatChangedEntitiesResponse>;
|
|
1424
1437
|
validateFigmaNodeAccess(input: DTOForgeFigmaNodeCreateRequest): Promise<boolean>;
|
|
1425
1438
|
getRemoteBuild(workspaceId: string, buildId: string): Promise<ExportBuildModel>;
|
|
1426
1439
|
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>>;
|
|
@@ -1455,6 +1468,9 @@ export declare class DataCoreReadRequests {
|
|
|
1455
1468
|
getWorkspaceCreditsAvailability(workspaceId: string): Promise<{
|
|
1456
1469
|
canSpendCredits?: boolean;
|
|
1457
1470
|
}>;
|
|
1471
|
+
getRemoteCreditsUsageLogExport(workspaceId: string, range: DTOBillingCreditsUsageLogExportInput): Promise<{
|
|
1472
|
+
downloadUrl?: string;
|
|
1473
|
+
}>;
|
|
1458
1474
|
/** Remote: Get MCP stream by ID */
|
|
1459
1475
|
getRemoteMCPStream(streamId: string): Promise<{
|
|
1460
1476
|
stream?: {
|
|
@@ -1471,6 +1487,17 @@ export declare class DataCoreReadRequests {
|
|
|
1471
1487
|
projectDocumentId?: string;
|
|
1472
1488
|
};
|
|
1473
1489
|
}>;
|
|
1490
|
+
/** Remote: List MCP consumers, optionally scoped to a context or design system */
|
|
1491
|
+
getRemoteMCPConsumers(workspaceId: string, contextId?: string, designSystemId?: string): Promise<{
|
|
1492
|
+
consumers?: {
|
|
1493
|
+
userId?: string;
|
|
1494
|
+
lastAccessedAt?: Date;
|
|
1495
|
+
}[];
|
|
1496
|
+
}>;
|
|
1497
|
+
/** Remote: Effective MCP consumer count, optionally scoped to a context or design system */
|
|
1498
|
+
getRemoteMCPUsageStats(workspaceId: string, contextId?: string, designSystemId?: string): Promise<{
|
|
1499
|
+
mcpConsumerCount?: number;
|
|
1500
|
+
}>;
|
|
1474
1501
|
/**
|
|
1475
1502
|
* Fetches all untyped data for a given workspace.
|
|
1476
1503
|
* @param workspaceId - The ID of the workspace.
|