@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/README.md +21 -14
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.d.cts +16 -0
- package/dist/index.browser.d.ts +16 -0
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/stega.browser.d.cts +16 -0
- package/dist/stega.browser.d.ts +16 -0
- package/dist/stega.d.cts +16 -0
- package/dist/stega.d.ts +16 -0
- package/package.json +1 -1
- package/src/types.ts +16 -0
package/dist/stega.browser.d.cts
CHANGED
|
@@ -2018,6 +2018,21 @@ export declare type ImageDescriptionOperation = {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
)
|
|
2020
2020
|
|
|
2021
|
+
/** @public */
|
|
2022
|
+
export declare type ImportReleaseAction =
|
|
2023
|
+
| {
|
|
2024
|
+
actionType: 'sanity.action.release.import'
|
|
2025
|
+
attributes: IdentifiedSanityDocumentStub
|
|
2026
|
+
releaseId: string
|
|
2027
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
2028
|
+
}
|
|
2029
|
+
| {
|
|
2030
|
+
actionType: 'sanity.action.release.import'
|
|
2031
|
+
document: IdentifiedSanityDocumentStub
|
|
2032
|
+
releaseId: string
|
|
2033
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2021
2036
|
/** @public */
|
|
2022
2037
|
export declare interface InitializedClientConfig extends ClientConfig {
|
|
2023
2038
|
apiHost: string
|
|
@@ -4407,6 +4422,7 @@ export declare type ReleaseAction =
|
|
|
4407
4422
|
| ScheduleReleaseAction
|
|
4408
4423
|
| UnscheduleReleaseAction
|
|
4409
4424
|
| DeleteReleaseAction
|
|
4425
|
+
| ImportReleaseAction
|
|
4410
4426
|
|
|
4411
4427
|
/** @public */
|
|
4412
4428
|
export declare type ReleaseCardinality = 'many' | 'one' | undefined
|
package/dist/stega.browser.d.ts
CHANGED
|
@@ -2018,6 +2018,21 @@ export declare type ImageDescriptionOperation = {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
)
|
|
2020
2020
|
|
|
2021
|
+
/** @public */
|
|
2022
|
+
export declare type ImportReleaseAction =
|
|
2023
|
+
| {
|
|
2024
|
+
actionType: 'sanity.action.release.import'
|
|
2025
|
+
attributes: IdentifiedSanityDocumentStub
|
|
2026
|
+
releaseId: string
|
|
2027
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
2028
|
+
}
|
|
2029
|
+
| {
|
|
2030
|
+
actionType: 'sanity.action.release.import'
|
|
2031
|
+
document: IdentifiedSanityDocumentStub
|
|
2032
|
+
releaseId: string
|
|
2033
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2021
2036
|
/** @public */
|
|
2022
2037
|
export declare interface InitializedClientConfig extends ClientConfig {
|
|
2023
2038
|
apiHost: string
|
|
@@ -4407,6 +4422,7 @@ export declare type ReleaseAction =
|
|
|
4407
4422
|
| ScheduleReleaseAction
|
|
4408
4423
|
| UnscheduleReleaseAction
|
|
4409
4424
|
| DeleteReleaseAction
|
|
4425
|
+
| ImportReleaseAction
|
|
4410
4426
|
|
|
4411
4427
|
/** @public */
|
|
4412
4428
|
export declare type ReleaseCardinality = 'many' | 'one' | undefined
|
package/dist/stega.d.cts
CHANGED
|
@@ -2018,6 +2018,21 @@ export declare type ImageDescriptionOperation = {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
)
|
|
2020
2020
|
|
|
2021
|
+
/** @public */
|
|
2022
|
+
export declare type ImportReleaseAction =
|
|
2023
|
+
| {
|
|
2024
|
+
actionType: 'sanity.action.release.import'
|
|
2025
|
+
attributes: IdentifiedSanityDocumentStub
|
|
2026
|
+
releaseId: string
|
|
2027
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
2028
|
+
}
|
|
2029
|
+
| {
|
|
2030
|
+
actionType: 'sanity.action.release.import'
|
|
2031
|
+
document: IdentifiedSanityDocumentStub
|
|
2032
|
+
releaseId: string
|
|
2033
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2021
2036
|
/** @public */
|
|
2022
2037
|
export declare interface InitializedClientConfig extends ClientConfig {
|
|
2023
2038
|
apiHost: string
|
|
@@ -4407,6 +4422,7 @@ export declare type ReleaseAction =
|
|
|
4407
4422
|
| ScheduleReleaseAction
|
|
4408
4423
|
| UnscheduleReleaseAction
|
|
4409
4424
|
| DeleteReleaseAction
|
|
4425
|
+
| ImportReleaseAction
|
|
4410
4426
|
|
|
4411
4427
|
/** @public */
|
|
4412
4428
|
export declare type ReleaseCardinality = 'many' | 'one' | undefined
|
package/dist/stega.d.ts
CHANGED
|
@@ -2018,6 +2018,21 @@ export declare type ImageDescriptionOperation = {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
)
|
|
2020
2020
|
|
|
2021
|
+
/** @public */
|
|
2022
|
+
export declare type ImportReleaseAction =
|
|
2023
|
+
| {
|
|
2024
|
+
actionType: 'sanity.action.release.import'
|
|
2025
|
+
attributes: IdentifiedSanityDocumentStub
|
|
2026
|
+
releaseId: string
|
|
2027
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
2028
|
+
}
|
|
2029
|
+
| {
|
|
2030
|
+
actionType: 'sanity.action.release.import'
|
|
2031
|
+
document: IdentifiedSanityDocumentStub
|
|
2032
|
+
releaseId: string
|
|
2033
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
2034
|
+
}
|
|
2035
|
+
|
|
2021
2036
|
/** @public */
|
|
2022
2037
|
export declare interface InitializedClientConfig extends ClientConfig {
|
|
2023
2038
|
apiHost: string
|
|
@@ -4407,6 +4422,7 @@ export declare type ReleaseAction =
|
|
|
4407
4422
|
| ScheduleReleaseAction
|
|
4408
4423
|
| UnscheduleReleaseAction
|
|
4409
4424
|
| DeleteReleaseAction
|
|
4425
|
+
| ImportReleaseAction
|
|
4410
4426
|
|
|
4411
4427
|
/** @public */
|
|
4412
4428
|
export declare type ReleaseCardinality = 'many' | 'one' | undefined
|
package/package.json
CHANGED
package/src/types.ts
CHANGED
|
@@ -622,6 +622,7 @@ export type ReleaseAction =
|
|
|
622
622
|
| ScheduleReleaseAction
|
|
623
623
|
| UnscheduleReleaseAction
|
|
624
624
|
| DeleteReleaseAction
|
|
625
|
+
| ImportReleaseAction
|
|
625
626
|
|
|
626
627
|
/** @public */
|
|
627
628
|
export type VersionAction =
|
|
@@ -642,6 +643,21 @@ export type Action =
|
|
|
642
643
|
| VersionAction
|
|
643
644
|
| ReleaseAction
|
|
644
645
|
|
|
646
|
+
/** @public */
|
|
647
|
+
export type ImportReleaseAction =
|
|
648
|
+
| {
|
|
649
|
+
actionType: 'sanity.action.release.import'
|
|
650
|
+
attributes: IdentifiedSanityDocumentStub
|
|
651
|
+
releaseId: string
|
|
652
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
653
|
+
}
|
|
654
|
+
| {
|
|
655
|
+
actionType: 'sanity.action.release.import'
|
|
656
|
+
document: IdentifiedSanityDocumentStub
|
|
657
|
+
releaseId: string
|
|
658
|
+
ifExists: 'fail' | 'ignore' | 'replace'
|
|
659
|
+
}
|
|
660
|
+
|
|
645
661
|
/**
|
|
646
662
|
* Creates a new release under the given id, with metadata.
|
|
647
663
|
*
|