@supernova-studio/client 0.48.23 → 0.48.25

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
@@ -37848,7 +37848,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37848
37848
  } | null | undefined>>;
37849
37849
  createdAt: z.ZodOptional<z.ZodDate>;
37850
37850
  updatedAt: z.ZodOptional<z.ZodDate>;
37851
- }, "id" | "createdAt" | "updatedAt" | "docSlug" | "docViewUrl" | "designSystemSwitcher">, {
37851
+ }, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl">, {
37852
37852
  meta: z.ZodOptional<z.ZodObject<{
37853
37853
  name: z.ZodOptional<z.ZodString>;
37854
37854
  description: z.ZodOptional<z.ZodString>;
@@ -37866,13 +37866,16 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37866
37866
  name?: string | undefined;
37867
37867
  description?: string | undefined;
37868
37868
  } | undefined;
37869
- workspaceId?: string | undefined;
37870
37869
  docExporterId?: string | undefined;
37871
37870
  docUserSlug?: string | undefined;
37872
37871
  docSlugDeprecated?: string | undefined;
37873
37872
  isPublic?: boolean | undefined;
37874
37873
  isMultibrand?: boolean | undefined;
37875
37874
  basePrefixes?: string[] | undefined;
37875
+ designSystemSwitcher?: {
37876
+ isEnabled: boolean;
37877
+ designSystemIds: string[];
37878
+ } | undefined;
37876
37879
  }, {
37877
37880
  name?: string | undefined;
37878
37881
  description?: string | undefined;
@@ -37880,13 +37883,16 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37880
37883
  name?: string | undefined;
37881
37884
  description?: string | undefined;
37882
37885
  } | undefined;
37883
- workspaceId?: string | undefined;
37884
37886
  docExporterId?: string | null | undefined;
37885
37887
  docUserSlug?: string | null | undefined;
37886
37888
  docSlugDeprecated?: string | undefined;
37887
37889
  isPublic?: boolean | undefined;
37888
37890
  isMultibrand?: boolean | undefined;
37889
37891
  basePrefixes?: string[] | undefined;
37892
+ designSystemSwitcher?: {
37893
+ isEnabled: boolean;
37894
+ designSystemIds: string[];
37895
+ } | null | undefined;
37890
37896
  }>;
37891
37897
  type DTODesignSystemUpdateInput = z.infer<typeof DTODesignSystemUpdateInput>;
37892
37898
 
package/dist/index.d.ts CHANGED
@@ -37848,7 +37848,7 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37848
37848
  } | null | undefined>>;
37849
37849
  createdAt: z.ZodOptional<z.ZodDate>;
37850
37850
  updatedAt: z.ZodOptional<z.ZodDate>;
37851
- }, "id" | "createdAt" | "updatedAt" | "docSlug" | "docViewUrl" | "designSystemSwitcher">, {
37851
+ }, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl">, {
37852
37852
  meta: z.ZodOptional<z.ZodObject<{
37853
37853
  name: z.ZodOptional<z.ZodString>;
37854
37854
  description: z.ZodOptional<z.ZodString>;
@@ -37866,13 +37866,16 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37866
37866
  name?: string | undefined;
37867
37867
  description?: string | undefined;
37868
37868
  } | undefined;
37869
- workspaceId?: string | undefined;
37870
37869
  docExporterId?: string | undefined;
37871
37870
  docUserSlug?: string | undefined;
37872
37871
  docSlugDeprecated?: string | undefined;
37873
37872
  isPublic?: boolean | undefined;
37874
37873
  isMultibrand?: boolean | undefined;
37875
37874
  basePrefixes?: string[] | undefined;
37875
+ designSystemSwitcher?: {
37876
+ isEnabled: boolean;
37877
+ designSystemIds: string[];
37878
+ } | undefined;
37876
37879
  }, {
37877
37880
  name?: string | undefined;
37878
37881
  description?: string | undefined;
@@ -37880,13 +37883,16 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37880
37883
  name?: string | undefined;
37881
37884
  description?: string | undefined;
37882
37885
  } | undefined;
37883
- workspaceId?: string | undefined;
37884
37886
  docExporterId?: string | null | undefined;
37885
37887
  docUserSlug?: string | null | undefined;
37886
37888
  docSlugDeprecated?: string | undefined;
37887
37889
  isPublic?: boolean | undefined;
37888
37890
  isMultibrand?: boolean | undefined;
37889
37891
  basePrefixes?: string[] | undefined;
37892
+ designSystemSwitcher?: {
37893
+ isEnabled: boolean;
37894
+ designSystemIds: string[];
37895
+ } | null | undefined;
37890
37896
  }>;
37891
37897
  type DTODesignSystemUpdateInput = z.infer<typeof DTODesignSystemUpdateInput>;
37892
37898
 
package/dist/index.js CHANGED
@@ -3461,18 +3461,18 @@ var DesignSystemWithWorkspace = _zod.z.object({
3461
3461
  });
3462
3462
  var DS_NAME_MIN_LENGTH = 2;
3463
3463
  var DS_NAME_MAX_LENGTH = 64;
3464
- var DS_DESC_MAX_LENGTH = 64;
3464
+ var DS_DESC_MAX_LENGTH = 2048;
3465
3465
  var DesignSystemUpdateInputMetadata = _zod.z.object({
3466
3466
  name: _zod.z.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim().optional(),
3467
3467
  description: _zod.z.string().max(DS_DESC_MAX_LENGTH).trim().optional()
3468
3468
  });
3469
3469
  var DesignSystemUpdateInput = DesignSystem.partial().omit({
3470
3470
  id: true,
3471
+ workspaceId: true,
3471
3472
  createdAt: true,
3472
3473
  updatedAt: true,
3473
3474
  docSlug: true,
3474
- docViewUrl: true,
3475
- designSystemSwitcher: true
3475
+ docViewUrl: true
3476
3476
  }).extend({
3477
3477
  meta: DesignSystemUpdateInputMetadata.optional()
3478
3478
  });
@@ -3713,15 +3713,13 @@ var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.ex
3713
3713
  pageItems: _zod.z.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
3714
3714
  blockDefinitions: _zod.z.array(PageBlockDefinition)
3715
3715
  });
3716
- var DocumentationPageRestorationType = _zod.z.enum(["Restore", "Revert"]);
3717
3716
  var RestoredDocumentationPage = _zod.z.object({
3718
3717
  page: DocumentationPageV2,
3719
3718
  pageParent: ElementGroup,
3720
3719
  pageContent: DocumentationPageContentData,
3721
3720
  contentHash: _zod.z.string(),
3722
3721
  snapshotId: _zod.z.string(),
3723
- roomId: _zod.z.string().optional(),
3724
- type: DocumentationPageRestorationType
3722
+ roomId: _zod.z.string().optional()
3725
3723
  });
3726
3724
  var RestoredDocumentationGroup = _zod.z.object({
3727
3725
  group: ElementGroup,