@supernova-studio/model 0.47.8 → 0.47.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 +87 -73
- package/dist/index.d.ts +87 -73
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/data-sources/data-source.ts +3 -2
- package/src/utils/errors.ts +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -2652,7 +2652,7 @@ declare const ContentLoaderPayload: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
2652
2652
|
}>]>;
|
|
2653
2653
|
type ContentLoaderPayload = z.infer<typeof ContentLoaderPayload>;
|
|
2654
2654
|
|
|
2655
|
-
type SupernovaExceptionType = "AccessDenied" | "ResourceNotFound" | "WrongFormat" | "TooMuchWork" | "Timeout" | "Conflict" | "NotImplemented" | "BadRequest" | "WrongActionOrder" | "InvalidOperation" | "UnexpectedError" | "IPRestricted" | "PlanRestricted" | "MissingWorkspacePermission" | "MissingExporterPermission" | "NoAccess" | "MissingCredentials" | "ValidationError";
|
|
2655
|
+
type SupernovaExceptionType = "AccessDenied" | "ResourceNotFound" | "WrongFormat" | "TooMuchWork" | "Timeout" | "Conflict" | "NotImplemented" | "BadRequest" | "WrongActionOrder" | "InvalidOperation" | "UnexpectedError" | "IPRestricted" | "PlanRestricted" | "MissingWorkspacePermission" | "MissingExporterPermission" | "MissingIntegration" | "NoAccess" | "MissingCredentials" | "ValidationError";
|
|
2656
2656
|
declare class SupernovaException extends Error {
|
|
2657
2657
|
readonly type: SupernovaExceptionType;
|
|
2658
2658
|
static wrongFormat(message?: string): SupernovaException;
|
|
@@ -3178,6 +3178,7 @@ type DataSourceFigmaImportMetadata = z.infer<typeof DataSourceFigmaImportMetadat
|
|
|
3178
3178
|
declare const DataSourceFigmaRemote: z.ZodObject<{
|
|
3179
3179
|
type: z.ZodLiteral<"Figma">;
|
|
3180
3180
|
fileId: z.ZodString;
|
|
3181
|
+
preferredCredentialId: z.ZodOptional<z.ZodString>;
|
|
3181
3182
|
ownerId: z.ZodString;
|
|
3182
3183
|
ownerName: z.ZodString;
|
|
3183
3184
|
scope: z.ZodObject<{
|
|
@@ -3254,7 +3255,7 @@ declare const DataSourceFigmaRemote: z.ZodObject<{
|
|
|
3254
3255
|
maxFileDepth: z.ZodOptional<z.ZodNumber>;
|
|
3255
3256
|
}, "strip", z.ZodTypeAny, {
|
|
3256
3257
|
type: "Figma";
|
|
3257
|
-
state: "
|
|
3258
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
3258
3259
|
scope: {
|
|
3259
3260
|
assets: boolean;
|
|
3260
3261
|
components: boolean;
|
|
@@ -3267,6 +3268,7 @@ declare const DataSourceFigmaRemote: z.ZodObject<{
|
|
|
3267
3268
|
ownerId: string;
|
|
3268
3269
|
ownerName: string;
|
|
3269
3270
|
requiresSync: boolean;
|
|
3271
|
+
preferredCredentialId?: string | undefined;
|
|
3270
3272
|
lastImportMetadata?: {
|
|
3271
3273
|
fileData?: {
|
|
3272
3274
|
lastUpdatedAt: Date;
|
|
@@ -3283,7 +3285,7 @@ declare const DataSourceFigmaRemote: z.ZodObject<{
|
|
|
3283
3285
|
maxFileDepth?: number | undefined;
|
|
3284
3286
|
}, {
|
|
3285
3287
|
type: "Figma";
|
|
3286
|
-
state: "
|
|
3288
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
3287
3289
|
scope: {
|
|
3288
3290
|
assets: boolean;
|
|
3289
3291
|
components: boolean;
|
|
@@ -3295,6 +3297,7 @@ declare const DataSourceFigmaRemote: z.ZodObject<{
|
|
|
3295
3297
|
fileId: string;
|
|
3296
3298
|
ownerId: string;
|
|
3297
3299
|
ownerName: string;
|
|
3300
|
+
preferredCredentialId?: string | undefined;
|
|
3298
3301
|
requiresSync?: boolean | undefined;
|
|
3299
3302
|
lastImportMetadata?: {
|
|
3300
3303
|
fileData?: {
|
|
@@ -3373,6 +3376,7 @@ type DataSourceVersion = z.infer<typeof DataSourceVersion>;
|
|
|
3373
3376
|
declare const DataSourceRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
3374
3377
|
type: z.ZodLiteral<"Figma">;
|
|
3375
3378
|
fileId: z.ZodString;
|
|
3379
|
+
preferredCredentialId: z.ZodOptional<z.ZodString>;
|
|
3376
3380
|
ownerId: z.ZodString;
|
|
3377
3381
|
ownerName: z.ZodString;
|
|
3378
3382
|
scope: z.ZodObject<{
|
|
@@ -3449,7 +3453,7 @@ declare const DataSourceRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3449
3453
|
maxFileDepth: z.ZodOptional<z.ZodNumber>;
|
|
3450
3454
|
}, "strip", z.ZodTypeAny, {
|
|
3451
3455
|
type: "Figma";
|
|
3452
|
-
state: "
|
|
3456
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
3453
3457
|
scope: {
|
|
3454
3458
|
assets: boolean;
|
|
3455
3459
|
components: boolean;
|
|
@@ -3462,6 +3466,7 @@ declare const DataSourceRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3462
3466
|
ownerId: string;
|
|
3463
3467
|
ownerName: string;
|
|
3464
3468
|
requiresSync: boolean;
|
|
3469
|
+
preferredCredentialId?: string | undefined;
|
|
3465
3470
|
lastImportMetadata?: {
|
|
3466
3471
|
fileData?: {
|
|
3467
3472
|
lastUpdatedAt: Date;
|
|
@@ -3478,7 +3483,7 @@ declare const DataSourceRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3478
3483
|
maxFileDepth?: number | undefined;
|
|
3479
3484
|
}, {
|
|
3480
3485
|
type: "Figma";
|
|
3481
|
-
state: "
|
|
3486
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
3482
3487
|
scope: {
|
|
3483
3488
|
assets: boolean;
|
|
3484
3489
|
components: boolean;
|
|
@@ -3490,6 +3495,7 @@ declare const DataSourceRemote: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3490
3495
|
fileId: string;
|
|
3491
3496
|
ownerId: string;
|
|
3492
3497
|
ownerName: string;
|
|
3498
|
+
preferredCredentialId?: string | undefined;
|
|
3493
3499
|
requiresSync?: boolean | undefined;
|
|
3494
3500
|
lastImportMetadata?: {
|
|
3495
3501
|
fileData?: {
|
|
@@ -42785,6 +42791,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42785
42791
|
figmaRemote: z.ZodObject<{
|
|
42786
42792
|
type: z.ZodLiteral<"Figma">;
|
|
42787
42793
|
fileId: z.ZodString;
|
|
42794
|
+
preferredCredentialId: z.ZodOptional<z.ZodString>;
|
|
42788
42795
|
ownerId: z.ZodString;
|
|
42789
42796
|
ownerName: z.ZodString;
|
|
42790
42797
|
scope: z.ZodObject<{
|
|
@@ -42809,12 +42816,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42809
42816
|
isUnpublishedImportFallbackEnabled: boolean;
|
|
42810
42817
|
themePersistentId?: string | undefined;
|
|
42811
42818
|
}>;
|
|
42812
|
-
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
42813
|
-
* Describes what to download from each file, this should contain all file id mentioned in
|
|
42814
|
-
* importMetadataBySourceId.
|
|
42815
|
-
*
|
|
42816
|
-
* File id -> file download scope
|
|
42817
|
-
*/
|
|
42819
|
+
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
42818
42820
|
requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
|
|
42819
42821
|
lastImportMetadata: z.ZodOptional<z.ZodObject<{
|
|
42820
42822
|
fileData: z.ZodOptional<z.ZodObject<{
|
|
@@ -42866,7 +42868,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42866
42868
|
maxFileDepth: z.ZodOptional<z.ZodNumber>;
|
|
42867
42869
|
}, "strip", z.ZodTypeAny, {
|
|
42868
42870
|
type: "Figma";
|
|
42869
|
-
state: "
|
|
42871
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
42870
42872
|
scope: {
|
|
42871
42873
|
assets: boolean;
|
|
42872
42874
|
components: boolean;
|
|
@@ -42879,6 +42881,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42879
42881
|
ownerId: string;
|
|
42880
42882
|
ownerName: string;
|
|
42881
42883
|
requiresSync: boolean;
|
|
42884
|
+
preferredCredentialId?: string | undefined;
|
|
42882
42885
|
lastImportMetadata?: {
|
|
42883
42886
|
fileData?: {
|
|
42884
42887
|
lastUpdatedAt: Date;
|
|
@@ -42895,7 +42898,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42895
42898
|
maxFileDepth?: number | undefined;
|
|
42896
42899
|
}, {
|
|
42897
42900
|
type: "Figma";
|
|
42898
|
-
state: "
|
|
42901
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
42899
42902
|
scope: {
|
|
42900
42903
|
assets: boolean;
|
|
42901
42904
|
components: boolean;
|
|
@@ -42907,6 +42910,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42907
42910
|
fileId: string;
|
|
42908
42911
|
ownerId: string;
|
|
42909
42912
|
ownerName: string;
|
|
42913
|
+
preferredCredentialId?: string | undefined;
|
|
42910
42914
|
requiresSync?: boolean | undefined;
|
|
42911
42915
|
lastImportMetadata?: {
|
|
42912
42916
|
fileData?: {
|
|
@@ -42927,7 +42931,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42927
42931
|
sourceId: string;
|
|
42928
42932
|
figmaRemote: {
|
|
42929
42933
|
type: "Figma";
|
|
42930
|
-
state: "
|
|
42934
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
42931
42935
|
scope: {
|
|
42932
42936
|
assets: boolean;
|
|
42933
42937
|
components: boolean;
|
|
@@ -42940,6 +42944,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42940
42944
|
ownerId: string;
|
|
42941
42945
|
ownerName: string;
|
|
42942
42946
|
requiresSync: boolean;
|
|
42947
|
+
preferredCredentialId?: string | undefined;
|
|
42943
42948
|
lastImportMetadata?: {
|
|
42944
42949
|
fileData?: {
|
|
42945
42950
|
lastUpdatedAt: Date;
|
|
@@ -42959,7 +42964,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42959
42964
|
sourceId: string;
|
|
42960
42965
|
figmaRemote: {
|
|
42961
42966
|
type: "Figma";
|
|
42962
|
-
state: "
|
|
42967
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
42963
42968
|
scope: {
|
|
42964
42969
|
assets: boolean;
|
|
42965
42970
|
components: boolean;
|
|
@@ -42971,6 +42976,7 @@ declare const ImportedFigmaSourceData: z.ZodObject<{
|
|
|
42971
42976
|
fileId: string;
|
|
42972
42977
|
ownerId: string;
|
|
42973
42978
|
ownerName: string;
|
|
42979
|
+
preferredCredentialId?: string | undefined;
|
|
42974
42980
|
requiresSync?: boolean | undefined;
|
|
42975
42981
|
lastImportMetadata?: {
|
|
42976
42982
|
fileData?: {
|
|
@@ -43014,6 +43020,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43014
43020
|
figmaRemote: z.ZodObject<{
|
|
43015
43021
|
type: z.ZodLiteral<"Figma">;
|
|
43016
43022
|
fileId: z.ZodString;
|
|
43023
|
+
preferredCredentialId: z.ZodOptional<z.ZodString>;
|
|
43017
43024
|
ownerId: z.ZodString;
|
|
43018
43025
|
ownerName: z.ZodString;
|
|
43019
43026
|
scope: z.ZodObject<{
|
|
@@ -43038,12 +43045,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43038
43045
|
isUnpublishedImportFallbackEnabled: boolean;
|
|
43039
43046
|
themePersistentId?: string | undefined;
|
|
43040
43047
|
}>;
|
|
43041
|
-
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
43042
|
-
* Describes what to download from each file, this should contain all file id mentioned in
|
|
43043
|
-
* importMetadataBySourceId.
|
|
43044
|
-
*
|
|
43045
|
-
* File id -> file download scope
|
|
43046
|
-
*/
|
|
43048
|
+
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
43047
43049
|
requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
|
|
43048
43050
|
lastImportMetadata: z.ZodOptional<z.ZodObject<{
|
|
43049
43051
|
fileData: z.ZodOptional<z.ZodObject<{
|
|
@@ -43095,7 +43097,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43095
43097
|
maxFileDepth: z.ZodOptional<z.ZodNumber>;
|
|
43096
43098
|
}, "strip", z.ZodTypeAny, {
|
|
43097
43099
|
type: "Figma";
|
|
43098
|
-
state: "
|
|
43100
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43099
43101
|
scope: {
|
|
43100
43102
|
assets: boolean;
|
|
43101
43103
|
components: boolean;
|
|
@@ -43108,6 +43110,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43108
43110
|
ownerId: string;
|
|
43109
43111
|
ownerName: string;
|
|
43110
43112
|
requiresSync: boolean;
|
|
43113
|
+
preferredCredentialId?: string | undefined;
|
|
43111
43114
|
lastImportMetadata?: {
|
|
43112
43115
|
fileData?: {
|
|
43113
43116
|
lastUpdatedAt: Date;
|
|
@@ -43124,7 +43127,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43124
43127
|
maxFileDepth?: number | undefined;
|
|
43125
43128
|
}, {
|
|
43126
43129
|
type: "Figma";
|
|
43127
|
-
state: "
|
|
43130
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43128
43131
|
scope: {
|
|
43129
43132
|
assets: boolean;
|
|
43130
43133
|
components: boolean;
|
|
@@ -43136,6 +43139,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43136
43139
|
fileId: string;
|
|
43137
43140
|
ownerId: string;
|
|
43138
43141
|
ownerName: string;
|
|
43142
|
+
preferredCredentialId?: string | undefined;
|
|
43139
43143
|
requiresSync?: boolean | undefined;
|
|
43140
43144
|
lastImportMetadata?: {
|
|
43141
43145
|
fileData?: {
|
|
@@ -43156,7 +43160,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43156
43160
|
sourceId: string;
|
|
43157
43161
|
figmaRemote: {
|
|
43158
43162
|
type: "Figma";
|
|
43159
|
-
state: "
|
|
43163
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43160
43164
|
scope: {
|
|
43161
43165
|
assets: boolean;
|
|
43162
43166
|
components: boolean;
|
|
@@ -43169,6 +43173,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43169
43173
|
ownerId: string;
|
|
43170
43174
|
ownerName: string;
|
|
43171
43175
|
requiresSync: boolean;
|
|
43176
|
+
preferredCredentialId?: string | undefined;
|
|
43172
43177
|
lastImportMetadata?: {
|
|
43173
43178
|
fileData?: {
|
|
43174
43179
|
lastUpdatedAt: Date;
|
|
@@ -43188,7 +43193,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43188
43193
|
sourceId: string;
|
|
43189
43194
|
figmaRemote: {
|
|
43190
43195
|
type: "Figma";
|
|
43191
|
-
state: "
|
|
43196
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43192
43197
|
scope: {
|
|
43193
43198
|
assets: boolean;
|
|
43194
43199
|
components: boolean;
|
|
@@ -43200,6 +43205,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43200
43205
|
fileId: string;
|
|
43201
43206
|
ownerId: string;
|
|
43202
43207
|
ownerName: string;
|
|
43208
|
+
preferredCredentialId?: string | undefined;
|
|
43203
43209
|
requiresSync?: boolean | undefined;
|
|
43204
43210
|
lastImportMetadata?: {
|
|
43205
43211
|
fileData?: {
|
|
@@ -43252,7 +43258,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43252
43258
|
sourceId: string;
|
|
43253
43259
|
figmaRemote: {
|
|
43254
43260
|
type: "Figma";
|
|
43255
|
-
state: "
|
|
43261
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43256
43262
|
scope: {
|
|
43257
43263
|
assets: boolean;
|
|
43258
43264
|
components: boolean;
|
|
@@ -43265,6 +43271,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43265
43271
|
ownerId: string;
|
|
43266
43272
|
ownerName: string;
|
|
43267
43273
|
requiresSync: boolean;
|
|
43274
|
+
preferredCredentialId?: string | undefined;
|
|
43268
43275
|
lastImportMetadata?: {
|
|
43269
43276
|
fileData?: {
|
|
43270
43277
|
lastUpdatedAt: Date;
|
|
@@ -43298,7 +43305,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43298
43305
|
sourceId: string;
|
|
43299
43306
|
figmaRemote: {
|
|
43300
43307
|
type: "Figma";
|
|
43301
|
-
state: "
|
|
43308
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43302
43309
|
scope: {
|
|
43303
43310
|
assets: boolean;
|
|
43304
43311
|
components: boolean;
|
|
@@ -43310,6 +43317,7 @@ declare const FigmaImportBaseContext: z.ZodObject<{
|
|
|
43310
43317
|
fileId: string;
|
|
43311
43318
|
ownerId: string;
|
|
43312
43319
|
ownerName: string;
|
|
43320
|
+
preferredCredentialId?: string | undefined;
|
|
43313
43321
|
requiresSync?: boolean | undefined;
|
|
43314
43322
|
lastImportMetadata?: {
|
|
43315
43323
|
fileData?: {
|
|
@@ -43351,6 +43359,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43351
43359
|
figmaRemote: z.ZodObject<{
|
|
43352
43360
|
type: z.ZodLiteral<"Figma">;
|
|
43353
43361
|
fileId: z.ZodString;
|
|
43362
|
+
preferredCredentialId: z.ZodOptional<z.ZodString>;
|
|
43354
43363
|
ownerId: z.ZodString;
|
|
43355
43364
|
ownerName: z.ZodString;
|
|
43356
43365
|
scope: z.ZodObject<{
|
|
@@ -43375,12 +43384,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43375
43384
|
isUnpublishedImportFallbackEnabled: boolean;
|
|
43376
43385
|
themePersistentId?: string | undefined;
|
|
43377
43386
|
}>;
|
|
43378
|
-
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
43379
|
-
* Describes what to download from each file, this should contain all file id mentioned in
|
|
43380
|
-
* importMetadataBySourceId.
|
|
43381
|
-
*
|
|
43382
|
-
* File id -> file download scope
|
|
43383
|
-
*/
|
|
43387
|
+
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
43384
43388
|
requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
|
|
43385
43389
|
lastImportMetadata: z.ZodOptional<z.ZodObject<{
|
|
43386
43390
|
fileData: z.ZodOptional<z.ZodObject<{
|
|
@@ -43432,7 +43436,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43432
43436
|
maxFileDepth: z.ZodOptional<z.ZodNumber>;
|
|
43433
43437
|
}, "strip", z.ZodTypeAny, {
|
|
43434
43438
|
type: "Figma";
|
|
43435
|
-
state: "
|
|
43439
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43436
43440
|
scope: {
|
|
43437
43441
|
assets: boolean;
|
|
43438
43442
|
components: boolean;
|
|
@@ -43445,6 +43449,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43445
43449
|
ownerId: string;
|
|
43446
43450
|
ownerName: string;
|
|
43447
43451
|
requiresSync: boolean;
|
|
43452
|
+
preferredCredentialId?: string | undefined;
|
|
43448
43453
|
lastImportMetadata?: {
|
|
43449
43454
|
fileData?: {
|
|
43450
43455
|
lastUpdatedAt: Date;
|
|
@@ -43461,7 +43466,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43461
43466
|
maxFileDepth?: number | undefined;
|
|
43462
43467
|
}, {
|
|
43463
43468
|
type: "Figma";
|
|
43464
|
-
state: "
|
|
43469
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43465
43470
|
scope: {
|
|
43466
43471
|
assets: boolean;
|
|
43467
43472
|
components: boolean;
|
|
@@ -43473,6 +43478,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43473
43478
|
fileId: string;
|
|
43474
43479
|
ownerId: string;
|
|
43475
43480
|
ownerName: string;
|
|
43481
|
+
preferredCredentialId?: string | undefined;
|
|
43476
43482
|
requiresSync?: boolean | undefined;
|
|
43477
43483
|
lastImportMetadata?: {
|
|
43478
43484
|
fileData?: {
|
|
@@ -43493,7 +43499,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43493
43499
|
sourceId: string;
|
|
43494
43500
|
figmaRemote: {
|
|
43495
43501
|
type: "Figma";
|
|
43496
|
-
state: "
|
|
43502
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43497
43503
|
scope: {
|
|
43498
43504
|
assets: boolean;
|
|
43499
43505
|
components: boolean;
|
|
@@ -43506,6 +43512,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43506
43512
|
ownerId: string;
|
|
43507
43513
|
ownerName: string;
|
|
43508
43514
|
requiresSync: boolean;
|
|
43515
|
+
preferredCredentialId?: string | undefined;
|
|
43509
43516
|
lastImportMetadata?: {
|
|
43510
43517
|
fileData?: {
|
|
43511
43518
|
lastUpdatedAt: Date;
|
|
@@ -43525,7 +43532,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43525
43532
|
sourceId: string;
|
|
43526
43533
|
figmaRemote: {
|
|
43527
43534
|
type: "Figma";
|
|
43528
|
-
state: "
|
|
43535
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43529
43536
|
scope: {
|
|
43530
43537
|
assets: boolean;
|
|
43531
43538
|
components: boolean;
|
|
@@ -43537,6 +43544,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43537
43544
|
fileId: string;
|
|
43538
43545
|
ownerId: string;
|
|
43539
43546
|
ownerName: string;
|
|
43547
|
+
preferredCredentialId?: string | undefined;
|
|
43540
43548
|
requiresSync?: boolean | undefined;
|
|
43541
43549
|
lastImportMetadata?: {
|
|
43542
43550
|
fileData?: {
|
|
@@ -43587,7 +43595,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43587
43595
|
sourceId: string;
|
|
43588
43596
|
figmaRemote: {
|
|
43589
43597
|
type: "Figma";
|
|
43590
|
-
state: "
|
|
43598
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43591
43599
|
scope: {
|
|
43592
43600
|
assets: boolean;
|
|
43593
43601
|
components: boolean;
|
|
@@ -43600,6 +43608,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43600
43608
|
ownerId: string;
|
|
43601
43609
|
ownerName: string;
|
|
43602
43610
|
requiresSync: boolean;
|
|
43611
|
+
preferredCredentialId?: string | undefined;
|
|
43603
43612
|
lastImportMetadata?: {
|
|
43604
43613
|
fileData?: {
|
|
43605
43614
|
lastUpdatedAt: Date;
|
|
@@ -43635,7 +43644,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43635
43644
|
sourceId: string;
|
|
43636
43645
|
figmaRemote: {
|
|
43637
43646
|
type: "Figma";
|
|
43638
|
-
state: "
|
|
43647
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43639
43648
|
scope: {
|
|
43640
43649
|
assets: boolean;
|
|
43641
43650
|
components: boolean;
|
|
@@ -43647,6 +43656,7 @@ declare const FigmaImportContextWithSourcesState: z.ZodObject<{
|
|
|
43647
43656
|
fileId: string;
|
|
43648
43657
|
ownerId: string;
|
|
43649
43658
|
ownerName: string;
|
|
43659
|
+
preferredCredentialId?: string | undefined;
|
|
43650
43660
|
requiresSync?: boolean | undefined;
|
|
43651
43661
|
lastImportMetadata?: {
|
|
43652
43662
|
fileData?: {
|
|
@@ -43681,6 +43691,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43681
43691
|
figmaRemote: z.ZodObject<{
|
|
43682
43692
|
type: z.ZodLiteral<"Figma">;
|
|
43683
43693
|
fileId: z.ZodString;
|
|
43694
|
+
preferredCredentialId: z.ZodOptional<z.ZodString>;
|
|
43684
43695
|
ownerId: z.ZodString;
|
|
43685
43696
|
ownerName: z.ZodString;
|
|
43686
43697
|
scope: z.ZodObject<{
|
|
@@ -43705,12 +43716,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43705
43716
|
isUnpublishedImportFallbackEnabled: boolean;
|
|
43706
43717
|
themePersistentId?: string | undefined;
|
|
43707
43718
|
}>;
|
|
43708
|
-
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
43709
|
-
* Describes what to download from each file, this should contain all file id mentioned in
|
|
43710
|
-
* importMetadataBySourceId.
|
|
43711
|
-
*
|
|
43712
|
-
* File id -> file download scope
|
|
43713
|
-
*/
|
|
43719
|
+
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
43714
43720
|
requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
|
|
43715
43721
|
lastImportMetadata: z.ZodOptional<z.ZodObject<{
|
|
43716
43722
|
fileData: z.ZodOptional<z.ZodObject<{
|
|
@@ -43762,7 +43768,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43762
43768
|
maxFileDepth: z.ZodOptional<z.ZodNumber>;
|
|
43763
43769
|
}, "strip", z.ZodTypeAny, {
|
|
43764
43770
|
type: "Figma";
|
|
43765
|
-
state: "
|
|
43771
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43766
43772
|
scope: {
|
|
43767
43773
|
assets: boolean;
|
|
43768
43774
|
components: boolean;
|
|
@@ -43775,6 +43781,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43775
43781
|
ownerId: string;
|
|
43776
43782
|
ownerName: string;
|
|
43777
43783
|
requiresSync: boolean;
|
|
43784
|
+
preferredCredentialId?: string | undefined;
|
|
43778
43785
|
lastImportMetadata?: {
|
|
43779
43786
|
fileData?: {
|
|
43780
43787
|
lastUpdatedAt: Date;
|
|
@@ -43791,7 +43798,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43791
43798
|
maxFileDepth?: number | undefined;
|
|
43792
43799
|
}, {
|
|
43793
43800
|
type: "Figma";
|
|
43794
|
-
state: "
|
|
43801
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43795
43802
|
scope: {
|
|
43796
43803
|
assets: boolean;
|
|
43797
43804
|
components: boolean;
|
|
@@ -43803,6 +43810,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43803
43810
|
fileId: string;
|
|
43804
43811
|
ownerId: string;
|
|
43805
43812
|
ownerName: string;
|
|
43813
|
+
preferredCredentialId?: string | undefined;
|
|
43806
43814
|
requiresSync?: boolean | undefined;
|
|
43807
43815
|
lastImportMetadata?: {
|
|
43808
43816
|
fileData?: {
|
|
@@ -43868,7 +43876,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43868
43876
|
sourceId: string;
|
|
43869
43877
|
figmaRemote: {
|
|
43870
43878
|
type: "Figma";
|
|
43871
|
-
state: "
|
|
43879
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43872
43880
|
scope: {
|
|
43873
43881
|
assets: boolean;
|
|
43874
43882
|
components: boolean;
|
|
@@ -43881,6 +43889,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43881
43889
|
ownerId: string;
|
|
43882
43890
|
ownerName: string;
|
|
43883
43891
|
requiresSync: boolean;
|
|
43892
|
+
preferredCredentialId?: string | undefined;
|
|
43884
43893
|
lastImportMetadata?: {
|
|
43885
43894
|
fileData?: {
|
|
43886
43895
|
lastUpdatedAt: Date;
|
|
@@ -43911,7 +43920,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43911
43920
|
sourceId: string;
|
|
43912
43921
|
figmaRemote: {
|
|
43913
43922
|
type: "Figma";
|
|
43914
|
-
state: "
|
|
43923
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
43915
43924
|
scope: {
|
|
43916
43925
|
assets: boolean;
|
|
43917
43926
|
components: boolean;
|
|
@@ -43923,6 +43932,7 @@ declare const ChangedImportedFigmaSourceData: z.ZodObject<{
|
|
|
43923
43932
|
fileId: string;
|
|
43924
43933
|
ownerId: string;
|
|
43925
43934
|
ownerName: string;
|
|
43935
|
+
preferredCredentialId?: string | undefined;
|
|
43926
43936
|
requiresSync?: boolean | undefined;
|
|
43927
43937
|
lastImportMetadata?: {
|
|
43928
43938
|
fileData?: {
|
|
@@ -43966,6 +43976,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
43966
43976
|
figmaRemote: z.ZodObject<{
|
|
43967
43977
|
type: z.ZodLiteral<"Figma">;
|
|
43968
43978
|
fileId: z.ZodString;
|
|
43979
|
+
preferredCredentialId: z.ZodOptional<z.ZodString>;
|
|
43969
43980
|
ownerId: z.ZodString;
|
|
43970
43981
|
ownerName: z.ZodString;
|
|
43971
43982
|
scope: z.ZodObject<{
|
|
@@ -43990,12 +44001,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
43990
44001
|
isUnpublishedImportFallbackEnabled: boolean;
|
|
43991
44002
|
themePersistentId?: string | undefined;
|
|
43992
44003
|
}>;
|
|
43993
|
-
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
43994
|
-
* Describes what to download from each file, this should contain all file id mentioned in
|
|
43995
|
-
* importMetadataBySourceId.
|
|
43996
|
-
*
|
|
43997
|
-
* File id -> file download scope
|
|
43998
|
-
*/
|
|
44004
|
+
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
43999
44005
|
requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
|
|
44000
44006
|
lastImportMetadata: z.ZodOptional<z.ZodObject<{
|
|
44001
44007
|
fileData: z.ZodOptional<z.ZodObject<{
|
|
@@ -44047,7 +44053,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44047
44053
|
maxFileDepth: z.ZodOptional<z.ZodNumber>;
|
|
44048
44054
|
}, "strip", z.ZodTypeAny, {
|
|
44049
44055
|
type: "Figma";
|
|
44050
|
-
state: "
|
|
44056
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44051
44057
|
scope: {
|
|
44052
44058
|
assets: boolean;
|
|
44053
44059
|
components: boolean;
|
|
@@ -44060,6 +44066,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44060
44066
|
ownerId: string;
|
|
44061
44067
|
ownerName: string;
|
|
44062
44068
|
requiresSync: boolean;
|
|
44069
|
+
preferredCredentialId?: string | undefined;
|
|
44063
44070
|
lastImportMetadata?: {
|
|
44064
44071
|
fileData?: {
|
|
44065
44072
|
lastUpdatedAt: Date;
|
|
@@ -44076,7 +44083,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44076
44083
|
maxFileDepth?: number | undefined;
|
|
44077
44084
|
}, {
|
|
44078
44085
|
type: "Figma";
|
|
44079
|
-
state: "
|
|
44086
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44080
44087
|
scope: {
|
|
44081
44088
|
assets: boolean;
|
|
44082
44089
|
components: boolean;
|
|
@@ -44088,6 +44095,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44088
44095
|
fileId: string;
|
|
44089
44096
|
ownerId: string;
|
|
44090
44097
|
ownerName: string;
|
|
44098
|
+
preferredCredentialId?: string | undefined;
|
|
44091
44099
|
requiresSync?: boolean | undefined;
|
|
44092
44100
|
lastImportMetadata?: {
|
|
44093
44101
|
fileData?: {
|
|
@@ -44108,7 +44116,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44108
44116
|
sourceId: string;
|
|
44109
44117
|
figmaRemote: {
|
|
44110
44118
|
type: "Figma";
|
|
44111
|
-
state: "
|
|
44119
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44112
44120
|
scope: {
|
|
44113
44121
|
assets: boolean;
|
|
44114
44122
|
components: boolean;
|
|
@@ -44121,6 +44129,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44121
44129
|
ownerId: string;
|
|
44122
44130
|
ownerName: string;
|
|
44123
44131
|
requiresSync: boolean;
|
|
44132
|
+
preferredCredentialId?: string | undefined;
|
|
44124
44133
|
lastImportMetadata?: {
|
|
44125
44134
|
fileData?: {
|
|
44126
44135
|
lastUpdatedAt: Date;
|
|
@@ -44140,7 +44149,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44140
44149
|
sourceId: string;
|
|
44141
44150
|
figmaRemote: {
|
|
44142
44151
|
type: "Figma";
|
|
44143
|
-
state: "
|
|
44152
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44144
44153
|
scope: {
|
|
44145
44154
|
assets: boolean;
|
|
44146
44155
|
components: boolean;
|
|
@@ -44152,6 +44161,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44152
44161
|
fileId: string;
|
|
44153
44162
|
ownerId: string;
|
|
44154
44163
|
ownerName: string;
|
|
44164
|
+
preferredCredentialId?: string | undefined;
|
|
44155
44165
|
requiresSync?: boolean | undefined;
|
|
44156
44166
|
lastImportMetadata?: {
|
|
44157
44167
|
fileData?: {
|
|
@@ -44220,6 +44230,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44220
44230
|
figmaRemote: z.ZodObject<{
|
|
44221
44231
|
type: z.ZodLiteral<"Figma">;
|
|
44222
44232
|
fileId: z.ZodString;
|
|
44233
|
+
preferredCredentialId: z.ZodOptional<z.ZodString>;
|
|
44223
44234
|
ownerId: z.ZodString;
|
|
44224
44235
|
ownerName: z.ZodString;
|
|
44225
44236
|
scope: z.ZodObject<{
|
|
@@ -44244,12 +44255,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44244
44255
|
isUnpublishedImportFallbackEnabled: boolean;
|
|
44245
44256
|
themePersistentId?: string | undefined;
|
|
44246
44257
|
}>;
|
|
44247
|
-
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
44248
|
-
* Describes what to download from each file, this should contain all file id mentioned in
|
|
44249
|
-
* importMetadataBySourceId.
|
|
44250
|
-
*
|
|
44251
|
-
* File id -> file download scope
|
|
44252
|
-
*/
|
|
44258
|
+
state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
|
|
44253
44259
|
requiresSync: z.ZodEffects<z.ZodOptional<z.ZodBoolean>, boolean, boolean | undefined>;
|
|
44254
44260
|
lastImportMetadata: z.ZodOptional<z.ZodObject<{
|
|
44255
44261
|
fileData: z.ZodOptional<z.ZodObject<{
|
|
@@ -44301,7 +44307,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44301
44307
|
maxFileDepth: z.ZodOptional<z.ZodNumber>;
|
|
44302
44308
|
}, "strip", z.ZodTypeAny, {
|
|
44303
44309
|
type: "Figma";
|
|
44304
|
-
state: "
|
|
44310
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44305
44311
|
scope: {
|
|
44306
44312
|
assets: boolean;
|
|
44307
44313
|
components: boolean;
|
|
@@ -44314,6 +44320,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44314
44320
|
ownerId: string;
|
|
44315
44321
|
ownerName: string;
|
|
44316
44322
|
requiresSync: boolean;
|
|
44323
|
+
preferredCredentialId?: string | undefined;
|
|
44317
44324
|
lastImportMetadata?: {
|
|
44318
44325
|
fileData?: {
|
|
44319
44326
|
lastUpdatedAt: Date;
|
|
@@ -44330,7 +44337,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44330
44337
|
maxFileDepth?: number | undefined;
|
|
44331
44338
|
}, {
|
|
44332
44339
|
type: "Figma";
|
|
44333
|
-
state: "
|
|
44340
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44334
44341
|
scope: {
|
|
44335
44342
|
assets: boolean;
|
|
44336
44343
|
components: boolean;
|
|
@@ -44342,6 +44349,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44342
44349
|
fileId: string;
|
|
44343
44350
|
ownerId: string;
|
|
44344
44351
|
ownerName: string;
|
|
44352
|
+
preferredCredentialId?: string | undefined;
|
|
44345
44353
|
requiresSync?: boolean | undefined;
|
|
44346
44354
|
lastImportMetadata?: {
|
|
44347
44355
|
fileData?: {
|
|
@@ -44407,7 +44415,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44407
44415
|
sourceId: string;
|
|
44408
44416
|
figmaRemote: {
|
|
44409
44417
|
type: "Figma";
|
|
44410
|
-
state: "
|
|
44418
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44411
44419
|
scope: {
|
|
44412
44420
|
assets: boolean;
|
|
44413
44421
|
components: boolean;
|
|
@@ -44420,6 +44428,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44420
44428
|
ownerId: string;
|
|
44421
44429
|
ownerName: string;
|
|
44422
44430
|
requiresSync: boolean;
|
|
44431
|
+
preferredCredentialId?: string | undefined;
|
|
44423
44432
|
lastImportMetadata?: {
|
|
44424
44433
|
fileData?: {
|
|
44425
44434
|
lastUpdatedAt: Date;
|
|
@@ -44450,7 +44459,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44450
44459
|
sourceId: string;
|
|
44451
44460
|
figmaRemote: {
|
|
44452
44461
|
type: "Figma";
|
|
44453
|
-
state: "
|
|
44462
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44454
44463
|
scope: {
|
|
44455
44464
|
assets: boolean;
|
|
44456
44465
|
components: boolean;
|
|
@@ -44462,6 +44471,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44462
44471
|
fileId: string;
|
|
44463
44472
|
ownerId: string;
|
|
44464
44473
|
ownerName: string;
|
|
44474
|
+
preferredCredentialId?: string | undefined;
|
|
44465
44475
|
requiresSync?: boolean | undefined;
|
|
44466
44476
|
lastImportMetadata?: {
|
|
44467
44477
|
fileData?: {
|
|
@@ -44499,7 +44509,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44499
44509
|
sourceId: string;
|
|
44500
44510
|
figmaRemote: {
|
|
44501
44511
|
type: "Figma";
|
|
44502
|
-
state: "
|
|
44512
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44503
44513
|
scope: {
|
|
44504
44514
|
assets: boolean;
|
|
44505
44515
|
components: boolean;
|
|
@@ -44512,6 +44522,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44512
44522
|
ownerId: string;
|
|
44513
44523
|
ownerName: string;
|
|
44514
44524
|
requiresSync: boolean;
|
|
44525
|
+
preferredCredentialId?: string | undefined;
|
|
44515
44526
|
lastImportMetadata?: {
|
|
44516
44527
|
fileData?: {
|
|
44517
44528
|
lastUpdatedAt: Date;
|
|
@@ -44550,7 +44561,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44550
44561
|
sourceId: string;
|
|
44551
44562
|
figmaRemote: {
|
|
44552
44563
|
type: "Figma";
|
|
44553
|
-
state: "
|
|
44564
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44554
44565
|
scope: {
|
|
44555
44566
|
assets: boolean;
|
|
44556
44567
|
components: boolean;
|
|
@@ -44563,6 +44574,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44563
44574
|
ownerId: string;
|
|
44564
44575
|
ownerName: string;
|
|
44565
44576
|
requiresSync: boolean;
|
|
44577
|
+
preferredCredentialId?: string | undefined;
|
|
44566
44578
|
lastImportMetadata?: {
|
|
44567
44579
|
fileData?: {
|
|
44568
44580
|
lastUpdatedAt: Date;
|
|
@@ -44599,7 +44611,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44599
44611
|
sourceId: string;
|
|
44600
44612
|
figmaRemote: {
|
|
44601
44613
|
type: "Figma";
|
|
44602
|
-
state: "
|
|
44614
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44603
44615
|
scope: {
|
|
44604
44616
|
assets: boolean;
|
|
44605
44617
|
components: boolean;
|
|
@@ -44611,6 +44623,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44611
44623
|
fileId: string;
|
|
44612
44624
|
ownerId: string;
|
|
44613
44625
|
ownerName: string;
|
|
44626
|
+
preferredCredentialId?: string | undefined;
|
|
44614
44627
|
requiresSync?: boolean | undefined;
|
|
44615
44628
|
lastImportMetadata?: {
|
|
44616
44629
|
fileData?: {
|
|
@@ -44640,7 +44653,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44640
44653
|
sourceId: string;
|
|
44641
44654
|
figmaRemote: {
|
|
44642
44655
|
type: "Figma";
|
|
44643
|
-
state: "
|
|
44656
|
+
state: "MissingIntegration" | "Active" | "MissingFileAccess" | "MissingFileOwner";
|
|
44644
44657
|
scope: {
|
|
44645
44658
|
assets: boolean;
|
|
44646
44659
|
components: boolean;
|
|
@@ -44652,6 +44665,7 @@ declare const FigmaImportContextWithDownloadScopes: z.ZodObject<{
|
|
|
44652
44665
|
fileId: string;
|
|
44653
44666
|
ownerId: string;
|
|
44654
44667
|
ownerName: string;
|
|
44668
|
+
preferredCredentialId?: string | undefined;
|
|
44655
44669
|
requiresSync?: boolean | undefined;
|
|
44656
44670
|
lastImportMetadata?: {
|
|
44657
44671
|
fileData?: {
|