@supernova-studio/client 0.54.16 → 0.54.18
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 +27 -8
- package/dist/index.d.ts +27 -8
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/components/figma-component.ts +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -4859,6 +4859,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4859
4859
|
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
4860
4860
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
4861
4861
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
4862
|
+
membersGenerated: z.ZodBoolean;
|
|
4862
4863
|
createdAt: z.ZodDate;
|
|
4863
4864
|
updatedAt: z.ZodDate;
|
|
4864
4865
|
}, "description" | "name" | "docExporterId">, {
|
|
@@ -4893,6 +4894,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4893
4894
|
isApprovalFeatureEnabled: boolean;
|
|
4894
4895
|
approvalRequiredForPublishing: boolean;
|
|
4895
4896
|
accessMode: "Open" | "InviteOnly";
|
|
4897
|
+
membersGenerated: boolean;
|
|
4896
4898
|
docUserSlug?: string | undefined;
|
|
4897
4899
|
docViewUrl?: string | undefined;
|
|
4898
4900
|
designSystemSwitcher?: {
|
|
@@ -4918,6 +4920,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4918
4920
|
isApprovalFeatureEnabled: boolean;
|
|
4919
4921
|
approvalRequiredForPublishing: boolean;
|
|
4920
4922
|
accessMode: "Open" | "InviteOnly";
|
|
4923
|
+
membersGenerated: boolean;
|
|
4921
4924
|
docUserSlug?: string | null | undefined;
|
|
4922
4925
|
docViewUrl?: string | null | undefined;
|
|
4923
4926
|
designSystemSwitcher?: {
|
|
@@ -4956,6 +4959,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
4956
4959
|
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
4957
4960
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
4958
4961
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
4962
|
+
membersGenerated: z.ZodBoolean;
|
|
4959
4963
|
createdAt: z.ZodDate;
|
|
4960
4964
|
updatedAt: z.ZodDate;
|
|
4961
4965
|
}, "description" | "name" | "docExporterId">, {
|
|
@@ -4990,6 +4994,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
4990
4994
|
isApprovalFeatureEnabled: boolean;
|
|
4991
4995
|
approvalRequiredForPublishing: boolean;
|
|
4992
4996
|
accessMode: "Open" | "InviteOnly";
|
|
4997
|
+
membersGenerated: boolean;
|
|
4993
4998
|
docUserSlug?: string | undefined;
|
|
4994
4999
|
docViewUrl?: string | undefined;
|
|
4995
5000
|
designSystemSwitcher?: {
|
|
@@ -5015,6 +5020,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
5015
5020
|
isApprovalFeatureEnabled: boolean;
|
|
5016
5021
|
approvalRequiredForPublishing: boolean;
|
|
5017
5022
|
accessMode: "Open" | "InviteOnly";
|
|
5023
|
+
membersGenerated: boolean;
|
|
5018
5024
|
docUserSlug?: string | null | undefined;
|
|
5019
5025
|
docViewUrl?: string | null | undefined;
|
|
5020
5026
|
designSystemSwitcher?: {
|
|
@@ -5042,6 +5048,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
5042
5048
|
isApprovalFeatureEnabled: boolean;
|
|
5043
5049
|
approvalRequiredForPublishing: boolean;
|
|
5044
5050
|
accessMode: "Open" | "InviteOnly";
|
|
5051
|
+
membersGenerated: boolean;
|
|
5045
5052
|
docUserSlug?: string | undefined;
|
|
5046
5053
|
docViewUrl?: string | undefined;
|
|
5047
5054
|
designSystemSwitcher?: {
|
|
@@ -5069,6 +5076,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
5069
5076
|
isApprovalFeatureEnabled: boolean;
|
|
5070
5077
|
approvalRequiredForPublishing: boolean;
|
|
5071
5078
|
accessMode: "Open" | "InviteOnly";
|
|
5079
|
+
membersGenerated: boolean;
|
|
5072
5080
|
docUserSlug?: string | null | undefined;
|
|
5073
5081
|
docViewUrl?: string | null | undefined;
|
|
5074
5082
|
designSystemSwitcher?: {
|
|
@@ -9472,6 +9480,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9472
9480
|
nodeId?: string | undefined;
|
|
9473
9481
|
}>>;
|
|
9474
9482
|
parentComponentPersistentId: z.ZodOptional<z.ZodString>;
|
|
9483
|
+
childrenPersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9475
9484
|
componentPropertyDefinitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
9476
9485
|
id: z.ZodString;
|
|
9477
9486
|
name: z.ZodString;
|
|
@@ -9541,7 +9550,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9541
9550
|
name: string;
|
|
9542
9551
|
defaultValue: string;
|
|
9543
9552
|
}>]>>>;
|
|
9544
|
-
|
|
9553
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9545
9554
|
}, "strip", z.ZodTypeAny, {
|
|
9546
9555
|
id: string;
|
|
9547
9556
|
persistentId: string;
|
|
@@ -9567,6 +9576,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9567
9576
|
nodeId?: string | undefined;
|
|
9568
9577
|
} | undefined;
|
|
9569
9578
|
parentComponentPersistentId?: string | undefined;
|
|
9579
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9570
9580
|
componentPropertyDefinitions?: Record<string, {
|
|
9571
9581
|
id: string;
|
|
9572
9582
|
type: "Boolean";
|
|
@@ -9589,7 +9599,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9589
9599
|
name: string;
|
|
9590
9600
|
defaultValue: string;
|
|
9591
9601
|
}> | undefined;
|
|
9592
|
-
|
|
9602
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9593
9603
|
}, {
|
|
9594
9604
|
id: string;
|
|
9595
9605
|
persistentId: string;
|
|
@@ -9615,6 +9625,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9615
9625
|
nodeId?: string | undefined;
|
|
9616
9626
|
} | undefined;
|
|
9617
9627
|
parentComponentPersistentId?: string | undefined;
|
|
9628
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9618
9629
|
componentPropertyDefinitions?: Record<string, {
|
|
9619
9630
|
id: string;
|
|
9620
9631
|
type: "Boolean";
|
|
@@ -9637,7 +9648,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9637
9648
|
name: string;
|
|
9638
9649
|
defaultValue: string;
|
|
9639
9650
|
}> | undefined;
|
|
9640
|
-
|
|
9651
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9641
9652
|
}>;
|
|
9642
9653
|
type DTOFigmaComponent = z.infer<typeof DTOFigmaComponent>;
|
|
9643
9654
|
declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
@@ -9691,6 +9702,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9691
9702
|
nodeId?: string | undefined;
|
|
9692
9703
|
}>>;
|
|
9693
9704
|
parentComponentPersistentId: z.ZodOptional<z.ZodString>;
|
|
9705
|
+
childrenPersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9694
9706
|
componentPropertyDefinitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
9695
9707
|
id: z.ZodString;
|
|
9696
9708
|
name: z.ZodString;
|
|
@@ -9760,7 +9772,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9760
9772
|
name: string;
|
|
9761
9773
|
defaultValue: string;
|
|
9762
9774
|
}>]>>>;
|
|
9763
|
-
|
|
9775
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9764
9776
|
}, "strip", z.ZodTypeAny, {
|
|
9765
9777
|
id: string;
|
|
9766
9778
|
persistentId: string;
|
|
@@ -9786,6 +9798,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9786
9798
|
nodeId?: string | undefined;
|
|
9787
9799
|
} | undefined;
|
|
9788
9800
|
parentComponentPersistentId?: string | undefined;
|
|
9801
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9789
9802
|
componentPropertyDefinitions?: Record<string, {
|
|
9790
9803
|
id: string;
|
|
9791
9804
|
type: "Boolean";
|
|
@@ -9808,7 +9821,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9808
9821
|
name: string;
|
|
9809
9822
|
defaultValue: string;
|
|
9810
9823
|
}> | undefined;
|
|
9811
|
-
|
|
9824
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9812
9825
|
}, {
|
|
9813
9826
|
id: string;
|
|
9814
9827
|
persistentId: string;
|
|
@@ -9834,6 +9847,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9834
9847
|
nodeId?: string | undefined;
|
|
9835
9848
|
} | undefined;
|
|
9836
9849
|
parentComponentPersistentId?: string | undefined;
|
|
9850
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9837
9851
|
componentPropertyDefinitions?: Record<string, {
|
|
9838
9852
|
id: string;
|
|
9839
9853
|
type: "Boolean";
|
|
@@ -9856,7 +9870,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9856
9870
|
name: string;
|
|
9857
9871
|
defaultValue: string;
|
|
9858
9872
|
}> | undefined;
|
|
9859
|
-
|
|
9873
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9860
9874
|
}>, "many">;
|
|
9861
9875
|
}, "strip", z.ZodTypeAny, {
|
|
9862
9876
|
components: {
|
|
@@ -9884,6 +9898,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9884
9898
|
nodeId?: string | undefined;
|
|
9885
9899
|
} | undefined;
|
|
9886
9900
|
parentComponentPersistentId?: string | undefined;
|
|
9901
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9887
9902
|
componentPropertyDefinitions?: Record<string, {
|
|
9888
9903
|
id: string;
|
|
9889
9904
|
type: "Boolean";
|
|
@@ -9906,7 +9921,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9906
9921
|
name: string;
|
|
9907
9922
|
defaultValue: string;
|
|
9908
9923
|
}> | undefined;
|
|
9909
|
-
|
|
9924
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9910
9925
|
}[];
|
|
9911
9926
|
}, {
|
|
9912
9927
|
components: {
|
|
@@ -9934,6 +9949,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9934
9949
|
nodeId?: string | undefined;
|
|
9935
9950
|
} | undefined;
|
|
9936
9951
|
parentComponentPersistentId?: string | undefined;
|
|
9952
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9937
9953
|
componentPropertyDefinitions?: Record<string, {
|
|
9938
9954
|
id: string;
|
|
9939
9955
|
type: "Boolean";
|
|
@@ -9956,7 +9972,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9956
9972
|
name: string;
|
|
9957
9973
|
defaultValue: string;
|
|
9958
9974
|
}> | undefined;
|
|
9959
|
-
|
|
9975
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9960
9976
|
}[];
|
|
9961
9977
|
}>;
|
|
9962
9978
|
type DTOFigmaComponentListResponse = z.infer<typeof DTOFigmaComponentListResponse>;
|
|
@@ -39963,6 +39979,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
39963
39979
|
isApprovalFeatureEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
39964
39980
|
approvalRequiredForPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
39965
39981
|
accessMode: z.ZodOptional<z.ZodEnum<["Open", "InviteOnly"]>>;
|
|
39982
|
+
membersGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
39966
39983
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
39967
39984
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
39968
39985
|
}, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl">, {
|
|
@@ -39996,6 +40013,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
39996
40013
|
isApprovalFeatureEnabled?: boolean | undefined;
|
|
39997
40014
|
approvalRequiredForPublishing?: boolean | undefined;
|
|
39998
40015
|
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
40016
|
+
membersGenerated?: boolean | undefined;
|
|
39999
40017
|
}, {
|
|
40000
40018
|
description?: string | undefined;
|
|
40001
40019
|
meta?: {
|
|
@@ -40016,6 +40034,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
40016
40034
|
isApprovalFeatureEnabled?: boolean | undefined;
|
|
40017
40035
|
approvalRequiredForPublishing?: boolean | undefined;
|
|
40018
40036
|
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
40037
|
+
membersGenerated?: boolean | undefined;
|
|
40019
40038
|
}>;
|
|
40020
40039
|
type DTODesignSystemUpdateInput = z.infer<typeof DTODesignSystemUpdateInput>;
|
|
40021
40040
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4859,6 +4859,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4859
4859
|
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
4860
4860
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
4861
4861
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
4862
|
+
membersGenerated: z.ZodBoolean;
|
|
4862
4863
|
createdAt: z.ZodDate;
|
|
4863
4864
|
updatedAt: z.ZodDate;
|
|
4864
4865
|
}, "description" | "name" | "docExporterId">, {
|
|
@@ -4893,6 +4894,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4893
4894
|
isApprovalFeatureEnabled: boolean;
|
|
4894
4895
|
approvalRequiredForPublishing: boolean;
|
|
4895
4896
|
accessMode: "Open" | "InviteOnly";
|
|
4897
|
+
membersGenerated: boolean;
|
|
4896
4898
|
docUserSlug?: string | undefined;
|
|
4897
4899
|
docViewUrl?: string | undefined;
|
|
4898
4900
|
designSystemSwitcher?: {
|
|
@@ -4918,6 +4920,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
4918
4920
|
isApprovalFeatureEnabled: boolean;
|
|
4919
4921
|
approvalRequiredForPublishing: boolean;
|
|
4920
4922
|
accessMode: "Open" | "InviteOnly";
|
|
4923
|
+
membersGenerated: boolean;
|
|
4921
4924
|
docUserSlug?: string | null | undefined;
|
|
4922
4925
|
docViewUrl?: string | null | undefined;
|
|
4923
4926
|
designSystemSwitcher?: {
|
|
@@ -4956,6 +4959,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
4956
4959
|
isApprovalFeatureEnabled: z.ZodBoolean;
|
|
4957
4960
|
approvalRequiredForPublishing: z.ZodBoolean;
|
|
4958
4961
|
accessMode: z.ZodEnum<["Open", "InviteOnly"]>;
|
|
4962
|
+
membersGenerated: z.ZodBoolean;
|
|
4959
4963
|
createdAt: z.ZodDate;
|
|
4960
4964
|
updatedAt: z.ZodDate;
|
|
4961
4965
|
}, "description" | "name" | "docExporterId">, {
|
|
@@ -4990,6 +4994,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
4990
4994
|
isApprovalFeatureEnabled: boolean;
|
|
4991
4995
|
approvalRequiredForPublishing: boolean;
|
|
4992
4996
|
accessMode: "Open" | "InviteOnly";
|
|
4997
|
+
membersGenerated: boolean;
|
|
4993
4998
|
docUserSlug?: string | undefined;
|
|
4994
4999
|
docViewUrl?: string | undefined;
|
|
4995
5000
|
designSystemSwitcher?: {
|
|
@@ -5015,6 +5020,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
5015
5020
|
isApprovalFeatureEnabled: boolean;
|
|
5016
5021
|
approvalRequiredForPublishing: boolean;
|
|
5017
5022
|
accessMode: "Open" | "InviteOnly";
|
|
5023
|
+
membersGenerated: boolean;
|
|
5018
5024
|
docUserSlug?: string | null | undefined;
|
|
5019
5025
|
docViewUrl?: string | null | undefined;
|
|
5020
5026
|
designSystemSwitcher?: {
|
|
@@ -5042,6 +5048,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
5042
5048
|
isApprovalFeatureEnabled: boolean;
|
|
5043
5049
|
approvalRequiredForPublishing: boolean;
|
|
5044
5050
|
accessMode: "Open" | "InviteOnly";
|
|
5051
|
+
membersGenerated: boolean;
|
|
5045
5052
|
docUserSlug?: string | undefined;
|
|
5046
5053
|
docViewUrl?: string | undefined;
|
|
5047
5054
|
designSystemSwitcher?: {
|
|
@@ -5069,6 +5076,7 @@ declare const DTODesignSystemCreateResponse: z.ZodObject<{
|
|
|
5069
5076
|
isApprovalFeatureEnabled: boolean;
|
|
5070
5077
|
approvalRequiredForPublishing: boolean;
|
|
5071
5078
|
accessMode: "Open" | "InviteOnly";
|
|
5079
|
+
membersGenerated: boolean;
|
|
5072
5080
|
docUserSlug?: string | null | undefined;
|
|
5073
5081
|
docViewUrl?: string | null | undefined;
|
|
5074
5082
|
designSystemSwitcher?: {
|
|
@@ -9472,6 +9480,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9472
9480
|
nodeId?: string | undefined;
|
|
9473
9481
|
}>>;
|
|
9474
9482
|
parentComponentPersistentId: z.ZodOptional<z.ZodString>;
|
|
9483
|
+
childrenPersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9475
9484
|
componentPropertyDefinitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
9476
9485
|
id: z.ZodString;
|
|
9477
9486
|
name: z.ZodString;
|
|
@@ -9541,7 +9550,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9541
9550
|
name: string;
|
|
9542
9551
|
defaultValue: string;
|
|
9543
9552
|
}>]>>>;
|
|
9544
|
-
|
|
9553
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9545
9554
|
}, "strip", z.ZodTypeAny, {
|
|
9546
9555
|
id: string;
|
|
9547
9556
|
persistentId: string;
|
|
@@ -9567,6 +9576,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9567
9576
|
nodeId?: string | undefined;
|
|
9568
9577
|
} | undefined;
|
|
9569
9578
|
parentComponentPersistentId?: string | undefined;
|
|
9579
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9570
9580
|
componentPropertyDefinitions?: Record<string, {
|
|
9571
9581
|
id: string;
|
|
9572
9582
|
type: "Boolean";
|
|
@@ -9589,7 +9599,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9589
9599
|
name: string;
|
|
9590
9600
|
defaultValue: string;
|
|
9591
9601
|
}> | undefined;
|
|
9592
|
-
|
|
9602
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9593
9603
|
}, {
|
|
9594
9604
|
id: string;
|
|
9595
9605
|
persistentId: string;
|
|
@@ -9615,6 +9625,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9615
9625
|
nodeId?: string | undefined;
|
|
9616
9626
|
} | undefined;
|
|
9617
9627
|
parentComponentPersistentId?: string | undefined;
|
|
9628
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9618
9629
|
componentPropertyDefinitions?: Record<string, {
|
|
9619
9630
|
id: string;
|
|
9620
9631
|
type: "Boolean";
|
|
@@ -9637,7 +9648,7 @@ declare const DTOFigmaComponent: z.ZodObject<{
|
|
|
9637
9648
|
name: string;
|
|
9638
9649
|
defaultValue: string;
|
|
9639
9650
|
}> | undefined;
|
|
9640
|
-
|
|
9651
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9641
9652
|
}>;
|
|
9642
9653
|
type DTOFigmaComponent = z.infer<typeof DTOFigmaComponent>;
|
|
9643
9654
|
declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
@@ -9691,6 +9702,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9691
9702
|
nodeId?: string | undefined;
|
|
9692
9703
|
}>>;
|
|
9693
9704
|
parentComponentPersistentId: z.ZodOptional<z.ZodString>;
|
|
9705
|
+
childrenPersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
9694
9706
|
componentPropertyDefinitions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
|
|
9695
9707
|
id: z.ZodString;
|
|
9696
9708
|
name: z.ZodString;
|
|
@@ -9760,7 +9772,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9760
9772
|
name: string;
|
|
9761
9773
|
defaultValue: string;
|
|
9762
9774
|
}>]>>>;
|
|
9763
|
-
|
|
9775
|
+
variantPropertyValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
9764
9776
|
}, "strip", z.ZodTypeAny, {
|
|
9765
9777
|
id: string;
|
|
9766
9778
|
persistentId: string;
|
|
@@ -9786,6 +9798,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9786
9798
|
nodeId?: string | undefined;
|
|
9787
9799
|
} | undefined;
|
|
9788
9800
|
parentComponentPersistentId?: string | undefined;
|
|
9801
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9789
9802
|
componentPropertyDefinitions?: Record<string, {
|
|
9790
9803
|
id: string;
|
|
9791
9804
|
type: "Boolean";
|
|
@@ -9808,7 +9821,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9808
9821
|
name: string;
|
|
9809
9822
|
defaultValue: string;
|
|
9810
9823
|
}> | undefined;
|
|
9811
|
-
|
|
9824
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9812
9825
|
}, {
|
|
9813
9826
|
id: string;
|
|
9814
9827
|
persistentId: string;
|
|
@@ -9834,6 +9847,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9834
9847
|
nodeId?: string | undefined;
|
|
9835
9848
|
} | undefined;
|
|
9836
9849
|
parentComponentPersistentId?: string | undefined;
|
|
9850
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9837
9851
|
componentPropertyDefinitions?: Record<string, {
|
|
9838
9852
|
id: string;
|
|
9839
9853
|
type: "Boolean";
|
|
@@ -9856,7 +9870,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9856
9870
|
name: string;
|
|
9857
9871
|
defaultValue: string;
|
|
9858
9872
|
}> | undefined;
|
|
9859
|
-
|
|
9873
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9860
9874
|
}>, "many">;
|
|
9861
9875
|
}, "strip", z.ZodTypeAny, {
|
|
9862
9876
|
components: {
|
|
@@ -9884,6 +9898,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9884
9898
|
nodeId?: string | undefined;
|
|
9885
9899
|
} | undefined;
|
|
9886
9900
|
parentComponentPersistentId?: string | undefined;
|
|
9901
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9887
9902
|
componentPropertyDefinitions?: Record<string, {
|
|
9888
9903
|
id: string;
|
|
9889
9904
|
type: "Boolean";
|
|
@@ -9906,7 +9921,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9906
9921
|
name: string;
|
|
9907
9922
|
defaultValue: string;
|
|
9908
9923
|
}> | undefined;
|
|
9909
|
-
|
|
9924
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9910
9925
|
}[];
|
|
9911
9926
|
}, {
|
|
9912
9927
|
components: {
|
|
@@ -9934,6 +9949,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9934
9949
|
nodeId?: string | undefined;
|
|
9935
9950
|
} | undefined;
|
|
9936
9951
|
parentComponentPersistentId?: string | undefined;
|
|
9952
|
+
childrenPersistentIds?: string[] | undefined;
|
|
9937
9953
|
componentPropertyDefinitions?: Record<string, {
|
|
9938
9954
|
id: string;
|
|
9939
9955
|
type: "Boolean";
|
|
@@ -9956,7 +9972,7 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
|
|
|
9956
9972
|
name: string;
|
|
9957
9973
|
defaultValue: string;
|
|
9958
9974
|
}> | undefined;
|
|
9959
|
-
|
|
9975
|
+
variantPropertyValues?: Record<string, string> | undefined;
|
|
9960
9976
|
}[];
|
|
9961
9977
|
}>;
|
|
9962
9978
|
type DTOFigmaComponentListResponse = z.infer<typeof DTOFigmaComponentListResponse>;
|
|
@@ -39963,6 +39979,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
39963
39979
|
isApprovalFeatureEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
39964
39980
|
approvalRequiredForPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
39965
39981
|
accessMode: z.ZodOptional<z.ZodEnum<["Open", "InviteOnly"]>>;
|
|
39982
|
+
membersGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
39966
39983
|
createdAt: z.ZodOptional<z.ZodDate>;
|
|
39967
39984
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
39968
39985
|
}, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl">, {
|
|
@@ -39996,6 +40013,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
39996
40013
|
isApprovalFeatureEnabled?: boolean | undefined;
|
|
39997
40014
|
approvalRequiredForPublishing?: boolean | undefined;
|
|
39998
40015
|
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
40016
|
+
membersGenerated?: boolean | undefined;
|
|
39999
40017
|
}, {
|
|
40000
40018
|
description?: string | undefined;
|
|
40001
40019
|
meta?: {
|
|
@@ -40016,6 +40034,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
|
|
|
40016
40034
|
isApprovalFeatureEnabled?: boolean | undefined;
|
|
40017
40035
|
approvalRequiredForPublishing?: boolean | undefined;
|
|
40018
40036
|
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
40037
|
+
membersGenerated?: boolean | undefined;
|
|
40019
40038
|
}>;
|
|
40020
40039
|
type DTODesignSystemUpdateInput = z.infer<typeof DTODesignSystemUpdateInput>;
|
|
40021
40040
|
|
package/dist/index.js
CHANGED
|
@@ -689,7 +689,8 @@ var ComponentElementData = _zod.z.object({
|
|
|
689
689
|
})
|
|
690
690
|
}).optional(),
|
|
691
691
|
parentComponentPersistentId: nullishToOptional(_zod.z.string()),
|
|
692
|
-
componentPropertyDefinitions: nullishToOptional(FigmaComponentPropertyMap)
|
|
692
|
+
componentPropertyDefinitions: nullishToOptional(FigmaComponentPropertyMap),
|
|
693
|
+
variantPropertyValues: nullishToOptional(_zod.z.record(_zod.z.string()))
|
|
693
694
|
})
|
|
694
695
|
});
|
|
695
696
|
var SupernovaException = class _SupernovaException extends Error {
|
|
@@ -2740,6 +2741,7 @@ var FigmaComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart
|
|
|
2740
2741
|
origin: FigmaComponentOrigin.optional(),
|
|
2741
2742
|
thumbnail: FigmaComponentAsset,
|
|
2742
2743
|
componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
|
|
2744
|
+
variantPropertyValues: _zod.z.record(_zod.z.string()).optional(),
|
|
2743
2745
|
svg: FigmaComponentAsset.optional(),
|
|
2744
2746
|
isAsset: _zod.z.boolean(),
|
|
2745
2747
|
parentComponentPersistentId: nullishToOptional(_zod.z.string())
|
|
@@ -3245,7 +3247,8 @@ var ImageImportModel = _zod.z.union([UrlImageImportModel, FigmaRenderImportModel
|
|
|
3245
3247
|
var FigmaComponentImportModelPart = _zod.z.object({
|
|
3246
3248
|
thumbnail: ImageImportModel,
|
|
3247
3249
|
parentComponentId: _zod.z.string().optional(),
|
|
3248
|
-
componentPropertyDefinitions: FigmaComponentPropertyMap.optional()
|
|
3250
|
+
componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
|
|
3251
|
+
variantPropertyValues: _zod.z.record(_zod.z.string()).optional()
|
|
3249
3252
|
});
|
|
3250
3253
|
var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
|
|
3251
3254
|
isAsset: _zod.z.boolean(),
|
|
@@ -3628,6 +3631,7 @@ var DesignSystem = _zod.z.object({
|
|
|
3628
3631
|
isApprovalFeatureEnabled: _zod.z.boolean(),
|
|
3629
3632
|
approvalRequiredForPublishing: _zod.z.boolean(),
|
|
3630
3633
|
accessMode: DesignSystemAccessMode,
|
|
3634
|
+
membersGenerated: _zod.z.boolean(),
|
|
3631
3635
|
createdAt: _zod.z.coerce.date(),
|
|
3632
3636
|
updatedAt: _zod.z.coerce.date()
|
|
3633
3637
|
});
|
|
@@ -5702,8 +5706,9 @@ var DTOFigmaComponent = _zod.z.object({
|
|
|
5702
5706
|
meta: ObjectMeta,
|
|
5703
5707
|
originComponent: FigmaComponentOrigin.optional(),
|
|
5704
5708
|
parentComponentPersistentId: _zod.z.string().optional(),
|
|
5709
|
+
childrenPersistentIds: _zod.z.string().array().optional(),
|
|
5705
5710
|
componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
|
|
5706
|
-
|
|
5711
|
+
variantPropertyValues: _zod.z.record(_zod.z.string()).optional()
|
|
5707
5712
|
});
|
|
5708
5713
|
var DTOFigmaComponentListResponse = _zod.z.object({
|
|
5709
5714
|
components: DTOFigmaComponent.array()
|