@depup/sanity 5.17.1-depup.0

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.
Files changed (116) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +57 -0
  3. package/bin/sanity +209 -0
  4. package/changes.json +114 -0
  5. package/lib/_chunks-dts/ActiveWorkspaceMatcherContext.d.ts +16164 -0
  6. package/lib/_chunks-dts/index.d.ts +780 -0
  7. package/lib/_chunks-dts/types.d.ts +2765 -0
  8. package/lib/_chunks-dts/types2.d.ts +656 -0
  9. package/lib/_chunks-dts/types3.d.ts +303 -0
  10. package/lib/_chunks-es/BroadcastDisplayedDocument.js +20 -0
  11. package/lib/_chunks-es/BroadcastDisplayedDocument.js.map +1 -0
  12. package/lib/_chunks-es/DisplayedDocumentBroadcaster.js +32 -0
  13. package/lib/_chunks-es/DisplayedDocumentBroadcaster.js.map +1 -0
  14. package/lib/_chunks-es/LiveQueries.js +339 -0
  15. package/lib/_chunks-es/LiveQueries.js.map +1 -0
  16. package/lib/_chunks-es/MenuGroup.js +106 -0
  17. package/lib/_chunks-es/MenuGroup.js.map +1 -0
  18. package/lib/_chunks-es/PostMessageDocuments.js +72 -0
  19. package/lib/_chunks-es/PostMessageDocuments.js.map +1 -0
  20. package/lib/_chunks-es/PostMessagePerspective.js +23 -0
  21. package/lib/_chunks-es/PostMessagePerspective.js.map +1 -0
  22. package/lib/_chunks-es/PostMessagePreviewSnapshots.js +69 -0
  23. package/lib/_chunks-es/PostMessagePreviewSnapshots.js.map +1 -0
  24. package/lib/_chunks-es/PostMessageRefreshMutations.js +74 -0
  25. package/lib/_chunks-es/PostMessageRefreshMutations.js.map +1 -0
  26. package/lib/_chunks-es/PostMessageSchema.js +502 -0
  27. package/lib/_chunks-es/PostMessageSchema.js.map +1 -0
  28. package/lib/_chunks-es/PostMessageTelemetry.js +21 -0
  29. package/lib/_chunks-es/PostMessageTelemetry.js.map +1 -0
  30. package/lib/_chunks-es/PresentationToolGrantsCheck.js +3848 -0
  31. package/lib/_chunks-es/PresentationToolGrantsCheck.js.map +1 -0
  32. package/lib/_chunks-es/QRCodeSVG.js +692 -0
  33. package/lib/_chunks-es/QRCodeSVG.js.map +1 -0
  34. package/lib/_chunks-es/StructureToolProvider.js +2360 -0
  35. package/lib/_chunks-es/StructureToolProvider.js.map +1 -0
  36. package/lib/_chunks-es/VideoPlayer.js +22 -0
  37. package/lib/_chunks-es/VideoPlayer.js.map +1 -0
  38. package/lib/_chunks-es/ViteDevServerStopped.js +52 -0
  39. package/lib/_chunks-es/ViteDevServerStopped.js.map +1 -0
  40. package/lib/_chunks-es/index.js +285 -0
  41. package/lib/_chunks-es/index.js.map +1 -0
  42. package/lib/_chunks-es/index2.js +105 -0
  43. package/lib/_chunks-es/index2.js.map +1 -0
  44. package/lib/_chunks-es/index3.js +139 -0
  45. package/lib/_chunks-es/index3.js.map +1 -0
  46. package/lib/_chunks-es/index4.js +1020 -0
  47. package/lib/_chunks-es/index4.js.map +1 -0
  48. package/lib/_chunks-es/pane.js +5 -0
  49. package/lib/_chunks-es/pane.js.map +1 -0
  50. package/lib/_chunks-es/pane2.js +5 -0
  51. package/lib/_chunks-es/pane2.js.map +1 -0
  52. package/lib/_chunks-es/presentation.js +549 -0
  53. package/lib/_chunks-es/presentation.js.map +1 -0
  54. package/lib/_chunks-es/resources.js +303 -0
  55. package/lib/_chunks-es/resources.js.map +1 -0
  56. package/lib/_chunks-es/resources2.js +459 -0
  57. package/lib/_chunks-es/resources2.js.map +1 -0
  58. package/lib/_chunks-es/resources3.js +281 -0
  59. package/lib/_chunks-es/resources3.js.map +1 -0
  60. package/lib/_chunks-es/resources4.js +184 -0
  61. package/lib/_chunks-es/resources4.js.map +1 -0
  62. package/lib/_chunks-es/resources5.js +161 -0
  63. package/lib/_chunks-es/resources5.js.map +1 -0
  64. package/lib/_chunks-es/resources6.js +141 -0
  65. package/lib/_chunks-es/resources6.js.map +1 -0
  66. package/lib/_chunks-es/resources7.js +24 -0
  67. package/lib/_chunks-es/resources7.js.map +1 -0
  68. package/lib/_chunks-es/resources8.js +603 -0
  69. package/lib/_chunks-es/resources8.js.map +1 -0
  70. package/lib/_chunks-es/resources9.js +126 -0
  71. package/lib/_chunks-es/resources9.js.map +1 -0
  72. package/lib/_chunks-es/structureTool.js +13673 -0
  73. package/lib/_chunks-es/structureTool.js.map +1 -0
  74. package/lib/_chunks-es/version.js +17 -0
  75. package/lib/_chunks-es/version.js.map +1 -0
  76. package/lib/_createContext.d.ts +12 -0
  77. package/lib/_createContext.js +38 -0
  78. package/lib/_createContext.js.map +1 -0
  79. package/lib/_internal.d.ts +9 -0
  80. package/lib/_internal.js +12 -0
  81. package/lib/_internal.js.map +1 -0
  82. package/lib/_singletons.d.ts +951 -0
  83. package/lib/_singletons.js +284 -0
  84. package/lib/_singletons.js.map +1 -0
  85. package/lib/cli.d.ts +3 -0
  86. package/lib/cli.js +9 -0
  87. package/lib/cli.js.map +1 -0
  88. package/lib/desk.d.ts +910 -0
  89. package/lib/desk.js +71 -0
  90. package/lib/desk.js.map +1 -0
  91. package/lib/index.d.ts +4 -0
  92. package/lib/index.js +92934 -0
  93. package/lib/index.js.map +1 -0
  94. package/lib/media-library.d.ts +85 -0
  95. package/lib/media-library.js +11 -0
  96. package/lib/media-library.js.map +1 -0
  97. package/lib/migrate.d.ts +1 -0
  98. package/lib/migrate.js +2 -0
  99. package/lib/migrate.js.map +1 -0
  100. package/lib/presentation.d.ts +28 -0
  101. package/lib/presentation.js +10 -0
  102. package/lib/presentation.js.map +1 -0
  103. package/lib/router.d.ts +560 -0
  104. package/lib/router.js +777 -0
  105. package/lib/router.js.map +1 -0
  106. package/lib/structure.d.ts +3 -0
  107. package/lib/structure.js +639 -0
  108. package/lib/structure.js.map +1 -0
  109. package/mock-browser-env-stub-loader.mjs +27 -0
  110. package/package.json +383 -0
  111. package/static/favicons/apple-touch-icon.png +0 -0
  112. package/static/favicons/favicon-192.png +0 -0
  113. package/static/favicons/favicon-512.png +0 -0
  114. package/static/favicons/favicon-96.png +0 -0
  115. package/static/favicons/favicon.ico +0 -0
  116. package/static/favicons/favicon.svg +12 -0
