@supernova-studio/supernova-sdk-beta 2.2.6 → 2.2.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.
Files changed (125) hide show
  1. package/README.md +8 -12
  2. package/build/sdk-typescript/src/core/SDKSupernova.d.ts +12 -3
  3. package/build/sdk-typescript/src/core/areas/SDKAreaDataSources.d.ts +12 -14
  4. package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +10 -9
  5. package/build/sdk-typescript/src/core/areas/SDKAreaMe.d.ts +3 -1
  6. package/build/sdk-typescript/src/core/areas/SDKAreaMessaging.d.ts +60 -0
  7. package/build/sdk-typescript/src/core/areas/SDKAreaProjects.d.ts +2098 -0
  8. package/build/sdk-typescript/src/core/areas/SDKAreaRawData.d.ts +2020 -7
  9. package/build/sdk-typescript/src/core/areas/SDKAreaRelay.d.ts +61 -0
  10. package/build/sdk-typescript/src/core/areas/SDKAreaResources.d.ts +83 -1
  11. package/build/sdk-typescript/src/core/areas/SDKAreaThreads.d.ts +81 -0
  12. package/build/sdk-typescript/src/core/areas/SDKAreaTokens.d.ts +3 -1
  13. package/build/sdk-typescript/src/core/areas/SDKAreaWorkspaces.d.ts +64 -9
  14. package/build/sdk-typescript/src/core/data/SDKDataBridge.d.ts +1 -1
  15. package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +2302 -52
  16. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreAIRequests.d.ts +19 -27
  17. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +1048 -31
  18. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +2162 -30
  19. package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityItemResolver.d.ts +9 -9
  20. package/build/sdk-typescript/src/exports-pulsar.d.ts +0 -2
  21. package/build/sdk-typescript/src/exports.d.ts +37 -6
  22. package/build/sdk-typescript/src/model/base/SDKDesignSystemVersionStats.d.ts +1 -0
  23. package/build/sdk-typescript/src/model/components/SDKDesignComponentBase.d.ts +1 -0
  24. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/do-dont-guidelines/SDKDocsBlockActualDoDontGuidelines.d.ts +18 -0
  25. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed/SDKDocsBlockActualEmbed.d.ts +10 -0
  26. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-figma/SDKDocsBlockActualEmbedFigma.d.ts +10 -0
  27. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/embed-youtube/SDKDocsBlockActualEmbedYoutube.d.ts +10 -0
  28. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/files/SDKDocsBlockActualFiles.d.ts +16 -0
  29. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/image/SDKDocsBlockActualImage.d.ts +10 -0
  30. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualDoDontGuidelines.d.ts +8 -0
  31. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualEmbed.d.ts +6 -0
  32. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualEmbedFigma.d.ts +6 -0
  33. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualEmbedYoutube.d.ts +6 -0
  34. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualFiles.d.ts +6 -0
  35. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualImage.d.ts +6 -0
  36. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/portal/SDKDocsBlockActualShortcutLinks.d.ts +8 -0
  37. package/build/sdk-typescript/src/model/docs/blocks/definition/actual/shortcut-links/SDKDocsBlockActualShortcutLinks.d.ts +10 -0
  38. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockCodeProperty.d.ts +3 -1
  39. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockEmbedUrlProperty.d.ts +2 -0
  40. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockFileProperty.d.ts +22 -0
  41. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockImageProperty.d.ts +3 -0
  42. package/build/sdk-typescript/src/model/docs/blocks/properties/SDKDocsBlockTextProperty.d.ts +2 -0
  43. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFigmaComponentPropsTable.d.ts +11 -0
  44. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFigmaComponents.d.ts +11 -0
  45. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFigmaComponentsConfig.d.ts +32 -0
  46. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockFiles.d.ts +22 -0
  47. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockGuideline.d.ts +25 -0
  48. package/build/sdk-typescript/src/model/documentation/blocks/SDKDocumentationLegacyPageBlockGuidelines.d.ts +6 -0
  49. package/build/sdk-typescript/src/model/documentation/builder/SDKDocumentationLegacyBlockBuilder.d.ts +1 -1
  50. package/build/sdk-typescript/src/model/enums/SDKDesignSystemRole.d.ts +2 -1
  51. package/build/sdk-typescript/src/model/enums/SDKDocsBlockBehaviorDataType.d.ts +3 -1
  52. package/build/sdk-typescript/src/model/enums/SDKDocsBlockItemPropertyType.d.ts +3 -1
  53. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyCalloutType.d.ts +2 -1
  54. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyHeadingType.d.ts +3 -1
  55. package/build/sdk-typescript/src/model/enums/SDKDocumentationLegacyPageBlockType.d.ts +6 -1
  56. package/build/sdk-typescript/src/model/enums/SDKFigmaComponentPreviewContainerSize.d.ts +4 -0
  57. package/build/sdk-typescript/src/model/enums/SDKTokenType.d.ts +3 -3
  58. package/build/sdk-typescript/src/model/enums/SDKUserRole.d.ts +1 -1
  59. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSeatType.d.ts +3 -0
  60. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionProduct.d.ts +7 -0
  61. package/build/sdk-typescript/src/model/enums/SDKWorkspaceSubscriptionStatus.d.ts +3 -1
  62. package/build/sdk-typescript/src/model/exporters/SDKPipeline.d.ts +1 -1
  63. package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportDestinations.d.ts +5 -0
  64. package/build/sdk-typescript/src/model/files/SDKFileUpload.d.ts +9 -0
  65. package/build/sdk-typescript/src/model/groups/SDKTokenGroup.d.ts +1 -0
  66. package/build/sdk-typescript/src/model/membership/SDKMembership.d.ts +8 -6
  67. package/build/sdk-typescript/src/model/messaging/SDKChatThread.d.ts +14 -0
  68. package/build/sdk-typescript/src/model/messaging/SDKChatThreadMessage.d.ts +51 -0
  69. package/build/sdk-typescript/src/model/projects/SDKForgeAgent.d.ts +8 -0
  70. package/build/sdk-typescript/src/model/projects/SDKForgeProject.d.ts +41 -0
  71. package/build/sdk-typescript/src/model/projects/SDKForgeProjectContext.d.ts +26 -0
  72. package/build/sdk-typescript/src/model/projects/SDKForgeProjectDocument.d.ts +19 -0
  73. package/build/sdk-typescript/src/model/projects/SDKForgeProjectDocumentPreview.d.ts +13 -0
  74. package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeature.d.ts +25 -0
  75. package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeatureArtifact.d.ts +13 -0
  76. package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeatureArtifactList.d.ts +7 -0
  77. package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeatureIteration.d.ts +13 -0
  78. package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeatureMessage.d.ts +26 -0
  79. package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeatureMessageList.d.ts +10 -0
  80. package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeatureMessageReaction.d.ts +9 -0
  81. package/build/sdk-typescript/src/model/projects/SDKForgeProjectFeaturePreview.d.ts +13 -0
  82. package/build/sdk-typescript/src/model/projects/SDKForgeProjectInvitation.d.ts +12 -0
  83. package/build/sdk-typescript/src/model/projects/SDKForgeProjectMembership.d.ts +13 -0
  84. package/build/sdk-typescript/src/model/projects/SDKForgeProjectRelation.d.ts +13 -0
  85. package/build/sdk-typescript/src/model/projects/sections/SDKForgeProjectDocumentSection.d.ts +6 -0
  86. package/build/sdk-typescript/src/model/projects/sections/SDKForgeProjectFeatureSection.d.ts +6 -0
  87. package/build/sdk-typescript/src/model/projects/sections/SDKForgeProjectSection.d.ts +12 -0
  88. package/build/sdk-typescript/src/model/storybook/SDKStorybookUpdate.d.ts +17 -0
  89. package/build/sdk-typescript/src/model/support/SDKSource.d.ts +8 -1
  90. package/build/sdk-typescript/src/model/themes/SDKTokenTheme.d.ts +1 -1
  91. package/build/sdk-typescript/src/model/themes/SDKTokenThemeOverride.d.ts +1 -1
  92. package/build/sdk-typescript/src/model/threads/SDKThreadMessage.d.ts +36 -0
  93. package/build/sdk-typescript/src/model/threads/SDKThreadMessageList.d.ts +10 -0
  94. package/build/sdk-typescript/src/model/threads/SDKThreadMessageReaction.d.ts +9 -0
  95. package/build/sdk-typescript/src/model/tokens/SDKDimensionToken.d.ts +1 -1
  96. package/build/sdk-typescript/src/model/tokens/SDKStringToken.d.ts +1 -1
  97. package/build/sdk-typescript/src/model/tokens/SDKToken.d.ts +1 -0
  98. package/build/sdk-typescript/src/model/trail-events/SDKTrailEvent.d.ts +17 -0
  99. package/build/sdk-typescript/src/model/users/SDKUser.d.ts +7 -0
  100. package/build/sdk-typescript/src/model/users/SDKUserMembership.d.ts +12 -0
  101. package/build/sdk-typescript/src/model/workspaces/SDKWorkspace.d.ts +12 -9
  102. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceInvitation.d.ts +17 -9
  103. package/build/sdk-typescript/src/model/workspaces/SDKWorkspacePortalSettings.d.ts +12 -0
  104. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductFeatures.d.ts +2 -2
  105. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProductPrice.d.ts +7 -0
  106. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceProfile.d.ts +8 -26
  107. package/build/sdk-typescript/src/model/workspaces/SDKWorkspaceSubscription.d.ts +75 -38
  108. package/build/sdk-typescript/src/tests/Areas/AreaRelay.spec.d.ts +1 -0
  109. package/build/sdk-typescript/src/tests/Areas/AreaThreads.spec.d.ts +1 -0
  110. package/build/sdk-typescript/src/tests/helpers.d.ts +1 -0
  111. package/build/sdk-typescript/src/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +1 -1
  112. package/build/sdk-typescript/src/tools/docs-block-builder/SDKDocsBlockBuilder.d.ts +13 -2
  113. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownLinkResolver.d.ts +39 -0
  114. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransform.d.ts +2 -2
  115. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformBlock.d.ts +33 -10
  116. package/build/sdk-typescript/src/tools/markdown-transform/SDKToolsMarkdownTransformUtil.d.ts +8 -3
  117. package/build/sdk-typescript/src/utils/RawUtils.d.ts +53 -3
  118. package/build/supernova-sdk-typescript.js +1 -2
  119. package/build/supernova-sdk-typescript.js.map +1 -1
  120. package/package.json +19 -29
  121. package/build/sdk-typescript/src/core/areas/SDKAreaAI.d.ts +0 -75
  122. package/build/sdk-typescript/src/model/acl/SDKAcl.d.ts +0 -51
  123. package/build/sdk-typescript/src/model/exporters/remote/SDKRemotePipelineModel.d.ts +0 -51
  124. package/build/supernova-sdk-typescript.js.LICENSE.txt +0 -8
  125. /package/build/sdk-typescript/src/tests/Areas/{AreaAI.spec.d.ts → AreaMessaging.spec.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.2.6",
3
+ "version": "2.2.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",
@@ -18,9 +18,7 @@
18
18
  "Markdown",
19
19
  "CMS"
20
20
  ],
