@supernova-studio/supernova-sdk-beta 2.2.2 → 2.2.4
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/sdk-typescript/src/core/SDKSupernova.d.ts +2 -2
- package/build/sdk-typescript/src/core/areas/SDKAreaAutomation.d.ts +2 -1
- package/build/sdk-typescript/src/core/areas/SDKAreaDocsAnalytics.d.ts +8 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +7 -8
- package/build/sdk-typescript/src/core/areas/SDKAreaRawData.d.ts +14 -49
- package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +11 -6
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +74 -10
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +5 -5
- package/build/sdk-typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +0 -1
- package/build/sdk-typescript/src/exports.d.ts +6 -3
- package/build/sdk-typescript/src/model/code-components/SDKCodeComponentPropertyControlDefinition.d.ts +1 -4
- package/build/sdk-typescript/src/model/code-components/SDKCodeComponentPropertyDefinition.d.ts +0 -2
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +14 -5
- package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsComparisonData.d.ts +10 -0
- package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsData.d.ts +14 -0
- package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsPageComparisonData.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsPageVisitData.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsTimeFrame.d.ts +1 -1
- package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsVisitData.d.ts +9 -0
- package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsVisitHeatMapWeek.d.ts +14 -0
- package/build/sdk-typescript/src/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +1 -0
- package/build/sdk-typescript/src/utils/RawUtils.d.ts +58 -0
- package/build/supernova-sdk-typescript.js +1 -1
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/package.json +1 -1
- package/build/sdk-typescript/src/core/areas/SDKAreaPublishedDocumentation.d.ts +0 -9
- package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsTimeFrameComparison.d.ts +0 -7
- package/build/sdk-typescript/src/model/docs_analytics/SDKDocsAnalyticsVisitsDifference.d.ts +0 -10
- package/build/sdk-typescript/src/model/docs_analytics/SDKPublishedDocPageVisitData.d.ts +0 -10
|
@@ -7,13 +7,13 @@ import { AreaCodeComponents } from "./areas/SDKAreaCodeComponents";
|
|
|
7
7
|
import { AreaComponents } from "./areas/SDKAreaComponents";
|
|
8
8
|
import { AreaDataSources } from "./areas/SDKAreaDataSources";
|
|
9
9
|
import { AreaDesignSystems } from "./areas/SDKAreaDesignSystems";
|
|
10
|
+
import { AreaDocsAnalytics } from "./areas/SDKAreaDocsAnalytics";
|
|
10
11
|
import { AreaDocumentation } from "./areas/SDKAreaDocumentation";
|
|
11
12
|
import { AreaIntegrations } from "./areas/SDKAreaIntegrations";
|
|
12
13
|
import { AreaMe } from "./areas/SDKAreaMe";
|
|
13
14
|
import { AreaMultiplayer } from "./areas/SDKAreaMultiplayer";
|
|
14
15
|
import { AreaNetwork } from "./areas/SDKAreaNetwork";
|
|
15
16
|
import { AreaProjects } from "./areas/SDKAreaProjects";
|
|
16
|
-
import { AreaPublishedDocumentation } from "./areas/SDKAreaPublishedDocumentation";
|
|
17
17
|
import { AreaRawData } from "./areas/SDKAreaRawData";
|
|
18
18
|
import { AreaResources } from "./areas/SDKAreaResources";
|
|
19
19
|
import { AreaStorage } from "./areas/SDKAreaStorage";
|
|
@@ -52,7 +52,7 @@ export declare class Supernova {
|
|
|
52
52
|
/** Get, create, update, manipulate or delete documentation items */
|
|
53
53
|
documentation: AreaDocumentation;
|
|
54
54
|
/** Get published documentation items */
|
|
55
|
-
|
|
55
|
+
docsAnalytics: AreaDocsAnalytics;
|
|
56
56
|
/** Get, create, update, manipulate or delete pipelines and automation jobs */
|
|
57
57
|
automation: AreaAutomation;
|
|
58
58
|
/** Get, create, update, manipulate or delete users */
|
|
@@ -117,7 +117,8 @@ export declare class AreaAutomation {
|
|
|
117
117
|
* @param brandId
|
|
118
118
|
* @param themePersistentIds
|
|
119
119
|
* @param exporterConfigurationProperties
|
|
120
|
+
* @param previewMode
|
|
120
121
|
*/
|
|
121
|
-
createExporterBuild(workspaceId: string, designSystemId: string, versionId: string, exporterId: string, destinations: ExporterJobDestination, brandId: string | undefined, themePersistentIds: Array<string> | undefined, exporterConfigurationProperties: DTOExporterPropertyValueMap | undefined): Promise<ExportBuild>;
|
|
122
|
+
createExporterBuild(workspaceId: string, designSystemId: string, versionId: string, exporterId: string, destinations: ExporterJobDestination, brandId: string | undefined, themePersistentIds: Array<string> | undefined, exporterConfigurationProperties: DTOExporterPropertyValueMap | undefined, previewMode: boolean | undefined): Promise<ExportBuild>;
|
|
122
123
|
deletePipeline(workspaceId: string, pipelineId: string): Promise<void>;
|
|
123
124
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DocsAnalyticsTimeFrame } from "../../model/docs_analytics/SDKDocsAnalyticsTimeFrame";
|
|
2
|
+
import { DataCore } from "../data/SDKDataCore";
|
|
3
|
+
export declare class AreaDocsAnalytics {
|
|
4
|
+
/** Internal: Engine */
|
|
5
|
+
private dataCore;
|
|
6
|
+
constructor(dataCore: DataCore);
|
|
7
|
+
getDocsPageAnalytics(designSystemId: string, versionId: string, timeFrames: Array<DocsAnalyticsTimeFrame>): Promise<import("../../model/docs_analytics/SDKDocsAnalyticsData").DocsAnalyticsData>;
|
|
8
|
+
}
|
|
@@ -7,6 +7,7 @@ import { DocsEntityGroupModel } from "../../model/docs/entities/SDKDocsEntityGro
|
|
|
7
7
|
import { DocsEntityPageModel } from "../../model/docs/entities/SDKDocsEntityPage";
|
|
8
8
|
import { DocsSection } from "../../model/docs/sections/SDKDocsSection";
|
|
9
9
|
import { DocumentationLegacyGroup } from "../../model/documentation/SDKDocumentationLegacyGroup";
|
|
10
|
+
import { DocumentationLegacyPage } from "../../model/documentation/SDKDocumentationLegacyPage";
|
|
10
11
|
import { DocsPublishStatus } from "../../model/enums/SDKDocsPublishStatus";
|
|
11
12
|
import { DocumentationEnvironment } from "../../model/enums/SDKDocumentationEnvironment";
|
|
12
13
|
import { ExportBuild, ExportBuildStatus } from "../../model/exporters/exporter_builds/SDKExportBuild";
|
|
@@ -166,17 +167,15 @@ export declare class AreaDocumentation {
|
|
|
166
167
|
* @returns nothing
|
|
167
168
|
*/
|
|
168
169
|
ungroupDocumentationGroup(from: RemoteWorkspaceVersionIdentifier, payload: DTODeleteDocumentationGroupInput): Promise<void>;
|
|
169
|
-
/** Fetches
|
|
170
|
-
* Not implemented for now
|
|
171
|
-
* @param from - Remote version to fetch from
|
|
172
|
-
* @returnsDocumentationLegacy object
|
|
173
|
-
*/
|
|
174
|
-
getDocumentationStructureFromRoot(from: RemoteWorkspaceVersionIdentifier): Promise<DocumentationLegacyGroup>;
|
|
175
|
-
/** Fetches entire documentation documentation structure, including all pages and groups and their payloads
|
|
170
|
+
/** Fetches entire documentation including content in the legacy format
|
|
176
171
|
* @param from - Remote version to fetch from
|
|
177
172
|
* @returns All documentation items
|
|
178
173
|
*/
|
|
179
|
-
|
|
174
|
+
getFullDocumentationLegacyRepresentation(from: RemoteWorkspaceVersionIdentifier): Promise<{
|
|
175
|
+
rootGroup: DocumentationLegacyGroup;
|
|
176
|
+
allPages: Array<DocumentationLegacyPage>;
|
|
177
|
+
allGroups: Array<DocumentationLegacyGroup>;
|
|
178
|
+
}>;
|
|
180
179
|
/** Get ID of the multiplayer room for a given documentation page
|
|
181
180
|
* @param from - Remote version to fetch from
|
|
182
181
|
* @param pageId - ID of the documentation page
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { DTODesignSystem } from "@supernova-studio/client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { DesignSystemVersion, DesignSystemVersionRemoteModel } from "../../model/base/SDKDesignSystemVersion";
|
|
6
|
-
import { Component, ComponentRemoteModel } from "../../model/components/SDKComponent";
|
|
2
|
+
import { BrandRemoteModel } from "../../model/base/SDKBrand";
|
|
3
|
+
import { DesignSystemVersionRemoteModel } from "../../model/base/SDKDesignSystemVersion";
|
|
4
|
+
import { ComponentRemoteModel } from "../../model/components/SDKComponent";
|
|
7
5
|
import { DesignComponentRemoteModel } from "../../model/components/SDKDesignComponent";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { ComponentGroup, ComponentGroupRemoteModel } from "../../model/groups/SDKComponentGroup";
|
|
6
|
+
import { ElementDataViewRemoteModel } from "../../model/elements/SDKElementDataView";
|
|
7
|
+
import { ElementPropertyRemoteModel } from "../../model/elements/SDKElementProperty";
|
|
8
|
+
import { ElementPropertyValueRemoteModel } from "../../model/elements/values/SDKElementPropertyValue";
|
|
9
|
+
import { ComponentGroupRemoteModel } from "../../model/groups/SDKComponentGroup";
|
|
13
10
|
import { DesignComponentGroupRemoteModel } from "../../model/groups/SDKDesignComponentGroup";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { Token } from "../../model/tokens/SDKToken";
|
|
11
|
+
import { TokenGroupRemoteModel } from "../../model/groups/SDKTokenGroup";
|
|
12
|
+
import { MembershipRemoteModel } from "../../model/membership/SDKMembership";
|
|
13
|
+
import { ResourceFontModel } from "../../model/resources/SDKResourceFont";
|
|
14
|
+
import { SourceRemoteModel } from "../../model/support/SDKSource";
|
|
19
15
|
import { TokenRemoteModel } from "../../model/tokens/remote/SDKRemoteTokenModel";
|
|
16
|
+
import { UserRemoteModel } from "../../model/users/SDKUser";
|
|
20
17
|
import { DataCore } from "../data/SDKDataCore";
|
|
21
18
|
export declare class AreaRawData {
|
|
22
19
|
/** Internal: Engine */
|
|
@@ -52,38 +49,6 @@ export declare class AreaRawData {
|
|
|
52
49
|
getRawVersionModelData(designSystemId: string): Promise<Array<DesignSystemVersionRemoteModel>>;
|
|
53
50
|
/** Fetches raw brands */
|
|
54
51
|
getRawBrandModelData(designSystemId: string, versionId: string): Promise<Array<BrandRemoteModel>>;
|
|
55
|
-
/**
|
|
56
|
-
|
|
57
|
-
/** Build component groups */
|
|
58
|
-
buildComponentGroupsFromRaw(rawData: Array<ComponentGroupRemoteModel>, components: Array<Component>): Array<ComponentGroup>;
|
|
59
|
-
/** Builds assets from raw data */
|
|
60
|
-
buildAssetsFromRaw(rawData: Array<DesignComponentRemoteModel>, sources: Array<Source>): Array<Asset>;
|
|
61
|
-
/** Build asset groups */
|
|
62
|
-
buildAssetGroupsFromRaw(rawData: Array<DesignComponentGroupRemoteModel>, assets: Array<Asset>): Array<AssetGroup>;
|
|
63
|
-
/** Builds tokens from raw data */
|
|
64
|
-
buildTokensFromRaw(rawData: Array<TokenRemoteModel>, properties: Array<ElementProperty>, propertyValues: Array<ElementPropertyValue>, propertyViews: Array<ElementDataView>, tokenGroups: Array<TokenGroup>, sources: Array<Source>, designSystemId: string, versionId: string): Array<Token>;
|
|
65
|
-
/** Build token groups */
|
|
66
|
-
buildTokenGroupsFromRaw(rawData: Array<TokenGroupRemoteModel>): Array<TokenGroup>;
|
|
67
|
-
/** Builds elements from raw data */
|
|
68
|
-
buildElementsFromRaw(rawData: {
|
|
69
|
-
propertyValues: Array<ElementPropertyValueRemoteModel>;
|
|
70
|
-
propertyViews: Array<ElementDataViewRemoteModel>;
|
|
71
|
-
propertyDefinitions: Array<ElementPropertyRemoteModel>;
|
|
72
|
-
}): {
|
|
73
|
-
propertyValues: Array<ElementPropertyValue>;
|
|
74
|
-
propertyViews: Array<ElementDataView>;
|
|
75
|
-
propertyDefinitions: Array<ElementProperty>;
|
|
76
|
-
};
|
|
77
|
-
/** Build sources */
|
|
78
|
-
buildSourcesFromRaw(rawData: Array<SourceRemoteModel>): Array<Source>;
|
|
79
|
-
/** Build font resources */
|
|
80
|
-
buildFontResourcesFromRaw(rawData: Array<ResourceFontModel>): Array<ResourceFont>;
|
|
81
|
-
/** Builds memberships */
|
|
82
|
-
buildMembershipsFromRaw(rawData: Array<MembershipRemoteModel>): Array<Membership>;
|
|
83
|
-
/** Builds design systems */
|
|
84
|
-
buildDesignSystemsFromRaw(rawData: Array<DTODesignSystem>): Array<DesignSystem>;
|
|
85
|
-
/** Builds versions */
|
|
86
|
-
buildVersionsFromRaw(rawData: Array<DesignSystemVersionRemoteModel>): Array<DesignSystemVersion>;
|
|
87
|
-
/** Builds brands */
|
|
88
|
-
buildBrandsFromRaw(rawData: Array<BrandRemoteModel>): Array<Brand>;
|
|
52
|
+
/** Fetches raw current user */
|
|
53
|
+
getRawCurrentUserModelData(): Promise<UserRemoteModel>;
|
|
89
54
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse,
|
|
1
|
+
import { DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODocumentationAnalyticsTimeFrame, DTODocumentationLinkPreviewRequest, DTODocumentationPageAnchor, DTODocumentationPageApprovalStateChangeInput, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementPropertyValuesEditActionInput, DTOExporterPropertyValueMap, DTOFigmaNode, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeV2, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOPageRedirectCreateBody, DTOPageRedirectUpdateBody, DTOPipelineCreateBody, DTOPipelineUpdateBody, DTOPublishDocumentationRequest, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOWorkspaceUntypedDataListResponse, DTOWorkspaceUntypedDataResponse } from "@supernova-studio/client";
|
|
2
2
|
import { DesignSystemInvite, DesignSystemInviteUpdate, DesignSystemMemberUpdate, DesignSystemPendingMemberInvite, DesignSystemUserInvitation } from "@supernova-studio/model";
|
|
3
|
-
import { DesignSystemAccessMode,
|
|
3
|
+
import { DesignSystemAccessMode, DocsBlockDefinition, DocumentationLegacyGroup, DocumentationLegacyPage, ExportBuildStatus, ExporterJobDestination, ResourceFont, TokenThemeOverrideTranserObject, UserRole } from "../../exports";
|
|
4
4
|
import { Acl } from "../../model/acl/SDKAcl";
|
|
5
5
|
import { Asset } from "../../model/assets/SDKAsset";
|
|
6
6
|
import { RenderedAsset } from "../../model/assets/SDKRenderedAsset";
|
|
@@ -18,7 +18,7 @@ import { Component } from "../../model/components/SDKComponent";
|
|
|
18
18
|
import { DesignComponent } from "../../model/components/SDKDesignComponent";
|
|
19
19
|
import { DocsEntityGroupModel } from "../../model/docs/entities/SDKDocsEntityGroup";
|
|
20
20
|
import { DocsEntityPageModel } from "../../model/docs/entities/SDKDocsEntityPage";
|
|
21
|
-
import {
|
|
21
|
+
import { DocsAnalyticsData } from "../../model/docs_analytics/SDKDocsAnalyticsData";
|
|
22
22
|
import { ElementDataView } from "../../model/elements/SDKElementDataView";
|
|
23
23
|
import { ElementDataViewColumn } from "../../model/elements/SDKElementDataViewColumn";
|
|
24
24
|
import { ElementProperty, ElementPropertyCreationModel, ElementPropertyTargetElementType, ElementPropertyUpdateModel } from "../../model/elements/SDKElementProperty";
|
|
@@ -263,6 +263,12 @@ export declare class DataCore {
|
|
|
263
263
|
restoreDocumentationGroup(designSystemId: string, versionId: string, payload: DTORestoreDocumentationGroupInput): Promise<void>;
|
|
264
264
|
/** Restore a documentation page */
|
|
265
265
|
restoreDocumentationPage(designSystemId: string, versionId: string, payload: DTORestoreDocumentationPageInput): Promise<void>;
|
|
266
|
+
/** Fetches entire documentation including content in the legacy format */
|
|
267
|
+
getFullDocumentationLegacyRepresentation(designSystemId: string, versionId: string, workspaceId: string): Promise<{
|
|
268
|
+
rootGroup: DocumentationLegacyGroup;
|
|
269
|
+
allPages: Array<DocumentationLegacyPage>;
|
|
270
|
+
allGroups: Array<DocumentationLegacyGroup>;
|
|
271
|
+
}>;
|
|
266
272
|
/** Create a custom property in remote */
|
|
267
273
|
updateTokenProperty(designSystemId: string, versionId: string, propertyIdInVersion: string, model: ElementPropertyUpdateModel): Promise<void>;
|
|
268
274
|
/** Delete a custom property in remote */
|
|
@@ -364,8 +370,7 @@ export declare class DataCore {
|
|
|
364
370
|
/** Publish the documentation drafts */
|
|
365
371
|
documentationPublishDrafts(designSystemId: string, versionId: string, environment: DocumentationEnvironment, changes: DTOPublishDocumentationRequest["changes"]): Promise<ExportBuild>;
|
|
366
372
|
getDocumentationPageAnchors(designSystemId: string, versionId: string, pageId: string): Promise<Array<DTODocumentationPageAnchor>>;
|
|
367
|
-
|
|
368
|
-
docsAnalyticsVisitsDifferences(designSystemId: string, versionId: string, payload: DTODocumentationAnalyticsDiffPayload): Promise<Array<DocsAnalyticsVisitsDifference>>;
|
|
373
|
+
docsPageAnalytics(designSystemId: string, versionId: string, timeFrames: Array<DTODocumentationAnalyticsTimeFrame>): Promise<DocsAnalyticsData>;
|
|
369
374
|
/** Retrieve all asset resources */
|
|
370
375
|
assetResources(designSystemId: string, versionId: string): Promise<Array<ResourceAsset>>;
|
|
371
376
|
/** Retrieve all font resources */
|
|
@@ -420,7 +425,7 @@ export declare class DataCore {
|
|
|
420
425
|
documentationBuilds(workspaceId: string, versionId: string, environment: DocumentationEnvironment, status?: ExportBuildStatus, createdByUserId?: string, limit?: number): Promise<Array<ExportBuild>>;
|
|
421
426
|
buildLogs(workspaceId: string, buildId: string): Promise<Array<ExportBuildResultLog>>;
|
|
422
427
|
/** Create a new exporter build */
|
|
423
|
-
createExporterBuild(workspaceId: string, designSystemId: string, versionId: string, exporterId: string, destinations: ExporterJobDestination, brandId: string | undefined, themePersistentIds: Array<string> | undefined, exporterConfigurationProperties: DTOExporterPropertyValueMap | undefined): Promise<ExportBuild>;
|
|
428
|
+
createExporterBuild(workspaceId: string, designSystemId: string, versionId: string, exporterId: string, destinations: ExporterJobDestination, brandId: string | undefined, themePersistentIds: Array<string> | undefined, exporterConfigurationProperties: DTOExporterPropertyValueMap | undefined, previewMode: boolean | undefined): Promise<ExportBuild>;
|
|
424
429
|
workspaceProductFeatures(workspaceId: string): Promise<SubscriptionProductFeatures>;
|
|
425
430
|
/** Download information about a single workspace and retrieve it resolved */
|
|
426
431
|
workspace(workspaceId: string): Promise<Workspace>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemContactsResponse, DTODesignSystemMemberListResponse, DTODesignSystemVersionStats,
|
|
1
|
+
import { DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemContactsResponse, DTODesignSystemMemberListResponse, DTODesignSystemVersionStats, DTODocumentationAnalyticsTimeFrame, DTODocumentationLinkPreviewRequest, DTOFigmaNode, DTOFigmaNodeV2, DTOGetDocumentationPageAnchorsResponse, DTOPipeline, DTOTokenCollection, DTOWorkspaceUntypedDataListResponse } from "@supernova-studio/client";
|
|
2
|
+
import { DocumentationLegacyGroupModel } from "../../../exports";
|
|
2
3
|
import { AclRemoteModel } from "../../../model/acl/SDKAcl";
|
|
3
4
|
import { BootstrapDataRemoteModel } from "../../../model/base/SDKBootstrapData";
|
|
4
5
|
import { BrandRemoteModel } from "../../../model/base/SDKBrand";
|
|
@@ -147,6 +148,11 @@ export declare class DataCoreReadRequests {
|
|
|
147
148
|
getRemoteDocumentationUrl(designSystemId: string, versionId: string): Promise<string | null>;
|
|
148
149
|
/** Remote: Get documentation metadata */
|
|
149
150
|
getRemoteDocumentationStructure(designSystemId: string, versionId: string): Promise<DocumentationLegacyModel>;
|
|
151
|
+
/** Remote: Get documentation metadata */
|
|
152
|
+
getRemoteDocumentationFullLegacyModel(designSystemId: string, versionId: string): Promise<{
|
|
153
|
+
pages: Array<DocumentationLegacyPageModel>;
|
|
154
|
+
groups: Array<DocumentationLegacyGroupModel>;
|
|
155
|
+
}>;
|
|
150
156
|
/** Remote: Get documentation elements diff */
|
|
151
157
|
getRemoteDocumentationElementsDiff(designSystemId: string, versionId: string, environment: DocumentationEnvironment): Promise<DTODesignElementsDataDiffResponse>;
|
|
152
158
|
/** Remote: Get documentation metadata */
|
|
@@ -158,15 +164,73 @@ export declare class DataCoreReadRequests {
|
|
|
158
164
|
/** Remote: Get id of the room for a specific workspace. */
|
|
159
165
|
getRemoteDocumentationWorkspaceRoomId(workspaceId: string): Promise<string>;
|
|
160
166
|
getRemoteDocumentationPageAnchors(designSystemId: string, versionId: string, pageId: string): Promise<DTOGetDocumentationPageAnchorsResponse>;
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
getRemoteDocsPageAnalytics(designSystemId: string, versionId: string, timeFrames: Array<DTODocumentationAnalyticsTimeFrame>): Promise<{
|
|
168
|
+
analytics: {
|
|
169
|
+
pagePersistentId: string;
|
|
170
|
+
timestamp: Date;
|
|
171
|
+
versionId: string;
|
|
172
|
+
visits: number;
|
|
173
|
+
sessions: number;
|
|
174
|
+
locale?: string | undefined;
|
|
175
|
+
}[];
|
|
176
|
+
perPageAnalytics: {
|
|
177
|
+
pagePersistentId: string;
|
|
178
|
+
timestamp: Date;
|
|
179
|
+
versionId: string;
|
|
180
|
+
visits: number;
|
|
181
|
+
sessions: number;
|
|
182
|
+
locale?: string | undefined;
|
|
183
|
+
}[];
|
|
184
|
+
globalAnalytics: {
|
|
185
|
+
timestamp: Date;
|
|
186
|
+
versionId: string;
|
|
187
|
+
visits: number;
|
|
188
|
+
sessions: number;
|
|
189
|
+
locale?: string | undefined;
|
|
190
|
+
}[];
|
|
191
|
+
pageAnalytics: {
|
|
192
|
+
pagePersistentId: string;
|
|
193
|
+
timestamp: Date;
|
|
194
|
+
versionId: string;
|
|
195
|
+
visits: number;
|
|
196
|
+
sessions: number;
|
|
197
|
+
locale?: string | undefined;
|
|
198
|
+
}[];
|
|
199
|
+
heatMapData: {
|
|
200
|
+
timeFrame: {
|
|
201
|
+
start: Date;
|
|
202
|
+
end?: Date | undefined;
|
|
203
|
+
};
|
|
204
|
+
mon: number[];
|
|
205
|
+
tue: number[];
|
|
206
|
+
wed: number[];
|
|
207
|
+
thu: number[];
|
|
208
|
+
fri: number[];
|
|
209
|
+
sat: number[];
|
|
210
|
+
sun: number[];
|
|
211
|
+
}[];
|
|
212
|
+
comparisonData: {
|
|
213
|
+
timeFrame: {
|
|
214
|
+
start: Date;
|
|
215
|
+
end?: Date | undefined;
|
|
216
|
+
};
|
|
217
|
+
priorVisitCount: number;
|
|
218
|
+
priorSessionCount: number;
|
|
219
|
+
currentVisitCount: number;
|
|
220
|
+
currentSessionCount: number;
|
|
221
|
+
}[];
|
|
222
|
+
pageComparisonData: {
|
|
223
|
+
pagePersistentId: string;
|
|
224
|
+
timeFrame: {
|
|
225
|
+
start: Date;
|
|
226
|
+
end?: Date | undefined;
|
|
227
|
+
};
|
|
228
|
+
priorVisitCount: number;
|
|
229
|
+
priorSessionCount: number;
|
|
230
|
+
currentVisitCount: number;
|
|
231
|
+
currentSessionCount: number;
|
|
232
|
+
}[];
|
|
233
|
+
}>;
|
|
170
234
|
/** Remote: Get custom blocks for currently installed documentation exporter under specific ds */
|
|
171
235
|
getRemoteExporterCustomBlocks(designSystemId: string, versionId: string): Promise<Array<ExporterCustomBlockModel>>;
|
|
172
236
|
/** Remote: Get user configuration of specific installed exporter */
|
|
@@ -321,8 +321,8 @@ export declare class DataCoreWriteRequests {
|
|
|
321
321
|
documentation?: {
|
|
322
322
|
environment: "Live" | "Preview";
|
|
323
323
|
changes?: {
|
|
324
|
-
pagePersistentIds: string[];
|
|
325
324
|
groupPersistentIds: string[];
|
|
325
|
+
pagePersistentIds: string[];
|
|
326
326
|
} | undefined;
|
|
327
327
|
} | undefined;
|
|
328
328
|
webhookUrl?: string | undefined;
|
|
@@ -390,8 +390,8 @@ export declare class DataCoreWriteRequests {
|
|
|
390
390
|
destinationSnDocs?: {
|
|
391
391
|
environment: "Live" | "Preview";
|
|
392
392
|
changes?: {
|
|
393
|
-
pagePersistentIds: string[];
|
|
394
393
|
groupPersistentIds: string[];
|
|
394
|
+
pagePersistentIds: string[];
|
|
395
395
|
} | undefined;
|
|
396
396
|
} | undefined;
|
|
397
397
|
destinationS3?: {} | undefined;
|
|
@@ -548,8 +548,8 @@ export declare class DataCoreWriteRequests {
|
|
|
548
548
|
documentation?: {
|
|
549
549
|
environment: "Live" | "Preview";
|
|
550
550
|
changes?: {
|
|
551
|
-
pagePersistentIds: string[];
|
|
552
551
|
groupPersistentIds: string[];
|
|
552
|
+
pagePersistentIds: string[];
|
|
553
553
|
} | undefined;
|
|
554
554
|
} | undefined;
|
|
555
555
|
webhookUrl?: string | undefined;
|
|
@@ -617,8 +617,8 @@ export declare class DataCoreWriteRequests {
|
|
|
617
617
|
destinationSnDocs?: {
|
|
618
618
|
environment: "Live" | "Preview";
|
|
619
619
|
changes?: {
|
|
620
|
-
pagePersistentIds: string[];
|
|
621
620
|
groupPersistentIds: string[];
|
|
621
|
+
pagePersistentIds: string[];
|
|
622
622
|
} | undefined;
|
|
623
623
|
} | undefined;
|
|
624
624
|
destinationS3?: {} | undefined;
|
|
@@ -701,7 +701,7 @@ export declare class DataCoreWriteRequests {
|
|
|
701
701
|
/** Remote: Deletes an exporter configuration property value */
|
|
702
702
|
deleteRemoteExporterConfigurationPropertyValue(designSystemId: string, exporterId: string, propertyKey: string): Promise<any>;
|
|
703
703
|
/** Remote: Create a new exporter build */
|
|
704
|
-
createExporterBuild(workspaceId: string, designSystemId: string, versionId: string, exporterId: string, destinations: ExporterJobDestination, brandId: string | undefined, themePersistentIds: Array<string> | undefined, exporterConfigurationProperties: DTOExporterPropertyValueMap | undefined): Promise<ExportBuildModel>;
|
|
704
|
+
createExporterBuild(workspaceId: string, designSystemId: string, versionId: string, exporterId: string, destinations: ExporterJobDestination, brandId: string | undefined, themePersistentIds: Array<string> | undefined, exporterConfigurationProperties: DTOExporterPropertyValueMap | undefined, previewMode: boolean | undefined): Promise<ExportBuildModel>;
|
|
705
705
|
/** Remote: Schedules import job */
|
|
706
706
|
scheduleImportJobForFigmaSources(designSystemId: string, versionId: string, sourceIds: Array<string>, dryRun: boolean): Promise<ImportJobRemoteModel>;
|
|
707
707
|
/** Remote: Deletes a remote data source */
|
|
@@ -5,7 +5,6 @@ export declare class DesignComponentGroupResolver {
|
|
|
5
5
|
constructor(designComponents: Array<DesignComponent>);
|
|
6
6
|
resolveGroupData(data: Array<DesignComponentGroupRemoteModel>): Array<DesignComponentGroup>;
|
|
7
7
|
private assignSourceDataToGroups;
|
|
8
|
-
private propagateSourceDataToAncestors;
|
|
9
8
|
private recomputePaths;
|
|
10
9
|
private recomputePathsFromRoot;
|
|
11
10
|
private reorderGroupsByRoots;
|
|
@@ -71,10 +71,12 @@ export { DesignComponentPropertyBoolean, DesignComponentPropertyDefinition, Desi
|
|
|
71
71
|
export { CodeComponent } from "./model/code-components/SDKCodeComponent";
|
|
72
72
|
export { CodeComponentPropertyControlType, CodeComponentPropertyControlDefinition, } from "./model/code-components/SDKCodeComponentPropertyControlDefinition";
|
|
73
73
|
export { CodeComponentPropertyDefinition } from "./model/code-components/SDKCodeComponentPropertyDefinition";
|
|
74
|
-
export {
|
|
75
|
-
export {
|
|
74
|
+
export { DocsAnalyticsVisitData } from "./model/docs_analytics/SDKDocsAnalyticsVisitData";
|
|
75
|
+
export { DocsAnalyticsPageVisitData } from "./model/docs_analytics/SDKDocsAnalyticsPageVisitData";
|
|
76
76
|
export { DocsAnalyticsTimeFrame } from "./model/docs_analytics/SDKDocsAnalyticsTimeFrame";
|
|
77
|
-
export {
|
|
77
|
+
export { DocsAnalyticsComparisonData } from "./model/docs_analytics/SDKDocsAnalyticsComparisonData";
|
|
78
|
+
export { DocsAnalyticsPageComparisonData } from "./model/docs_analytics/SDKDocsAnalyticsPageComparisonData";
|
|
79
|
+
export { DocsAnalyticsVisitHeatMapWeek } from "./model/docs_analytics/SDKDocsAnalyticsVisitHeatMapWeek";
|
|
78
80
|
export { DocsBlockBehavior } from "./model/docs/blocks/definition/SDKDocsBlockBehavior";
|
|
79
81
|
export { DocsBlockDefinition } from "./model/docs/blocks/definition/SDKDocsBlockDefinition";
|
|
80
82
|
export { DocsBlockItemDefinition } from "./model/docs/blocks/definition/SDKDocsBlockItemDefinition";
|
|
@@ -329,3 +331,4 @@ export type { DesignComponentGroupRemoteModel } from "./model/groups/SDKDesignCo
|
|
|
329
331
|
export type { ElementPropertyRemoteModel } from "./model/elements/SDKElementProperty";
|
|
330
332
|
export type { ElementPropertyValueRemoteModel } from "./model/elements/values/SDKElementPropertyValue";
|
|
331
333
|
export type { ElementDataViewRemoteModel } from "./model/elements/SDKElementDataView";
|
|
334
|
+
export { RawUtils } from "./utils/RawUtils";
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DTOCodeComponentProperty } from "@supernova-studio/client";
|
|
2
1
|
export declare enum CodeComponentPropertyControlType {
|
|
3
2
|
Boolean = "Boolean",
|
|
4
3
|
Function = "Function",
|
|
@@ -8,10 +7,8 @@ export declare enum CodeComponentPropertyControlType {
|
|
|
8
7
|
String = "String",
|
|
9
8
|
Unknown = "Unknown"
|
|
10
9
|
}
|
|
11
|
-
type CodeComponentPropertyControlDefinitionRemoteType =
|
|
10
|
+
type CodeComponentPropertyControlDefinitionRemoteType = string;
|
|
12
11
|
export declare class CodeComponentPropertyControlDefinition {
|
|
13
|
-
isArray: boolean;
|
|
14
|
-
type: CodeComponentPropertyControlType;
|
|
15
12
|
constructor(model: CodeComponentPropertyControlDefinitionRemoteType);
|
|
16
13
|
}
|
|
17
14
|
export {};
|
package/build/sdk-typescript/src/model/code-components/SDKCodeComponentPropertyDefinition.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { DTOCodeComponentProperty } from "@supernova-studio/client";
|
|
2
|
-
import { CodeComponentPropertyControlDefinition } from "./SDKCodeComponentPropertyControlDefinition";
|
|
3
2
|
type CodeComponentPropertyDefinitionRemoteType = DTOCodeComponentProperty;
|
|
4
3
|
export declare class CodeComponentPropertyDefinition {
|
|
5
|
-
control: CodeComponentPropertyControlDefinition;
|
|
6
4
|
defaultValue: string | null;
|
|
7
5
|
name: string;
|
|
8
6
|
required: boolean;
|
package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts
CHANGED
|
@@ -12,12 +12,21 @@ export type DocsBlockStorybookPropertyOptions = {
|
|
|
12
12
|
/** Defines how the storybook should be rendered in the editor */
|
|
13
13
|
renderLayoutAs?: "Playground" | "Iframe";
|
|
14
14
|
};
|
|
15
|
+
export type DocsBlockStorybookValue = Array<{
|
|
16
|
+
entityId?: string;
|
|
17
|
+
embed?: {
|
|
18
|
+
inputUrl: string;
|
|
19
|
+
embedUrl: string;
|
|
20
|
+
};
|
|
21
|
+
entityMeta?: {
|
|
22
|
+
caption?: string;
|
|
23
|
+
height?: number;
|
|
24
|
+
hiddenProps?: Array<string>;
|
|
25
|
+
propValues?: Record<string, unknown>;
|
|
26
|
+
};
|
|
27
|
+
}> | undefined;
|
|
15
28
|
/** Storybook property - Data */
|
|
16
|
-
export type DocsBlockStorybookPropertyData = DocsBlockPropertyData<
|
|
17
|
-
alt?: string;
|
|
18
|
-
caption?: string;
|
|
19
|
-
height?: number;
|
|
20
|
-
embedUrl?: string;
|
|
29
|
+
export type DocsBlockStorybookPropertyData = DocsBlockPropertyData<DocsBlockStorybookValue> & {
|
|
21
30
|
showCode?: boolean;
|
|
22
31
|
showFooter?: boolean;
|
|
23
32
|
showProperties?: boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DTOPublishedDocAnalyticsComparisonData } from "@supernova-studio/client";
|
|
2
|
+
import { DocsAnalyticsTimeFrame } from "./SDKDocsAnalyticsTimeFrame";
|
|
3
|
+
export declare class DocsAnalyticsComparisonData {
|
|
4
|
+
timeFrame: DocsAnalyticsTimeFrame;
|
|
5
|
+
currentVisitCount: number;
|
|
6
|
+
priorVisitCount: number;
|
|
7
|
+
currentSessionCount: number;
|
|
8
|
+
priorSessionCount: number;
|
|
9
|
+
constructor(model: DTOPublishedDocAnalyticsComparisonData);
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DTODocumentationPageAnalyticsResponse } from "@supernova-studio/client";
|
|
2
|
+
import { DocsAnalyticsComparisonData } from "./SDKDocsAnalyticsComparisonData";
|
|
3
|
+
import { DocsAnalyticsPageComparisonData } from "./SDKDocsAnalyticsPageComparisonData";
|
|
4
|
+
import { DocsAnalyticsPageVisitData } from "./SDKDocsAnalyticsPageVisitData";
|
|
5
|
+
import { DocsAnalyticsVisitData } from "./SDKDocsAnalyticsVisitData";
|
|
6
|
+
import { DocsAnalyticsVisitHeatMapWeek } from "./SDKDocsAnalyticsVisitHeatMapWeek";
|
|
7
|
+
export declare class DocsAnalyticsData {
|
|
8
|
+
globalAnalytics: DocsAnalyticsVisitData[];
|
|
9
|
+
pageAnalytics: DocsAnalyticsPageVisitData[];
|
|
10
|
+
heatMapData: DocsAnalyticsVisitHeatMapWeek[];
|
|
11
|
+
comparisonData: DocsAnalyticsComparisonData[];
|
|
12
|
+
pageComparisonData: DocsAnalyticsPageComparisonData[];
|
|
13
|
+
constructor(model: DTODocumentationPageAnalyticsResponse);
|
|
14
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DTOPublishedDocPageAnalyticsComparisonData } from "@supernova-studio/client";
|
|
2
|
+
import { DocsAnalyticsComparisonData } from "./SDKDocsAnalyticsComparisonData";
|
|
3
|
+
export declare class DocsAnalyticsPageComparisonData extends DocsAnalyticsComparisonData {
|
|
4
|
+
pagePersistentId: string;
|
|
5
|
+
constructor(model: DTOPublishedDocPageAnalyticsComparisonData);
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DTOPublishedDocPageVisitData } from "@supernova-studio/client";
|
|
2
|
+
import { DocsAnalyticsVisitData } from "./SDKDocsAnalyticsVisitData";
|
|
3
|
+
export declare class DocsAnalyticsPageVisitData extends DocsAnalyticsVisitData {
|
|
4
|
+
pagePersistentId: string;
|
|
5
|
+
constructor(model: DTOPublishedDocPageVisitData);
|
|
6
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DTOPublishedDocVisitData } from "@supernova-studio/client";
|
|
2
|
+
export declare class DocsAnalyticsVisitData {
|
|
3
|
+
versionId: string;
|
|
4
|
+
locale: string | null;
|
|
5
|
+
timestamp: Date;
|
|
6
|
+
visits: number;
|
|
7
|
+
sessions: number;
|
|
8
|
+
constructor(model: DTOPublishedDocVisitData);
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DTOPublishedDocVisitHeatMapWeek } from "@supernova-studio/client";
|
|
2
|
+
import { DocsAnalyticsTimeFrame } from "./SDKDocsAnalyticsTimeFrame";
|
|
3
|
+
export declare class DocsAnalyticsVisitHeatMapWeek {
|
|
4
|
+
timeFrame: DocsAnalyticsTimeFrame;
|
|
5
|
+
/** Visits per 2 hour intervals, starting at 0 (eg. 0, 2, 4, ...) */
|
|
6
|
+
mon: number[];
|
|
7
|
+
tue: number[];
|
|
8
|
+
wed: number[];
|
|
9
|
+
thu: number[];
|
|
10
|
+
fri: number[];
|
|
11
|
+
sat: number[];
|
|
12
|
+
sun: number[];
|
|
13
|
+
constructor(model: DTOPublishedDocVisitHeatMapWeek);
|
|
14
|
+
}
|
|
@@ -76,6 +76,7 @@ export declare class DocsBlockBuilder {
|
|
|
76
76
|
/** Create and item variant to render the item with default layout (all properties will be stacked into a single column) */
|
|
77
77
|
defaultVariantUsingDefaultLayout(options: {
|
|
78
78
|
properties: Array<DocsBlockItemPropertyAnyDefinition>;
|
|
79
|
+
name?: string;
|
|
79
80
|
image?: string;
|
|
80
81
|
description?: string;
|
|
81
82
|
maxColumns?: number;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DTODesignSystem } from "@supernova-studio/client";
|
|
2
|
+
import { Asset } from "../model/assets/SDKAsset";
|
|
3
|
+
import { Brand, BrandRemoteModel } from "../model/base/SDKBrand";
|
|
4
|
+
import { DesignSystem } from "../model/base/SDKDesignSystem";
|
|
5
|
+
import { DesignSystemVersion, DesignSystemVersionRemoteModel } from "../model/base/SDKDesignSystemVersion";
|
|
6
|
+
import { Component, ComponentRemoteModel } from "../model/components/SDKComponent";
|
|
7
|
+
import { DesignComponentRemoteModel } from "../model/components/SDKDesignComponent";
|
|
8
|
+
import { ElementDataView, ElementDataViewRemoteModel } from "../model/elements/SDKElementDataView";
|
|
9
|
+
import { ElementProperty, ElementPropertyRemoteModel } from "../model/elements/SDKElementProperty";
|
|
10
|
+
import { ElementPropertyValue, ElementPropertyValueRemoteModel } from "../model/elements/values/SDKElementPropertyValue";
|
|
11
|
+
import { AssetGroup } from "../model/groups/SDKAssetGroup";
|
|
12
|
+
import { ComponentGroup, ComponentGroupRemoteModel } from "../model/groups/SDKComponentGroup";
|
|
13
|
+
import { DesignComponentGroupRemoteModel } from "../model/groups/SDKDesignComponentGroup";
|
|
14
|
+
import { TokenGroup, TokenGroupRemoteModel } from "../model/groups/SDKTokenGroup";
|
|
15
|
+
import { Membership, MembershipRemoteModel } from "../model/membership/SDKMembership";
|
|
16
|
+
import { ResourceFont, ResourceFontModel } from "../model/resources/SDKResourceFont";
|
|
17
|
+
import { Source, SourceRemoteModel } from "../model/support/SDKSource";
|
|
18
|
+
import { Token } from "../model/tokens/SDKToken";
|
|
19
|
+
import { TokenRemoteModel } from "../model/tokens/remote/SDKRemoteTokenModel";
|
|
20
|
+
import { User, UserRemoteModel } from "../model/users/SDKUser";
|
|
21
|
+
export declare class RawUtils {
|
|
22
|
+
/** Builds components from raw data */
|
|
23
|
+
static buildComponentsFromRaw(rawData: Array<ComponentRemoteModel>, properties: Array<ElementProperty>, propertyValues: Array<ElementPropertyValue>): Array<Component>;
|
|
24
|
+
/** Build component groups */
|
|
25
|
+
static buildComponentGroupsFromRaw(rawData: Array<ComponentGroupRemoteModel>, components: Array<Component>): Array<ComponentGroup>;
|
|
26
|
+
/** Builds assets from raw data */
|
|
27
|
+
static buildAssetsFromRaw(rawData: Array<DesignComponentRemoteModel>, sources: Array<Source>): Array<Asset>;
|
|
28
|
+
/** Build asset groups */
|
|
29
|
+
static buildAssetGroupsFromRaw(rawData: Array<DesignComponentGroupRemoteModel>, assets: Array<Asset>): Array<AssetGroup>;
|
|
30
|
+
/** Builds tokens from raw data */
|
|
31
|
+
static buildTokensFromRaw(rawData: Array<TokenRemoteModel>, properties: Array<ElementProperty>, propertyValues: Array<ElementPropertyValue>, propertyViews: Array<ElementDataView>, tokenGroups: Array<TokenGroup>, sources: Array<Source>, designSystemId: string, versionId: string): Array<Token>;
|
|
32
|
+
/** Build token groups */
|
|
33
|
+
static buildTokenGroupsFromRaw(rawData: Array<TokenGroupRemoteModel>): Array<TokenGroup>;
|
|
34
|
+
/** Builds elements from raw data */
|
|
35
|
+
static buildElementsFromRaw(rawData: {
|
|
36
|
+
propertyValues: Array<ElementPropertyValueRemoteModel>;
|
|
37
|
+
propertyViews: Array<ElementDataViewRemoteModel>;
|
|
38
|
+
propertyDefinitions: Array<ElementPropertyRemoteModel>;
|
|
39
|
+
}): {
|
|
40
|
+
propertyValues: Array<ElementPropertyValue>;
|
|
41
|
+
propertyViews: Array<ElementDataView>;
|
|
42
|
+
propertyDefinitions: Array<ElementProperty>;
|
|
43
|
+
};
|
|
44
|
+
/** Build sources */
|
|
45
|
+
static buildSourcesFromRaw(rawData: Array<SourceRemoteModel>): Array<Source>;
|
|
46
|
+
/** Build font resources */
|
|
47
|
+
static buildFontResourcesFromRaw(rawData: Array<ResourceFontModel>): Array<ResourceFont>;
|
|
48
|
+
/** Builds memberships */
|
|
49
|
+
static buildMembershipsFromRaw(rawData: Array<MembershipRemoteModel>): Array<Membership>;
|
|
50
|
+
/** Builds design systems */
|
|
51
|
+
static buildDesignSystemsFromRaw(rawData: Array<DTODesignSystem>): Array<DesignSystem>;
|
|
52
|
+
/** Builds versions */
|
|
53
|
+
static buildVersionsFromRaw(rawData: Array<DesignSystemVersionRemoteModel>): Array<DesignSystemVersion>;
|
|
54
|
+
/** Builds brands */
|
|
55
|
+
static buildBrandsFromRaw(rawData: Array<BrandRemoteModel>): Array<Brand>;
|
|
56
|
+
/** Builds user */
|
|
57
|
+
static buildUserFromRaw(rawData: UserRemoteModel): User;
|
|
58
|
+
}
|