package/lib/desk.d.ts ADDED
@@ -0,0 +1,910 @@
1
+ import { it as Plugin } from "./_chunks-dts/ActiveWorkspaceMatcherContext.js";
2
+ import { $ as Serializable, $t as GenericListBuilder$1, A as StructureToolFeatures, At as DocumentListItem$1, B as StructureBuilderOptions$1, Bt as ListItemSerializeOptions$1, C as RouterPaneSiblingContext$1, Cn as BaseIntentParams$1, Ct as View$1, D as StructureResolver$1, Dn as IntentJsonParams$1, Dt as ListInput$1, En as IntentChecker$1, Et as ListBuilder$1, Ft as ListItem$1, G as ItemChild$1, Gt as DocumentListBuilder$1, H as ChildObservable$1, Ht as UnserializedListItem$1, It as ListItemBuilder$1, J as Collection$1, Jt as PartialDocumentList$1, K as Builder$1, Kt as DocumentListInput$1, Lt as ListItemChild$1, M as StructureToolPaneActionHandler, Mt as DocumentListItemInput$1, N as UnresolvedPaneNode$1, Nt as PartialDocumentListItem$1, O as StructureResolverContext$1, On as IntentParams$1, Ot as DocumentTypeListBuilder$1, Pt as isDocumentListItem$1, Q as EditorNode$1, Qt as GenericList$1, Rt as ListItemDisplayOptions$1, S as RouterPaneSibling$1, Sn as ComponentViewBuilder$1, St as UserViewComponent$1, T as SerializablePaneNode$1, Tn as Intent$1, Tt as List$1, U as ChildResolver$1, Ut as UnserializedListItemChild$1, V as createStructureBuilder$1, Vt as PartialListItem$1, W as ChildResolverOptions$1, Wt as DocumentList$1, X as Divider$1, Xt as BaseGenericList$1, Y as CollectionBuilder$1, Yt as getTypeNamesFromFilter$1, Z as DocumentNode$1, Zt as BuildableGenericList$1, _ as PaneMenuItem$1, _n as ViewBuilder$1, _t as DefaultDocumentNodeContext$1, a as ParameterizedLinkProps$1, an as maybeSerializeMenuItemGroup$1, at as ComponentBuilder$1, b as PaneNodeResolver$1, bn as FormViewBuilder$1, bt as StructureContext$1, cn as maybeSerializeInitialValueTemplateItem$1, ct as MenuItem$1, d as DocumentFieldMenuActionNode$1, dn as DocumentOptions$1, dt as MenuItemParamsType$1, en as GenericListInput$1, et as SerializeOptions$1, f as DocumentListPaneNode$1, fn as PartialDocumentNode$1, ft as PartialMenuItem$1, g as PaneListItemDivider$1, gn as GenericViewBuilder$1, gt as maybeSerializeMenuItem$1, h as PaneListItem$1, hn as BaseView$1, ht as getOrderingMenuItemsForSchemaType$1, i as PaneRouterContextValue$1, in as MenuItemGroupBuilder$1, it as Component$2, j as StructureToolOptions, jt as DocumentListItemBuilder$1, k as StructureToolContextValue, kt as DocumentTypeListInput$1, l as BaseResolvedPaneNode, ln as menuItemsFromInitialValueTemplateItems$1, lt as MenuItemActionType$1, m as ListPaneNode$1, mn as documentFromEditorWithInitialValue$1, mt as getOrderingMenuItem$1, n as ChildLinkProps$1, nt as StructureNode$1, o as ReferenceChildLinkProps$1, on as InitialValueTemplateItemBuilder$1, ot as ComponentInput$1, p as DocumentPaneNode$1, pn as documentFromEditor$1, pt as SortMenuItem$1, q as Child$1, qt as DocumentListOptions$1, r as EditReferenceOptions$1, rn as MenuItemGroup$1, rt as BuildableComponent$1, sn as defaultInitialValueTemplateItems$1, t as BackLinkProps$1, tn as ListDisplayOptions$1, tt as SerializePath$1, u as CustomComponentPaneNode$1, un as DocumentBuilder$1, ut as MenuItemBuilder$1, v as PaneMenuItemGroup$1, vn as maybeSerializeView$1, vt as DefaultDocumentNodeResolver$1, w as RouterPanes$1, wt as BuildableList$1, x as RouterPaneGroup$1, xn as ComponentView$1, xt as UserComponent$1, y as PaneNode$1, yn as FormView$1, yt as StructureBuilder$1, z as SerializeError$1, zt as ListItemInput$1 } from "./_chunks-dts/types.js";
3
+ import { C as PaneLayout$1, D as ConfirmDeleteDialogProps$1, E as ConfirmDeleteDialogContainer, O as BaseStructureToolPaneProps, S as usePaneRouter$1, _ as StructureLocaleResourceKeys$1, c as useDocumentPane$1, d as useDocumentTitle$1, h as DocumentPaneProviderProps$1, i as StructureToolProviderProps, l as DocumentInspectorHeader$1, n as useStructureTool, o as DocumentListPaneProps$1, r as StructureToolProvider } from "./_chunks-dts/index.js";
4
+ import * as react from "react";
5
+ /**
6
+ * @deprecated Import from `sanity/structure` instead
7
+ * @hidden
8
+ * @beta
9
+ */
10
+ type BackLinkProps = BackLinkProps$1;
11
+ /**
12
+ * @deprecated Import from `sanity/structure` instead
13
+ * @hidden
14
+ * @beta
15
+ */
16
+ type BaseGenericList = BaseGenericList$1;
17
+ /**
18
+ * @deprecated Import from `sanity/structure` instead
19
+ * @hidden
20
+ * @beta
21
+ */
22
+ type BaseIntentParams = BaseIntentParams$1;
23
+ /**
24
+ * @deprecated Import from `sanity/structure` instead
25
+ * @hidden
26
+ * @beta
27
+ */
28
+ type BaseView = BaseView$1;
29
+ /**
30
+ * @deprecated Import from `sanity/structure` instead
31
+ * @hidden
32
+ * @beta
33
+ */
34
+ type BuildableComponent = BuildableComponent$1;
35
+ /**
36
+ * @deprecated Import from `sanity/structure` instead
37
+ * @hidden
38
+ * @beta
39
+ */
40
+ type BuildableGenericList = BuildableGenericList$1;
41
+ /**
42
+ * @deprecated Import from `sanity/structure` instead
43
+ * @hidden
44
+ * @beta
45
+ */
46
+ type BuildableList = BuildableList$1;
47
+ /**
48
+ * @deprecated Import from `sanity/structure` instead
49
+ * @hidden
50
+ * @beta
51
+ */
52
+ type Builder = Builder$1;
53
+ /**
54
+ * @deprecated Import from `sanity/structure` instead
55
+ * @hidden
56
+ * @beta
57
+ */
58
+ type Child = Child$1;
59
+ /**
60
+ * @deprecated Import from `sanity/structure` instead
61
+ * @hidden
62
+ * @beta
63
+ */
64
+ type ChildLinkProps = ChildLinkProps$1;
65
+ /**
66
+ * @deprecated Import from `sanity/structure` instead
67
+ * @hidden
68
+ * @beta
69
+ */
70
+ type ChildObservable = ChildObservable$1;
71
+ /**
72
+ * @deprecated Import from `sanity/structure` instead
73
+ * @hidden
74
+ * @beta
75
+ */
76
+ type ChildResolver = ChildResolver$1;
77
+ /**
78
+ * @deprecated Import from `sanity/structure` instead
79
+ * @hidden
80
+ * @beta
81
+ */
82
+ type ChildResolverOptions = ChildResolverOptions$1;
83
+ /**
84
+ * @deprecated Import from `sanity/structure` instead
85
+ * @hidden
86
+ * @beta
87
+ */
88
+ type Collection = Collection$1;
89
+ /**
90
+ * @deprecated Import from `sanity/structure` instead
91
+ * @hidden
92
+ * @beta
93
+ */
94
+ type CollectionBuilder = CollectionBuilder$1;
95
+ /**
96
+ * @deprecated Import from `sanity/structure` instead
97
+ * @hidden
98
+ * @beta
99
+ */
100
+ type Component = Component$2;
101
+ /**
102
+ * @deprecated Import from `sanity/structure` instead
103
+ * @hidden
104
+ * @beta
105
+ */
106
+ type ComponentInput = ComponentInput$1;
107
+ /**
108
+ * @deprecated Import from `sanity/structure` instead
109
+ * @hidden
110
+ * @beta
111
+ */
112
+ type ComponentView = ComponentView$1;
113
+ /**
114
+ * @deprecated Import from `sanity/structure` instead
115
+ * @hidden
116
+ * @beta
117
+ */
118
+ type ConfirmDeleteDialogProps = ConfirmDeleteDialogProps$1;
119
+ /**
120
+ * @deprecated Import from `sanity/structure` instead
121
+ * @hidden
122
+ * @beta
123
+ */
124
+ type CustomComponentPaneNode = CustomComponentPaneNode$1;
125
+ /**
126
+ * @deprecated Import from `sanity/structure` instead
127
+ * @hidden
128
+ * @beta
129
+ */
130
+ type DefaultDocumentNodeContext = DefaultDocumentNodeContext$1;
131
+ /**
132
+ * @deprecated Import from `sanity/structure` instead
133
+ * @hidden
134
+ * @beta
135
+ */
136
+ type DefaultDocumentNodeResolver = DefaultDocumentNodeResolver$1;
137
+ /**
138
+ * @deprecated Import `StructureToolContextValue` from `sanity/structure` instead
139
+ * @hidden
140
+ * @beta
141
+ */
142
+ type DeskToolContextValue = StructureToolContextValue;
143
+ /**
144
+ * @deprecated Import `StructureToolFeatures` from `sanity/structure` instead
145
+ * @hidden
146
+ * @beta
147
+ */
148
+ type DeskToolFeatures = StructureToolFeatures;
149
+ /**
150
+ * @deprecated Import `StructureToolMenuItem` from `sanity/structure` instead
151
+ * @hidden
152
+ * @beta
153
+ */
154
+ type DeskToolMenuItem = MenuItem$1;
155
+ /**
156
+ * @deprecated Import `StructureToolOptions` from `sanity/structure` instead
157
+ * @hidden
158
+ * @public
159
+ */
160
+ type DeskToolOptions = StructureToolOptions;
161
+ /**
162
+ * @deprecated Import `StructureToolPaneActionHandler` from `sanity/structure` instead
163
+ * @hidden
164
+ * @beta
165
+ */
166
+ type DeskToolPaneActionHandler = StructureToolPaneActionHandler;
167
+ /**
168
+ * @deprecated Import `StructureToolProviderProps` from `sanity/structure` instead
169
+ * @hidden
170
+ * @beta
171
+ */
172
+ type DeskToolProviderProps = StructureToolProviderProps;
173
+ /**
174
+ * @deprecated Import from `sanity/structure` instead
175
+ * @hidden
176
+ * @beta
177
+ */
178
+ type Divider = Divider$1;
179
+ /**
180
+ * @deprecated Import from `sanity/structure` instead
181
+ * @hidden
182
+ * @beta
183
+ */
184
+ type DocumentFieldMenuActionNode = DocumentFieldMenuActionNode$1;
185
+ /**
186
+ * @deprecated Import from `sanity/structure` instead
187
+ * @hidden
188
+ * @beta
189
+ */
190
+ type DocumentList = DocumentList$1;
191
+ /**
192
+ * @deprecated Import from `sanity/structure` instead
193
+ * @hidden
194
+ * @beta
195
+ */
196
+ type DocumentListInput = DocumentListInput$1;
197
+ /**
198
+ * @deprecated Import from `sanity/structure` instead
199
+ * @hidden
200
+ * @beta
201
+ */
202
+ type DocumentListItem = DocumentListItem$1;
203
+ /**
204
+ * @deprecated Import from `sanity/structure` instead
205
+ * @hidden
206
+ * @beta
207
+ */
208
+ type DocumentListItemInput = DocumentListItemInput$1;
209
+ /**
210
+ * @deprecated Import from `sanity/structure` instead
211
+ * @hidden
212
+ * @beta
213
+ */
214
+ type DocumentListOptions = DocumentListOptions$1;
215
+ /**
216
+ * @deprecated Import from `sanity/structure` instead
217
+ * @hidden
218
+ * @beta
219
+ */
220
+ type DocumentListPaneNode = DocumentListPaneNode$1;
221
+ /**
222
+ * @deprecated Import from `sanity/structure` instead
223
+ * @hidden
224
+ * @beta
225
+ */
226
+ type DocumentListPaneProps = DocumentListPaneProps$1;
227
+ /**
228
+ * @deprecated Import from `sanity/structure` instead
229
+ * @hidden
230
+ * @beta
231
+ */
232
+ type DocumentNode = DocumentNode$1;
233
+ /**
234
+ * @deprecated Import from `sanity/structure` instead
235
+ * @hidden
236
+ * @beta
237
+ */
238
+ type DocumentOptions = DocumentOptions$1;
239
+ /**
240
+ * @deprecated Import from `sanity/structure` instead
241
+ * @hidden
242
+ * @beta
243
+ */
244
+ type DocumentPaneNode = DocumentPaneNode$1;
245
+ /**
246
+ * @deprecated Import from `sanity/structure` instead
247
+ * @hidden
248
+ * @beta
249
+ */
250
+ type DocumentPaneProviderProps = DocumentPaneProviderProps$1;
251
+ /**
252
+ * @deprecated Import from `sanity/structure` instead
253
+ * @hidden
254
+ * @beta
255
+ */
256
+ type DocumentTypeListInput = DocumentTypeListInput$1;
257
+ /**
258
+ * @deprecated Import from `sanity/structure` instead
259
+ * @hidden
260
+ * @beta
261
+ */
262
+ type EditReferenceOptions = EditReferenceOptions$1;
263
+ /**
264
+ * @deprecated Import from `sanity/structure` instead
265
+ * @hidden
266
+ * @beta
267
+ */
268
+ type EditorNode = EditorNode$1;
269
+ /**
270
+ * @deprecated Import from `sanity/structure` instead
271
+ * @hidden
272
+ * @beta
273
+ */
274
+ type FormView = FormView$1;
275
+ /**
276
+ * @deprecated Import from `sanity/structure` instead
277
+ * @hidden
278
+ * @beta
279
+ */
280
+ type GenericList = GenericList$1;
281
+ /**
282
+ * @deprecated Import from `sanity/structure` instead
283
+ * @hidden
284
+ * @beta
285
+ */
286
+ type GenericListInput = GenericListInput$1;
287
+ /**
288
+ * @deprecated Import from `sanity/structure` instead
289
+ * @hidden
290
+ * @beta
291
+ */
292
+ type Intent = Intent$1;
293
+ /**
294
+ * @deprecated Import from `sanity/structure` instead
295
+ * @hidden
296
+ * @beta
297
+ */
298
+ type IntentChecker = IntentChecker$1;
299
+ /**
300
+ * @deprecated Import from `sanity/structure` instead
301
+ * @hidden
302
+ * @beta
303
+ */
304
+ type IntentJsonParams = IntentJsonParams$1;
305
+ /**
306
+ * @deprecated Import from `sanity/structure` instead
307
+ * @hidden
308
+ * @beta
309
+ */
310
+ type IntentParams = IntentParams$1;
311
+ /**
312
+ * @deprecated Import from `sanity/structure` instead
313
+ * @hidden
314
+ * @beta
315
+ */
316
+ type ItemChild = ItemChild$1;
317
+ /**
318
+ * @deprecated Import from `sanity/structure` instead
319
+ * @hidden
320
+ * @beta
321
+ */
322
+ type List = List$1;
323
+ /**
324
+ * @deprecated Import from `sanity/structure` instead
325
+ * @hidden
326
+ * @beta
327
+ */
328
+ type ListDisplayOptions = ListDisplayOptions$1;
329
+ /**
330
+ * @deprecated Import from `sanity/structure` instead
331
+ * @hidden
332
+ * @beta
333
+ */
334
+ type ListInput = ListInput$1;
335
+ /**
336
+ * @deprecated Import from `sanity/structure` instead
337
+ * @hidden
338
+ * @beta
339
+ */
340
+ type ListItem = ListItem$1;
341
+ /**
342
+ * @deprecated Import from `sanity/structure` instead
343
+ * @hidden
344
+ * @beta
345
+ */
346
+ type ListItemChild = ListItemChild$1;
347
+ /**
348
+ * @deprecated Import from `sanity/structure` instead
349
+ * @hidden
350
+ * @beta
351
+ */
352
+ type ListItemDisplayOptions = ListItemDisplayOptions$1;
353
+ /**
354
+ * @deprecated Import from `sanity/structure` instead
355
+ * @hidden
356
+ * @beta
357
+ */
358
+ type ListItemInput = ListItemInput$1;
359
+ /**
360
+ * @deprecated Import from `sanity/structure` instead
361
+ * @hidden
362
+ * @beta
363
+ */
364
+ type ListItemSerializeOptions = ListItemSerializeOptions$1;
365
+ /**
366
+ * @deprecated Import from `sanity/structure` instead
367
+ * @hidden
368
+ * @beta
369
+ */
370
+ type ListPaneNode = ListPaneNode$1;
371
+ /**
372
+ * @deprecated Import from `sanity/structure` instead
373
+ * @hidden
374
+ * @beta
375
+ */
376
+ type MenuItem = MenuItem$1;
377
+ /**
378
+ * @deprecated Import from `sanity/structure` instead
379
+ * @hidden
380
+ * @beta
381
+ */
382
+ type MenuItemActionType = MenuItemActionType$1;
383
+ /**
384
+ * @deprecated Import from `sanity/structure` instead
385
+ * @hidden
386
+ * @beta
387
+ */
388
+ type MenuItemGroup = MenuItemGroup$1;
389
+ /**
390
+ * @deprecated Import from `sanity/structure` instead
391
+ * @hidden
392
+ * @beta
393
+ */
394
+ type MenuItemParamsType = MenuItemParamsType$1;
395
+ /**
396
+ * @deprecated Import from `sanity/structure` instead
397
+ * @hidden
398
+ * @beta
399
+ */
400
+ type PaneListItem = PaneListItem$1;
401
+ /**
402
+ * @deprecated Import from `sanity/structure` instead
403
+ * @hidden
404
+ * @beta
405
+ */
406
+ type PaneListItemDivider = PaneListItemDivider$1;
407
+ /**
408
+ * @deprecated Import from `sanity/structure` instead
409
+ * @hidden
410
+ * @beta
411
+ */
412
+ type PaneMenuItem = PaneMenuItem$1;
413
+ /**
414
+ * @deprecated Import from `sanity/structure` instead
415
+ * @hidden
416
+ * @beta
417
+ */
418
+ type PaneMenuItemGroup = PaneMenuItemGroup$1;
419
+ /**
420
+ * @deprecated Import from `sanity/structure` instead
421
+ * @hidden
422
+ * @beta
423
+ */
424
+ type PaneNode = PaneNode$1;
425
+ /**
426
+ * @deprecated Import from `sanity/structure` instead
427
+ * @hidden
428
+ * @beta
429
+ */
430
+ type PaneNodeResolver = PaneNodeResolver$1;
431
+ /**
432
+ * @deprecated Import from `sanity/structure` instead
433
+ * @hidden
434
+ * @beta
435
+ */
436
+ type PaneRouterContextValue = PaneRouterContextValue$1;
437
+ /**
438
+ * @deprecated Import from `sanity/structure` instead
439
+ * @hidden
440
+ * @beta
441
+ */
442
+ type ParameterizedLinkProps = ParameterizedLinkProps$1;
443
+ /**
444
+ * @deprecated Import from `sanity/structure` instead
445
+ * @hidden
446
+ * @beta
447
+ */
448
+ type PartialDocumentList = PartialDocumentList$1;
449
+ /**
450
+ * @deprecated Import from `sanity/structure` instead
451
+ * @hidden
452
+ * @beta
453
+ */
454
+ type PartialDocumentListItem = PartialDocumentListItem$1;
455
+ /**
456
+ * @deprecated Import from `sanity/structure` instead
457
+ * @hidden
458
+ * @beta
459
+ */
460
+ type PartialDocumentNode = PartialDocumentNode$1;
461
+ /**
462
+ * @deprecated Import from `sanity/structure` instead
463
+ * @hidden
464
+ * @beta
465
+ */
466
+ type PartialListItem = PartialListItem$1;
467
+ /**
468
+ * @deprecated Import from `sanity/structure` instead
469
+ * @hidden
470
+ * @beta
471
+ */
472
+ type PartialMenuItem = PartialMenuItem$1;
473
+ /**
474
+ * @deprecated Import from `sanity/structure` instead
475
+ * @hidden
476
+ * @beta
477
+ */
478
+ type ReferenceChildLinkProps = ReferenceChildLinkProps$1;
479
+ /**
480
+ * @deprecated Import from `sanity/structure` instead
481
+ * @hidden
482
+ * @beta
483
+ */
484
+ type RouterPaneGroup = RouterPaneGroup$1;
485
+ /**
486
+ * @deprecated Import from `sanity/structure` instead
487
+ * @hidden
488
+ * @beta
489
+ */
490
+ type RouterPaneSibling = RouterPaneSibling$1;
491
+ /**
492
+ * @deprecated Import from `sanity/structure` instead
493
+ * @hidden
494
+ * @beta
495
+ */
496
+ type RouterPaneSiblingContext = RouterPaneSiblingContext$1;
497
+ /**
498
+ * @deprecated Import from `sanity/structure` instead
499
+ * @hidden
500
+ * @beta
501
+ */
502
+ type RouterPanes = RouterPanes$1;
503
+ /**
504
+ * @deprecated Import from `sanity/structure` instead
505
+ * @hidden
506
+ * @beta
507
+ */
508
+ type SerializablePaneNode = SerializablePaneNode$1;
509
+ /**
510
+ * @deprecated Import from `sanity/structure` instead
511
+ * @hidden
512
+ * @beta
513
+ */
514
+ type SerializeOptions = SerializeOptions$1;
515
+ /**
516
+ * @deprecated Import from `sanity/structure` instead
517
+ * @hidden
518
+ * @beta
519
+ */
520
+ type SerializePath = SerializePath$1;
521
+ /**
522
+ * @deprecated Import from `sanity/structure` instead
523
+ * @hidden
524
+ * @beta
525
+ */
526
+ type SortMenuItem = SortMenuItem$1;
527
+ /**
528
+ * @deprecated Import from `sanity/structure` instead
529
+ * @hidden
530
+ * @beta
531
+ */
532
+ type StructureBuilder = StructureBuilder$1;
533
+ /**
534
+ * @deprecated Import from `sanity/structure` instead
535
+ * @hidden
536
+ * @beta
537
+ */
538
+ type StructureBuilderOptions = StructureBuilderOptions$1;
539
+ /**
540
+ * @deprecated Import from `sanity/structure` instead
541
+ * @hidden
542
+ * @beta
543
+ */
544
+ type StructureContext = StructureContext$1;
545
+ /**
546
+ * @deprecated Import from `sanity/structure` instead
547
+ * @hidden
548
+ * @beta
549
+ */
550
+ type StructureLocaleResourceKeys = StructureLocaleResourceKeys$1;
551
+ /**
552
+ * @deprecated Import from `sanity/structure` instead
553
+ * @hidden
554
+ * @beta
555
+ */
556
+ type StructureNode = StructureNode$1;
557
+ /**
558
+ * @deprecated Import from `sanity/structure` instead
559
+ * @hidden
560
+ * @beta
561
+ */
562
+ type StructureResolver = StructureResolver$1;
563
+ /**
564
+ * @deprecated Import from `sanity/structure` instead
565
+ * @hidden
566
+ * @beta
567
+ */
568
+ type StructureResolverContext = StructureResolverContext$1;
569
+ /**
570
+ * @deprecated Import from `sanity/structure` instead
571
+ * @hidden
572
+ * @beta
573
+ */
574
+ type UnresolvedPaneNode = UnresolvedPaneNode$1;
575
+ /**
576
+ * @deprecated Import from `sanity/structure` instead
577
+ * @hidden
578
+ * @beta
579
+ */
580
+ type UnserializedListItem = UnserializedListItem$1;
581
+ /**
582
+ * @deprecated Import from `sanity/structure` instead
583
+ * @hidden
584
+ * @beta
585
+ */
586
+ type UnserializedListItemChild = UnserializedListItemChild$1;
587
+ /**
588
+ * @deprecated Import from `sanity/structure` instead
589
+ * @hidden
590
+ * @beta
591
+ */
592
+ type UserComponent = UserComponent$1;
593
+ /**
594
+ * @deprecated Import from `sanity/structure` instead
595
+ * @hidden
596
+ * @beta
597
+ */
598
+ type UserViewComponent = UserViewComponent$1;
599
+ /**
600
+ * @deprecated Import from `sanity/structure` instead
601
+ * @hidden
602
+ * @beta
603
+ */
604
+ type View = View$1;
605
+ /**
606
+ * @deprecated Import from `sanity/structure` instead
607
+ * @hidden
608
+ * @beta
609
+ */
610
+ type ViewBuilder = ViewBuilder$1;
611
+ /** --------- NON-TYPES FOLLOW --------- */
612
+ /**
613
+ * @deprecated Import from `sanity/structure` instead!
614
+ * @hidden
615
+ * @beta
616
+ */
617
+ declare const ComponentBuilder: typeof ComponentBuilder$1;
618
+ /**
619
+ * @deprecated Import from `sanity/structure` instead!
620
+ * @hidden
621
+ * @beta
622
+ */
623
+ declare const ComponentViewBuilder: typeof ComponentViewBuilder$1;
624
+ /**
625
+ * @deprecated Import from `sanity/structure` instead!
626
+ * @hidden
627
+ * @beta
628
+ */
629
+ declare const ConfirmDeleteDialog: typeof ConfirmDeleteDialogContainer;
630
+ /**
631
+ * @deprecated Import from `sanity/structure` instead!
632
+ * @hidden
633
+ * @beta
634
+ */
635
+ declare const DEFAULT_INTENT_HANDLER: symbol;
636
+ /**
637
+ * @deprecated Import `StructureToolProvider` from `sanity/structure` instead!
638
+ * @hidden
639
+ * @beta
640
+ */
641
+ declare const DeskToolProvider: typeof StructureToolProvider;
642
+ /**
643
+ * @deprecated Import from `sanity/structure` instead!
644
+ * @hidden
645
+ * @beta
646
+ */
647
+ declare const DocumentBuilder: typeof DocumentBuilder$1;
648
+ /**
649
+ * @deprecated Import from `sanity/structure` instead!
650
+ * @hidden
651
+ * @beta
652
+ */
653
+ declare const DocumentInspectorHeader: typeof DocumentInspectorHeader$1;
654
+ /**
655
+ * @deprecated Import from `sanity/structure` instead!
656
+ * @hidden
657
+ * @beta
658
+ */
659
+ declare const DocumentListBuilder: typeof DocumentListBuilder$1;
660
+ /**
661
+ * @deprecated Import from `sanity/structure` instead!
662
+ * @hidden
663
+ * @beta
664
+ */
665
+ declare const DocumentListItemBuilder: typeof DocumentListItemBuilder$1;
666
+ /**
667
+ * @deprecated Import from `sanity/structure` instead!
668
+ * @hidden
669
+ * @beta
670
+ */
671
+ declare const DocumentListPane: react.NamedExoticComponent<BaseStructureToolPaneProps<"documentList">>;
672
+ /**
673
+ * @deprecated Import from `sanity/structure` instead!
674
+ * @hidden
675
+ * @beta
676
+ */
677
+ declare const DocumentPane: react.NamedExoticComponent<DocumentPaneProviderProps$1>;
678
+ /**
679
+ * @deprecated Import from `sanity/structure` instead!
680
+ * @hidden
681
+ * @beta
682
+ */
683
+ declare const DocumentPaneProvider: react.MemoExoticComponent<(props: DocumentPaneProviderProps$1) => react.JSX.Element>;
684
+ /**
685
+ * @deprecated Import from `sanity/structure` instead!
686
+ * @hidden
687
+ * @beta
688
+ */
689
+ declare const DocumentTypeListBuilder: typeof DocumentTypeListBuilder$1;
690
+ /**
691
+ * @deprecated Import from `sanity/structure` instead!
692
+ * @hidden
693
+ * @beta
694
+ */
695
+ declare const FormViewBuilder: typeof FormViewBuilder$1;
696
+ /**
697
+ * @deprecated Import from `sanity/structure` instead!
698
+ * @hidden
699
+ * @beta
700
+ */
701
+ declare const GenericListBuilder: typeof GenericListBuilder$1;
702
+ /**
703
+ * @deprecated Import from `sanity/structure` instead!
704
+ * @hidden
705
+ * @beta
706
+ */
707
+ declare const GenericViewBuilder: typeof GenericViewBuilder$1;
708
+ /**
709
+ * @deprecated Import from `sanity/structure` instead!
710
+ * @hidden
711
+ * @beta
712
+ */
713
+ declare const HELP_URL: {
714
+ ID_REQUIRED: "structure-node-id-required";
715
+ TITLE_REQUIRED: "structure-title-required";
716
+ FILTER_REQUIRED: "structure-filter-required";
717
+ INVALID_LIST_ITEM: "structure-invalid-list-item";
718
+ COMPONENT_REQUIRED: "structure-view-component-required";
719
+ DOCUMENT_ID_REQUIRED: "structure-document-id-required";
720
+ DOCUMENT_TYPE_REQUIRED: "structure-document-type-required";
721
+ SCHEMA_TYPE_REQUIRED: "structure-schema-type-required";
722
+ SCHEMA_TYPE_NOT_FOUND: "structure-schema-type-not-found";
723
+ LIST_ITEMS_MUST_BE_ARRAY: "structure-list-items-must-be-array";
724
+ QUERY_PROVIDED_FOR_FILTER: "structure-query-provided-for-filter";
725
+ ACTION_OR_INTENT_REQUIRED: "structure-action-or-intent-required";
726
+ LIST_ITEM_IDS_MUST_BE_UNIQUE: "structure-list-item-ids-must-be-unique";
727
+ ACTION_AND_INTENT_MUTUALLY_EXCLUSIVE: "structure-action-and-intent-mutually-exclusive";
728
+ API_VERSION_REQUIRED_FOR_CUSTOM_FILTER: "structure-api-version-required-for-custom-filter";
729
+ };
730
+ /**
731
+ * @deprecated Import from `sanity/structure` instead!
732
+ * @hidden
733
+ * @beta
734
+ */
735
+ declare const InitialValueTemplateItemBuilder: typeof InitialValueTemplateItemBuilder$1;
736
+ /**
737
+ * @deprecated Import from `sanity/structure` instead!
738
+ * @hidden
739
+ * @beta
740
+ */
741
+ declare const ListBuilder: typeof ListBuilder$1;
742
+ /**
743
+ * @deprecated Import from `sanity/structure` instead!
744
+ * @hidden
745
+ * @beta
746
+ */
747
+ declare const ListItemBuilder: typeof ListItemBuilder$1;
748
+ /**
749
+ * @deprecated Import from `sanity/structure` instead!
750
+ * @hidden
751
+ * @beta
752
+ */
753
+ declare const MenuItemBuilder: typeof MenuItemBuilder$1;
754
+ /**
755
+ * @deprecated Import from `sanity/structure` instead!
756
+ * @hidden
757
+ * @beta
758
+ */
759
+ declare const MenuItemGroupBuilder: typeof MenuItemGroupBuilder$1;
760
+ /**
761
+ * @deprecated Import from `sanity/structure` instead!
762
+ * @hidden
763
+ * @beta
764
+ */
765
+ declare const PaneLayout: typeof PaneLayout$1;
766
+ /**
767
+ * @deprecated Import from `sanity/structure` instead!
768
+ * @hidden
769
+ * @beta
770
+ */
771
+ declare const SerializeError: typeof SerializeError$1;
772
+ /**
773
+ * @deprecated Import from `sanity/structure` instead!
774
+ * @hidden
775
+ * @beta
776
+ */
777
+ declare const component: (componentOrSpec?: Partial<ComponentView$1<Record<string, any>>> | UserViewComponent$1 | undefined) => ComponentViewBuilder$1;
778
+ /**
779
+ * @deprecated Import from `sanity/structure` instead!
780
+ * @hidden
781
+ * @beta
782
+ */
783
+ declare const createStructureBuilder: typeof createStructureBuilder$1;
784
+ /**
785
+ * @deprecated Import from `sanity/structure` instead!
786
+ * @hidden
787
+ * @beta
788
+ */
789
+ declare const defaultInitialValueTemplateItems: typeof defaultInitialValueTemplateItems$1;
790
+ /**
791
+ * @deprecated Import from `sanity/structure` instead!
792
+ * @hidden
793
+ * @beta
794
+ */
795
+ declare const defaultIntentChecker: IntentChecker$1;
796
+ /**
797
+ * @deprecated Import `structureTool` from `sanity/structure` instead!
798
+ * @hidden
799
+ * @public
800
+ */
801
+ declare const deskTool: Plugin<void | StructureToolOptions>;
802
+ /**
803
+ * @deprecated Import from `sanity/structure` instead!
804
+ * @hidden
805
+ * @beta
806
+ */
807
+ declare const documentFromEditor: typeof documentFromEditor$1;
808
+ /**
809
+ * @deprecated Import from `sanity/structure` instead!
810
+ * @hidden
811
+ * @beta
812
+ */
813
+ declare const documentFromEditorWithInitialValue: typeof documentFromEditorWithInitialValue$1;
814
+ /**
815
+ * @deprecated Import from `sanity/structure` instead!
816
+ * @hidden
817
+ * @beta
818
+ */
819
+ declare const form: (spec?: Partial<FormView$1> | undefined) => FormViewBuilder$1;
820
+ /**
821
+ * @deprecated Import from `sanity/structure` instead!
822
+ * @hidden
823
+ * @beta
824
+ */
825
+ declare const getOrderingMenuItem: typeof getOrderingMenuItem$1;
826
+ /**
827
+ * @deprecated Import from `sanity/structure` instead!
828
+ * @hidden
829
+ * @beta
830
+ */
831
+ declare const getOrderingMenuItemsForSchemaType: typeof getOrderingMenuItemsForSchemaType$1;
832
+ /**
833
+ * @deprecated Import from `sanity/structure` instead!
834
+ * @hidden
835
+ * @beta
836
+ */
837
+ declare const getTypeNamesFromFilter: typeof getTypeNamesFromFilter$1;
838
+ /**
839
+ * @deprecated Import from `sanity/structure` instead!
840
+ * @hidden
841
+ * @beta
842
+ */
843
+ declare const isDocumentListItem: typeof isDocumentListItem$1;
844
+ /**
845
+ * @deprecated Import from `sanity/structure` instead!
846
+ * @hidden
847
+ * @beta
848
+ */
849
+ declare const maybeSerializeInitialValueTemplateItem: typeof maybeSerializeInitialValueTemplateItem$1;
850
+ /**
851
+ * @deprecated Import from `sanity/structure` instead!
852
+ * @hidden
853
+ * @beta
854
+ */
855
+ declare const maybeSerializeMenuItem: typeof maybeSerializeMenuItem$1;
856
+ /**
857
+ * @deprecated Import from `sanity/structure` instead!
858
+ * @hidden
859
+ * @beta
860
+ */
861
+ declare const maybeSerializeMenuItemGroup: typeof maybeSerializeMenuItemGroup$1;
862
+ /**
863
+ * @deprecated Import from `sanity/structure` instead!
864
+ * @hidden
865
+ * @beta
866
+ */
867
+ declare const maybeSerializeView: typeof maybeSerializeView$1;
868
+ /**
869
+ * @deprecated Import from `sanity/structure` instead!
870
+ * @hidden
871
+ * @beta
872
+ */
873
+ declare const menuItemsFromInitialValueTemplateItems: typeof menuItemsFromInitialValueTemplateItems$1;
874
+ /**
875
+ * @deprecated Import from `sanity/structure` instead!
876
+ * @hidden
877
+ * @beta
878
+ */
879
+ declare const shallowIntentChecker: IntentChecker$1;
880
+ /**
881
+ * @deprecated Import from `sanity/structure` instead!
882
+ * @hidden
883
+ * @beta
884
+ */
885
+ declare const structureLocaleNamespace: "structure";
886
+ /**
887
+ * @deprecated Import `useStructureTool` from `sanity/structure` instead!
888
+ * @hidden
889
+ * @beta
890
+ */
891
+ declare const useDeskTool: typeof useStructureTool;
892
+ /**
893
+ * @deprecated Import from `sanity/structure` instead!
894
+ * @hidden
895
+ * @beta
896
+ */
897
+ declare const useDocumentPane: typeof useDocumentPane$1;
898
+ /**
899
+ * @deprecated Import from `sanity/structure` instead!
900
+ * @hidden
901
+ * @beta
902
+ */
903
+ declare const useDocumentTitle: typeof useDocumentTitle$1;
904
+ /**
905
+ * @deprecated Import from `sanity/structure` instead!
906
+ * @hidden
907
+ * @beta
908
+ */
909
+ declare const usePaneRouter: typeof usePaneRouter$1;
910
+ export { BackLinkProps, BaseGenericList, BaseIntentParams, type BaseResolvedPaneNode, BaseView, BuildableComponent, BuildableGenericList, BuildableList, Builder, Child, ChildLinkProps, ChildObservable, ChildResolver, ChildResolverOptions, Collection, CollectionBuilder, Component, ComponentBuilder, ComponentInput, ComponentView, ComponentViewBuilder, ConfirmDeleteDialog, ConfirmDeleteDialogProps, CustomComponentPaneNode, DEFAULT_INTENT_HANDLER, DefaultDocumentNodeContext, DefaultDocumentNodeResolver, DeskToolContextValue, DeskToolFeatures, DeskToolMenuItem, DeskToolOptions, DeskToolPaneActionHandler, DeskToolProvider, DeskToolProviderProps, Divider, DocumentBuilder, DocumentFieldMenuActionNode, DocumentInspectorHeader, DocumentList, DocumentListBuilder, DocumentListInput, DocumentListItem, DocumentListItemBuilder, DocumentListItemInput, DocumentListOptions, DocumentListPane, DocumentListPaneNode, DocumentListPaneProps, DocumentNode, DocumentOptions, DocumentPane, DocumentPaneNode, DocumentPaneProvider, DocumentPaneProviderProps, DocumentTypeListBuilder, DocumentTypeListInput, EditReferenceOptions, EditorNode, FormView, FormViewBuilder, GenericList, GenericListBuilder, GenericListInput, GenericViewBuilder, HELP_URL, InitialValueTemplateItemBuilder, Intent, IntentChecker, IntentJsonParams, IntentParams, ItemChild, List, ListBuilder, ListDisplayOptions, ListInput, ListItem, ListItemBuilder, ListItemChild, ListItemDisplayOptions, ListItemInput, ListItemSerializeOptions, ListPaneNode, MenuItem, MenuItemActionType, MenuItemBuilder, MenuItemGroup, MenuItemGroupBuilder, MenuItemParamsType, PaneLayout, PaneListItem, PaneListItemDivider, PaneMenuItem, PaneMenuItemGroup, PaneNode, PaneNodeResolver, PaneRouterContextValue, ParameterizedLinkProps, PartialDocumentList, PartialDocumentListItem, PartialDocumentNode, PartialListItem, PartialMenuItem, ReferenceChildLinkProps, RouterPaneGroup, RouterPaneSibling, RouterPaneSiblingContext, RouterPanes, type Serializable, SerializablePaneNode, SerializeError, SerializeOptions, SerializePath, SortMenuItem, StructureBuilder, StructureBuilderOptions, StructureContext, StructureLocaleResourceKeys, StructureNode, StructureResolver, StructureResolverContext, UnresolvedPaneNode, UnserializedListItem, UnserializedListItemChild, UserComponent, UserViewComponent, View, ViewBuilder, component, createStructureBuilder, defaultInitialValueTemplateItems, defaultIntentChecker, deskTool, documentFromEditor, documentFromEditorWithInitialValue, form, getOrderingMenuItem, getOrderingMenuItemsForSchemaType, getTypeNamesFromFilter, isDocumentListItem, maybeSerializeInitialValueTemplateItem, maybeSerializeMenuItem, maybeSerializeMenuItemGroup, maybeSerializeView, menuItemsFromInitialValueTemplateItems, shallowIntentChecker, structureLocaleNamespace, useDeskTool, useDocumentPane, useDocumentTitle, usePaneRouter };