21
- "files": [
22
- "build"
23
- ],
21
+ "files": ["build"],
24
22
  "scripts": {
25
23
  "build:production": "npm run clean && webpack --mode production --config ./webpack.config.sdk.js",
26
24
  "build-sdk": "npm run build:production",
@@ -37,7 +35,6 @@
37
35
  "typecheck": "tsc --noEmit -p ./tsconfig.json",
38
36
  "publish-package-sdk": "npm run clean && sh ./scripts/publish-sdk.sh",
39
37
  "publish-package-sdk-exporters": "npm run clean && sh ./scripts/publish-sdk-exporters.sh",
40
- "publish-package-sdk-beta": "npm run clean && sh ./scripts/publish-sdk-beta.sh",
41
38
  "publish-packages": "sh ./scripts/publish-packages.sh"
42
39
  },
43
40
  "scripts-info": {
@@ -52,32 +49,28 @@
52
49
  "version": "Bump package.json version, update CHANGELOG.md, tag release",
53
50
  "reset": "Delete all untracked files and reset the repo to the last commit",
54
51
  "publish-package-sdk": "Publish SDK package to NPM",
55
- "publish-package-pulsar": "Publish Pulsar type package to NPM",
56
52
  "publish-packages": "Publish both SDK and Pulsar package to NPM"
57
53
  },
