@supernova-studio/supernova-sdk-beta 2.0.32 → 2.0.38
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 +9 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaAI.d.ts +34 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaAssets.d.ts +7 -4
- package/build/sdk-typescript/src/core/areas/SDKAreaAutomation.d.ts +26 -7
- package/build/sdk-typescript/src/core/areas/SDKAreaDesignSystems.d.ts +19 -1
- package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +5 -3
- package/build/sdk-typescript/src/core/areas/SDKAreaImport.d.ts +6 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaRawData.d.ts +84 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaResources.d.ts +6 -1
- package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +4 -0
- package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +49 -12
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreAIRequests.d.ts +15 -0
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +38 -6
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +461 -9
- package/build/sdk-typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +5 -0
- package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityItemResolver.d.ts +212 -0
- package/build/sdk-typescript/src/exports.d.ts +21 -2
- package/build/sdk-typescript/src/model/assets/SDKAsset.d.ts +24 -1
- package/build/sdk-typescript/src/model/base/SDKBrand.d.ts +1 -2
- package/build/sdk-typescript/src/model/base/SDKDesignSystemVersionStats.d.ts +11 -0
- package/build/sdk-typescript/src/model/components/SDKDesignComponent.d.ts +1 -0
- package/build/sdk-typescript/src/model/components/SDKDesignComponentPropertyDefinition.d.ts +1 -0
- package/build/sdk-typescript/src/model/components/SDKDesignComponentVariant.d.ts +1 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockFigmaComponentProperty.d.ts +1 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntity.d.ts +6 -5
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityApprovalState.d.ts +2 -2
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityConfiguration.d.ts +1 -0
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityGroup.d.ts +8 -16
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityPage.d.ts +10 -9
- package/build/sdk-typescript/src/model/elements/SDKElementProperty.d.ts +4 -0
- package/build/sdk-typescript/src/model/elements/SDKElementPropertyOption.d.ts +1 -1
- package/build/sdk-typescript/src/model/exporters/SDKExporter.d.ts +15 -0
- package/build/sdk-typescript/src/model/exporters/SDKExporterJobDestination.d.ts +36 -0
- package/build/sdk-typescript/src/model/exporters/SDKPipeline.d.ts +27 -54
- package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyBase.d.ts +11 -0
- package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyBoolean.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyDefinition.d.ts +6 -0
- package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyEnum.d.ts +14 -0
- package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyNumber.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyObject.d.ts +12 -0
- package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyString.d.ts +7 -0
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuildResults.d.ts +2 -2
- package/build/sdk-typescript/src/model/groups/SDKAssetGroup.d.ts +4 -0
- package/build/sdk-typescript/src/model/groups/SDKDesignComponentGroup.d.ts +7 -0
- package/build/sdk-typescript/src/model/support/SDKDesignComponentOrigin.d.ts +15 -1
- package/build/sdk-typescript/src/model/support/SDKFigmaFrame.d.ts +2 -7
- package/build/sdk-typescript/src/model/support/SDKFigmaStructure.d.ts +11 -11
- package/build/sdk-typescript/src/model/support/SDKFigmaStructureDetail.d.ts +6 -29
- package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenModel.d.ts +1 -0
- package/build/sdk-typescript/src/model/users/SDKUser.d.ts +5 -1
- package/build/sdk-typescript/src/model/users/SDKUserProfile.d.ts +17 -0
- package/build/sdk-typescript/src/pulsar-interfaces.d.ts +1 -0
- package/build/sdk-typescript/src/tests/helpers.d.ts +2 -5
- package/build/sdk-typescript/src/tests/validators.d.ts +24 -23
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewSegmentGenerator.d.ts +26 -1
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewTypes.d.ts +2 -0
- package/build/sdk-typescript/src/tools/token-transform/SDKToolsTokenTransform.d.ts +2 -0
- package/build/sdk-typescript/src/utils/TokenUtils.d.ts +5 -0
- package/build/sdk-typescript/vitest.config-ci.d.ts +2 -0
- package/build/sdk-typescript/vitest.config-token-studio.d.ts +2 -0
- package/build/sdk-typescript/vitest.config.d.ts +2 -0
- package/build/supernova-sdk-typescript.js +1 -1
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/package.json +12 -13
- package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityMultiplayerItemResolver.d.ts +0 -7
- package/build/sdk-typescript/src/tests/Tooling/ToolDocSearch.spec.d.ts +0 -1
- package/build/sdk-typescript/src/tests/Tooling/ToolMarkdownTransform.spec.d.ts +0 -1
- /package/build/sdk-typescript/src/tests/Areas/{AreaAssets.spec.d.ts → AreaImport.spec.d.ts} +0 -0
- /package/build/sdk-typescript/src/tests/Tooling/{PluginFigmaTokens.spec.d.ts → PluginFigmaTokens.spec.token-studio.d.ts} +0 -0
- /package/build/sdk-typescript/src/tests/Tooling/{ReadTokens.spec.d.ts → ReadTokens.spec.token-studio.d.ts} +0 -0
- /package/build/sdk-typescript/src/tests/Tooling/{TokensModel.spec.d.ts → TokensModel.spec.token-studio.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supernova-studio/supernova-sdk-beta",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.38",
|
|
4
4
|
"description": "Supernova.io SDK",
|
|
5
5
|
"main": "./build/supernova-sdk-typescript.js",
|
|
6
6
|
"types": "./build/sdk-typescript/src/index.d.ts",
|
|
@@ -22,18 +22,17 @@
|
|
|
22
22
|
"build"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"clean": "trash build test",
|
|
26
|
-
"build": "npm run build:dev",
|
|
27
|
-
"build:dev": "npm run clean && webpack --mode development --config ./webpack.config.sdk.js",
|
|
28
25
|
"build:production": "npm run clean && webpack --mode production --config ./webpack.config.sdk.js",
|
|
26
|
+
"build-sdk": "npm run build:production",
|
|
27
|
+
"clean": "trash build test",
|
|
29
28
|
"fix": "run-s fix:*",
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"test
|
|
33
|
-
"test:unit": "
|
|
34
|
-
"test
|
|
35
|
-
"
|
|
36
|
-
"
|
|
29
|
+
"lint": "eslint 'src/**/*.ts*'",
|
|
30
|
+
"lint:fix": "eslint 'src/**/*.ts*' --fix",
|
|
31
|
+
"test": "run-s \"test:* -- {@}\" --",
|
|
32
|
+
"test:unit": "vitest run --config vitest.config.ts --reporter verbose",
|
|
33
|
+
"test:watch": "vitest --config vitest.config.ts --watch",
|
|
34
|
+
"test-ci": "vitest run --config vitest.config-ci.ts",
|
|
35
|
+
"test-ts": "vitest run --config vitest.config-token-studio.ts",
|
|
37
36
|
"reset": "git clean -dfx && git reset --hard && npm i",
|
|
38
37
|
"typecheck": "tsc --noEmit -p ./tsconfig.json",
|
|
39
38
|
"publish-package-sdk": "npm run clean && sh ./scripts/publish-sdk.sh",
|
|
@@ -60,8 +59,8 @@
|
|
|
60
59
|
"node": ">=8.9"
|
|
61
60
|
},
|
|
62
61
|
"dependencies": {
|
|
63
|
-
"@supernova-studio/client": "0.58.
|
|
64
|
-
"@supernova-studio/model": "0.58.
|
|
62
|
+
"@supernova-studio/client": "0.58.14",
|
|
63
|
+
"@supernova-studio/model": "0.58.14",
|
|
65
64
|
"abab": "^2.0.5",
|
|
66
65
|
"async-mutex": "^0.3.1",
|
|
67
66
|
"color-string": "^1.9.1",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { DocsEntityGroupModel, DocsEntityMultiplayerGroup, DocsEntityMultiplayerPage, DocsEntityPageModel } from "../../exports";
|
|
2
|
-
export declare class DocsEntityMultiplayerItemResolver {
|
|
3
|
-
hashedItems: Map<string, DocsEntityGroupModel | DocsEntityPageModel>;
|
|
4
|
-
resolvedItems: Map<string, DocsEntityMultiplayerGroup | DocsEntityMultiplayerPage>;
|
|
5
|
-
resolveMultiplayerItems(pageDetails: Array<DocsEntityPageModel>, groupDetails: Array<DocsEntityGroupModel>): Array<DocsEntityMultiplayerGroup | DocsEntityMultiplayerPage>;
|
|
6
|
-
private resolveItemsForGroup;
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|