@supernova-studio/client 0.4.4 → 0.4.6

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/client",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "Supernova Data Models",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",
@@ -144,6 +144,9 @@ const newSchema = {
144
144
  content: "(paragraph|image)+",
145
145
  isolating: true,
146
146
  attrs: {
147
+ id: {
148
+ default: null,
149
+ },
147
150
  textAlign: {
148
151
  default: "left",
149
152
  },
@@ -166,6 +169,9 @@ const newSchema = {
166
169
  markSet: [],
167
170
  groups: [],
168
171
  attrs: {
172
+ id: {
173
+ default: null,
174
+ },
169
175
  textAlign: {
170
176
  hasDefault: true,
171
177
  default: "left",
@@ -184,6 +190,7 @@ const newSchema = {
184
190
  },
185
191
  },
186
192
  defaultAttrs: {
193
+ id: null,
187
194
  textAlign: "left",
188
195
  colspan: 1,
189
196
  rowspan: 1,
@@ -204,6 +211,9 @@ const newSchema = {
204
211
  content: "(paragraph|image)+",
205
212
  isolating: true,
206
213
  attrs: {
214
+ id: {
215
+ default: null,
216
+ },
207
217
  textAlign: {
208
218
  default: "left",
209
219
  },
@@ -226,6 +236,9 @@ const newSchema = {
226
236
  markSet: [],
227
237
  groups: [],
228
238
  attrs: {
239
+ id: {
240
+ default: null,
241
+ },
229
242
  textAlign: {
230
243
  hasDefault: true,
231
244
  default: "left",
@@ -244,6 +257,7 @@ const newSchema = {
244
257
  },
245
258
  },
246
259
  defaultAttrs: {
260
+ id: null,
247
261
  textAlign: "left",
248
262
  colspan: 1,
249
263
  rowspan: 1,
@@ -754,6 +768,7 @@ const newSchema = {
754
768
  defining: true,
755
769
  attrs: {
756
770
  id: {
771
+ hasDefault: true,
757
772
  default: null,
758
773
  },
759
774
  definitionId: {
@@ -772,6 +787,9 @@ const newSchema = {
772
787
  markSet: [],
773
788
  groups: ["block"],
774
789
  attrs: {
790
+ id: {
791
+ default: null,
792
+ },
775
793
  definitionId: {
776
794
  hasDefault: true,
777
795
  default: "io.supernova.block.blockquote",
@@ -782,6 +800,7 @@ const newSchema = {
782
800
  },
783
801
  },
784
802
  defaultAttrs: {
803
+ id: null,
785
804
  definitionId: "io.supernova.block.blockquote",
786
805
  variantId: "default",
787
806
  },