58
54
  "engines": {
59
55
  "node": ">=8.9"
60
56
  },
61
57
  "dependencies": {
62
- "@supernova-studio/client": "1.6.2",
63
- "@supernova-studio/model": "1.6.2",
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
- "fuse.js": "^6.6.2",
70
- "lodash": "~4.17.21",
71
- "parse-color": "^1.0.0",
72
- "postcss-calc-ast-parser": "^0.1.4",
73
- "string.prototype.matchall": "^4.0.8",
74
- "tinycolor2": "^1.4.2",
75
- "uuid": "^8.3.2"
58
+ "@supernova-studio/client": "1.48.0",
59
+ "@supernova-studio/model": "1.48.0",
60
+ "abab": "2.0.6",
61
+ "async-mutex": "0.3.2",
62
+ "color-string": "1.9.1",
63
+ "color2k": "2.0.2",
64
+ "expr-eval": "2.0.2",
65
+ "fuse.js": "6.6.2",
66
+ "lodash": "4.17.21",
67
+ "parse-color": "1.0.0",
68
+ "postcss-calc-ast-parser": "0.1.4",
69
+ "string.prototype.matchall": "4.0.8",
70
+ "tinycolor2": "1.6.0",
71
+ "uuid": "8.3.2"
76
72
  },
