@supernova-studio/client 1.4.0 → 1.4.2
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 +78 -1
- package/dist/index.d.ts +78 -1
- package/dist/index.js +20 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +19 -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,16 @@ 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
|
+
relativePath: z208.string().optional(),
|
|
5969
|
+
purgeDirectory: z208.boolean().optional()
|
|
5970
|
+
});
|
|
5961
5971
|
var DTOPipelineCreateBody = z208.object({
|
|
5962
5972
|
name: z208.string(),
|
|
5963
5973
|
exporterId: z208.string(),
|
|
@@ -5999,7 +6009,8 @@ var DTOPipelineUpdateBody = z208.object({
|
|
|
5999
6009
|
gitlab: ExporterDestinationGitlab.nullish(),
|
|
6000
6010
|
documentation: ExporterDestinationDocs.nullish(),
|
|
6001
6011
|
webhookUrl: z208.string().nullish()
|
|
6002
|
-
}).optional()
|
|
6012
|
+
}).optional(),
|
|
6013
|
+
gitDestinationOptions: GitDestinationOptions.partial().optional()
|
|
6003
6014
|
});
|
|
6004
6015
|
var DTOPipelineTriggerBody = z208.object({
|
|
6005
6016
|
designSystemVersionId: z208.string()
|
|
@@ -14404,6 +14415,7 @@ export {
|
|
|
14404
14415
|
FigmaUtils,
|
|
14405
14416
|
FormattedCollections,
|
|
14406
14417
|
FrontendVersionRoomYDoc,
|
|
14418
|
+
GitDestinationOptions,
|
|
14407
14419
|
ImportJobsEndpoint,
|
|
14408
14420
|
ListTreeBuilder,
|
|
14409
14421
|
LiveblocksEndpoint,
|