@supernova-studio/model 0.48.26 → 0.48.28
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 +606 -190
- package/dist/index.d.ts +606 -190
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/dsm/elements/data/documentation-block-v1.ts +7 -1
- package/src/export/exporter.ts +1 -0
package/package.json
CHANGED
|
@@ -210,14 +210,20 @@ export const PageBlockTableProperties = z.object({
|
|
|
210
210
|
columns: z.array(PageBlockTableColumn),
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export const PageBlockTextSpanAttributeType = z.enum(["Bold", "Italic", "Link", "Strikethrough", "Code"]);
|
|
213
|
+
export const PageBlockTextSpanAttributeType = z.enum(["Bold", "Italic", "Link", "Strikethrough", "Code", "Comment"]);
|
|
214
214
|
|
|
215
215
|
export const PageBlockTextSpanAttribute = z.object({
|
|
216
216
|
type: PageBlockTextSpanAttributeType,
|
|
217
|
+
|
|
218
|
+
// Link attributes
|
|
217
219
|
link: nullishToOptional(z.string()),
|
|
218
220
|
documentationItemId: nullishToOptional(z.string()),
|
|
219
221
|
openInNewWindow: nullishToOptional(z.boolean()), // deprecated. use openInNewTab
|
|
220
222
|
openInNewTab: nullishToOptional(z.boolean()),
|
|
223
|
+
|
|
224
|
+
// Comment attributes
|
|
225
|
+
commentHighlightId: nullishToOptional(z.string()),
|
|
226
|
+
commentIsResolved: nullishToOptional(z.boolean()),
|
|
221
227
|
});
|
|
222
228
|
|
|
223
229
|
export const PageBlockTextSpan = z.object({
|
package/src/export/exporter.ts
CHANGED
|
@@ -25,6 +25,7 @@ export const ExporterPulsarDetails = z.object({
|
|
|
25
25
|
|
|
26
26
|
usesBrands: nullishToOptional(z.boolean()).default(false),
|
|
27
27
|
usesThemes: nullishToOptional(z.boolean()).default(false),
|
|
28
|
+
usesLocale: nullishToOptional(z.boolean()).default(false),
|
|
28
29
|
});
|
|
29
30
|
|
|
30
31
|
export const ExporterDetails = ExporterPulsarDetails.extend({
|