@supernova-studio/client 0.45.1 → 0.46.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 CHANGED
@@ -8278,7 +8278,6 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8278
8278
  } | null | undefined;
8279
8279
  } | null | undefined;
8280
8280
  documentationItemId?: string | null | undefined;
8281
- pageHeadingId?: string | null | undefined;
8282
8281
  url?: string | null | undefined;
8283
8282
  openInNewTab?: boolean | null | undefined;
8284
8283
  urlPreview?: {
@@ -8460,7 +8459,6 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8460
8459
  } | null | undefined;
8461
8460
  } | null | undefined;
8462
8461
  documentationItemId?: string | null | undefined;
8463
- pageHeadingId?: string | null | undefined;
8464
8462
  url?: string | null | undefined;
8465
8463
  openInNewTab?: boolean | null | undefined;
8466
8464
  urlPreview?: {
@@ -8760,7 +8758,6 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8760
8758
  } | null | undefined;
8761
8759
  } | null | undefined;
8762
8760
  documentationItemId?: string | null | undefined;
8763
- pageHeadingId?: string | null | undefined;
8764
8761
  url?: string | null | undefined;
8765
8762
  openInNewTab?: boolean | null | undefined;
8766
8763
  urlPreview?: {
@@ -8942,7 +8939,6 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8942
8939
  } | null | undefined;
8943
8940
  } | null | undefined;
8944
8941
  documentationItemId?: string | null | undefined;
8945
- pageHeadingId?: string | null | undefined;
8946
8942
  url?: string | null | undefined;
8947
8943
  openInNewTab?: boolean | null | undefined;
8948
8944
  urlPreview?: {
package/dist/index.d.ts CHANGED
@@ -8278,7 +8278,6 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8278
8278
  } | null | undefined;
8279
8279
  } | null | undefined;
8280
8280
  documentationItemId?: string | null | undefined;
8281
- pageHeadingId?: string | null | undefined;
8282
8281
  url?: string | null | undefined;
8283
8282
  openInNewTab?: boolean | null | undefined;
8284
8283
  urlPreview?: {
@@ -8460,7 +8459,6 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8460
8459
  } | null | undefined;
8461
8460
  } | null | undefined;
8462
8461
  documentationItemId?: string | null | undefined;
8463
- pageHeadingId?: string | null | undefined;
8464
8462
  url?: string | null | undefined;
8465
8463
  openInNewTab?: boolean | null | undefined;
8466
8464
  urlPreview?: {
@@ -8760,7 +8758,6 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8760
8758
  } | null | undefined;
8761
8759
  } | null | undefined;
8762
8760
  documentationItemId?: string | null | undefined;
8763
- pageHeadingId?: string | null | undefined;
8764
8761
  url?: string | null | undefined;
8765
8762
  openInNewTab?: boolean | null | undefined;
8766
8763
  urlPreview?: {
@@ -8942,7 +8939,6 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8942
8939
  } | null | undefined;
8943
8940
  } | null | undefined;
8944
8941
  documentationItemId?: string | null | undefined;
8945
- pageHeadingId?: string | null | undefined;
8946
8942
  url?: string | null | undefined;
8947
8943
  openInNewTab?: boolean | null | undefined;
8948
8944
  urlPreview?: {
package/dist/index.js CHANGED
@@ -1,4 +1,11 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// ../model/dist/index.mjs
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => {
4
+ __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
+ return value;
6
+ };
7
+
8
+ // ../model/dist/index.mjs
2
9
  var _zod = require('zod');
3
10
 
4
11
 
@@ -804,7 +811,6 @@ var PageBlockShortcut = _zod.z.object({
804
811
  description: nullishToOptional(_zod.z.string()),
805
812
  asset: nullishToOptional(PageBlockAsset),
806
813
  documentationItemId: nullishToOptional(_zod.z.string()),
807
- pageHeadingId: nullishToOptional(_zod.z.string()),
808
814
  url: nullishToOptional(_zod.z.string()),
809
815
  openInNewTab: nullishToOptional(_zod.z.boolean()),
810
816
  urlPreview: nullishToOptional(PageBlockUrlPreview),
@@ -2525,6 +2531,7 @@ var PublishedDocPage = _zod.z.object({
2525
2531
  pathV1: _zod.z.string(),
2526
2532
  pathV2: _zod.z.string(),
2527
2533
  storagePath: _zod.z.string(),
2534
+ fallbackPublicPath: _zod.z.string().optional(),
2528
2535
  locale: _zod.z.string().optional(),
2529
2536
  isPrivate: _zod.z.boolean(),
2530
2537
  isHidden: _zod.z.boolean(),
@@ -5729,6 +5736,9 @@ var BlockDefinitionUtils = {
5729
5736
 
5730
5737
  // src/yjs/docs-editor/list-tree-builder.ts
5731
5738
  var ListTreeBuilder = class {
5739
+ constructor() {
5740
+ __publicField(this, "rootNode");
5741
+ }
5732
5742
  addWithProperty(block, multiRichTextProperty) {
5733
5743
  const parsedOptions = PageBlockDefinitionMutiRichTextOptions.optional().parse(multiRichTextProperty.options);
5734
5744
  return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _34 => _34.multiRichTextStyle]) || "OL");