sanity 5.18.0 → 5.18.1-next.11

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.
@@ -12640,6 +12640,7 @@ interface OperationError {
12640
12640
  op: keyof OperationsAPI;
12641
12641
  id: string;
12642
12642
  error: Error;
12643
+ idPair: IdPair;
12643
12644
  }
12644
12645
  /**
12645
12646
  * @hidden
@@ -12649,6 +12650,7 @@ interface OperationSuccess {
12649
12650
  /** @internal */
12650
12651
  op: keyof OperationsAPI;
12651
12652
  id: string;
12653
+ idPair: IdPair;
12652
12654
  }
12653
12655
  interface IntermediarySuccess {
12654
12656
  type: 'success';
@@ -416,7 +416,8 @@ declare const structureLocaleStrings: {
416
416
  'banners.reference-changed-banner.reason-changed.reload-button.text': string; /** The text for the reference change banner if the reason is that the reference has been changed */
417
417
  'banners.reference-changed-banner.reason-changed.text': string; /** The text for the close button */
418
418
  'banners.reference-changed-banner.reason-removed.close-button.text': string; /** The text for the reference change banner if the reason is that the reference has been deleted */
419
- 'banners.reference-changed-banner.reason-removed.text': string; /** The text that appears for the action button to add the current document to the global release */
419
+ 'banners.reference-changed-banner.reason-removed.text': string; /** The text that appears for the action button to add the current document to the global bundle, this happens when user is viewing an anonymous bundle */
420
+ 'banners.release.action.add-to-bundle': string; /** The text that appears for the action button to add the current document to the global release */
420
421
  'banners.release.action.add-to-release': string; /** The text that appears for the action button to add the current document to the global release */
421
422
  'banners.release.action.open-to-edit': string; /** Toast description in case an error occurs when adding a document to a release */
422
423
  'banners.release.error.description': string; /** Toast title in case an error occurs when adding a document to a release */
@@ -602,7 +603,8 @@ declare const structureLocaleStrings: {
602
603
  'panes.document-operation-results.operation-success_delete': string; /** The text when a discard changes operation succeeded */
603
604
  'panes.document-operation-results.operation-success_discardChanges': string; /** The text when a duplicate operation succeeded */
604
605
  'panes.document-operation-results.operation-success_duplicate': string; /** The text when a publish operation succeeded */
605
- 'panes.document-operation-results.operation-success_publish': string; /** The text when a restore operation succeeded */
606
+ 'panes.document-operation-results.operation-success_publish': string; /** The text when a publish operation succeeded in an anonymous version */
607
+ 'panes.document-operation-results.operation-success_publishVersion': string; /** The text when a restore operation succeeded */
606
608
  'panes.document-operation-results.operation-success_restore': string; /** The text when an unpublish operation succeeded */
607
609
  'panes.document-operation-results.operation-success_unpublish': string; /** The document title shown when document title is "undefined" in operation message */
608
610
  'panes.document-operation-results.operation-undefined-title': string; /** The loading message for the document not found pane */
@@ -1720,7 +1720,7 @@ function inferInitialValueTemplates(context, spec) {
1720
1720
  schemaType
1721
1721
  })).map((option) => ({
1722
1722
  ...option,
1723
- icon: AddIcon
1723
+ icon: option.icon || AddIcon
1724
1724
  }));
1725
1725
  }
1726
1726
  function inferTypeName(spec) {