merchi_sdk_js 0.18.0 → 0.19.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.
- package/package.json +1 -1
- package/src/domain.js +18 -0
package/package.json
CHANGED
package/src/domain.js
CHANGED
|
@@ -262,6 +262,19 @@ export function Domain() {
|
|
|
262
262
|
* @property {string} [googleAdsQuoteConversionLabel]
|
|
263
263
|
*/
|
|
264
264
|
|
|
265
|
+
/**
|
|
266
|
+
* Public BYO connection status (never includes encrypted tokens).
|
|
267
|
+
* @typedef {Object} StorefrontV2ByoStatus
|
|
268
|
+
* @property {'platform'|'byo'} infrastructureMode
|
|
269
|
+
* @property {boolean} githubAppConfigured
|
|
270
|
+
* @property {boolean} vercelOauthConfigured
|
|
271
|
+
* @property {boolean} githubConnected
|
|
272
|
+
* @property {boolean} vercelConnected
|
|
273
|
+
* @property {string|null} [githubAccountLogin]
|
|
274
|
+
* @property {string|null} [githubInstallationId]
|
|
275
|
+
* @property {string|null} [vercelTeamId]
|
|
276
|
+
*/
|
|
277
|
+
|
|
265
278
|
/**
|
|
266
279
|
* @typedef {Object} StorefrontV2Config
|
|
267
280
|
* @property {number} [id]
|
|
@@ -277,6 +290,11 @@ export function Domain() {
|
|
|
277
290
|
* @property {string|null} [repoOwner]
|
|
278
291
|
* @property {string|null} [repoName]
|
|
279
292
|
* @property {string|null} [vercelProjectId]
|
|
293
|
+
* @property {string|null} [vercelTeamId]
|
|
294
|
+
* @property {'platform'|'byo'|string|null} [infrastructureMode]
|
|
295
|
+
* @property {string|null} [githubInstallationId]
|
|
296
|
+
* @property {string|null} [githubAccountLogin]
|
|
297
|
+
* @property {StorefrontV2ByoStatus|null} [byo]
|
|
280
298
|
* @property {string|null} [lastSuccessfulCommitSha]
|
|
281
299
|
* @property {StorefrontGoogleIntegrations|null} [googleIntegrations]
|
|
282
300
|
* @property {Array<string>} [approvedStarterTemplates]
|