@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 +0 -4
- package/dist/index.d.ts +0 -4
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/yjs/design-system-content/index.ts +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
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
|
+
|
|
1
8
|
// ../model/dist/index.mjs
|
|
2
9
|
import { z } from "zod";
|
|
3
10
|
import { z as z2 } from "zod";
|
|
@@ -804,7 +811,6 @@ var PageBlockShortcut = z34.object({
|
|
|
804
811
|
description: nullishToOptional(z34.string()),
|
|
805
812
|
asset: nullishToOptional(PageBlockAsset),
|
|
806
813
|
documentationItemId: nullishToOptional(z34.string()),
|
|
807
|
-
pageHeadingId: nullishToOptional(z34.string()),
|
|
808
814
|
url: nullishToOptional(z34.string()),
|
|
809
815
|
openInNewTab: nullishToOptional(z34.boolean()),
|
|
810
816
|
urlPreview: nullishToOptional(PageBlockUrlPreview),
|
|
@@ -2525,6 +2531,7 @@ var PublishedDocPage = z118.object({
|
|
|
2525
2531
|
pathV1: z118.string(),
|
|
2526
2532
|
pathV2: z118.string(),
|
|
2527
2533
|
storagePath: z118.string(),
|
|
2534
|
+
fallbackPublicPath: z118.string().optional(),
|
|
2528
2535
|
locale: z118.string().optional(),
|
|
2529
2536
|
isPrivate: z118.boolean(),
|
|
2530
2537
|
isHidden: z118.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, parsedOptions?.multiRichTextStyle || "OL");
|