@portabletext/types
Advanced tools
+3
-3
@@ -43,3 +43,3 @@ /** | ||
| */ | ||
| _type: "block" | string; | ||
| _type: "block" | (string & {}); | ||
| /** | ||
@@ -93,3 +93,3 @@ * A key that identifies this block uniquely within the parent array. Used to more easily address | ||
| */ | ||
| type PortableTextBlockStyle = "normal" | "blockquote" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | string; | ||
| type PortableTextBlockStyle = "normal" | "blockquote" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | (string & {}); | ||
| /** | ||
@@ -99,3 +99,3 @@ * A set of _common_ (but not required/standardized) list item types | ||
| */ | ||
| type PortableTextListItemType = "bullet" | "number" | string; | ||
| type PortableTextListItemType = "bullet" | "number" | (string & {}); | ||
| /** | ||
@@ -102,0 +102,0 @@ * A mark definition holds information for marked text. For instance, a text span could reference |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.d.ts","names":[],"sources":["../src/related.ts","../src/portableText.ts"],"sourcesContent":[],"mappings":"AAKA;AAkBA;;ACVA;;AACyC,UDTxB,WAAA,CCSwB;EAC7B;;;;EAES,KAAA,EAAA,MAAA;EAqBT;;;;EApBF,IAAA,CAAA,EAAA,MAAA;;AAwDV;;;;AAE0B,KDrDd,oBAAA,GAAuB,WCqDT,GAAA;EACL,CAAA,GAAA,EAAA,MAAA,CAAA,EAAA,GAAA;CACA;ADvDrB;;ACVA;;;;;;;;;AAgCa,UAhCI,iBAgCJ,CAMH,UArCE,0BAqCF,GArC+B,0BAqC/B,EAMG,UA1CD,WA0CC,GA1Ca,oBA0Cb,GA1CoC,gBA0CpC,EAvCH,UAAA,MAAA,GAFW,sBAEX,EAAA,UAAA,MAAA,GADW,wBACX,CAwDV,SAxDU,WAwDO,CAAA;EACL;;;;;;EAIqB,KAAA,EAAA,OAAA,GAAA,MAAA;EAAG;;;;;EAA1B,IAAA,CAAA,EAAA,MAAA;EAAA;AAQV;AAeA;AAQA;EAsBA,QAAiB,EA9FL,CA8FK,EAAA;EA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;;;;;;UAsBA,gBAAA;;;;;;;;;;;;;;;;;;;;;;;;UA4BA,gBAAA"} |
+3
-2
| { | ||
| "name": "@portabletext/types", | ||
| "version": "3.0.1", | ||
| "version": "4.0.0", | ||
| "description": "Shared TypeScript definitions for core Portable Text data structures", | ||
@@ -42,2 +42,3 @@ "keywords": [ | ||
| "oxlint": "^1.32.0", | ||
| "oxlint-tsgolint": "^0.8.4", | ||
| "tsdown": "^0.17.2", | ||
@@ -54,3 +55,3 @@ "typedoc": "^0.28.15", | ||
| "format": "oxfmt .", | ||
| "lint": "oxlint --deny-warnings --report-unused-disable-directives", | ||
| "lint": "oxlint --type-aware --type-check --deny-warnings --report-unused-disable-directives", | ||
| "node:test": "node test/test.js", | ||
@@ -57,0 +58,0 @@ "release": "changeset publish", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
11144
0.95%0
-100%10
11.11%