@supernova-studio/client 0.46.8 → 0.46.10
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 +34 -5
- package/dist/index.d.ts +34 -5
- package/dist/index.js +38 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +154 -146
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/payloads/design-systems/version.ts +9 -1
package/dist/index.mjs
CHANGED
|
@@ -140,10 +140,10 @@ import { z as z128 } from "zod";
|
|
|
140
140
|
import { z as z129 } from "zod";
|
|
141
141
|
import { z as z130 } from "zod";
|
|
142
142
|
import { z as z131 } from "zod";
|
|
143
|
+
import { z as z134 } from "zod";
|
|
143
144
|
import { z as z132 } from "zod";
|
|
144
145
|
import { z as z133 } from "zod";
|
|
145
146
|
import { z as z136 } from "zod";
|
|
146
|
-
import { z as z134 } from "zod";
|
|
147
147
|
import { z as z135 } from "zod";
|
|
148
148
|
import { z as z137 } from "zod";
|
|
149
149
|
import { z as z139 } from "zod";
|
|
@@ -1789,7 +1789,8 @@ var ThemeOrigin = z85.object({
|
|
|
1789
1789
|
});
|
|
1790
1790
|
var Theme = DesignElementBase.extend(DesignElementBrandedPart.shape).extend({
|
|
1791
1791
|
origin: ThemeOrigin.optional(),
|
|
1792
|
-
overrides: z85.array(ThemeOverride)
|
|
1792
|
+
overrides: z85.array(ThemeOverride),
|
|
1793
|
+
codeName: z85.string()
|
|
1793
1794
|
});
|
|
1794
1795
|
var FigmaFileDownloadScope = z86.object({
|
|
1795
1796
|
styles: z86.boolean(),
|
|
@@ -2643,72 +2644,52 @@ var VersionCreationJob = z126.object({
|
|
|
2643
2644
|
status: VersionCreationJobStatus,
|
|
2644
2645
|
errorMessage: nullishToOptional(z126.string())
|
|
2645
2646
|
});
|
|
2646
|
-
var ExportJobDocumentationContext = z127.object({
|
|
2647
|
-
isSingleVersionDocs: z127.boolean(),
|
|
2648
|
-
versionSlug: z127.string(),
|
|
2649
|
-
environment: PublishedDocEnvironment
|
|
2650
|
-
});
|
|
2651
|
-
var ExportJobContext = z127.object({
|
|
2652
|
-
apiUrl: z127.string(),
|
|
2653
|
-
accessToken: z127.string(),
|
|
2654
|
-
designSystemId: z127.string(),
|
|
2655
|
-
designSystemVersionId: z127.string(),
|
|
2656
|
-
brandId: z127.string().optional(),
|
|
2657
|
-
exporterPackageUrl: z127.string(),
|
|
2658
|
-
exporterPropertyValues: ExporterPropertyValue.array(),
|
|
2659
|
-
documentation: ExportJobDocumentationContext.optional()
|
|
2660
|
-
});
|
|
2661
|
-
var ExporterFunctionPayload = z128.object({
|
|
2662
|
-
exportJobId: z128.string(),
|
|
2663
|
-
exportContextId: z128.string(),
|
|
2664
|
-
designSystemId: z128.string()
|
|
2665
|
-
});
|
|
2666
2647
|
var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
|
|
2667
2648
|
var BITBUCKET_MAX_LENGTH = 64;
|
|
2668
|
-
var ExporterDestinationDocs =
|
|
2649
|
+
var ExporterDestinationDocs = z127.object({
|
|
2669
2650
|
environment: PublishedDocEnvironment
|
|
2670
2651
|
});
|
|
2671
|
-
var ExporterDestinationS3 =
|
|
2672
|
-
var ExporterDestinationGithub =
|
|
2673
|
-
connectionId:
|
|
2674
|
-
branch:
|
|
2675
|
-
relativePath:
|
|
2652
|
+
var ExporterDestinationS3 = z127.object({});
|
|
2653
|
+
var ExporterDestinationGithub = z127.object({
|
|
2654
|
+
connectionId: z127.string(),
|
|
2655
|
+
branch: z127.string(),
|
|
2656
|
+
relativePath: z127.string()
|
|
2676
2657
|
// // +
|
|
2677
2658
|
// userId: z.coerce.string(),
|
|
2678
2659
|
});
|
|
2679
|
-
var ExporterDestinationAzure =
|
|
2680
|
-
connectionId:
|
|
2681
|
-
organizationId:
|
|
2682
|
-
projectId:
|
|
2683
|
-
repositoryId:
|
|
2684
|
-
branch:
|
|
2685
|
-
relativePath:
|
|
2660
|
+
var ExporterDestinationAzure = z127.object({
|
|
2661
|
+
connectionId: z127.string(),
|
|
2662
|
+
organizationId: z127.string(),
|
|
2663
|
+
projectId: z127.string(),
|
|
2664
|
+
repositoryId: z127.string(),
|
|
2665
|
+
branch: z127.string(),
|
|
2666
|
+
relativePath: z127.string()
|
|
2686
2667
|
// // +
|
|
2687
2668
|
// userId: z.coerce.string(),
|
|
2688
2669
|
// url: z.string(),
|
|
2689
2670
|
});
|
|
2690
|
-
var ExporterDestinationGitlab =
|
|
2691
|
-
connectionId:
|
|
2692
|
-
projectId:
|
|
2693
|
-
branch:
|
|
2694
|
-
relativePath:
|
|
2671
|
+
var ExporterDestinationGitlab = z127.object({
|
|
2672
|
+
connectionId: z127.string(),
|
|
2673
|
+
projectId: z127.string(),
|
|
2674
|
+
branch: z127.string(),
|
|
2675
|
+
relativePath: z127.string()
|
|
2695
2676
|
// // +
|
|
2696
2677
|
// userId: z.coerce.string(),
|
|
2697
2678
|
// url: z.string(),
|
|
2698
2679
|
});
|
|
2699
|
-
var ExporterDestinationBitbucket =
|
|
2700
|
-
connectionId:
|
|
2701
|
-
workspaceSlug:
|
|
2702
|
-
projectKey:
|
|
2703
|
-
repoSlug:
|
|
2704
|
-
branch:
|
|
2705
|
-
relativePath:
|
|
2680
|
+
var ExporterDestinationBitbucket = z127.object({
|
|
2681
|
+
connectionId: z127.string(),
|
|
2682
|
+
workspaceSlug: z127.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
2683
|
+
projectKey: z127.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
2684
|
+
repoSlug: z127.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
|
|
2685
|
+
branch: z127.string(),
|
|
2686
|
+
relativePath: z127.string()
|
|
2706
2687
|
// // +
|
|
2707
2688
|
// userId: z.string(),
|
|
2708
2689
|
// url: z.string(),
|
|
2709
2690
|
});
|
|
2710
|
-
var ExportDestinationsMap =
|
|
2711
|
-
webhookUrl:
|
|
2691
|
+
var ExportDestinationsMap = z127.object({
|
|
2692
|
+
webhookUrl: z127.string().optional(),
|
|
2712
2693
|
destinationSnDocs: ExporterDestinationDocs.optional(),
|
|
2713
2694
|
destinationS3: ExporterDestinationS3.optional(),
|
|
2714
2695
|
destinationGithub: ExporterDestinationGithub.optional(),
|
|
@@ -2716,29 +2697,29 @@ var ExportDestinationsMap = z129.object({
|
|
|
2716
2697
|
destinationGitlab: ExporterDestinationGitlab.optional(),
|
|
2717
2698
|
destinationBitbucket: ExporterDestinationBitbucket.optional()
|
|
2718
2699
|
});
|
|
2719
|
-
var ExportJobDestinationType =
|
|
2720
|
-
var ExportJobStatus =
|
|
2721
|
-
var ExportJobLogEntryType =
|
|
2722
|
-
var ExportJobLogEntry =
|
|
2723
|
-
id:
|
|
2724
|
-
time:
|
|
2700
|
+
var ExportJobDestinationType = z128.enum(["s3", "webhookUrl", "github", "documentation", "azure", "gitlab"]);
|
|
2701
|
+
var ExportJobStatus = z128.enum(["InProgress", "Success", "Failed", "Timeout"]);
|
|
2702
|
+
var ExportJobLogEntryType = z128.enum(["success", "info", "warning", "error", "user"]);
|
|
2703
|
+
var ExportJobLogEntry = z128.object({
|
|
2704
|
+
id: z128.string().optional(),
|
|
2705
|
+
time: z128.coerce.date(),
|
|
2725
2706
|
type: ExportJobLogEntryType,
|
|
2726
|
-
message:
|
|
2707
|
+
message: z128.string()
|
|
2727
2708
|
});
|
|
2728
|
-
var ExportJobPullRequestDestinationResult =
|
|
2729
|
-
pullRequestUrl:
|
|
2709
|
+
var ExportJobPullRequestDestinationResult = z128.object({
|
|
2710
|
+
pullRequestUrl: z128.string()
|
|
2730
2711
|
});
|
|
2731
|
-
var ExportJobS3DestinationResult =
|
|
2732
|
-
bucket:
|
|
2733
|
-
urlPrefix:
|
|
2734
|
-
path:
|
|
2735
|
-
files:
|
|
2712
|
+
var ExportJobS3DestinationResult = z128.object({
|
|
2713
|
+
bucket: z128.string(),
|
|
2714
|
+
urlPrefix: z128.string().optional(),
|
|
2715
|
+
path: z128.string(),
|
|
2716
|
+
files: z128.array(z128.string())
|
|
2736
2717
|
});
|
|
2737
|
-
var ExportJobDocsDestinationResult =
|
|
2738
|
-
url:
|
|
2718
|
+
var ExportJobDocsDestinationResult = z128.object({
|
|
2719
|
+
url: z128.string()
|
|
2739
2720
|
});
|
|
2740
|
-
var ExportJobResult =
|
|
2741
|
-
error:
|
|
2721
|
+
var ExportJobResult = z128.object({
|
|
2722
|
+
error: z128.string().optional(),
|
|
2742
2723
|
s3: ExportJobS3DestinationResult.optional(),
|
|
2743
2724
|
github: ExportJobPullRequestDestinationResult.optional(),
|
|
2744
2725
|
azure: ExportJobPullRequestDestinationResult.optional(),
|
|
@@ -2746,21 +2727,21 @@ var ExportJobResult = z130.object({
|
|
|
2746
2727
|
bitbucket: ExportJobPullRequestDestinationResult.optional(),
|
|
2747
2728
|
sndocs: ExportJobDocsDestinationResult.optional()
|
|
2748
2729
|
});
|
|
2749
|
-
var ExportJob =
|
|
2750
|
-
id:
|
|
2751
|
-
createdAt:
|
|
2752
|
-
finishedAt:
|
|
2753
|
-
designSystemId:
|
|
2754
|
-
designSystemVersionId:
|
|
2755
|
-
workspaceId:
|
|
2756
|
-
scheduleId:
|
|
2757
|
-
exporterId:
|
|
2758
|
-
brandId:
|
|
2759
|
-
themeId:
|
|
2760
|
-
estimatedExecutionTime:
|
|
2730
|
+
var ExportJob = z128.object({
|
|
2731
|
+
id: z128.string(),
|
|
2732
|
+
createdAt: z128.date(),
|
|
2733
|
+
finishedAt: z128.date().optional(),
|
|
2734
|
+
designSystemId: z128.string(),
|
|
2735
|
+
designSystemVersionId: z128.string(),
|
|
2736
|
+
workspaceId: z128.string(),
|
|
2737
|
+
scheduleId: z128.string().nullish(),
|
|
2738
|
+
exporterId: z128.string(),
|
|
2739
|
+
brandId: z128.string().optional(),
|
|
2740
|
+
themeId: z128.string().optional(),
|
|
2741
|
+
estimatedExecutionTime: z128.number().optional(),
|
|
2761
2742
|
status: ExportJobStatus,
|
|
2762
2743
|
result: ExportJobResult.optional(),
|
|
2763
|
-
createdByUserId:
|
|
2744
|
+
createdByUserId: z128.string().optional(),
|
|
2764
2745
|
// Destinations
|
|
2765
2746
|
...ExportDestinationsMap.shape
|
|
2766
2747
|
});
|
|
@@ -2775,9 +2756,29 @@ var ExportJobFindByFilter = ExportJob.pick({
|
|
|
2775
2756
|
themeId: true,
|
|
2776
2757
|
brandId: true
|
|
2777
2758
|
}).extend({
|
|
2778
|
-
destinations:
|
|
2759
|
+
destinations: z128.array(ExportJobDestinationType),
|
|
2779
2760
|
docsEnvironment: PublishedDocEnvironment
|
|
2780
2761
|
}).partial();
|
|
2762
|
+
var ExportJobDocumentationContext = z129.object({
|
|
2763
|
+
isSingleVersionDocs: z129.boolean(),
|
|
2764
|
+
versionSlug: z129.string(),
|
|
2765
|
+
environment: PublishedDocEnvironment
|
|
2766
|
+
});
|
|
2767
|
+
var ExportJobContext = z129.object({
|
|
2768
|
+
apiUrl: z129.string(),
|
|
2769
|
+
accessToken: z129.string(),
|
|
2770
|
+
designSystemId: z129.string(),
|
|
2771
|
+
designSystemVersionId: z129.string(),
|
|
2772
|
+
brandId: z129.string().optional(),
|
|
2773
|
+
exporterPackageUrl: z129.string(),
|
|
2774
|
+
exporterPropertyValues: ExporterPropertyValue.array(),
|
|
2775
|
+
documentation: ExportJobDocumentationContext.optional()
|
|
2776
|
+
});
|
|
2777
|
+
var ExporterFunctionPayload = z130.object({
|
|
2778
|
+
exportJobId: z130.string(),
|
|
2779
|
+
exportContextId: z130.string(),
|
|
2780
|
+
designSystemId: z130.string()
|
|
2781
|
+
});
|
|
2781
2782
|
var ExporterScheduleEventType = z131.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
|
|
2782
2783
|
var ExporterSchedule = z131.object({
|
|
2783
2784
|
id: z131.string(),
|
|
@@ -2792,13 +2793,6 @@ var ExporterSchedule = z131.object({
|
|
|
2792
2793
|
// Destinations
|
|
2793
2794
|
...ExportDestinationsMap.shape
|
|
2794
2795
|
});
|
|
2795
|
-
var ExporterWorkspaceMembershipRole = z132.enum(["Owner", "OwnerArchived", "User"]);
|
|
2796
|
-
var ExporterWorkspaceMembership = z133.object({
|
|
2797
|
-
id: z133.string(),
|
|
2798
|
-
workspaceId: z133.string(),
|
|
2799
|
-
exporterId: z133.string(),
|
|
2800
|
-
role: ExporterWorkspaceMembershipRole
|
|
2801
|
-
});
|
|
2802
2796
|
var GitProviderNames = /* @__PURE__ */ ((GitProviderNames2) => {
|
|
2803
2797
|
GitProviderNames2["Azure"] = "azure";
|
|
2804
2798
|
GitProviderNames2["Github"] = "github";
|
|
@@ -2806,8 +2800,8 @@ var GitProviderNames = /* @__PURE__ */ ((GitProviderNames2) => {
|
|
|
2806
2800
|
GitProviderNames2["Bitbucket"] = "bitbucket";
|
|
2807
2801
|
return GitProviderNames2;
|
|
2808
2802
|
})(GitProviderNames || {});
|
|
2809
|
-
var GitProvider =
|
|
2810
|
-
var PulsarPropertyType =
|
|
2803
|
+
var GitProvider = z132.nativeEnum(GitProviderNames);
|
|
2804
|
+
var PulsarPropertyType = z133.enum([
|
|
2811
2805
|
"string",
|
|
2812
2806
|
"number",
|
|
2813
2807
|
"boolean",
|
|
@@ -2820,70 +2814,77 @@ var PulsarPropertyType = z135.enum([
|
|
|
2820
2814
|
"tokenProperties",
|
|
2821
2815
|
"tokenType"
|
|
2822
2816
|
]);
|
|
2823
|
-
var PulsarBaseProperty =
|
|
2824
|
-
label:
|
|
2825
|
-
key:
|
|
2826
|
-
description:
|
|
2817
|
+
var PulsarBaseProperty = z133.object({
|
|
2818
|
+
label: z133.string(),
|
|
2819
|
+
key: z133.string(),
|
|
2820
|
+
description: z133.string().nullish(),
|
|
2827
2821
|
type: PulsarPropertyType,
|
|
2828
|
-
values:
|
|
2829
|
-
default:
|
|
2822
|
+
values: z133.array(z133.string()).nullish(),
|
|
2823
|
+
default: z133.union([z133.string(), z133.boolean(), z133.number()]).nullish(),
|
|
2830
2824
|
// PulsarPropertyValueType //is optional?
|
|
2831
|
-
inputType:
|
|
2825
|
+
inputType: z133.enum(["code", "plain"]).optional(),
|
|
2832
2826
|
//is optional?
|
|
2833
|
-
isMultiline:
|
|
2827
|
+
isMultiline: z133.boolean().nullish()
|
|
2834
2828
|
});
|
|
2835
2829
|
var PulsarContributionConfigurationProperty = PulsarBaseProperty.extend({
|
|
2836
|
-
category:
|
|
2837
|
-
});
|
|
2838
|
-
var PulsarContributionVariant =
|
|
2839
|
-
key:
|
|
2840
|
-
name:
|
|
2841
|
-
isDefault: nullishToOptional(
|
|
2842
|
-
description: nullishToOptional(
|
|
2843
|
-
thumbnailURL: nullishToOptional(
|
|
2844
|
-
});
|
|
2845
|
-
var PulsarCustomBlock =
|
|
2846
|
-
title: nullishToOptional(
|
|
2847
|
-
key:
|
|
2848
|
-
category: nullishToOptional(
|
|
2849
|
-
description: nullishToOptional(
|
|
2850
|
-
iconURL: nullishToOptional(
|
|
2851
|
-
mode: nullishToOptional(
|
|
2852
|
-
properties: nullishToOptional(
|
|
2853
|
-
});
|
|
2854
|
-
var ExporterType =
|
|
2855
|
-
var ExporterSource =
|
|
2856
|
-
var ExporterTag =
|
|
2857
|
-
var ExporterDetails =
|
|
2858
|
-
description:
|
|
2859
|
-
version:
|
|
2860
|
-
routingVersion: nullishToOptional(
|
|
2861
|
-
author: nullishToOptional(
|
|
2862
|
-
organization: nullishToOptional(
|
|
2863
|
-
homepage: nullishToOptional(
|
|
2864
|
-
readme: nullishToOptional(
|
|
2865
|
-
tags: nullishToOptional(
|
|
2866
|
-
packageId: nullishToOptional(
|
|
2867
|
-
iconURL: nullishToOptional(
|
|
2868
|
-
configurationProperties: nullishToOptional(
|
|
2869
|
-
customBlocks: nullishToOptional(
|
|
2870
|
-
blockVariants: nullishToOptional(
|
|
2871
|
-
usesBrands: nullishToOptional(
|
|
2872
|
-
usesThemes: nullishToOptional(
|
|
2830
|
+
category: z133.string()
|
|
2831
|
+
});
|
|
2832
|
+
var PulsarContributionVariant = z133.object({
|
|
2833
|
+
key: z133.string(),
|
|
2834
|
+
name: z133.string(),
|
|
2835
|
+
isDefault: nullishToOptional(z133.boolean()),
|
|
2836
|
+
description: nullishToOptional(z133.string()),
|
|
2837
|
+
thumbnailURL: nullishToOptional(z133.string())
|
|
2838
|
+
});
|
|
2839
|
+
var PulsarCustomBlock = z133.object({
|
|
2840
|
+
title: nullishToOptional(z133.string()),
|
|
2841
|
+
key: z133.string(),
|
|
2842
|
+
category: nullishToOptional(z133.string()),
|
|
2843
|
+
description: nullishToOptional(z133.string()),
|
|
2844
|
+
iconURL: nullishToOptional(z133.string()),
|
|
2845
|
+
mode: nullishToOptional(z133.enum(["array", "block"])),
|
|
2846
|
+
properties: nullishToOptional(z133.array(PulsarBaseProperty)).transform((v) => v ?? [])
|
|
2847
|
+
});
|
|
2848
|
+
var ExporterType = z134.enum(["code", "documentation"]);
|
|
2849
|
+
var ExporterSource = z134.enum(["git", "upload"]);
|
|
2850
|
+
var ExporterTag = z134.string().regex(/^[0-9a-zA-Z]+(\s[0-9a-zA-Z]+)*$/);
|
|
2851
|
+
var ExporterDetails = z134.object({
|
|
2852
|
+
description: z134.string(),
|
|
2853
|
+
version: z134.string(),
|
|
2854
|
+
routingVersion: nullishToOptional(z134.string()),
|
|
2855
|
+
author: nullishToOptional(z134.string()),
|
|
2856
|
+
organization: nullishToOptional(z134.string()),
|
|
2857
|
+
homepage: nullishToOptional(z134.string()),
|
|
2858
|
+
readme: nullishToOptional(z134.string()),
|
|
2859
|
+
tags: nullishToOptional(z134.array(ExporterTag)).default([]),
|
|
2860
|
+
packageId: nullishToOptional(z134.string().max(255)),
|
|
2861
|
+
iconURL: nullishToOptional(z134.string()),
|
|
2862
|
+
configurationProperties: nullishToOptional(z134.array(PulsarContributionConfigurationProperty)).default([]),
|
|
2863
|
+
customBlocks: nullishToOptional(z134.array(PulsarCustomBlock)).default([]),
|
|
2864
|
+
blockVariants: nullishToOptional(z134.record(z134.string(), z134.array(PulsarContributionVariant))).default({}),
|
|
2865
|
+
usesBrands: nullishToOptional(z134.boolean()).default(false),
|
|
2866
|
+
usesThemes: nullishToOptional(z134.boolean()).default(false),
|
|
2873
2867
|
source: ExporterSource,
|
|
2874
2868
|
gitProvider: nullishToOptional(GitProvider),
|
|
2875
|
-
gitUrl: nullishToOptional(
|
|
2876
|
-
gitBranch: nullishToOptional(
|
|
2877
|
-
gitDirectory: nullishToOptional(
|
|
2878
|
-
});
|
|
2879
|
-
var Exporter =
|
|
2880
|
-
id:
|
|
2881
|
-
createdAt:
|
|
2882
|
-
name:
|
|
2883
|
-
isPrivate:
|
|
2869
|
+
gitUrl: nullishToOptional(z134.string()),
|
|
2870
|
+
gitBranch: nullishToOptional(z134.string()),
|
|
2871
|
+
gitDirectory: nullishToOptional(z134.string())
|
|
2872
|
+
});
|
|
2873
|
+
var Exporter = z134.object({
|
|
2874
|
+
id: z134.string(),
|
|
2875
|
+
createdAt: z134.coerce.date(),
|
|
2876
|
+
name: z134.string(),
|
|
2877
|
+
isPrivate: z134.boolean(),
|
|
2884
2878
|
details: ExporterDetails,
|
|
2885
2879
|
exporterType: nullishToOptional(ExporterType).default("code"),
|
|
2886
|
-
storagePath: nullishToOptional(
|
|
2880
|
+
storagePath: nullishToOptional(z134.string()).default("")
|
|
2881
|
+
});
|
|
2882
|
+
var ExporterWorkspaceMembershipRole = z135.enum(["Owner", "OwnerArchived", "User"]);
|
|
2883
|
+
var ExporterWorkspaceMembership = z136.object({
|
|
2884
|
+
id: z136.string(),
|
|
2885
|
+
workspaceId: z136.string(),
|
|
2886
|
+
exporterId: z136.string(),
|
|
2887
|
+
role: ExporterWorkspaceMembershipRole
|
|
2887
2888
|
});
|
|
2888
2889
|
var FlaggedFeature = z137.enum(["FigmaImporterV2", "ShadowOpacityOptional", "DisableImporter"]);
|
|
2889
2890
|
var FeatureFlagMap = z137.record(FlaggedFeature, z137.boolean());
|
|
@@ -4233,7 +4234,13 @@ var DTOCreateVersionInput = z155.object({
|
|
|
4233
4234
|
version: z155.string().refine(validateDesignSystemVersion, {
|
|
4234
4235
|
message: "Invalid semantic versioning format"
|
|
4235
4236
|
}),
|
|
4236
|
-
changeLog: z155.string().
|
|
4237
|
+
changeLog: z155.string().optional()
|
|
4238
|
+
});
|
|
4239
|
+
var DTOUpdateVersionInput = z155.object({
|
|
4240
|
+
meta: ObjectMeta2,
|
|
4241
|
+
version: z155.string(),
|
|
4242
|
+
// required for PUT, but not editable
|
|
4243
|
+
changeLog: z155.string()
|
|
4237
4244
|
});
|
|
4238
4245
|
|
|
4239
4246
|
// src/api/payloads/documentation/block-definitions.ts
|
|
@@ -8846,6 +8853,7 @@ export {
|
|
|
8846
8853
|
DTOUpdateDocumentationGroupInput,
|
|
8847
8854
|
DTOUpdateDocumentationPageInputV2,
|
|
8848
8855
|
DTOUpdateElementPropertyDefinitionInputV2,
|
|
8856
|
+
DTOUpdateVersionInput,
|
|
8849
8857
|
DTOUserWorkspaceMembership,
|
|
8850
8858
|
DTOUserWorkspaceMembershipsResponse,
|
|
8851
8859
|
DTOWorkspace,
|