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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/domain.js +18 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_js",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
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]