@sanity/client 7.11.1 → 7.11.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/dist/index.d.cts CHANGED
@@ -1863,6 +1863,21 @@ export declare type ImageDescriptionOperation = {
1863
1863
  }
1864
1864
  )
1865
1865
 
1866
+ /** @public */
1867
+ export declare type ImportReleaseAction =
1868
+ | {
1869
+ actionType: 'sanity.action.release.import'
1870
+ attributes: IdentifiedSanityDocumentStub
1871
+ releaseId: string
1872
+ ifExists: 'fail' | 'ignore' | 'replace'
1873
+ }
1874
+ | {
1875
+ actionType: 'sanity.action.release.import'
1876
+ document: IdentifiedSanityDocumentStub
1877
+ releaseId: string
1878
+ ifExists: 'fail' | 'ignore' | 'replace'
1879
+ }
1880
+
1866
1881
  /** @public */
1867
1882
  export declare interface InitializedClientConfig extends ClientConfig {
1868
1883
  apiHost: string
@@ -4229,6 +4244,7 @@ export declare type ReleaseAction =
4229
4244
  | ScheduleReleaseAction
4230
4245
  | UnscheduleReleaseAction
4231
4246
  | DeleteReleaseAction
4247
+ | ImportReleaseAction
4232
4248
 
4233
4249
  /** @public */
4234
4250
  export declare type ReleaseCardinality = 'many' | 'one' | undefined
package/dist/index.d.ts CHANGED
@@ -1863,6 +1863,21 @@ export declare type ImageDescriptionOperation = {
1863
1863
  }
1864
1864
  )
1865
1865
 
1866
+ /** @public */
1867
+ export declare type ImportReleaseAction =
1868
+ | {
1869
+ actionType: 'sanity.action.release.import'
1870
+ attributes: IdentifiedSanityDocumentStub
1871
+ releaseId: string
1872
+ ifExists: 'fail' | 'ignore' | 'replace'
1873
+ }
1874
+ | {
1875
+ actionType: 'sanity.action.release.import'
1876
+ document: IdentifiedSanityDocumentStub
1877
+ releaseId: string
1878
+ ifExists: 'fail' | 'ignore' | 'replace'
1879
+ }
1880
+
1866
1881
  /** @public */
1867
1882
  export declare interface InitializedClientConfig extends ClientConfig {
1868
1883
  apiHost: string
@@ -4229,6 +4244,7 @@ export declare type ReleaseAction =
4229
4244
  | ScheduleReleaseAction
4230
4245
  | UnscheduleReleaseAction
4231
4246
  | DeleteReleaseAction
4247
+ | ImportReleaseAction
4232
4248
 
4233
4249
  /** @public */
4234
4250
  export declare type ReleaseCardinality = 'many' | 'one' | undefined
package/dist/index.js CHANGED
@@ -2669,7 +2669,7 @@ function defineDeprecatedCreateClient(createClient2) {
2669
2669
  return printNoDefaultExport(), createClient2(config);
2670
2670
  };
2671
2671
  }
2672
- var name = "@sanity/client", version = "7.11.1";
2672
+ var name = "@sanity/client", version = "7.11.2";
2673
2673
  const middleware = [
2674
2674
  debug({ verbose: !0, namespace: "sanity:client" }),
2675
2675
  headers({ "User-Agent": `${name} ${version}` }),