@supernova-studio/client 1.12.0 → 1.12.1

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 CHANGED
@@ -79401,9 +79401,19 @@ declare const DTOCreateForgeProjectContext: z$1.ZodObject<Pick<{
79401
79401
  }>;
79402
79402
  type DTOCreateForgeProjectContext = z$1.infer<typeof DTOCreateForgeProjectContext>;
79403
79403
  declare const DTOUpdateForgeProjectContext: z$1.ZodObject<{
79404
- createdAt: z$1.ZodDate;
79405
- definition: z$1.ZodString;
79406
- dependencies: z$1.ZodArray<z$1.ZodObject<{
79404
+ name: z$1.ZodOptional<z$1.ZodString>;
79405
+ meta: z$1.ZodOptional<z$1.ZodObject<{
79406
+ name: z$1.ZodString;
79407
+ description: z$1.ZodOptional<z$1.ZodString>;
79408
+ }, "strip", z$1.ZodTypeAny, {
79409
+ name: string;
79410
+ description?: string | undefined;
79411
+ }, {
79412
+ name: string;
79413
+ description?: string | undefined;
79414
+ }>>;
79415
+ designSystemId: z$1.ZodOptional<z$1.ZodString>;
79416
+ dependencies: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
79407
79417
  packageName: z$1.ZodString;
79408
79418
  type: z$1.ZodLiteral<"npm">;
79409
79419
  version: z$1.ZodDefault<z$1.ZodString>;
@@ -79415,180 +79425,112 @@ declare const DTOUpdateForgeProjectContext: z$1.ZodObject<{
79415
79425
  type: "npm";
79416
79426
  packageName: string;
79417
79427
  version?: string | undefined;
79418
- }>, "many">;
79419
- designSystemId: z$1.ZodString;
79420
- meta: z$1.ZodObject<{
79421
- name: z$1.ZodString;
79422
- description: z$1.ZodOptional<z$1.ZodString>;
79428
+ }>, "many">>;
79429
+ definition: z$1.ZodOptional<z$1.ZodString>;
79430
+ platform: z$1.ZodOptional<z$1.ZodEnum<["React", "Vue", "Angular"]>>;
79431
+ styling: z$1.ZodOptional<z$1.ZodEnum<["CSS", "Tailwind"]>>;
79432
+ tailwindConfig: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodObject<{
79433
+ content: z$1.ZodString;
79434
+ version: z$1.ZodString;
79423
79435
  }, "strip", z$1.ZodTypeAny, {
79424
- name: string;
79425
- description?: string | undefined;
79436
+ version: string;
79437
+ content: string;
79426
79438
  }, {
79427
- name: string;
79428
- description?: string | undefined;
79429
- }>;
79430
- name: z$1.ZodString;
79431
- npmProxySettings: z$1.ZodIntersection<z$1.ZodObject<{
79439
+ version: string;
79440
+ content: string;
79441
+ }>>>;
79442
+ npmProxySettings: z$1.ZodOptional<z$1.ZodObject<{
79432
79443
  registryType: z$1.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
79433
- enabledScopes: z$1.ZodArray<z$1.ZodString, "many">;
79444
+ registryUrl: z$1.ZodString;
79434
79445
  customRegistryUrl: z$1.ZodOptional<z$1.ZodString>;
79435
- bypassProxy: z$1.ZodDefault<z$1.ZodBoolean>;
79436
- npmProxyRegistryConfigId: z$1.ZodOptional<z$1.ZodString>;
79437
- npmProxyVersion: z$1.ZodOptional<z$1.ZodNumber>;
79446
+ proxyUrl: z$1.ZodString;
79447
+ authType: z$1.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
79448
+ accessToken: z$1.ZodOptional<z$1.ZodLiteral<string>>;
79449
+ username: z$1.ZodOptional<z$1.ZodString>;
79450
+ password: z$1.ZodOptional<z$1.ZodLiteral<string>>;
79451
+ enabledScopes: z$1.ZodArray<z$1.ZodString, "many">;
79452
+ bypassProxy: z$1.ZodBoolean;
79438
79453
  }, "strip", z$1.ZodTypeAny, {
79439
79454
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
79455
+ registryUrl: string;
79456
+ proxyUrl: string;
79457
+ authType: "Custom" | "Basic" | "Bearer" | "None";
79440
79458
  enabledScopes: string[];
79441
79459
  bypassProxy: boolean;
79460
+ accessToken?: string | undefined;
79461
+ username?: string | undefined;
79442
79462
  customRegistryUrl?: string | undefined;
79443
- npmProxyRegistryConfigId?: string | undefined;
79444
- npmProxyVersion?: number | undefined;
79463
+ password?: string | undefined;
79445
79464
  }, {
79446
79465
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
79466
+ registryUrl: string;
79467
+ proxyUrl: string;
79468
+ authType: "Custom" | "Basic" | "Bearer" | "None";
79447
79469
  enabledScopes: string[];
79470
+ bypassProxy: boolean;
79471
+ accessToken?: string | undefined;
79472
+ username?: string | undefined;
79448
79473
  customRegistryUrl?: string | undefined;
79449
- bypassProxy?: boolean | undefined;
79450
- npmProxyRegistryConfigId?: string | undefined;
79451
- npmProxyVersion?: number | undefined;
79452
- }>, z$1.ZodDiscriminatedUnion<"authType", [z$1.ZodObject<{
79453
- authType: z$1.ZodLiteral<"Basic">;
79454
- username: z$1.ZodString;
79455
- password: z$1.ZodString;
79456
- }, "strip", z$1.ZodTypeAny, {
79457
- password: string;
79458
- username: string;
79459
- authType: "Basic";
79460
- }, {
79461
- password: string;
79462
- username: string;
79463
- authType: "Basic";
79464
- }>, z$1.ZodObject<{
79465
- authType: z$1.ZodLiteral<"Bearer">;
79466
- accessToken: z$1.ZodString;
79467
- }, "strip", z$1.ZodTypeAny, {
79468
- accessToken: string;
79469
- authType: "Bearer";
79470
- }, {
79471
- accessToken: string;
79472
- authType: "Bearer";
79473
- }>, z$1.ZodObject<{
79474
- authType: z$1.ZodLiteral<"None">;
79475
- }, "strip", z$1.ZodTypeAny, {
79476
- authType: "None";
79477
- }, {
79478
- authType: "None";
79479
- }>, z$1.ZodObject<{
79480
- authType: z$1.ZodLiteral<"Custom">;
79481
- authHeaderName: z$1.ZodString;
79482
- authHeaderValue: z$1.ZodString;
79483
- }, "strip", z$1.ZodTypeAny, {
79484
- authType: "Custom";
79485
- authHeaderName: string;
79486
- authHeaderValue: string;
79487
- }, {
79488
- authType: "Custom";
79489
- authHeaderName: string;
79490
- authHeaderValue: string;
79491
- }>]>>;
79492
- platform: z$1.ZodEnum<["React", "Vue", "Angular"]>;
79493
- styling: z$1.ZodEnum<["CSS", "Tailwind"]>;
79494
- tailwindConfig: z$1.ZodOptional<z$1.ZodObject<{
79495
- content: z$1.ZodString;
79496
- version: z$1.ZodString;
79497
- }, "strip", z$1.ZodTypeAny, {
79498
- version: string;
79499
- content: string;
79500
- }, {
79501
- version: string;
79502
- content: string;
79474
+ password?: string | undefined;
79503
79475
  }>>;
79504
- updatedAt: z$1.ZodDate;
79505
- workspaceId: z$1.ZodString;
79506
- } & {
79507
- id: z$1.ZodString;
79508
79476
  }, "strip", z$1.ZodTypeAny, {
79509
- id: string;
79510
- createdAt: Date;
79511
- name: string;
79512
- meta: {
79477
+ name?: string | undefined;
79478
+ meta?: {
79513
79479
  name: string;
79514
79480
  description?: string | undefined;
79515
- };
79516
- designSystemId: string;
79517
- dependencies: {
79481
+ } | undefined;
79482
+ designSystemId?: string | undefined;
79483
+ dependencies?: {
79518
79484
  type: "npm";
79519
79485
  version: string;
79520
79486
  packageName: string;
79521
- }[];
79522
- updatedAt: Date;
79523
- workspaceId: string;
79524
- definition: string;
79525
- npmProxySettings: {
79487
+ }[] | undefined;
79488
+ definition?: string | undefined;
79489
+ npmProxySettings?: {
79526
79490
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
79491
+ registryUrl: string;
79492
+ proxyUrl: string;
79493
+ authType: "Custom" | "Basic" | "Bearer" | "None";
79527
79494
  enabledScopes: string[];
79528
79495
  bypassProxy: boolean;
79496
+ accessToken?: string | undefined;
79497
+ username?: string | undefined;
79529
79498
  customRegistryUrl?: string | undefined;
79530
- npmProxyRegistryConfigId?: string | undefined;
79531
- npmProxyVersion?: number | undefined;
79532
- } & ({
79533
- password: string;
79534
- username: string;
79535
- authType: "Basic";
79536
- } | {
79537
- accessToken: string;
79538
- authType: "Bearer";
79539
- } | {
79540
- authType: "None";
79541
- } | {
79542
- authType: "Custom";
79543
- authHeaderName: string;
79544
- authHeaderValue: string;
79545
- });
79546
- platform: "Angular" | "Vue" | "React";
79547
- styling: "CSS" | "Tailwind";
79499
+ password?: string | undefined;
79500
+ } | undefined;
79501
+ platform?: "Angular" | "Vue" | "React" | undefined;
79502
+ styling?: "CSS" | "Tailwind" | undefined;
79548
79503
  tailwindConfig?: {
79549
79504
  version: string;
79550
79505
  content: string;
79551
79506
  } | undefined;
79552
79507
  }, {
79553
- id: string;
79554
- createdAt: Date;
79555
- name: string;
79556
- meta: {
79508
+ name?: string | undefined;
79509
+ meta?: {
79557
79510
  name: string;
79558
79511
  description?: string | undefined;
79559
- };
79560
- designSystemId: string;
79561
- dependencies: {
79512
+ } | undefined;
79513
+ designSystemId?: string | undefined;
79514
+ dependencies?: {
79562
79515
  type: "npm";
79563
79516
  packageName: string;
79564
79517
  version?: string | undefined;
79565
- }[];
79566
- updatedAt: Date;
79567
- workspaceId: string;
79568
- definition: string;
79569
- npmProxySettings: {
79518
+ }[] | undefined;
79519
+ definition?: string | undefined;
79520
+ npmProxySettings?: {
79570
79521
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
79522
+ registryUrl: string;
79523
+ proxyUrl: string;
79524
+ authType: "Custom" | "Basic" | "Bearer" | "None";
79571
79525
  enabledScopes: string[];
79526
+ bypassProxy: boolean;
79527
+ accessToken?: string | undefined;
79528
+ username?: string | undefined;
79572
79529
  customRegistryUrl?: string | undefined;
79573
- bypassProxy?: boolean | undefined;
79574
- npmProxyRegistryConfigId?: string | undefined;
79575
- npmProxyVersion?: number | undefined;
79576
- } & ({
79577
- password: string;
79578
- username: string;
79579
- authType: "Basic";
79580
- } | {
79581
- accessToken: string;
79582
- authType: "Bearer";
79583
- } | {
79584
- authType: "None";
79585
- } | {
79586
- authType: "Custom";
79587
- authHeaderName: string;
79588
- authHeaderValue: string;
79589
- });
79590
- platform: "Angular" | "Vue" | "React";
79591
- styling: "CSS" | "Tailwind";
79530
+ password?: string | undefined;
79531
+ } | undefined;
79532
+ platform?: "Angular" | "Vue" | "React" | undefined;
79533
+ styling?: "CSS" | "Tailwind" | undefined;
79592
79534
  tailwindConfig?: {
79593
79535
  version: string;
79594
79536
  content: string;
@@ -79596,7 +79538,7 @@ declare const DTOUpdateForgeProjectContext: z$1.ZodObject<{
79596
79538
  }>;
79597
79539
  type DTOUpdateForgeProjectContext = z$1.infer<typeof DTOUpdateForgeProjectContext>;
79598
79540
  declare const DTOForgeProjectContextGetResponse: z$1.ZodObject<{
79599
- context: z$1.ZodNullable<z$1.ZodObject<{
79541
+ context: z$1.ZodObject<{
79600
79542
  createdAt: z$1.ZodDate;
79601
79543
  definition: z$1.ZodString;
79602
79544
  dependencies: z$1.ZodArray<z$1.ZodObject<{
@@ -79788,7 +79730,7 @@ declare const DTOForgeProjectContextGetResponse: z$1.ZodObject<{
79788
79730
  version: string;
79789
79731
  content: string;
79790
79732
  } | undefined;
79791
- }>>;
79733
+ }>;
79792
79734
  }, "strip", z$1.ZodTypeAny, {
79793
79735
  context: {
79794
79736
  id: string;
@@ -79834,7 +79776,7 @@ declare const DTOForgeProjectContextGetResponse: z$1.ZodObject<{
79834
79776
  version: string;
79835
79777
  content: string;
79836
79778
  } | undefined;
79837
- } | null;
79779
+ };
79838
79780
  }, {
79839
79781
  context: {
79840
79782
  id: string;
@@ -79880,7 +79822,7 @@ declare const DTOForgeProjectContextGetResponse: z$1.ZodObject<{
79880
79822
  version: string;
79881
79823
  content: string;
79882
79824
  } | undefined;
79883
- } | null;
79825
+ };
79884
79826
  }>;
79885
79827
  type DTOForgeProjectContextGetResponse = z$1.infer<typeof DTOForgeProjectContextGetResponse>;
79886
79828
  declare const DTOForgeProjectContextListResponse: z$1.ZodObject<{
@@ -80460,7 +80402,7 @@ declare const DTOForgeProjectContextCreateResponse: z$1.ZodObject<{
80460
80402
  }>;
80461
80403
  type DTOForgeProjectContextCreateResponse = z$1.infer<typeof DTOForgeProjectContextCreateResponse>;
80462
80404
  declare const DTOForgeProjectContextUpdateResponse: z$1.ZodObject<{
80463
- context: z$1.ZodNullable<z$1.ZodObject<{
80405
+ context: z$1.ZodObject<{
80464
80406
  createdAt: z$1.ZodDate;
80465
80407
  definition: z$1.ZodString;
80466
80408
  dependencies: z$1.ZodArray<z$1.ZodObject<{
@@ -80652,7 +80594,7 @@ declare const DTOForgeProjectContextUpdateResponse: z$1.ZodObject<{
80652
80594
  version: string;
80653
80595
  content: string;
80654
80596
  } | undefined;
80655
- }>>;
80597
+ }>;
80656
80598
  }, "strip", z$1.ZodTypeAny, {
80657
80599
  context: {
80658
80600
  id: string;
@@ -80698,7 +80640,7 @@ declare const DTOForgeProjectContextUpdateResponse: z$1.ZodObject<{
80698
80640
  version: string;
80699
80641
  content: string;
80700
80642
  } | undefined;
80701
- } | null;
80643
+ };
80702
80644
  }, {
80703
80645
  context: {
80704
80646
  id: string;
@@ -80744,7 +80686,7 @@ declare const DTOForgeProjectContextUpdateResponse: z$1.ZodObject<{
80744
80686
  version: string;
80745
80687
  content: string;
80746
80688
  } | undefined;
80747
- } | null;
80689
+ };
80748
80690
  }>;
80749
80691
  type DTOForgeProjectContextUpdateResponse = z$1.infer<typeof DTOForgeProjectContextUpdateResponse>;
80750
80692
  declare const DTOForgeProjectContextRemoveResponse: z$1.ZodObject<{