@supernova-studio/client 1.4.0 → 1.4.1
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/dist/index.d.mts +62 -1
- package/dist/index.d.ts +62 -1
- package/dist/index.js +18 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -49,8 +49,8 @@ import { z as z34 } from "zod";
|
|
|
49
49
|
import { z as z33 } from "zod";
|
|
50
50
|
import { z as z42 } from "zod";
|
|
51
51
|
import { z as z35 } from "zod";
|
|
52
|
-
import slugifyImplementation from "@sindresorhus/slugify";
|
|
53
52
|
import { z as z36 } from "zod";
|
|
53
|
+
import slugifyImplementation from "@sindresorhus/slugify";
|
|
54
54
|
import { z as z37 } from "zod";
|
|
55
55
|
import { z as z38 } from "zod";
|
|
56
56
|
import { z as z39 } from "zod";
|
|
@@ -934,6 +934,11 @@ var ContentLoaderPayload = z35.object({
|
|
|
934
934
|
location: z35.string()
|
|
935
935
|
})
|
|
936
936
|
);
|
|
937
|
+
var GitInteropPulsarError = z36.object({
|
|
938
|
+
errorType: z36.string(),
|
|
939
|
+
errorMessage: z36.string(),
|
|
940
|
+
trace: z36.array(z36.string())
|
|
941
|
+
});
|
|
937
942
|
var shortPersistentIdLength = 8;
|
|
938
943
|
var alphanumeric = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
|
939
944
|
function generateShortPersistentId() {
|
|
@@ -1572,11 +1577,6 @@ var RESERVED_SLUGS = [
|
|
|
1572
1577
|
];
|
|
1573
1578
|
var RESERVED_SLUGS_SET = new Set(RESERVED_SLUGS);
|
|
1574
1579
|
var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
|
|
1575
|
-
var GitInteropPulsarError = z36.object({
|
|
1576
|
-
errorType: z36.string(),
|
|
1577
|
-
errorMessage: z36.string(),
|
|
1578
|
-
trace: z36.array(z36.string())
|
|
1579
|
-
});
|
|
1580
1580
|
var ElementPropertyTypeSchema = z37.enum(["Text", "Number", "Boolean", "Select", "Generic", "Link", "URL"]);
|
|
1581
1581
|
var ElementPropertyTargetType = z37.enum(["Token", "Component", "DocumentationPage"]);
|
|
1582
1582
|
var ElementPropertyLinkType = z37.enum(["FigmaComponent", "DocumentationPage"]);
|
|
@@ -5958,6 +5958,14 @@ var DTOExporterPropertyDefinitionsResponse = z207.object({
|
|
|
5958
5958
|
var DTOExporterPropertyValueMap = z207.record(DTOExporterPropertyValue);
|
|
5959
5959
|
|
|
5960
5960
|
// src/api/payloads/export/pipeline.ts
|
|
5961
|
+
var GitDestinationOptions = z208.object({
|
|
5962
|
+
branch: z208.string().min(1).optional(),
|
|
5963
|
+
commitMessage: z208.string().min(1).optional(),
|
|
5964
|
+
commitAuthorName: z208.string().min(1).optional(),
|
|
5965
|
+
commitAuthorEmail: z208.string().email().optional(),
|
|
5966
|
+
pullRequestTitle: z208.string().min(1).optional(),
|
|
5967
|
+
pullRequestDescription: z208.string().min(1).optional()
|
|
5968
|
+
});
|
|
5961
5969
|
var DTOPipelineCreateBody = z208.object({
|
|
5962
5970
|
name: z208.string(),
|
|
5963
5971
|
exporterId: z208.string(),
|
|
@@ -5999,7 +6007,8 @@ var DTOPipelineUpdateBody = z208.object({
|
|
|
5999
6007
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
6000
6008
|
documentation: ExporterDestinationDocs.nullish(),
|
|
6001
6009
|
webhookUrl: z208.string().nullish()
|
|
6002
|
-
}).optional()
|
|
6010
|
+
}).optional(),
|
|
6011
|
+
gitDestinationOptions: GitDestinationOptions.partial().optional()
|
|
6003
6012
|
});
|
|
6004
6013
|
var DTOPipelineTriggerBody = z208.object({
|
|
6005
6014
|
designSystemVersionId: z208.string()
|
|
@@ -14404,6 +14413,7 @@ export {
|
|
|
14404
14413
|
FigmaUtils,
|
|
14405
14414
|
FormattedCollections,
|
|
14406
14415
|
FrontendVersionRoomYDoc,
|
|
14416
|
+
GitDestinationOptions,
|
|
14407
14417
|
ImportJobsEndpoint,
|
|
14408
14418
|
ListTreeBuilder,
|
|
14409
14419
|
LiveblocksEndpoint,
|