@supernova-studio/client 0.21.1 → 0.22.0
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 +495 -1
- package/dist/index.d.ts +495 -1
- package/dist/index.js +77 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +927 -860
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/elements/elements-action-v2.ts +7 -8
- package/src/api/dto/elements/figma-nodes/figma-node.ts +46 -0
- package/src/api/dto/elements/figma-nodes/index.ts +2 -0
- package/src/api/dto/elements/figma-nodes/node-actions-v2.ts +24 -0
- package/src/api/dto/elements/index.ts +1 -0
package/dist/index.d.mts
CHANGED
|
@@ -4690,6 +4690,324 @@ declare const DTODeleteDocumentationPageInputV2: z.ZodObject<{
|
|
|
4690
4690
|
}>;
|
|
4691
4691
|
type DTODeleteDocumentationPageInputV2 = z.infer<typeof DTODeleteDocumentationPageInputV2>;
|
|
4692
4692
|
|
|
4693
|
+
declare const DTOFigmaNodeActionOutput: z.ZodObject<{
|
|
4694
|
+
type: z.ZodLiteral<"FigmaNodeRender">;
|
|
4695
|
+
figmaNodes: z.ZodArray<z.ZodObject<{
|
|
4696
|
+
id: z.ZodString;
|
|
4697
|
+
createdAt: z.ZodDate;
|
|
4698
|
+
updatedAt: z.ZodDate;
|
|
4699
|
+
meta: z.ZodObject<{
|
|
4700
|
+
name: z.ZodString;
|
|
4701
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4702
|
+
}, "strip", z.ZodTypeAny, {
|
|
4703
|
+
name: string;
|
|
4704
|
+
description?: string | undefined;
|
|
4705
|
+
}, {
|
|
4706
|
+
name: string;
|
|
4707
|
+
description?: string | undefined;
|
|
4708
|
+
}>;
|
|
4709
|
+
persistentId: z.ZodString;
|
|
4710
|
+
designSystemVersionId: z.ZodString;
|
|
4711
|
+
origin: z.ZodObject<{
|
|
4712
|
+
sourceId: z.ZodString;
|
|
4713
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
4714
|
+
}, "strip", z.ZodTypeAny, {
|
|
4715
|
+
sourceId: string;
|
|
4716
|
+
fileId?: string | undefined;
|
|
4717
|
+
}, {
|
|
4718
|
+
sourceId: string;
|
|
4719
|
+
fileId?: string | undefined;
|
|
4720
|
+
}>;
|
|
4721
|
+
data: z.ZodObject<{
|
|
4722
|
+
figmaNodeId: z.ZodString;
|
|
4723
|
+
isValid: z.ZodBoolean;
|
|
4724
|
+
assetId: z.ZodString;
|
|
4725
|
+
assetUrl: z.ZodString;
|
|
4726
|
+
assetScale: z.ZodNumber;
|
|
4727
|
+
assetWidth: z.ZodOptional<z.ZodNumber>;
|
|
4728
|
+
assetHeight: z.ZodOptional<z.ZodNumber>;
|
|
4729
|
+
}, "strip", z.ZodTypeAny, {
|
|
4730
|
+
figmaNodeId: string;
|
|
4731
|
+
isValid: boolean;
|
|
4732
|
+
assetId: string;
|
|
4733
|
+
assetUrl: string;
|
|
4734
|
+
assetScale: number;
|
|
4735
|
+
assetWidth?: number | undefined;
|
|
4736
|
+
assetHeight?: number | undefined;
|
|
4737
|
+
}, {
|
|
4738
|
+
figmaNodeId: string;
|
|
4739
|
+
isValid: boolean;
|
|
4740
|
+
assetId: string;
|
|
4741
|
+
assetUrl: string;
|
|
4742
|
+
assetScale: number;
|
|
4743
|
+
assetWidth?: number | undefined;
|
|
4744
|
+
assetHeight?: number | undefined;
|
|
4745
|
+
}>;
|
|
4746
|
+
}, "strip", z.ZodTypeAny, {
|
|
4747
|
+
id: string;
|
|
4748
|
+
createdAt: Date;
|
|
4749
|
+
updatedAt: Date;
|
|
4750
|
+
meta: {
|
|
4751
|
+
name: string;
|
|
4752
|
+
description?: string | undefined;
|
|
4753
|
+
};
|
|
4754
|
+
persistentId: string;
|
|
4755
|
+
designSystemVersionId: string;
|
|
4756
|
+
data: {
|
|
4757
|
+
figmaNodeId: string;
|
|
4758
|
+
isValid: boolean;
|
|
4759
|
+
assetId: string;
|
|
4760
|
+
assetUrl: string;
|
|
4761
|
+
assetScale: number;
|
|
4762
|
+
assetWidth?: number | undefined;
|
|
4763
|
+
assetHeight?: number | undefined;
|
|
4764
|
+
};
|
|
4765
|
+
origin: {
|
|
4766
|
+
sourceId: string;
|
|
4767
|
+
fileId?: string | undefined;
|
|
4768
|
+
};
|
|
4769
|
+
}, {
|
|
4770
|
+
id: string;
|
|
4771
|
+
createdAt: Date;
|
|
4772
|
+
updatedAt: Date;
|
|
4773
|
+
meta: {
|
|
4774
|
+
name: string;
|
|
4775
|
+
description?: string | undefined;
|
|
4776
|
+
};
|
|
4777
|
+
persistentId: string;
|
|
4778
|
+
designSystemVersionId: string;
|
|
4779
|
+
data: {
|
|
4780
|
+
figmaNodeId: string;
|
|
4781
|
+
isValid: boolean;
|
|
4782
|
+
assetId: string;
|
|
4783
|
+
assetUrl: string;
|
|
4784
|
+
assetScale: number;
|
|
4785
|
+
assetWidth?: number | undefined;
|
|
4786
|
+
assetHeight?: number | undefined;
|
|
4787
|
+
};
|
|
4788
|
+
origin: {
|
|
4789
|
+
sourceId: string;
|
|
4790
|
+
fileId?: string | undefined;
|
|
4791
|
+
};
|
|
4792
|
+
}>, "many">;
|
|
4793
|
+
}, "strip", z.ZodTypeAny, {
|
|
4794
|
+
type: "FigmaNodeRender";
|
|
4795
|
+
figmaNodes: {
|
|
4796
|
+
id: string;
|
|
4797
|
+
createdAt: Date;
|
|
4798
|
+
updatedAt: Date;
|
|
4799
|
+
meta: {
|
|
4800
|
+
name: string;
|
|
4801
|
+
description?: string | undefined;
|
|
4802
|
+
};
|
|
4803
|
+
persistentId: string;
|
|
4804
|
+
designSystemVersionId: string;
|
|
4805
|
+
data: {
|
|
4806
|
+
figmaNodeId: string;
|
|
4807
|
+
isValid: boolean;
|
|
4808
|
+
assetId: string;
|
|
4809
|
+
assetUrl: string;
|
|
4810
|
+
assetScale: number;
|
|
4811
|
+
assetWidth?: number | undefined;
|
|
4812
|
+
assetHeight?: number | undefined;
|
|
4813
|
+
};
|
|
4814
|
+
origin: {
|
|
4815
|
+
sourceId: string;
|
|
4816
|
+
fileId?: string | undefined;
|
|
4817
|
+
};
|
|
4818
|
+
}[];
|
|
4819
|
+
}, {
|
|
4820
|
+
type: "FigmaNodeRender";
|
|
4821
|
+
figmaNodes: {
|
|
4822
|
+
id: string;
|
|
4823
|
+
createdAt: Date;
|
|
4824
|
+
updatedAt: Date;
|
|
4825
|
+
meta: {
|
|
4826
|
+
name: string;
|
|
4827
|
+
description?: string | undefined;
|
|
4828
|
+
};
|
|
4829
|
+
persistentId: string;
|
|
4830
|
+
designSystemVersionId: string;
|
|
4831
|
+
data: {
|
|
4832
|
+
figmaNodeId: string;
|
|
4833
|
+
isValid: boolean;
|
|
4834
|
+
assetId: string;
|
|
4835
|
+
assetUrl: string;
|
|
4836
|
+
assetScale: number;
|
|
4837
|
+
assetWidth?: number | undefined;
|
|
4838
|
+
assetHeight?: number | undefined;
|
|
4839
|
+
};
|
|
4840
|
+
origin: {
|
|
4841
|
+
sourceId: string;
|
|
4842
|
+
fileId?: string | undefined;
|
|
4843
|
+
};
|
|
4844
|
+
}[];
|
|
4845
|
+
}>;
|
|
4846
|
+
type DTOFigmaNodeActionOutput = z.infer<typeof DTOFigmaNodeActionOutput>;
|
|
4847
|
+
declare const DTOFigmaNodeActionInput: z.ZodObject<{
|
|
4848
|
+
type: z.ZodLiteral<"FigmaNodeRender">;
|
|
4849
|
+
input: z.ZodArray<z.ZodObject<{
|
|
4850
|
+
sourceId: z.ZodString;
|
|
4851
|
+
figmaFileNodeId: z.ZodString;
|
|
4852
|
+
}, "strip", z.ZodTypeAny, {
|
|
4853
|
+
sourceId: string;
|
|
4854
|
+
figmaFileNodeId: string;
|
|
4855
|
+
}, {
|
|
4856
|
+
sourceId: string;
|
|
4857
|
+
figmaFileNodeId: string;
|
|
4858
|
+
}>, "many">;
|
|
4859
|
+
}, "strip", z.ZodTypeAny, {
|
|
4860
|
+
type: "FigmaNodeRender";
|
|
4861
|
+
input: {
|
|
4862
|
+
sourceId: string;
|
|
4863
|
+
figmaFileNodeId: string;
|
|
4864
|
+
}[];
|
|
4865
|
+
}, {
|
|
4866
|
+
type: "FigmaNodeRender";
|
|
4867
|
+
input: {
|
|
4868
|
+
sourceId: string;
|
|
4869
|
+
figmaFileNodeId: string;
|
|
4870
|
+
}[];
|
|
4871
|
+
}>;
|
|
4872
|
+
type DTOFigmaNodeActionInput = z.infer<typeof DTOFigmaNodeActionInput>;
|
|
4873
|
+
|
|
4874
|
+
declare const DTOFigmaNodeData: z.ZodObject<{
|
|
4875
|
+
figmaNodeId: z.ZodString;
|
|
4876
|
+
isValid: z.ZodBoolean;
|
|
4877
|
+
assetId: z.ZodString;
|
|
4878
|
+
assetUrl: z.ZodString;
|
|
4879
|
+
assetScale: z.ZodNumber;
|
|
4880
|
+
assetWidth: z.ZodOptional<z.ZodNumber>;
|
|
4881
|
+
assetHeight: z.ZodOptional<z.ZodNumber>;
|
|
4882
|
+
}, "strip", z.ZodTypeAny, {
|
|
4883
|
+
figmaNodeId: string;
|
|
4884
|
+
isValid: boolean;
|
|
4885
|
+
assetId: string;
|
|
4886
|
+
assetUrl: string;
|
|
4887
|
+
assetScale: number;
|
|
4888
|
+
assetWidth?: number | undefined;
|
|
4889
|
+
assetHeight?: number | undefined;
|
|
4890
|
+
}, {
|
|
4891
|
+
figmaNodeId: string;
|
|
4892
|
+
isValid: boolean;
|
|
4893
|
+
assetId: string;
|
|
4894
|
+
assetUrl: string;
|
|
4895
|
+
assetScale: number;
|
|
4896
|
+
assetWidth?: number | undefined;
|
|
4897
|
+
assetHeight?: number | undefined;
|
|
4898
|
+
}>;
|
|
4899
|
+
type DTOFigmaNodeData = z.infer<typeof DTOFigmaNodeData>;
|
|
4900
|
+
declare const DTOFigmaNode: z.ZodObject<{
|
|
4901
|
+
id: z.ZodString;
|
|
4902
|
+
createdAt: z.ZodDate;
|
|
4903
|
+
updatedAt: z.ZodDate;
|
|
4904
|
+
meta: z.ZodObject<{
|
|
4905
|
+
name: z.ZodString;
|
|
4906
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4907
|
+
}, "strip", z.ZodTypeAny, {
|
|
4908
|
+
name: string;
|
|
4909
|
+
description?: string | undefined;
|
|
4910
|
+
}, {
|
|
4911
|
+
name: string;
|
|
4912
|
+
description?: string | undefined;
|
|
4913
|
+
}>;
|
|
4914
|
+
persistentId: z.ZodString;
|
|
4915
|
+
designSystemVersionId: z.ZodString;
|
|
4916
|
+
origin: z.ZodObject<{
|
|
4917
|
+
sourceId: z.ZodString;
|
|
4918
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
4919
|
+
}, "strip", z.ZodTypeAny, {
|
|
4920
|
+
sourceId: string;
|
|
4921
|
+
fileId?: string | undefined;
|
|
4922
|
+
}, {
|
|
4923
|
+
sourceId: string;
|
|
4924
|
+
fileId?: string | undefined;
|
|
4925
|
+
}>;
|
|
4926
|
+
data: z.ZodObject<{
|
|
4927
|
+
figmaNodeId: z.ZodString;
|
|
4928
|
+
isValid: z.ZodBoolean;
|
|
4929
|
+
assetId: z.ZodString;
|
|
4930
|
+
assetUrl: z.ZodString;
|
|
4931
|
+
assetScale: z.ZodNumber;
|
|
4932
|
+
assetWidth: z.ZodOptional<z.ZodNumber>;
|
|
4933
|
+
assetHeight: z.ZodOptional<z.ZodNumber>;
|
|
4934
|
+
}, "strip", z.ZodTypeAny, {
|
|
4935
|
+
figmaNodeId: string;
|
|
4936
|
+
isValid: boolean;
|
|
4937
|
+
assetId: string;
|
|
4938
|
+
assetUrl: string;
|
|
4939
|
+
assetScale: number;
|
|
4940
|
+
assetWidth?: number | undefined;
|
|
4941
|
+
assetHeight?: number | undefined;
|
|
4942
|
+
}, {
|
|
4943
|
+
figmaNodeId: string;
|
|
4944
|
+
isValid: boolean;
|
|
4945
|
+
assetId: string;
|
|
4946
|
+
assetUrl: string;
|
|
4947
|
+
assetScale: number;
|
|
4948
|
+
assetWidth?: number | undefined;
|
|
4949
|
+
assetHeight?: number | undefined;
|
|
4950
|
+
}>;
|
|
4951
|
+
}, "strip", z.ZodTypeAny, {
|
|
4952
|
+
id: string;
|
|
4953
|
+
createdAt: Date;
|
|
4954
|
+
updatedAt: Date;
|
|
4955
|
+
meta: {
|
|
4956
|
+
name: string;
|
|
4957
|
+
description?: string | undefined;
|
|
4958
|
+
};
|
|
4959
|
+
persistentId: string;
|
|
4960
|
+
designSystemVersionId: string;
|
|
4961
|
+
data: {
|
|
4962
|
+
figmaNodeId: string;
|
|
4963
|
+
isValid: boolean;
|
|
4964
|
+
assetId: string;
|
|
4965
|
+
assetUrl: string;
|
|
4966
|
+
assetScale: number;
|
|
4967
|
+
assetWidth?: number | undefined;
|
|
4968
|
+
assetHeight?: number | undefined;
|
|
4969
|
+
};
|
|
4970
|
+
origin: {
|
|
4971
|
+
sourceId: string;
|
|
4972
|
+
fileId?: string | undefined;
|
|
4973
|
+
};
|
|
4974
|
+
}, {
|
|
4975
|
+
id: string;
|
|
4976
|
+
createdAt: Date;
|
|
4977
|
+
updatedAt: Date;
|
|
4978
|
+
meta: {
|
|
4979
|
+
name: string;
|
|
4980
|
+
description?: string | undefined;
|
|
4981
|
+
};
|
|
4982
|
+
persistentId: string;
|
|
4983
|
+
designSystemVersionId: string;
|
|
4984
|
+
data: {
|
|
4985
|
+
figmaNodeId: string;
|
|
4986
|
+
isValid: boolean;
|
|
4987
|
+
assetId: string;
|
|
4988
|
+
assetUrl: string;
|
|
4989
|
+
assetScale: number;
|
|
4990
|
+
assetWidth?: number | undefined;
|
|
4991
|
+
assetHeight?: number | undefined;
|
|
4992
|
+
};
|
|
4993
|
+
origin: {
|
|
4994
|
+
sourceId: string;
|
|
4995
|
+
fileId?: string | undefined;
|
|
4996
|
+
};
|
|
4997
|
+
}>;
|
|
4998
|
+
type DTOFigmaNode = z.infer<typeof DTOFigmaNode>;
|
|
4999
|
+
declare const DTOFigmaNodeCreateInput: z.ZodObject<{
|
|
5000
|
+
sourceId: z.ZodString;
|
|
5001
|
+
figmaFileNodeId: z.ZodString;
|
|
5002
|
+
}, "strip", z.ZodTypeAny, {
|
|
5003
|
+
sourceId: string;
|
|
5004
|
+
figmaFileNodeId: string;
|
|
5005
|
+
}, {
|
|
5006
|
+
sourceId: string;
|
|
5007
|
+
figmaFileNodeId: string;
|
|
5008
|
+
}>;
|
|
5009
|
+
type DTOFigmaNodeCreateInput = z.infer<typeof DTOFigmaNodeCreateInput>;
|
|
5010
|
+
|
|
4693
5011
|
declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
4694
5012
|
type: z.ZodLiteral<"DocumentationPageCreate">;
|
|
4695
5013
|
output: z.ZodObject<{
|
|
@@ -4918,6 +5236,158 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
4918
5236
|
output: {
|
|
4919
5237
|
success: true;
|
|
4920
5238
|
};
|
|
5239
|
+
}>, z.ZodObject<{
|
|
5240
|
+
type: z.ZodLiteral<"FigmaNodeRender">;
|
|
5241
|
+
figmaNodes: z.ZodArray<z.ZodObject<{
|
|
5242
|
+
id: z.ZodString;
|
|
5243
|
+
createdAt: z.ZodDate;
|
|
5244
|
+
updatedAt: z.ZodDate;
|
|
5245
|
+
meta: z.ZodObject<{
|
|
5246
|
+
name: z.ZodString;
|
|
5247
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5248
|
+
}, "strip", z.ZodTypeAny, {
|
|
5249
|
+
name: string;
|
|
5250
|
+
description?: string | undefined;
|
|
5251
|
+
}, {
|
|
5252
|
+
name: string;
|
|
5253
|
+
description?: string | undefined;
|
|
5254
|
+
}>;
|
|
5255
|
+
persistentId: z.ZodString;
|
|
5256
|
+
designSystemVersionId: z.ZodString;
|
|
5257
|
+
origin: z.ZodObject<{
|
|
5258
|
+
sourceId: z.ZodString;
|
|
5259
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
5260
|
+
}, "strip", z.ZodTypeAny, {
|
|
5261
|
+
sourceId: string;
|
|
5262
|
+
fileId?: string | undefined;
|
|
5263
|
+
}, {
|
|
5264
|
+
sourceId: string;
|
|
5265
|
+
fileId?: string | undefined;
|
|
5266
|
+
}>;
|
|
5267
|
+
data: z.ZodObject<{
|
|
5268
|
+
figmaNodeId: z.ZodString;
|
|
5269
|
+
isValid: z.ZodBoolean;
|
|
5270
|
+
assetId: z.ZodString;
|
|
5271
|
+
assetUrl: z.ZodString;
|
|
5272
|
+
assetScale: z.ZodNumber;
|
|
5273
|
+
assetWidth: z.ZodOptional<z.ZodNumber>;
|
|
5274
|
+
assetHeight: z.ZodOptional<z.ZodNumber>;
|
|
5275
|
+
}, "strip", z.ZodTypeAny, {
|
|
5276
|
+
figmaNodeId: string;
|
|
5277
|
+
isValid: boolean;
|
|
5278
|
+
assetId: string;
|
|
5279
|
+
assetUrl: string;
|
|
5280
|
+
assetScale: number;
|
|
5281
|
+
assetWidth?: number | undefined;
|
|
5282
|
+
assetHeight?: number | undefined;
|
|
5283
|
+
}, {
|
|
5284
|
+
figmaNodeId: string;
|
|
5285
|
+
isValid: boolean;
|
|
5286
|
+
assetId: string;
|
|
5287
|
+
assetUrl: string;
|
|
5288
|
+
assetScale: number;
|
|
5289
|
+
assetWidth?: number | undefined;
|
|
5290
|
+
assetHeight?: number | undefined;
|
|
5291
|
+
}>;
|
|
5292
|
+
}, "strip", z.ZodTypeAny, {
|
|
5293
|
+
id: string;
|
|
5294
|
+
createdAt: Date;
|
|
5295
|
+
updatedAt: Date;
|
|
5296
|
+
meta: {
|
|
5297
|
+
name: string;
|
|
5298
|
+
description?: string | undefined;
|
|
5299
|
+
};
|
|
5300
|
+
persistentId: string;
|
|
5301
|
+
designSystemVersionId: string;
|
|
5302
|
+
data: {
|
|
5303
|
+
figmaNodeId: string;
|
|
5304
|
+
isValid: boolean;
|
|
5305
|
+
assetId: string;
|
|
5306
|
+
assetUrl: string;
|
|
5307
|
+
assetScale: number;
|
|
5308
|
+
assetWidth?: number | undefined;
|
|
5309
|
+
assetHeight?: number | undefined;
|
|
5310
|
+
};
|
|
5311
|
+
origin: {
|
|
5312
|
+
sourceId: string;
|
|
5313
|
+
fileId?: string | undefined;
|
|
5314
|
+
};
|
|
5315
|
+
}, {
|
|
5316
|
+
id: string;
|
|
5317
|
+
createdAt: Date;
|
|
5318
|
+
updatedAt: Date;
|
|
5319
|
+
meta: {
|
|
5320
|
+
name: string;
|
|
5321
|
+
description?: string | undefined;
|
|
5322
|
+
};
|
|
5323
|
+
persistentId: string;
|
|
5324
|
+
designSystemVersionId: string;
|
|
5325
|
+
data: {
|
|
5326
|
+
figmaNodeId: string;
|
|
5327
|
+
isValid: boolean;
|
|
5328
|
+
assetId: string;
|
|
5329
|
+
assetUrl: string;
|
|
5330
|
+
assetScale: number;
|
|
5331
|
+
assetWidth?: number | undefined;
|
|
5332
|
+
assetHeight?: number | undefined;
|
|
5333
|
+
};
|
|
5334
|
+
origin: {
|
|
5335
|
+
sourceId: string;
|
|
5336
|
+
fileId?: string | undefined;
|
|
5337
|
+
};
|
|
5338
|
+
}>, "many">;
|
|
5339
|
+
}, "strip", z.ZodTypeAny, {
|
|
5340
|
+
type: "FigmaNodeRender";
|
|
5341
|
+
figmaNodes: {
|
|
5342
|
+
id: string;
|
|
5343
|
+
createdAt: Date;
|
|
5344
|
+
updatedAt: Date;
|
|
5345
|
+
meta: {
|
|
5346
|
+
name: string;
|
|
5347
|
+
description?: string | undefined;
|
|
5348
|
+
};
|
|
5349
|
+
persistentId: string;
|
|
5350
|
+
designSystemVersionId: string;
|
|
5351
|
+
data: {
|
|
5352
|
+
figmaNodeId: string;
|
|
5353
|
+
isValid: boolean;
|
|
5354
|
+
assetId: string;
|
|
5355
|
+
assetUrl: string;
|
|
5356
|
+
assetScale: number;
|
|
5357
|
+
assetWidth?: number | undefined;
|
|
5358
|
+
assetHeight?: number | undefined;
|
|
5359
|
+
};
|
|
5360
|
+
origin: {
|
|
5361
|
+
sourceId: string;
|
|
5362
|
+
fileId?: string | undefined;
|
|
5363
|
+
};
|
|
5364
|
+
}[];
|
|
5365
|
+
}, {
|
|
5366
|
+
type: "FigmaNodeRender";
|
|
5367
|
+
figmaNodes: {
|
|
5368
|
+
id: string;
|
|
5369
|
+
createdAt: Date;
|
|
5370
|
+
updatedAt: Date;
|
|
5371
|
+
meta: {
|
|
5372
|
+
name: string;
|
|
5373
|
+
description?: string | undefined;
|
|
5374
|
+
};
|
|
5375
|
+
persistentId: string;
|
|
5376
|
+
designSystemVersionId: string;
|
|
5377
|
+
data: {
|
|
5378
|
+
figmaNodeId: string;
|
|
5379
|
+
isValid: boolean;
|
|
5380
|
+
assetId: string;
|
|
5381
|
+
assetUrl: string;
|
|
5382
|
+
assetScale: number;
|
|
5383
|
+
assetWidth?: number | undefined;
|
|
5384
|
+
assetHeight?: number | undefined;
|
|
5385
|
+
};
|
|
5386
|
+
origin: {
|
|
5387
|
+
sourceId: string;
|
|
5388
|
+
fileId?: string | undefined;
|
|
5389
|
+
};
|
|
5390
|
+
}[];
|
|
4921
5391
|
}>]>;
|
|
4922
5392
|
type DTOElementActionOutput = z.infer<typeof DTOElementActionOutput>;
|
|
4923
5393
|
declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
@@ -6469,6 +6939,30 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
|
|
|
6469
6939
|
input: {
|
|
6470
6940
|
id: string;
|
|
6471
6941
|
};
|
|
6942
|
+
}>, z.ZodObject<{
|
|
6943
|
+
type: z.ZodLiteral<"FigmaNodeRender">;
|
|
6944
|
+
input: z.ZodArray<z.ZodObject<{
|
|
6945
|
+
sourceId: z.ZodString;
|
|
6946
|
+
figmaFileNodeId: z.ZodString;
|
|
6947
|
+
}, "strip", z.ZodTypeAny, {
|
|
6948
|
+
sourceId: string;
|
|
6949
|
+
figmaFileNodeId: string;
|
|
6950
|
+
}, {
|
|
6951
|
+
sourceId: string;
|
|
6952
|
+
figmaFileNodeId: string;
|
|
6953
|
+
}>, "many">;
|
|
6954
|
+
}, "strip", z.ZodTypeAny, {
|
|
6955
|
+
type: "FigmaNodeRender";
|
|
6956
|
+
input: {
|
|
6957
|
+
sourceId: string;
|
|
6958
|
+
figmaFileNodeId: string;
|
|
6959
|
+
}[];
|
|
6960
|
+
}, {
|
|
6961
|
+
type: "FigmaNodeRender";
|
|
6962
|
+
input: {
|
|
6963
|
+
sourceId: string;
|
|
6964
|
+
figmaFileNodeId: string;
|
|
6965
|
+
}[];
|
|
6472
6966
|
}>]>;
|
|
6473
6967
|
type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
|
|
6474
6968
|
|
|
@@ -8167,4 +8661,4 @@ declare const BlockDefinitionUtils: {
|
|
|
8167
8661
|
};
|
|
8168
8662
|
};
|
|
8169
8663
|
|
|
8170
|
-
export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
|
8664
|
+
export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOFigmaNode, DTOFigmaNodeActionInput, DTOFigmaNodeActionOutput, DTOFigmaNodeCreateInput, DTOFigmaNodeData, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|