@supernova-studio/supernova-sdk-beta 1.6.32 → 1.6.34
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 +0 -4
- package/build/sdk-typescript/src/core/areas/SDKAreaAutomation.d.ts +14 -1
- package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +1 -34
- package/build/sdk-typescript/src/core/areas/SDKAreaResources.d.ts +2 -6
- package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +1 -4
- package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +19 -18
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +7 -7
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +8 -9
- package/build/sdk-typescript/src/core/resolvers/SDKAssetGroupResolver.d.ts +0 -4
- package/build/sdk-typescript/src/core/resolvers/SDKTokenResolver.d.ts +1 -1
- package/build/sdk-typescript/src/exports.d.ts +1 -9
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockBehavior.d.ts +11 -2
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockDefinition.d.ts +21 -5
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockItemDefinition.d.ts +10 -3
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockLayout.d.ts +7 -2
- package/build/sdk-typescript/src/model/docs/blocks/definition/SDKDocsBlockVariant.d.ts +15 -2
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockAssetProperty.d.ts +1 -1
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockBooleanProperty.d.ts +1 -1
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeSandboxProperty.d.ts +2 -2
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockComponentProperty.d.ts +2 -2
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiSelectProperty.d.ts +1 -1
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockProperty.d.ts +10 -2
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockRichTextProperty.d.ts +3 -3
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockSingleSelectProperty.d.ts +1 -1
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +1 -10
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTableProperty.d.ts +2 -23
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTextProperty.d.ts +1 -1
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTokenProperty.d.ts +2 -2
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsImageRef.d.ts +2 -5
- package/build/sdk-typescript/src/model/docs/blocks/support/SDKDocsLinkRef.d.ts +7 -10
- package/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlock.d.ts +20 -7
- package/build/sdk-typescript/src/model/docs/blocks/usage/SDKDocsBlockItem.d.ts +7 -2
- package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityHeader.d.ts +0 -3
- package/build/sdk-typescript/src/model/documentation/SDKDocumentationLegacyPageAsset.d.ts +1 -1
- package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockRenderCode.d.ts +1 -1
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyType.d.ts +1 -5
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutAlign.d.ts +3 -3
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutColumnResizing.d.ts +2 -2
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemVariantLayoutGap.d.ts +4 -4
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockRichTextPropertyStyle.d.ts +4 -0
- package/build/sdk-typescript/src/model/enums/SDKTokenType.d.ts +19 -19
- package/build/sdk-typescript/src/model/enums/SDKUserRole.d.ts +2 -2
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuild.d.ts +0 -6
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuildResults.d.ts +0 -12
- package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportDestinations.d.ts +1 -16
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemoteConnectionsModel.d.ts +1 -1
- package/build/sdk-typescript/src/model/groups/SDKAssetGroup.d.ts +0 -4
- package/build/sdk-typescript/src/model/resources/SDKResourceFont.d.ts +2 -2
- package/build/sdk-typescript/src/model/support/SDKFigmaFrame.d.ts +0 -2
- package/build/sdk-typescript/src/model/support/SDKSource.d.ts +4 -10
- package/build/sdk-typescript/src/model/support/SDKTokenOrigin.d.ts +1 -1
- package/build/sdk-typescript/src/model/themes/SDKTokenTheme.d.ts +6 -6
- package/build/sdk-typescript/src/model/themes/SDKTokenThemeOverride.d.ts +6 -6
- package/build/sdk-typescript/src/model/tokens/SDKColorToken.d.ts +0 -1
- package/build/sdk-typescript/src/model/tokens/SDKDimensionToken.d.ts +1 -1
- package/build/sdk-typescript/src/model/tokens/SDKStringToken.d.ts +1 -1
- package/build/sdk-typescript/src/model/tokens/SDKTextCaseToken.d.ts +1 -1
- package/build/sdk-typescript/src/model/tokens/SDKTextDecorationToken.d.ts +1 -1
- package/build/sdk-typescript/src/model/tokens/SDKTokenValue.d.ts +2 -2
- package/build/sdk-typescript/src/tests/Enterprise/PluginFigmaTokens.spec.d.ts +1 -0
- package/build/sdk-typescript/src/tests/FigmaTokensDataLoader.d.ts +3 -3
- package/build/sdk-typescript/src/tools/design-tokens/SDKToolsDesignTokensPlugin.d.ts +1 -2
- package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTJSONParser.d.ts +1 -1
- package/build/sdk-typescript/src/tools/design-tokens/utilities/tree/SDKDTGroupTree.d.ts +1 -1
- package/build/sdk-typescript/src/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +0 -11
- package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementFigmaTokensTransformer.d.ts +1 -1
- package/build/sdk-typescript/src/tools/json-builder/elements-transformers/SDKToolsJSONElementTransformer.d.ts +1 -1
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewGenerator.d.ts +1 -4
- package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewStyleGenerator.d.ts +1 -4
- package/build/sdk-typescript/src/utils/TokenUtils.d.ts +3 -3
- package/build/supernova-sdk-typescript.js +1 -1
- package/build/supernova-sdk-typescript.js.LICENSE.txt +14 -0
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/package.json +118 -118
- package/build/sdk-typescript/.eslintrc.d.cts +0 -41
- package/build/sdk-typescript/src/core/areas/SDKAreaMultiplayer.d.ts +0 -10
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockColorProperty.d.ts +0 -13
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiRichTextProperty.d.ts +0 -19
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockMultiRichTextPropertyStyle.d.ts +0 -8
- package/build/sdk-typescript/src/model/enums/SDKDocsPublishStatus.d.ts +0 -4
- package/build/sdk-typescript/src/utils/CommonUtils.d.ts +0 -5
- package/build/sdk-typescript/src/utils/deepPartial.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,122 +1,122 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
2
|
+
"name": "@supernova-studio/supernova-sdk-beta",
|
|
3
|
+
"version": "1.6.34",
|
|
4
|
+
"description": "Supernova.io Developer SDK",
|
|
5
|
+
"main": "./build/supernova-sdk-typescript.js",
|
|
6
|
+
"types": "./build/sdk-typescript/src/index.d.ts",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"Supernova",
|
|
10
|
+
"Design Systems",
|
|
11
|
+
"Supernovaio",
|
|
12
|
+
"SDK",
|
|
13
|
+
"Design Tokens",
|
|
14
|
+
"Tokens",
|
|
15
|
+
"Assets",
|
|
16
|
+
"Components",
|
|
17
|
+
"Documentation",
|
|
18
|
+
"Markdown",
|
|
19
|
+
"CMS"
|
|
20
|
+
],
|
|
21
|
+
"files": [
|
|
22
|
+
"build"
|
|
23
|
+
],
|
|
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
|
+
"build:production": "npm run clean && webpack --mode production --config ./webpack.config.sdk.js",
|
|
29
|
+
"fix": "run-s fix:*",
|
|
30
|
+
"fix:tslint": "tslint --fix --project .",
|
|
31
|
+
"test": "run-s build:dev test:*",
|
|
32
|
+
"test-skipped:lint": "tslint --project .",
|
|
33
|
+
"test:unit": "npm run build:dev && ava --verbose --timeout=180s --serial",
|
|
34
|
+
"test-ci": "ava --verbose --timeout=180s --serial --tap | npx tap-xunit | tee sdk-test-results.xml",
|
|
35
|
+
"dev": "run-s clean build:dev && run-s \"build:dev -- -w\"",
|
|
36
|
+
"watch": "run-s clean build:dev && run-p \"build:dev -- -w\" \"test:unit -- --watch\"",
|
|
37
|
+
"reset": "git clean -dfx && git reset --hard && npm i",
|
|
38
|
+
"typecheck": "tsc --noEmit -p ./tsconfig.json",
|
|
39
|
+
"publish-package-sdk": "npm run clean && sh ./scripts/publish-sdk.sh",
|
|
40
|
+
"publish-package-sdk-exporters": "npm run clean && sh ./scripts/publish-sdk-exporters.sh",
|
|
41
|
+
"publish-packages": "sh ./scripts/publish-packages.sh",
|
|
42
|
+
"publish-package-sdk-beta-dry": "npm run build:production && npm publish --access=restricted --tag=beta --dry-run",
|
|
43
|
+
"publish-package-sdk-beta-debug": "npm run build:production && npm publish --access=restricted --tag=beta"
|
|
44
|
+
},
|
|
45
|
+
"scripts-info": {
|
|
46
|
+
"info": "Display information about the package scripts",
|
|
47
|
+
"build": "Clean and rebuild the project",
|
|
48
|
+
"fix": "Try to automatically fix any linting problems",
|
|
49
|
+
"test": "Lint and unit test the project",
|
|
50
|
+
"watch": "Watch and rebuild the project on save, then rerun relevant tests",
|
|
51
|
+
"cov": "Rebuild, run tests, then create and open the coverage report",
|
|
52
|
+
"doc": "Generate HTML API documentation and open it in a browser",
|
|
53
|
+
"doc:json": "Generate API documentation in typedoc JSON format",
|
|
54
|
+
"version": "Bump package.json version, update CHANGELOG.md, tag release",
|
|
55
|
+
"reset": "Delete all untracked files and reset the repo to the last commit",
|
|
56
|
+
"publish-package-sdk": "Publish SDK package to NPM",
|
|
57
|
+
"publish-package-pulsar": "Publish Pulsar type package to NPM",
|
|
58
|
+
"publish-packages": "Publish both SDK and Pulsar package to NPM"
|
|
59
|
+
},
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=8.9"
|
|
62
|
+
},
|
|
63
|
+
"dependencies": {
|
|
64
|
+
"abab": "^2.0.5",
|
|
65
|
+
"async-mutex": "^0.3.1",
|
|
66
|
+
"color-string": "^1.9.1",
|
|
67
|
+
"color2k": "^2.0.0",
|
|
68
|
+
"expr-eval": "^2.0.2",
|
|
69
|
+
"form-data": "^4.0.0",
|
|
70
|
+
"fuse.js": "^6.6.2",
|
|
71
|
+
"lodash": "~4.17.21",
|
|
72
|
+
"ml-matrix": "^6.10.4",
|
|
73
|
+
"node-fetch": "^2.6.9",
|
|
74
|
+
"parse-color": "^1.0.0",
|
|
75
|
+
"postcss-calc-ast-parser": "^0.1.4",
|
|
76
|
+
"string.prototype.matchall": "^4.0.8",
|
|
77
|
+
"tinycolor2": "^1.4.2",
|
|
78
|
+
"uuid": "^8.3.2"
|
|
79
|
+
},
|
|
80
|
+
"devDependencies": {
|
|
81
|
+
"@ava/typescript": "^4.0.0",
|
|
82
|
+
"@istanbuljs/nyc-config-typescript": "^0.1.3",
|
|
83
|
+
"@types/lodash": "^4.14.159",
|
|
84
|
+
"@types/node": "^14.14.6",
|
|
85
|
+
"@types/tinycolor2": "^1.4.3",
|
|
86
|
+
"@types/uuid": "^8.3.0",
|
|
87
|
+
"ava": "5.2.0",
|
|
88
|
+
"dotenv": "^16.0.0",
|
|
89
|
+
"npm-run-all": "4.1.5",
|
|
90
|
+
"nyc": "^14.1.1",
|
|
91
|
+
"trash-cli": "^5.0.0",
|
|
92
|
+
"ts-loader": "^9.2.6",
|
|
93
|
+
"ts-node": "^10.9.1",
|
|
94
|
+
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
95
|
+
"tslint": "^5.18.0",
|
|
96
|
+
"typescript": "^4.1.5",
|
|
97
|
+
"webpack": "^5.66.0",
|
|
98
|
+
"webpack-cli": "^4.10.0",
|
|
99
|
+
"webpack-node-externals": "^3.0.0"
|
|
100
|
+
},
|
|
101
|
+
"ava": {
|
|
102
|
+
"typescript": {
|
|
103
|
+
"compile": "tsc",
|
|
104
|
+
"rewritePaths": {
|
|
105
|
+
"src/": "build/sdk-typescript/src/"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
21
108
|
"files": [
|
|
22
|
-
|
|
109
|
+
"src/**/*.spec.ts"
|
|
23
110
|
],
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"dev": "run-s clean build:dev && run-s \"build:dev -- -w\"",
|
|
36
|
-
"watch": "run-s clean build:dev && run-p \"build:dev -- -w\" \"test:unit -- --watch\"",
|
|
37
|
-
"reset": "git clean -dfx && git reset --hard && npm i",
|
|
38
|
-
"typecheck": "tsc --noEmit -p ./tsconfig.json",
|
|
39
|
-
"publish-package-sdk": "npm run clean && sh ./scripts/publish-sdk.sh",
|
|
40
|
-
"publish-package-sdk-exporters": "npm run clean && sh ./scripts/publish-sdk-exporters.sh",
|
|
41
|
-
"publish-package-sdk-beta": "npm run clean && sh ./scripts/publish-sdk-beta.sh",
|
|
42
|
-
"publish-packages": "sh ./scripts/publish-packages.sh"
|
|
43
|
-
},
|
|
44
|
-
"scripts-info": {
|
|
45
|
-
"info": "Display information about the package scripts",
|
|
46
|
-
"build": "Clean and rebuild the project",
|
|
47
|
-
"fix": "Try to automatically fix any linting problems",
|
|
48
|
-
"test": "Lint and unit test the project",
|
|
49
|
-
"watch": "Watch and rebuild the project on save, then rerun relevant tests",
|
|
50
|
-
"cov": "Rebuild, run tests, then create and open the coverage report",
|
|
51
|
-
"doc": "Generate HTML API documentation and open it in a browser",
|
|
52
|
-
"doc:json": "Generate API documentation in typedoc JSON format",
|
|
53
|
-
"version": "Bump package.json version, update CHANGELOG.md, tag release",
|
|
54
|
-
"reset": "Delete all untracked files and reset the repo to the last commit",
|
|
55
|
-
"publish-package-sdk": "Publish SDK package to NPM",
|
|
56
|
-
"publish-package-pulsar": "Publish Pulsar type package to NPM",
|
|
57
|
-
"publish-packages": "Publish both SDK and Pulsar package to NPM"
|
|
58
|
-
},
|
|
59
|
-
"engines": {
|
|
60
|
-
"node": ">=8.9"
|
|
61
|
-
},
|
|
62
|
-
"dependencies": {
|
|
63
|
-
"@supernova-studio/client": "^0.4.6",
|
|
64
|
-
"@supernova-studio/model": "^0.4.1",
|
|
65
|
-
"abab": "^2.0.5",
|
|
66
|
-
"async-mutex": "^0.3.1",
|
|
67
|
-
"color-string": "^1.9.1",
|
|
68
|
-
"color2k": "^2.0.0",
|
|
69
|
-
"expr-eval": "^2.0.2",
|
|
70
|
-
"fuse.js": "^6.6.2",
|
|
71
|
-
"https-proxy-agent": "^7.0.2",
|
|
72
|
-
"lodash": "~4.17.21",
|
|
73
|
-
"ml-matrix": "^6.10.4",
|
|
74
|
-
"parse-color": "^1.0.0",
|
|
75
|
-
"postcss-calc-ast-parser": "^0.1.4",
|
|
76
|
-
"string.prototype.matchall": "^4.0.8",
|
|
77
|
-
"tinycolor2": "^1.4.2",
|
|
78
|
-
"uuid": "^8.3.2"
|
|
79
|
-
},
|
|
80
|
-
"devDependencies": {
|
|
81
|
-
"@ava/typescript": "^4.0.0",
|
|
82
|
-
"@istanbuljs/nyc-config-typescript": "^0.1.3",
|
|
83
|
-
"@types/lodash": "^4.14.159",
|
|
84
|
-
"@types/node": "^14.14.6",
|
|
85
|
-
"@types/tinycolor2": "^1.4.3",
|
|
86
|
-
"@types/uuid": "^8.3.0",
|
|
87
|
-
"ava": "5.2.0",
|
|
88
|
-
"dotenv": "^16.0.0",
|
|
89
|
-
"npm-run-all": "4.1.5",
|
|
90
|
-
"nyc": "^14.1.1",
|
|
91
|
-
"trash-cli": "^5.0.0",
|
|
92
|
-
"ts-loader": "^9.2.6",
|
|
93
|
-
"ts-node": "^10.9.1",
|
|
94
|
-
"tsconfig-paths-webpack-plugin": "^3.5.2",
|
|
95
|
-
"tslint": "^5.18.0",
|
|
96
|
-
"typescript": "^4.1.5",
|
|
97
|
-
"webpack": "^5.66.0",
|
|
98
|
-
"webpack-cli": "^4.10.0",
|
|
99
|
-
"webpack-node-externals": "^3.0.0"
|
|
100
|
-
},
|
|
101
|
-
"ava": {
|
|
102
|
-
"extensions": {
|
|
103
|
-
"ts": "module"
|
|
104
|
-
},
|
|
105
|
-
"nodeArguments": [
|
|
106
|
-
"--loader=ts-node/esm"
|
|
107
|
-
],
|
|
108
|
-
"files": [
|
|
109
|
-
"src/**/*.spec.ts"
|
|
110
|
-
],
|
|
111
|
-
"require": [
|
|
112
|
-
"dotenv/config"
|
|
113
|
-
]
|
|
114
|
-
},
|
|
115
|
-
"config": {},
|
|
116
|
-
"nyc": {
|
|
117
|
-
"extends": "@istanbuljs/nyc-config-typescript",
|
|
118
|
-
"exclude": [
|
|
119
|
-
"**/*.spec.js"
|
|
120
|
-
]
|
|
121
|
-
}
|
|
111
|
+
"require": [
|
|
112
|
+
"dotenv/config"
|
|
113
|
+
]
|
|
114
|
+
},
|
|
115
|
+
"config": {},
|
|
116
|
+
"nyc": {
|
|
117
|
+
"extends": "@istanbuljs/nyc-config-typescript",
|
|
118
|
+
"exclude": [
|
|
119
|
+
"**/*.spec.js"
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
122
|
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
declare const _extends: string[];
|
|
2
|
-
export { _extends as extends };
|
|
3
|
-
export declare const root: boolean;
|
|
4
|
-
export declare const overrides: {
|
|
5
|
-
files: string[];
|
|
6
|
-
plugins: string[];
|
|
7
|
-
rules: {
|
|
8
|
-
"@typescript-eslint/unbound-method": string;
|
|
9
|
-
"jest/unbound-method": string;
|
|
10
|
-
};
|
|
11
|
-
}[];
|
|
12
|
-
export declare namespace parserOptions {
|
|
13
|
-
const tsconfigRootDir: string;
|
|
14
|
-
const project: string[];
|
|
15
|
-
}
|
|
16
|
-
export declare const rules: {
|
|
17
|
-
"@typescript-eslint/no-unsafe-assignment": string;
|
|
18
|
-
"@typescript-eslint/no-unsafe-member-access": string;
|
|
19
|
-
"@typescript-eslint/unbound-method": string;
|
|
20
|
-
"@typescript-eslint/no-unused-vars": string;
|
|
21
|
-
"no-restricted-syntax": string;
|
|
22
|
-
"fp/no-mutation": string;
|
|
23
|
-
"no-param-reassign": (string | {
|
|
24
|
-
props: boolean;
|
|
25
|
-
})[];
|
|
26
|
-
"@typescript-eslint/restrict-template-expressions": string;
|
|
27
|
-
"no-nested-ternary": string;
|
|
28
|
-
"no-prototype-builtins": string;
|
|
29
|
-
"prefer-destructuring": string;
|
|
30
|
-
"@typescript-eslint/no-unsafe-argument": string;
|
|
31
|
-
"@typescript-eslint/no-unsafe-return": string;
|
|
32
|
-
"@typescript-eslint/no-unsafe-call": string;
|
|
33
|
-
"@typescript-eslint/no-explicit-any": string;
|
|
34
|
-
"@typescript-eslint/no-var-requires": string;
|
|
35
|
-
"no-await-in-loop": string;
|
|
36
|
-
"no-continue": string;
|
|
37
|
-
"@typescript-eslint/no-useless-constructor": string;
|
|
38
|
-
"no-console": string;
|
|
39
|
-
"@typescript-eslint/require-await": string;
|
|
40
|
-
"max-classes-per-file": string;
|
|
41
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataCore } from "../data/SDKDataCore";
|
|
2
|
-
export declare class AreaMultiplayer {
|
|
3
|
-
/** Internal: Engine */
|
|
4
|
-
private dataCore;
|
|
5
|
-
constructor(dataCore: DataCore);
|
|
6
|
-
/** Return multiplayer access token for specific room. */
|
|
7
|
-
getMultiplayerToken(room: string): Promise<{
|
|
8
|
-
token: string;
|
|
9
|
-
}>;
|
|
10
|
-
}
|
package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockColorProperty.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DocsBlockItemPropertyType } from "../../../enums/SDKDocsBlockItemPropertyType";
|
|
2
|
-
import { ColorTokenValue } from "../../../tokens/SDKTokenValue";
|
|
3
|
-
import { DocsBlockPropertyData, DocsBlockPropertyDefinition, DocsBlockPropertyDefinitionModel } from "./SDKDocsBlockProperty";
|
|
4
|
-
/** Color property - Additional non-value options */
|
|
5
|
-
export type DocsBlockColorPropertyOptions = Record<string, never>;
|
|
6
|
-
/** Color property - Data */
|
|
7
|
-
export type DocsBlockColorPropertyData = DocsBlockPropertyData<ColorTokenValue> & Record<string, never>;
|
|
8
|
-
/** Color property - Definition model */
|
|
9
|
-
export type DocsBlockColorPropertyDefinitionModel = DocsBlockPropertyDefinitionModel & DocsBlockColorPropertyOptions;
|
|
10
|
-
/** Color property - Definition */
|
|
11
|
-
export declare class DocsBlockColorPropertyDefinition extends DocsBlockPropertyDefinition<DocsBlockColorPropertyOptions, DocsBlockColorPropertyData> {
|
|
12
|
-
type: DocsBlockItemPropertyType.color;
|
|
13
|
-
}
|
package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockMultiRichTextProperty.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { DocumentationLegacyRichTextModel } from "../../../documentation/SDKDocumentationLegacyRichText";
|
|
2
|
-
import { DocsBlockItemPropertyType } from "../../../enums/SDKDocsBlockItemPropertyType";
|
|
3
|
-
import { DocsBlockMultiRichTextPropertyStyle } from "../../../enums/SDKDocsBlockMultiRichTextPropertyStyle";
|
|
4
|
-
import { DocsBlockPropertyData, DocsBlockPropertyDefinition, DocsBlockPropertyDefinitionModel } from "./SDKDocsBlockProperty";
|
|
5
|
-
/** RichText property - Additional non-value options */
|
|
6
|
-
export type DocsBlockMultiRichTextPropertyOptions = {
|
|
7
|
-
/** Placeholder to show when rich text area is empty */
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
/** Visual style of the rich text property */
|
|
10
|
-
multiRichTextStyle?: DocsBlockMultiRichTextPropertyStyle;
|
|
11
|
-
};
|
|
12
|
-
/** RichText property - Data */
|
|
13
|
-
export type DocsBlockMultiRichTextPropertyData = DocsBlockPropertyData<Array<DocumentationLegacyRichTextModel>>;
|
|
14
|
-
/** RichText property - Definition model */
|
|
15
|
-
export type DocsBlockRichTextPropertyDefinitionModel = DocsBlockPropertyDefinitionModel & DocsBlockMultiRichTextPropertyOptions;
|
|
16
|
-
/** RichText property - Definition */
|
|
17
|
-
export declare class DocsBlockMultiRichTextPropertyDefinition extends DocsBlockPropertyDefinition<DocsBlockMultiRichTextPropertyOptions, DocsBlockMultiRichTextPropertyData> {
|
|
18
|
-
type: DocsBlockItemPropertyType.multiRichText;
|
|
19
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function castEnum<O extends string>(value: `${O}`): O;
|
|
2
|
-
export declare function castOptionalEnum<O extends string>(value: `${O}` | undefined): O | undefined;
|
|
3
|
-
export type NonEmptyArray<T> = [T, ...T[]];
|
|
4
|
-
export declare function sureOf<T>(entity: T | null | undefined): NonNullable<T>;
|
|
5
|
-
export declare function sortUsingMap<T, K>(items: Array<T>, indexes: Map<K, number>, keyFn: (item: T) => K): Array<T>;
|