@sanity/assist 1.2.1 → 1.2.2

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": "@sanity/assist",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "sanity",
@@ -367,7 +367,7 @@ export const fieldInstructions = defineType({
367
367
 
368
368
  export const assistDocumentSchema = defineType({
369
369
  //NOTE: this is a document type. Using object here ensures it does not appear in structure menus
370
- type: 'document',
370
+ type: 'object',
371
371
  //workaround for using object and not document
372
372
  ...({liveEdit: true} as any),
373
373
  name: assistDocumentTypeName,