@supernova-studio/client 1.0.5 → 1.0.6
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 +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +15 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1192 -1180
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -51693,10 +51693,19 @@ type DTOExporterPropertyValueMap = z.infer<typeof DTOExporterPropertyValueMap>;
|
|
|
51693
51693
|
|
|
51694
51694
|
declare const DTOExporterListQuery: z.ZodObject<{
|
|
51695
51695
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
51696
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
51697
|
+
type: z.ZodOptional<z.ZodEnum<["documentation", "code"]>>;
|
|
51698
|
+
search: z.ZodOptional<z.ZodString>;
|
|
51696
51699
|
}, "strip", z.ZodTypeAny, {
|
|
51700
|
+
type?: "code" | "documentation" | undefined;
|
|
51697
51701
|
limit?: number | undefined;
|
|
51702
|
+
offset?: number | undefined;
|
|
51703
|
+
search?: string | undefined;
|
|
51698
51704
|
}, {
|
|
51705
|
+
type?: "code" | "documentation" | undefined;
|
|
51699
51706
|
limit?: number | undefined;
|
|
51707
|
+
offset?: number | undefined;
|
|
51708
|
+
search?: string | undefined;
|
|
51700
51709
|
}>;
|
|
51701
51710
|
type DTOExporterListQuery = z.infer<typeof DTOExporterListQuery>;
|
|
51702
51711
|
declare const DTOExporterType: z.ZodEnum<["documentation", "code"]>;
|
|
@@ -53755,6 +53764,7 @@ declare const DTOExporterListResponse: z.ZodObject<{
|
|
|
53755
53764
|
role: "Owner" | "OwnerArchived" | "User";
|
|
53756
53765
|
exporterId: string;
|
|
53757
53766
|
}>, "many">;
|
|
53767
|
+
total: z.ZodNumber;
|
|
53758
53768
|
}, "strip", z.ZodTypeAny, {
|
|
53759
53769
|
membership: {
|
|
53760
53770
|
workspaceId: string;
|
|
@@ -53874,6 +53884,7 @@ declare const DTOExporterListResponse: z.ZodObject<{
|
|
|
53874
53884
|
deprecationNote?: string | undefined;
|
|
53875
53885
|
replacementExporterId?: string | undefined;
|
|
53876
53886
|
}[];
|
|
53887
|
+
total: number;
|
|
53877
53888
|
}, {
|
|
53878
53889
|
membership: {
|
|
53879
53890
|
workspaceId: string;
|
|
@@ -53993,6 +54004,7 @@ declare const DTOExporterListResponse: z.ZodObject<{
|
|
|
53993
54004
|
deprecationNote?: string | undefined;
|
|
53994
54005
|
replacementExporterId?: string | undefined;
|
|
53995
54006
|
}[];
|
|
54007
|
+
total: number;
|
|
53996
54008
|
}>;
|
|
53997
54009
|
type DTOExporterListResponse = z.infer<typeof DTOExporterListResponse>;
|
|
53998
54010
|
declare const DTOExporterGitProviderEnum: z.ZodEnum<["github", "gitlab", "bitbucket", "azure"]>;
|
|
@@ -92003,7 +92015,7 @@ declare class ExportersEndpoint {
|
|
|
92003
92015
|
replacementExporterId?: string | undefined;
|
|
92004
92016
|
};
|
|
92005
92017
|
}>;
|
|
92006
|
-
list(workspaceId: string, query
|
|
92018
|
+
list(workspaceId: string, query?: DTOExporterListQuery): Promise<{
|
|
92007
92019
|
membership: {
|
|
92008
92020
|
workspaceId: string;
|
|
92009
92021
|
role: "Owner" | "OwnerArchived" | "User";
|
|
@@ -92122,6 +92134,7 @@ declare class ExportersEndpoint {
|
|
|
92122
92134
|
deprecationNote?: string | undefined;
|
|
92123
92135
|
replacementExporterId?: string | undefined;
|
|
92124
92136
|
}[];
|
|
92137
|
+
total: number;
|
|
92125
92138
|
}>;
|
|
92126
92139
|
get(workspaceId: string, exporterId: string): Promise<{
|
|
92127
92140
|
membership: {
|
package/dist/index.d.ts
CHANGED
|
@@ -51693,10 +51693,19 @@ type DTOExporterPropertyValueMap = z.infer<typeof DTOExporterPropertyValueMap>;
|
|
|
51693
51693
|
|
|
51694
51694
|
declare const DTOExporterListQuery: z.ZodObject<{
|
|
51695
51695
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
51696
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
51697
|
+
type: z.ZodOptional<z.ZodEnum<["documentation", "code"]>>;
|
|
51698
|
+
search: z.ZodOptional<z.ZodString>;
|
|
51696
51699
|
}, "strip", z.ZodTypeAny, {
|
|
51700
|
+
type?: "code" | "documentation" | undefined;
|
|
51697
51701
|
limit?: number | undefined;
|
|
51702
|
+
offset?: number | undefined;
|
|
51703
|
+
search?: string | undefined;
|
|
51698
51704
|
}, {
|
|
51705
|
+
type?: "code" | "documentation" | undefined;
|
|
51699
51706
|
limit?: number | undefined;
|
|
51707
|
+
offset?: number | undefined;
|
|
51708
|
+
search?: string | undefined;
|
|
51700
51709
|
}>;
|
|
51701
51710
|
type DTOExporterListQuery = z.infer<typeof DTOExporterListQuery>;
|
|
51702
51711
|
declare const DTOExporterType: z.ZodEnum<["documentation", "code"]>;
|
|
@@ -53755,6 +53764,7 @@ declare const DTOExporterListResponse: z.ZodObject<{
|
|
|
53755
53764
|
role: "Owner" | "OwnerArchived" | "User";
|
|
53756
53765
|
exporterId: string;
|
|
53757
53766
|
}>, "many">;
|
|
53767
|
+
total: z.ZodNumber;
|
|
53758
53768
|
}, "strip", z.ZodTypeAny, {
|
|
53759
53769
|
membership: {
|
|
53760
53770
|
workspaceId: string;
|
|
@@ -53874,6 +53884,7 @@ declare const DTOExporterListResponse: z.ZodObject<{
|
|
|
53874
53884
|
deprecationNote?: string | undefined;
|
|
53875
53885
|
replacementExporterId?: string | undefined;
|
|
53876
53886
|
}[];
|
|
53887
|
+
total: number;
|
|
53877
53888
|
}, {
|
|
53878
53889
|
membership: {
|
|
53879
53890
|
workspaceId: string;
|
|
@@ -53993,6 +54004,7 @@ declare const DTOExporterListResponse: z.ZodObject<{
|
|
|
53993
54004
|
deprecationNote?: string | undefined;
|
|
53994
54005
|
replacementExporterId?: string | undefined;
|
|
53995
54006
|
}[];
|
|
54007
|
+
total: number;
|
|
53996
54008
|
}>;
|
|
53997
54009
|
type DTOExporterListResponse = z.infer<typeof DTOExporterListResponse>;
|
|
53998
54010
|
declare const DTOExporterGitProviderEnum: z.ZodEnum<["github", "gitlab", "bitbucket", "azure"]>;
|
|
@@ -92003,7 +92015,7 @@ declare class ExportersEndpoint {
|
|
|
92003
92015
|
replacementExporterId?: string | undefined;
|
|
92004
92016
|
};
|
|
92005
92017
|
}>;
|
|
92006
|
-
list(workspaceId: string, query
|
|
92018
|
+
list(workspaceId: string, query?: DTOExporterListQuery): Promise<{
|
|
92007
92019
|
membership: {
|
|
92008
92020
|
workspaceId: string;
|
|
92009
92021
|
role: "Owner" | "OwnerArchived" | "User";
|
|
@@ -92122,6 +92134,7 @@ declare class ExportersEndpoint {
|
|
|
92122
92134
|
deprecationNote?: string | undefined;
|
|
92123
92135
|
replacementExporterId?: string | undefined;
|
|
92124
92136
|
}[];
|
|
92137
|
+
total: number;
|
|
92125
92138
|
}>;
|
|
92126
92139
|
get(workspaceId: string, exporterId: string): Promise<{
|
|
92127
92140
|
membership: {
|
package/dist/index.js
CHANGED
|
@@ -186,6 +186,7 @@ var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr)
|
|
|
186
186
|
|
|
187
187
|
|
|
188
188
|
|
|
189
|
+
|
|
189
190
|
|
|
190
191
|
|
|
191
192
|
var __defProp2 = Object.defineProperty;
|
|
@@ -4766,6 +4767,13 @@ var ExporterWorkspaceMembership = _zod.z.object({
|
|
|
4766
4767
|
exporterId: _zod.z.string(),
|
|
4767
4768
|
role: ExporterWorkspaceMembershipRole
|
|
4768
4769
|
});
|
|
4770
|
+
var ExporterType2 = _zod.z.enum(["documentation", "code"]);
|
|
4771
|
+
var ListExporterQuery = _zod.z.object({
|
|
4772
|
+
limit: _zod.z.number().optional(),
|
|
4773
|
+
offset: _zod.z.number().optional(),
|
|
4774
|
+
type: ExporterType2.optional(),
|
|
4775
|
+
search: _zod.z.string().optional()
|
|
4776
|
+
});
|
|
4769
4777
|
var FlaggedFeature = _zod.z.enum([
|
|
4770
4778
|
"FigmaImporterV2",
|
|
4771
4779
|
"ShadowOpacityOptional",
|
|
@@ -6571,7 +6579,10 @@ var DTOExporterType = _zod.z.enum(["documentation", "code"]);
|
|
|
6571
6579
|
var DTOExporterSource = _zod.z.enum(["git", "upload"]);
|
|
6572
6580
|
var DTOExporterMembershipRole = _zod.z.enum(["Owner", "OwnerArchived", "User"]);
|
|
6573
6581
|
var DTOExporterListQuery = _zod.z.object({
|
|
6574
|
-
limit: _zod.z.coerce.number().optional()
|
|
6582
|
+
limit: _zod.z.coerce.number().optional(),
|
|
6583
|
+
offset: _zod.z.coerce.number().optional(),
|
|
6584
|
+
type: DTOExporterType.optional(),
|
|
6585
|
+
search: _zod.z.string().optional()
|
|
6575
6586
|
});
|
|
6576
6587
|
var DTOExporter = _zod.z.object({
|
|
6577
6588
|
id: _zod.z.string(),
|
|
@@ -6605,7 +6616,8 @@ var DTOExporterResponse = _zod.z.object({
|
|
|
6605
6616
|
});
|
|
6606
6617
|
var DTOExporterListResponse = _zod.z.object({
|
|
6607
6618
|
exporters: DTOExporter.array(),
|
|
6608
|
-
membership: DTOExporterMembership.array()
|
|
6619
|
+
membership: DTOExporterMembership.array(),
|
|
6620
|
+
total: _zod.z.number()
|
|
6609
6621
|
});
|
|
6610
6622
|
var DTOExporterGitProviderEnum = _zod.z.enum(["github", "gitlab", "bitbucket", "azure"]);
|
|
6611
6623
|
var DTOExporterCreateInput = _zod.z.object({
|
|
@@ -7667,7 +7679,7 @@ var ExportersEndpoint = class {
|
|
|
7667
7679
|
}
|
|
7668
7680
|
list(workspaceId, query) {
|
|
7669
7681
|
return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/exporters`, DTOExporterListResponse, {
|
|
7670
|
-
query: serializeQuery(query)
|
|
7682
|
+
query: query ? serializeQuery(query) : void 0
|
|
7671
7683
|
});
|
|
7672
7684
|
}
|
|
7673
7685
|
get(workspaceId, exporterId) {
|