@supernova-studio/supernova-sdk-beta 2.1.2 → 2.1.12
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 +10 -2
- package/build/sdk-typescript/src/core/areas/SDKAreaAI.d.ts +37 -5
- package/build/sdk-typescript/src/core/areas/SDKAreaAutomation.d.ts +2 -1
- package/build/sdk-typescript/src/core/areas/SDKAreaDataSources.d.ts +6 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaDocsAnalytics.d.ts +8 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +9 -9
- package/build/sdk-typescript/src/core/areas/SDKAreaNetwork.d.ts +1 -2
- package/build/sdk-typescript/src/core/areas/SDKAreaProjects.d.ts +69 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaRawData.d.ts +33 -49
- package/build/sdk-typescript/src/core/areas/SDKAreaResources.d.ts +9 -0
- package/build/sdk-typescript/src/core/areas/SDKAreaWorkspaces.d.ts +35 -0
- package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +10 -3
- package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +73 -8
- package/build/sdk-typescript/src/core/data/SDKDataCoreCached.d.ts +50 -0
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreAIRequests.d.ts +19 -4
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +70 -1
- package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +25 -14
- package/build/sdk-typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +0 -1
- package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityItemResolver.d.ts +13 -13
- package/build/sdk-typescript/src/exports.d.ts +13 -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/definition/actual/files/SDKDocsBlockActualFiles.d.ts +6 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockFileProperty.d.ts +19 -0
- package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockStorybookProperty.d.ts +19 -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 +6 -0
- 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/model/enums/SDKDocsBlockBehaviorDataType.d.ts +3 -1
- package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyType.d.ts +3 -1
- package/build/sdk-typescript/src/model/enums/SDKSourceType.d.ts +2 -1
- package/build/sdk-typescript/src/model/enums/SDKUserRole.d.ts +0 -2
- package/build/sdk-typescript/src/model/exporters/SDKPipeline.d.ts +1 -1
- package/build/sdk-typescript/src/model/files/SDKFileUpload.d.ts +28 -0
- package/build/sdk-typescript/src/model/groups/SDKTokenGroup.d.ts +1 -0
- package/build/sdk-typescript/src/model/projects/SDKProject.d.ts +39 -0
- package/build/sdk-typescript/src/model/projects/SDKProjectContext.d.ts +47 -0
- package/build/sdk-typescript/src/model/storybook/SDKStorybookEntry.d.ts +23 -0
- package/build/sdk-typescript/src/model/storybook/SDKStorybookUpdate.d.ts +17 -0
- package/build/sdk-typescript/src/model/support/SDKSource.d.ts +27 -1
- package/build/sdk-typescript/src/model/support/SDKTokenOrigin.d.ts +2 -2
- package/build/sdk-typescript/src/model/tokens/SDKToken.d.ts +1 -0
- package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductFeatures.d.ts +1 -1
- package/build/sdk-typescript/src/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +12 -0
- package/build/sdk-typescript/src/utils/RawUtils.d.ts +69 -0
- package/build/supernova-sdk-typescript.js +1 -2
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/package.json +33 -51
- package/build/sdk-typescript/src/model/exporters/remote/SDKRemotePipelineModel.d.ts +0 -51
- package/build/supernova-sdk-typescript.js.LICENSE.txt +0 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supernova-studio/supernova-sdk-beta",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.12",
|
|
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,7 +22,7 @@
|
|
|
22
22
|
"build"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"build:production": "npm run clean && webpack --mode production --config ./webpack.config.sdk.js",
|
|
25
|
+
"build:production": "npm run clean && webpack --mode production --config ./webpack.config.sdk-beta.js",
|
|
26
26
|
"build-sdk": "npm run build:production",
|
|
27
27
|
"clean": "trash build test",
|
|
28
28
|
"fix": "run-s fix:*",
|
|
@@ -52,69 +52,48 @@
|
|
|
52
52
|
"version": "Bump package.json version, update CHANGELOG.md, tag release",
|
|
53
53
|
"reset": "Delete all untracked files and reset the repo to the last commit",
|
|
54
54
|
"publish-package-sdk": "Publish SDK package to NPM",
|
|
55
|
-
"publish-package-pulsar": "Publish Pulsar type package to NPM",
|
|
56
55
|
"publish-packages": "Publish both SDK and Pulsar package to NPM"
|
|
57
56
|
},
|
|
58
57
|
"engines": {
|
|
59
58
|
"node": ">=8.9"
|
|
60
59
|
},
|
|
61
60
|
"dependencies": {
|
|
62
|
-
"@supernova-studio/client": "1.
|
|
63
|
-
"@supernova-studio/model": "1.
|
|
64
|
-
"abab": "
|
|
65
|
-
"async-mutex": "
|
|
66
|
-
"color-string": "
|
|
67
|
-
"color2k": "
|
|
68
|
-
"expr-eval": "
|
|
69
|
-
"fuse.js": "
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"string.prototype.matchall": "^4.0.8",
|
|
77
|
-
"tinycolor2": "^1.4.2",
|
|
78
|
-
"uuid": "^8.3.2"
|
|
61
|
+
"@supernova-studio/client": "1.9.11",
|
|
62
|
+
"@supernova-studio/model": "1.9.11",
|
|
63
|
+
"abab": "2.0.6",
|
|
64
|
+
"async-mutex": "0.3.2",
|
|
65
|
+
"color-string": "1.9.1",
|
|
66
|
+
"color2k": "2.0.2",
|
|
67
|
+
"expr-eval": "2.0.2",
|
|
68
|
+
"fuse.js": "6.6.2",
|
|
69
|
+
"lodash": "4.17.21",
|
|
70
|
+
"parse-color": "1.0.0",
|
|
71
|
+
"postcss-calc-ast-parser": "0.1.4",
|
|
72
|
+
"string.prototype.matchall": "4.0.8",
|
|
73
|
+
"tinycolor2": "1.6.0",
|
|
74
|
+
"uuid": "8.3.2"
|
|
79
75
|
},
|
|
80
76
|
"bundleDependencies": [
|
|
81
77
|
"@supernova-studio/client",
|
|
82
78
|
"@supernova-studio/model"
|
|
83
79
|
],
|
|
84
80
|
"devDependencies": {
|
|
85
|
-
"@
|
|
86
|
-
"@
|
|
87
|
-
"@types/
|
|
88
|
-
"@types/
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"ava": "5.2.0",
|
|
92
|
-
"dotenv": "^16.0.0",
|
|
81
|
+
"@istanbuljs/nyc-config-typescript": "0.1.3",
|
|
82
|
+
"@types/lodash": "4.14.191",
|
|
83
|
+
"@types/tinycolor2": "1.4.3",
|
|
84
|
+
"@types/uuid": "8.3.4",
|
|
85
|
+
"dotenv": "16.0.3",
|
|
86
|
+
"esm": "^3.2.25",
|
|
93
87
|
"npm-run-all": "4.1.5",
|
|
94
|
-
"nyc": "^
|
|
95
|
-
"trash-cli": "
|
|
96
|
-
"ts-loader": "
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"tslint": "^5.18.0",
|
|
88
|
+
"nyc": "^17.1.0",
|
|
89
|
+
"trash-cli": "5.0.0",
|
|
90
|
+
"ts-loader": "9.4.2",
|
|
91
|
+
"tsconfig-paths-webpack-plugin": "4.2.0",
|
|
92
|
+
"tsx": "4.7.0",
|
|
100
93
|
"typescript-with-config": "*",
|
|
101
|
-
"
|
|
102
|
-
"webpack-cli": "^
|
|
103
|
-
"webpack-node-externals": "
|
|
104
|
-
},
|
|
105
|
-
"ava": {
|
|
106
|
-
"extensions": {
|
|
107
|
-
"ts": "module"
|
|
108
|
-
},
|
|
109
|
-
"nodeArguments": [
|
|
110
|
-
"--loader=ts-node/esm"
|
|
111
|
-
],
|
|
112
|
-
"files": [
|
|
113
|
-
"src/**/*.spec.ts"
|
|
114
|
-
],
|
|
115
|
-
"require": [
|
|
116
|
-
"dotenv/config"
|
|
117
|
-
]
|
|
94
|
+
"vitest": "^3.0.5",
|
|
95
|
+
"webpack-cli": "^6.0.1",
|
|
96
|
+
"webpack-node-externals": "3.0.0"
|
|
118
97
|
},
|
|
119
98
|
"config": {},
|
|
120
99
|
"nyc": {
|
|
@@ -122,5 +101,8 @@
|
|
|
122
101
|
"exclude": [
|
|
123
102
|
"**/*.spec.js"
|
|
124
103
|
]
|
|
104
|
+
},
|
|
105
|
+
"optionalDependencies": {
|
|
106
|
+
"@rollup/rollup-darwin-x64": "^4.34.6"
|
|
125
107
|
}
|
|
126
108
|
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { ExportBuildModel } from "../exporter_builds/SDKExportBuild";
|
|
2
|
-
export type PipelineRemoteModel = {
|
|
3
|
-
id: string;
|
|
4
|
-
workspaceId: string;
|
|
5
|
-
designSystemId: string;
|
|
6
|
-
name: string;
|
|
7
|
-
isEnabled: boolean;
|
|
8
|
-
eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated";
|
|
9
|
-
exporterId: string;
|
|
10
|
-
destinations: {
|
|
11
|
-
webhookUrl: string | null;
|
|
12
|
-
destinationSnDocs: {
|
|
13
|
-
environment: "Live" | "Preview";
|
|
14
|
-
} | null;
|
|
15
|
-
destinationS3: Record<any, any> | null;
|
|
16
|
-
destinationGithub: {
|
|
17
|
-
connectionId: string;
|
|
18
|
-
url: string;
|
|
19
|
-
branch: string;
|
|
20
|
-
relativePath: string;
|
|
21
|
-
} | null;
|
|
22
|
-
destinationAzure: {
|
|
23
|
-
connectionId: string;
|
|
24
|
-
organizationId: string;
|
|
25
|
-
projectId: string;
|
|
26
|
-
repositoryId: string;
|
|
27
|
-
branch: string;
|
|
28
|
-
relativePath: string;
|
|
29
|
-
url: string;
|
|
30
|
-
} | null;
|
|
31
|
-
destinationGitlab: {
|
|
32
|
-
connectionId: string;
|
|
33
|
-
projectId: string;
|
|
34
|
-
branch: string;
|
|
35
|
-
relativePath: string;
|
|
36
|
-
url: string;
|
|
37
|
-
} | null;
|
|
38
|
-
destinationBitbucket: {
|
|
39
|
-
connectionId: string;
|
|
40
|
-
workspaceSlug: string;
|
|
41
|
-
projectKey: string;
|
|
42
|
-
repoSlug: string;
|
|
43
|
-
branch: string;
|
|
44
|
-
relativePath: string;
|
|
45
|
-
url: string;
|
|
46
|
-
} | null;
|
|
47
|
-
};
|
|
48
|
-
brandPersistentId: string | null;
|
|
49
|
-
themePersistentId: string | null;
|
|
50
|
-
latestJobs: Array<ExportBuildModel> | null;
|
|
51
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Lodash <https://lodash.com/>
|
|
4
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
|
-
* Released under MIT license <https://lodash.com/license>
|
|
6
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
-
*/
|