77
- "bundleDependencies": [
78
- "@supernova-studio/client",
79
- "@supernova-studio/model"
80
- ],
73
+ "bundleDependencies": ["@supernova-studio/client", "@supernova-studio/model"],
81
74
  "devDependencies": {
82
75
  "@istanbuljs/nyc-config-typescript": "0.1.3",
83
76
  "@types/lodash": "4.14.191",
@@ -93,18 +86,15 @@
93
86
  "tsx": "4.7.0",
94
87
  "typescript-with-config": "*",
95
88
  "vitest": "^3.0.5",
96
- "webpack": "^5.66.0",
97
89
  "webpack-cli": "^6.0.1",
98
90
  "webpack-node-externals": "3.0.0"
99
91
  },
100
92
  "config": {},
101
93
  "nyc": {
102
94
  "extends": "@istanbuljs/nyc-config-typescript",
103
- "exclude": [
104
- "**/*.spec.js"
105
- ]
95
+ "exclude": ["**/*.spec.js"]
106
96
  },
107
97
  "optionalDependencies": {
108
98
  "@rollup/rollup-darwin-x64": "^4.34.6"
109
99
  }
110
- }
100
+ }
@@ -1,75 +0,0 @@
1
- import { DataCore } from "../data/SDKDataCore";
2
- import { RemoteWorkspaceVersionIdentifier } from "./SDKRemoteIdentifiers";
3
- export declare enum AIGetRouteQueryTask {
4
- answer = "answer",
5
- answerWithStream = "answerWithStream",
6
- autocomplete = "autocomplete",
7
- reindex = "reindex",
8
- summarize = "summarize"
9
- }
10
- export declare class AreaAI {
11
- /** Internal: Engine */
12
- private dataCore;
13
- constructor(dataCore: DataCore);
14
- /** Summarizes a prompt into a title. Response is not streamed.
15
- * @param from - Version identifier
16
- * @param text - Text to summarize
17
- * @param options - Summarization options
18
- * @returns Summarized title
19
- * @disclaimer This method will throw if the user is not authorized to use AI features (if you are reading this, you are not authorized).
20
- */
21
- summarizeIntoTitle(from: RemoteWorkspaceVersionIdentifier, text: string, options?: {
22
- maxWordCount: number;
23
- strategy: "noun" | "verb";
24
- }): Promise<string>;
25
- /** Autocompletes a prompt into a full text. Response is not streamed.
26
- * @param from - Version identifier
27
- * @param textToComplete - Text to autocomplete
28
- * @param options - Autocomplete options
29
- * @returns Autocompleted text
30
- * @disclaimer This method will throw if the user is not authorized to use AI features (if you are reading this, you are not authorized).
31
- */
32
- autocompleteText(from: RemoteWorkspaceVersionIdentifier, textToComplete: string, options?: {
33
- maximumLength: number;
34
- previousText?: string;
35
- afterText?: string;
36
- }): Promise<{
37
- completion: string;
38
- fullText: string;
39
- }>;
40
- /** Answers question based on the data of design system in natural language. This method is non-streaming.
41
- * @param from - Version identifier
42
- * @param prompt - Question to answer
43
- * @param options - Answering options
44
- * @returns Answer to the question
45
- * @disclaimer This method will throw if the user is not authorized to use AI features (if you are reading this, you are not authorized).
46
- */
47
- answer(from: RemoteWorkspaceVersionIdentifier, prompt: string, options?: {
48
- persona: "designer" | "developer";
49
- scope: "all" | "tokens" | "components" | "assets" | "docs";
50
- density: "compact" | "full";
51
- }): Promise<string>;
52
- /** Answers question based on the data of design system in natural language. This method streams answer.
53
- * @param from - Version identifier
54
- * @param prompt - Question to answer
55
- * @param options - Answering options
56
- * @returns Answer to the question
57
- * @disclaimer This method will throw if the user is not authorized to use AI features (if you are reading this, you are not authorized).
58
- */
59
- answerAsStream(from: RemoteWorkspaceVersionIdentifier, prompt: string, options?: {
60
- persona: "designer" | "developer";
61
- scope: "all" | "tokens" | "components" | "assets" | "docs";
62
- density: "compact" | "full";
63
- }): Promise<ReadableStreamDefaultReader<Uint8Array>>;
64
- /** Indexes or reindexes a design system to prepare it for QA engine
65
- * @param from - Version identifier
66
- * @returns Indexing status
67
- * @disclaimer This method will throw if the user is not authorized to use AI features (if you are reading this, you are not authorized).
68
- */
69
- rebuildAnswerIndex(from: RemoteWorkspaceVersionIdentifier): Promise<void>;
70
- /** Temp: Retrieves dynamic URL for all AI tasks
71
- * @param task - Which task to retrieve URL for
72
- * @returns Url for the task
73
- */
74
- executableTaskUrl(task: AIGetRouteQueryTask): Promise<string>;
75
- }
@@ -1,51 +0,0 @@
1
- import { UserRole } from "../enums/SDKUserRole";
2
- export type SingleResourceRemoteAcl = {
3
- role: UserRole;
4
- extends: UserRole[];
5
- grants: string[];
6
- };
7
- export type AclRemoteModel = {
8
- workspaces: {
9
- roles: SingleResourceRemoteAcl[];
10
- };
11
- dsm: {
12
- designSystems: {
13
- roles: SingleResourceRemoteAcl[];
14
- };
15
- designSystemVersions: {
16
- roles: SingleResourceRemoteAcl[];
17
- };
18
- designSystemSources: {
19
- roles: SingleResourceRemoteAcl[];
20
- };
21
- tokens: {
22
- roles: SingleResourceRemoteAcl[];
23
- };
24
- };
25
- };
26
- type SingleResourceAcl = {
27
- role: UserRole;
28
- extends: UserRole[];
29
- grants: string[];
30
- };
31
- export type AclPermissionResolution = {
32
- hasPermission: true;
33
- reason?: never;
34
- closestRoleWithPermission?: never;
35
- } | {
36
- hasPermission: false;
37
- reason: string;
38
- closestRoleWithPermission?: UserRole;
39
- };
40
- export declare class Acl {
41
- workspaces: SingleResourceAcl[];
42
- designSystems: SingleResourceAcl[];
43
- designSystemVersions: SingleResourceAcl[];
44
- designSystemSources: SingleResourceAcl[];
45
- tokens: SingleResourceAcl[];
46
- constructor(model: AclRemoteModel);
47
- getExtendedGrants(acls: SingleResourceRemoteAcl[], acl: SingleResourceRemoteAcl): string[];
48
- findClosestRoleWithGrant(acls: SingleResourceRemoteAcl[], acl: SingleResourceRemoteAcl, permission: string): UserRole | null;
49
- hasPermission(resource: string, permission: string, role: UserRole): AclPermissionResolution;
50
- }
51
- export {};
@@ -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
- */