@supernova-studio/client 0.48.31 → 0.48.33

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
@@ -37878,10 +37878,10 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37878
37878
  name?: string | undefined;
37879
37879
  description?: string | undefined;
37880
37880
  } | undefined;
37881
+ isPublic?: boolean | undefined;
37881
37882
  docExporterId?: string | undefined;
37882
37883
  docUserSlug?: string | undefined;
37883
37884
  docSlugDeprecated?: string | undefined;
37884
- isPublic?: boolean | undefined;
37885
37885
  isMultibrand?: boolean | undefined;
37886
37886
  basePrefixes?: string[] | undefined;
37887
37887
  designSystemSwitcher?: {
@@ -37895,10 +37895,10 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37895
37895
  name?: string | undefined;
37896
37896
  description?: string | undefined;
37897
37897
  } | undefined;
37898
+ isPublic?: boolean | undefined;
37898
37899
  docExporterId?: string | null | undefined;
37899
37900
  docUserSlug?: string | null | undefined;
37900
37901
  docSlugDeprecated?: string | undefined;
37901
- isPublic?: boolean | undefined;
37902
37902
  isMultibrand?: boolean | undefined;
37903
37903
  basePrefixes?: string[] | undefined;
37904
37904
  designSystemSwitcher?: {
package/dist/index.d.ts CHANGED
@@ -37878,10 +37878,10 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37878
37878
  name?: string | undefined;
37879
37879
  description?: string | undefined;
37880
37880
  } | undefined;
37881
+ isPublic?: boolean | undefined;
37881
37882
  docExporterId?: string | undefined;
37882
37883
  docUserSlug?: string | undefined;
37883
37884
  docSlugDeprecated?: string | undefined;
37884
- isPublic?: boolean | undefined;
37885
37885
  isMultibrand?: boolean | undefined;
37886
37886
  basePrefixes?: string[] | undefined;
37887
37887
  designSystemSwitcher?: {
@@ -37895,10 +37895,10 @@ declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<O
37895
37895
  name?: string | undefined;
37896
37896
  description?: string | undefined;
37897
37897
  } | undefined;
37898
+ isPublic?: boolean | undefined;
37898
37899
  docExporterId?: string | null | undefined;
37899
37900
  docUserSlug?: string | null | undefined;
37900
37901
  docSlugDeprecated?: string | undefined;
37901
- isPublic?: boolean | undefined;
37902
37902
  isMultibrand?: boolean | undefined;
37903
37903
  basePrefixes?: string[] | undefined;
37904
37904
  designSystemSwitcher?: {
package/dist/index.js CHANGED
@@ -122,6 +122,7 @@ var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequire
122
122
 
123
123
 
124
124
 
125
+
125
126
 
126
127
 
127
128
  var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
@@ -2437,7 +2438,7 @@ var FigmaComponentBooleanProperty = _zod.z.object({
2437
2438
  var FigmaComponentInstanceSwapProperty = _zod.z.object({
2438
2439
  type: _zod.z.literal(FigmaComponentPropertyType.enum.InstanceSwap),
2439
2440
  value: _zod.z.string()
2440
- // Persistent ID of a Component to swap?
2441
+ // Persistent ID of a Component to swap??
2441
2442
  });
2442
2443
  var FigmaComponentVariantProperty = _zod.z.object({
2443
2444
  type: _zod.z.literal(FigmaComponentPropertyType.enum.Variant),
@@ -3410,6 +3411,19 @@ var DocumentationPage = _zod.z.object({
3410
3411
  createdAt: _zod.z.coerce.date(),
3411
3412
  updatedAt: _zod.z.coerce.date()
3412
3413
  });
3414
+ var DocumentationSettings = _zod.z.object({
3415
+ // Basic
3416
+ designSystemVersionId: _zod.z.string(),
3417
+ createdAt: _zod.z.coerce.date(),
3418
+ updatedAt: _zod.z.coerce.date(),
3419
+ // Configuration
3420
+ isTabbedLayoutEnabled: _zod.z.boolean(),
3421
+ storybookEmbedErrorMessage: _zod.z.string().optional(),
3422
+ renderCodePackageJson: _zod.z.string().optional(),
3423
+ selectedBrandPersistentId: _zod.z.string().optional(),
3424
+ serveDefaultVersionOnly: _zod.z.boolean(),
3425
+ isPublic: _zod.z.boolean()
3426
+ });
3413
3427
  var DocumentationComment = _zod.z.object({
3414
3428
  id: _zod.z.string(),
3415
3429
  authorId: _zod.z.string(),
@@ -6346,7 +6360,7 @@ var VersionRoomBaseYDoc = class {
6346
6360
 
6347
6361
  // src/yjs/version-room/utils.ts
6348
6362
  function generatePageContentHash(content, definitions, debug = false) {
6349
- let sanitizedContent = content;
6363
+ let sanitizedContent = structuredClone(content);
6350
6364
  sanitizedContent = removeCommentSpansFromPage(content, definitions);
6351
6365
  if (isPageContentEmpty(sanitizedContent)) {
6352
6366
  sanitizedContent = { blocks: [] };