@wix/auto_sdk_containers_projects 1.0.22 → 1.0.23
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/build/cjs/index.d.ts +17 -16
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +33 -24
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +11 -7
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +17 -16
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +33 -24
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +11 -7
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +17 -16
- package/build/internal/cjs/index.typings.d.ts +33 -24
- package/build/internal/cjs/meta.d.ts +11 -7
- package/build/internal/es/index.d.mts +17 -16
- package/build/internal/es/index.typings.d.mts +33 -24
- package/build/internal/es/meta.d.mts +11 -7
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -43,9 +43,12 @@ interface SaveProjectDesignSignature {
|
|
|
43
43
|
* A `CHECKPOINT` message is then added to the conversation. If the checkpoint can't be added, the
|
|
44
44
|
* design is still saved.
|
|
45
45
|
*
|
|
46
|
-
* For
|
|
46
|
+
* For a new `HIMALAYA_MOBILE` project, call
|
|
47
|
+
* [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
|
|
48
|
+
* and specify its returned `canonicalApp` when saving the design. For an already claimed project,
|
|
49
|
+
* call
|
|
47
50
|
* [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
|
|
48
|
-
*
|
|
51
|
+
* and specify the returned `canonicalApp`.
|
|
49
52
|
* @param - ID of the project whose design to save.
|
|
50
53
|
* @param - ID of the release that the user is currently viewing.
|
|
51
54
|
*
|
|
@@ -97,9 +100,14 @@ interface StartMobileBuildSignature {
|
|
|
97
100
|
* [Get Latest Mobile Builds](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-latest-mobile-builds)
|
|
98
101
|
* with `himalayaControlToken`.
|
|
99
102
|
*
|
|
100
|
-
* For
|
|
103
|
+
* For a new `HIMALAYA_MOBILE` project, call
|
|
104
|
+
* [Claim Himalaya App](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/claim-himalaya-app)
|
|
105
|
+
* before starting a build. For an existing project, call
|
|
101
106
|
* [Get Himalaya Authorization](https://dev.wix.com/docs/api-reference/mobile/containers-app/containers-projects/project-v1/get-himalaya-authorization)
|
|
102
|
-
*
|
|
107
|
+
* and specify the returned `canonicalApp`.
|
|
108
|
+
*
|
|
109
|
+
* If a build can't start for a platform, the response lists that platform in
|
|
110
|
+
* `failedPlatforms` while returning any builds that did start in `builds`.
|
|
103
111
|
* @param - ID of the project to build.
|
|
104
112
|
* @param - Platforms to build. One build is started for each platform.
|
|
105
113
|
*/
|
|
@@ -125,18 +133,11 @@ interface GetLatestMobileBuildsSignature {
|
|
|
125
133
|
declare function claimHimalayaApp$1(httpClient: HttpClient): ClaimHimalayaAppSignature;
|
|
126
134
|
interface ClaimHimalayaAppSignature {
|
|
127
135
|
/**
|
|
128
|
-
* Claims the
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
* consistent read and takes the MetaSite from this call's identity context, then claims
|
|
134
|
-
* server-to-server with a site USER token minted for the initiating collaborator. Himalaya
|
|
135
|
-
* recognises that token as minted by THIS service and trusts the pair on that basis. A dashboard
|
|
136
|
-
* calling Himalaya directly could name another site's project UUID and reserve its global slug.
|
|
137
|
-
*
|
|
138
|
-
* Idempotent per pair: an already-claimed project returns its existing canonical app.
|
|
139
|
-
* @param - Site-tenanted Containers project to claim a Himalaya app for.
|
|
136
|
+
* Claims the app associated with a project, or retrieves its existing claim.
|
|
137
|
+
*
|
|
138
|
+
* An authorized site collaborator can call this method for a new `HIMALAYA_MOBILE` project
|
|
139
|
+
* before using its app. Repeating the call for the same project returns the same `canonicalApp`.
|
|
140
|
+
* @param - ID of the site project whose app to claim or retrieve.
|
|
140
141
|
*/
|
|
141
142
|
(projectId: string): Promise<NonNullablePaths<ClaimHimalayaAppResponse, `authorizationVersion` | `metaSiteId` | `projectId` | `canonicalApp`, 0>>;
|
|
142
143
|
}
|