@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernova-studio/model",
3
- "version": "0.48.26",
3
+ "version": "0.48.28",
4
4
  "description": "Supernova Data Models",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -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({
@@ -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({