@supernova-studio/model 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 +3 -57
- package/dist/index.d.ts +3 -57
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/data/documentation-block-v1.ts +0 -1
- package/src/dsm/published-doc-page.ts +1 -0
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
|
// src/auth/plugin-oauth-request.ts
|
|
2
9
|
import { z } from "zod";
|
|
3
10
|
var PluginOAuthRequestSchema = z.object({
|
|
@@ -781,7 +788,6 @@ var PageBlockShortcut = z34.object({
|
|
|
781
788
|
description: nullishToOptional(z34.string()),
|
|
782
789
|
asset: nullishToOptional(PageBlockAsset),
|
|
783
790
|
documentationItemId: nullishToOptional(z34.string()),
|
|
784
|
-
pageHeadingId: nullishToOptional(z34.string()),
|
|
785
791
|
url: nullishToOptional(z34.string()),
|
|
786
792
|
openInNewTab: nullishToOptional(z34.boolean()),
|
|
787
793
|
urlPreview: nullishToOptional(PageBlockUrlPreview),
|
|
@@ -1894,8 +1900,8 @@ function traversePageItemsV2(pageItems, fn) {
|
|
|
1894
1900
|
}
|
|
1895
1901
|
var PageBlockDefinitionsMap = class {
|
|
1896
1902
|
constructor(definitions) {
|
|
1897
|
-
this
|
|
1898
|
-
this
|
|
1903
|
+
__publicField(this, "definitionsMap", /* @__PURE__ */ new Map());
|
|
1904
|
+
__publicField(this, "propertiesMap", /* @__PURE__ */ new Map());
|
|
1899
1905
|
definitions.forEach((d) => {
|
|
1900
1906
|
this.definitionsMap.set(d.id, d);
|
|
1901
1907
|
d.item.properties.forEach((p) => {
|
|
@@ -2938,6 +2944,7 @@ var PublishedDocPage = z118.object({
|
|
|
2938
2944
|
pathV1: z118.string(),
|
|
2939
2945
|
pathV2: z118.string(),
|
|
2940
2946
|
storagePath: z118.string(),
|
|
2947
|
+
fallbackPublicPath: z118.string().optional(),
|
|
2941
2948
|
locale: z118.string().optional(),
|
|
2942
2949
|
isPrivate: z118.boolean(),
|
|
2943
2950
|
isHidden: z118.boolean(),
|