@ankhorage/contracts 19.2.1 → 19.2.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/CHANGELOG.md +6 -0
- package/dist/appManifest/deploy.d.ts +1 -1
- package/dist/appManifest/deploy.d.ts.map +1 -1
- package/dist/appManifest/deploy.js.map +1 -1
- package/dist/deploy.d.ts +1 -1
- package/dist/deploy.d.ts.map +1 -1
- package/dist/deploy.js +1 -1
- package/dist/deploy.js.map +1 -1
- package/dist/deployProvider.d.ts +4 -4
- package/dist/deployProvider.d.ts.map +1 -1
- package/dist/deployProvider.js +4 -4
- package/dist/deployProvider.js.map +1 -1
- package/dist/types/deployMonetization.d.ts +1 -1
- package/dist/types/deployMonetization.d.ts.map +1 -1
- package/dist/types/deployMonetization.js.map +1 -1
- package/dist/types/deployProvider.d.ts +4 -4
- package/dist/types/deployProvider.d.ts.map +1 -1
- package/dist/types/deployProvider.js.map +1 -1
- package/dist/types/deployRelease.d.ts +1 -1
- package/dist/types/deployRelease.d.ts.map +1 -1
- package/dist/types/deployRelease.js.map +1 -1
- package/dist/types/deployStoreListing.d.ts +1 -1
- package/dist/types/deployStoreListing.d.ts.map +1 -1
- package/dist/types/deployStoreListing.js.map +1 -1
- package/package.json +2 -2
- package/src/appManifest/deploy.ts +1 -1
- package/src/deploy.ts +1 -1
- package/src/deployProvider.ts +4 -4
- package/src/types/deployMonetization.ts +1 -1
- package/src/types/deployProvider.ts +4 -4
- package/src/types/deployRelease.ts +1 -1
- package/src/types/deployStoreListing.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AppDeployManifest } from '../deploy';
|
|
1
|
+
import type { AppDeployManifest } from '../deploy.js';
|
|
2
2
|
/*** Validate authored application deployment configuration. */
|
|
3
3
|
export declare function isAppDeployManifest(value: unknown): value is AppDeployManifest;
|
|
4
4
|
//# sourceMappingURL=deploy.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/appManifest/deploy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAGV,iBAAiB,EAIlB,MAAM,
|
|
1
|
+
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../../src/appManifest/deploy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAGV,iBAAiB,EAIlB,MAAM,cAAc,CAAC;AAUtB,+DAA+D;AAC/D,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,iBAAiB,CAE9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../src/appManifest/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAW7D,MAAM,WAAW,GAAG,CAAC,SAAS,CAAU,CAAC;AACzC,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAU,CAAC;AACvD,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,SAAS,CAAU,CAAC;AACpD,MAAM,QAAQ,GAAG,CAAC,SAAS,EAAE,WAAW,CAAU,CAAC;AACnD,MAAM,YAAY,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAU,CAAC;AAC5E,MAAM,QAAQ,GAAG,CAAC,SAAS,EAAE,kBAAkB,EAAE,QAAQ,EAAE,WAAW,CAAU,CAAC;AACjF,MAAM,kBAAkB,GAAG,4BAA4B,CAAC;AAExD,+DAA+D;AAC/D,MAAM,UAAU,mBAAmB,CAAC,KAAc;IAChD,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,IAAI,kBAAkB,CAAC,KAAK,CAAC,OAAO,C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AC;QACxC,gBAAgB,CAAC,KAAK,CAAC,MAAM,CAAC;QAC9B,mBAAmB,CAAC,KAAK,CAAC,SAAS,CAAC,CACrC,CAAC;AACJ,CAAC;AAED,gEAAgE;AAChE,SAAS,gBAAgB,CAAC,KAAc;IACtC,OAAO,KAAK,KAAK,SAAS,IAAI,CAAC,OAAO,KAAK,KAAK,QAAQ,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;AAC9F,CAAC;AAED,0EAA0E;AAC1E,SAAS,mBAAmB,CAAC,KAAc;IACzC,OAAO,KAAK,KAAK,SAAS,IAAI,mBAAmB,CAAC,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,6EAA6E;AAC7E,SAAS,mBAAmB,CAAC,KAAc;IACzC,OAAO,CACL,QAAQ,CAAC,KAAK,CAAC;QACf,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC;QACjC,CAAC,KAAK,CAAC,KAAK,KAAK,SAAS,IAAI,gBAAgB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC5D,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,IAAI,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CACjE,CAAC;AACJ,CAAC","sourcesContent":["import { hasOnlyKeys, isRecord } from '@ankhorage/utility/object';\nimport { isNonEmptyString } from '@ankhorage/utility/string';\n\nimport type {\n AppDeployAndroidTargetConfig,\n AppDeployIosTargetConfig,\n AppDeployManifest,\n AppDeployProviderSelection,\n AppDeployTargets,\n AppDeployWebTargetConfig,\n} from '../deploy';\n\nconst DEPLOY_KEYS = ['targets'] as const;\nconst TARGET_KEYS = ['web', 'android', 'ios'] as const;\nconst PROVIDER_KEYS = ['build', 'publish'] as const;\nconst WEB_KEYS = ['enabled', 'providers'] as const;\nconst ANDROID_KEYS = ['enabled', 'package', 'scheme', 'providers'] as const;\nconst IOS_KEYS = ['enabled', 'bundleIdentifier', 'scheme', 'providers'] as const;\nconst URI_SCHEME_PATTERN = /^[A-Za-z][A-Za-z0-9+.-]*$/u;\n\n/*** Validate authored application deployment configuration. */\nexport function isAppDeployManifest(value: unknown): value is AppDeployManifest {\n return isRecord(value) && hasOnlyKeys(value, DEPLOY_KEYS) && isAppDeployTargets(value.targets);\n}\n\n/*** Validate the optional web, Android and iOS deployment targets. */\nfunction isAppDeployTargets(value: unknown): value is AppDeployTargets {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, TARGET_KEYS) &&\n (value.web === undefined || isWebTarget(value.web)) &&\n (value.android === undefined || isAndroidTarget(value.android)) &&\n (value.ios === undefined || isIosTarget(value.ios))\n );\n}\n\n/*** Validate web deployment identity and provider selection. */\nfunction isWebTarget(value: unknown): value is AppDeployWebTargetConfig {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, WEB_KEYS) &&\n typeof value.enabled === 'boolean' &&\n isOptionalProviders(value.providers)\n );\n}\n\n/*** Validate Android deployment identity, scheme and provider selection. */\nfunction isAndroidTarget(value: unknown): value is AppDeployAndroidTargetConfig {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, ANDROID_KEYS) &&\n typeof value.enabled === 'boolean' &&\n isNonEmptyString(value.package) &&\n isOptionalScheme(value.scheme) &&\n isOptionalProviders(value.providers)\n );\n}\n\n/*** Validate iOS deployment identity, scheme and provider selection. */\nfunction isIosTarget(value: unknown): value is AppDeployIosTargetConfig {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, IOS_KEYS) &&\n typeof value.enabled === 'boolean' &&\n isNonEmptyString(value.bundleIdentifier) &&\n isOptionalScheme(value.scheme) &&\n isOptionalProviders(value.providers)\n );\n}\n\n/*** Accept an omitted scheme or a non-empty authored scheme. */\nfunction isOptionalScheme(value: unknown): value is string | undefined {\n return value === undefined || (typeof value === 'string' && URI_SCHEME_PATTERN.test(value));\n}\n\n/*** Accept omitted deployment providers or a valid provider selection. */\nfunction isOptionalProviders(value: unknown): value is AppDeployProviderSelection | undefined {\n return value === undefined || isProviderSelection(value);\n}\n\n/*** Validate deployment provider identities and supported selection keys. */\nfunction isProviderSelection(value: unknown): value is AppDeployProviderSelection {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, PROVIDER_KEYS) &&\n (value.build === undefined || isNonEmptyString(value.build)) &&\n (value.publish === undefined || isNonEmptyString(value.publish))\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../../src/appManifest/deploy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAW7D,MAAM,WAAW,GAAG,CAAC,SAAS,CAAU,CAAC;AACzC,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAU,CAAC;AACvD,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,SAAS,CAAU,CAAC;AACpD,MAAM,QAAQ,GAAG,CAAC,SAAS,EAAE,WAAW,CAAU,CAAC;AACnD,MAAM,YAAY,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,CAAU,CAAC;AAC5E,MAAM,QAAQ,GAAG,CAAC,SAAS,EAAE,kBAAkB,EAAE,QAAQ,EAAE,WAAW,CAAU,CAAC;AACjF,MAAM,kBAAkB,GAAG,4BAA4B,CAAC;AAExD,+DAA+D;AAC/D,MAAM,UAAU,mBAAmB,CAAC,KAAc;IAChD,OAAO,QAAQ,CAAC,KAAK,CAAC,IAAI,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,IAAI,kBAAkB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AACjG,CAAC;AAED,sEAAsE;AACtE,SAAS,kBAAkB,CAAC,KAAc;IACxC,OAAO,CACL,QAAQ,CAAC,KAAK,CAAC;QACf,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC;QAC/B,CAAC,KAAK,CAAC,GAAG,KAAK,SAAS,IAAI,WA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C,OAAO,KAAK,KAAK,QAAQ,IAAI,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;AAC9F,CAAC;AAED,0EAA0E;AAC1E,SAAS,mBAAmB,CAAC,KAAc;IACzC,OAAO,KAAK,KAAK,SAAS,IAAI,mBAAmB,CAAC,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,6EAA6E;AAC7E,SAAS,mBAAmB,CAAC,KAAc;IACzC,OAAO,CACL,QAAQ,CAAC,KAAK,CAAC;QACf,WAAW,CAAC,KAAK,EAAE,aAAa,CAAC;QACjC,CAAC,KAAK,CAAC,KAAK,KAAK,SAAS,IAAI,gBAAgB,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QAC5D,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,IAAI,gBAAgB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CACjE,CAAC;AACJ,CAAC","sourcesContent":["import { hasOnlyKeys, isRecord } from '@ankhorage/utility/object';\nimport { isNonEmptyString } from '@ankhorage/utility/string';\n\nimport type {\n AppDeployAndroidTargetConfig,\n AppDeployIosTargetConfig,\n AppDeployManifest,\n AppDeployProviderSelection,\n AppDeployTargets,\n AppDeployWebTargetConfig,\n} from '../deploy.js';\n\nconst DEPLOY_KEYS = ['targets'] as const;\nconst TARGET_KEYS = ['web', 'android', 'ios'] as const;\nconst PROVIDER_KEYS = ['build', 'publish'] as const;\nconst WEB_KEYS = ['enabled', 'providers'] as const;\nconst ANDROID_KEYS = ['enabled', 'package', 'scheme', 'providers'] as const;\nconst IOS_KEYS = ['enabled', 'bundleIdentifier', 'scheme', 'providers'] as const;\nconst URI_SCHEME_PATTERN = /^[A-Za-z][A-Za-z0-9+.-]*$/u;\n\n/*** Validate authored application deployment configuration. */\nexport function isAppDeployManifest(value: unknown): value is AppDeployManifest {\n return isRecord(value) && hasOnlyKeys(value, DEPLOY_KEYS) && isAppDeployTargets(value.targets);\n}\n\n/*** Validate the optional web, Android and iOS deployment targets. */\nfunction isAppDeployTargets(value: unknown): value is AppDeployTargets {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, TARGET_KEYS) &&\n (value.web === undefined || isWebTarget(value.web)) &&\n (value.android === undefined || isAndroidTarget(value.android)) &&\n (value.ios === undefined || isIosTarget(value.ios))\n );\n}\n\n/*** Validate web deployment identity and provider selection. */\nfunction isWebTarget(value: unknown): value is AppDeployWebTargetConfig {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, WEB_KEYS) &&\n typeof value.enabled === 'boolean' &&\n isOptionalProviders(value.providers)\n );\n}\n\n/*** Validate Android deployment identity, scheme and provider selection. */\nfunction isAndroidTarget(value: unknown): value is AppDeployAndroidTargetConfig {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, ANDROID_KEYS) &&\n typeof value.enabled === 'boolean' &&\n isNonEmptyString(value.package) &&\n isOptionalScheme(value.scheme) &&\n isOptionalProviders(value.providers)\n );\n}\n\n/*** Validate iOS deployment identity, scheme and provider selection. */\nfunction isIosTarget(value: unknown): value is AppDeployIosTargetConfig {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, IOS_KEYS) &&\n typeof value.enabled === 'boolean' &&\n isNonEmptyString(value.bundleIdentifier) &&\n isOptionalScheme(value.scheme) &&\n isOptionalProviders(value.providers)\n );\n}\n\n/*** Accept an omitted scheme or a non-empty authored scheme. */\nfunction isOptionalScheme(value: unknown): value is string | undefined {\n return value === undefined || (typeof value === 'string' && URI_SCHEME_PATTERN.test(value));\n}\n\n/*** Accept omitted deployment providers or a valid provider selection. */\nfunction isOptionalProviders(value: unknown): value is AppDeployProviderSelection | undefined {\n return value === undefined || isProviderSelection(value);\n}\n\n/*** Validate deployment provider identities and supported selection keys. */\nfunction isProviderSelection(value: unknown): value is AppDeployProviderSelection {\n return (\n isRecord(value) &&\n hasOnlyKeys(value, PROVIDER_KEYS) &&\n (value.build === undefined || isNonEmptyString(value.build)) &&\n (value.publish === undefined || isNonEmptyString(value.publish))\n );\n}\n"]}
|
package/dist/deploy.d.ts
CHANGED
|
@@ -30,5 +30,5 @@ export interface AppDeployTargets {
|
|
|
30
30
|
export interface AppDeployManifest {
|
|
31
31
|
readonly targets: AppDeployTargets;
|
|
32
32
|
}
|
|
33
|
-
export { isAppDeployManifest } from './appManifest/deploy';
|
|
33
|
+
export { isAppDeployManifest } from './appManifest/deploy.js';
|
|
34
34
|
//# sourceMappingURL=deploy.d.ts.map
|
package/dist/deploy.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.d.ts","sourceRoot":"","sources":["../src/deploy.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,oCAAqC,CAAC;AAExE,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEvE,MAAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,SAAS,CAAC,EAAE,0BAA0B,CAAC;CACjD;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,8FAA8F;IAC9F,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,SAAS,CAAC,EAAE,0BAA0B,CAAC;CACjD;AAED,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,8FAA8F;IAC9F,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,SAAS,CAAC,EAAE,0BAA0B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,0BAA0B,CAAC;CACjD;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,GAAG,CAAC,EAAE,wBAAwB,CAAC;IACxC,QAAQ,CAAC,OAAO,CAAC,EAAE,4BAA4B,CAAC;IAChD,QAAQ,CAAC,GAAG,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,OAAO,EAAE,gBAAgB,CAAC;CACpC;AAED,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC"}
|
package/dist/deploy.js
CHANGED
package/dist/deploy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../src/deploy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAU,CAAC;AAwCxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"deploy.js","sourceRoot":"","sources":["../src/deploy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAU,CAAC;AAwCxE,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC","sourcesContent":["export const APP_DEPLOY_TARGET_IDS = ['web', 'android', 'ios'] as const;\n\nexport type AppDeployTargetId = (typeof APP_DEPLOY_TARGET_IDS)[number];\n\nexport interface AppDeployProviderSelection {\n readonly build?: string;\n readonly publish?: string;\n}\n\nexport interface AppDeployWebTargetConfig {\n readonly enabled: boolean;\n readonly providers?: AppDeployProviderSelection;\n}\n\nexport interface AppDeployAndroidTargetConfig {\n readonly enabled: boolean;\n readonly package: string;\n /** Stable application URI scheme used for target-aware deep links such as OAuth callbacks. */\n readonly scheme?: string;\n readonly providers?: AppDeployProviderSelection;\n}\n\nexport interface AppDeployIosTargetConfig {\n readonly enabled: boolean;\n readonly bundleIdentifier: string;\n /** Stable application URI scheme used for target-aware deep links such as OAuth callbacks. */\n readonly scheme?: string;\n readonly providers?: AppDeployProviderSelection;\n}\n\nexport interface AppDeployTargets {\n readonly web?: AppDeployWebTargetConfig;\n readonly android?: AppDeployAndroidTargetConfig;\n readonly ios?: AppDeployIosTargetConfig;\n}\n\nexport interface AppDeployManifest {\n readonly targets: AppDeployTargets;\n}\n\nexport { isAppDeployManifest } from './appManifest/deploy.js';\n"]}
|
package/dist/deployProvider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './types/deployMonetization';
|
|
2
|
-
export * from './types/deployProvider';
|
|
3
|
-
export * from './types/deployRelease';
|
|
4
|
-
export * from './types/deployStoreListing';
|
|
1
|
+
export * from './types/deployMonetization.js';
|
|
2
|
+
export * from './types/deployProvider.js';
|
|
3
|
+
export * from './types/deployRelease.js';
|
|
4
|
+
export * from './types/deployStoreListing.js';
|
|
5
5
|
//# sourceMappingURL=deployProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployProvider.d.ts","sourceRoot":"","sources":["../src/deployProvider.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"deployProvider.d.ts","sourceRoot":"","sources":["../src/deployProvider.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC"}
|
package/dist/deployProvider.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './types/deployMonetization';
|
|
2
|
-
export * from './types/deployProvider';
|
|
3
|
-
export * from './types/deployRelease';
|
|
4
|
-
export * from './types/deployStoreListing';
|
|
1
|
+
export * from './types/deployMonetization.js';
|
|
2
|
+
export * from './types/deployProvider.js';
|
|
3
|
+
export * from './types/deployRelease.js';
|
|
4
|
+
export * from './types/deployStoreListing.js';
|
|
5
5
|
//# sourceMappingURL=deployProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployProvider.js","sourceRoot":"","sources":["../src/deployProvider.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"deployProvider.js","sourceRoot":"","sources":["../src/deployProvider.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC","sourcesContent":["export * from './types/deployMonetization.js';\nexport * from './types/deployProvider.js';\nexport * from './types/deployRelease.js';\nexport * from './types/deployStoreListing.js';\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DeploymentCredentialReference, DeploymentProviderResult, DeploymentSecretResolver, DeploymentStoreIdentity } from './deployProvider';
|
|
1
|
+
import type { DeploymentCredentialReference, DeploymentProviderResult, DeploymentSecretResolver, DeploymentStoreIdentity } from './deployProvider.js';
|
|
2
2
|
export type MonetizationProductKind = 'consumable' | 'non-consumable' | 'subscription';
|
|
3
3
|
export interface MonetizationLocalization {
|
|
4
4
|
readonly locale: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployMonetization.d.ts","sourceRoot":"","sources":["../../src/types/deployMonetization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,
|
|
1
|
+
{"version":3,"file":"deployMonetization.d.ts","sourceRoot":"","sources":["../../src/types/deployMonetization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,uBAAuB,GAAG,YAAY,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAEvF,MAAM,WAAW,wBAAwB;IACvC,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AAM,WAAW,0BAA0B;IACzC,QAAQ,CAAC,QAAQ,EAAE,uBAAuB,CAAC;IAC3C,QAAQ,CAAC,WAAW,EAAE,SAAS,6BAA6B,EAAE,CAAC;IAC/D,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAC;CAClD;AAED,MAAM,WAAW,uBAAwB,SAAQ,0BAA0B;IACzE,QAAQ,CAAC,OAAO,EAAE,wBAAwB,CAAC;IAC3C,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC;CACjC;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC;IACnC,YAAY,CACV,OAAO,EAAE,0BAA0B,GAClC,OAAO,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,CAAC,CAAC;IAC9D,SAAS,CACP,OAAO,EAAE,uBAAuB,GAC/B,OAAO,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,CAAC,CAAC;CAC/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployMonetization.js","sourceRoot":"","sources":["../../src/types/deployMonetization.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n DeploymentCredentialReference,\n DeploymentProviderResult,\n DeploymentSecretResolver,\n DeploymentStoreIdentity,\n} from './deployProvider';\n\nexport type MonetizationProductKind = 'consumable' | 'non-consumable' | 'subscription';\n\nexport interface MonetizationLocalization {\n readonly locale: string;\n readonly name: string;\n readonly description: string;\n}\n\nexport interface MonetizationBasePrice {\n readonly country: string;\n readonly currency: string;\n readonly amount: string;\n}\n\nexport type MonetizationSubscriptionPeriod = 'P1W' | 'P1M' | 'P2M' | 'P3M' | 'P6M' | 'P1Y';\n\nexport interface MonetizationSubscription {\n readonly family: string;\n readonly period: MonetizationSubscriptionPeriod;\n readonly level?: number;\n}\n\nexport interface MonetizationProduct {\n readonly id: string;\n readonly kind: MonetizationProductKind;\n readonly localizations: readonly MonetizationLocalization[];\n readonly basePrice: MonetizationBasePrice;\n readonly subscription?: MonetizationSubscription;\n}\n\nexport interface MonetizationObservedProduct {\n readonly id: string;\n readonly kind: MonetizationProductKind | 'one-time';\n readonly localizations: readonly MonetizationLocalization[];\n readonly basePrice?: MonetizationBasePrice;\n readonly subscription?: MonetizationSubscription;\n}\n\nexport interface MonetizationDesiredState {\n readonly revision: string;\n readonly products: readonly MonetizationProduct[];\n}\n\nexport interface MonetizationDiagnostic {\n readonly severity: 'warning' | 'error';\n readonly code: string;\n readonly message: string;\n readonly target?: 'android' | 'ios';\n readonly productId?: string;\n readonly locale?: string;\n}\n\nexport interface MonetizationTargetState {\n readonly target: 'android' | 'ios';\n readonly products: readonly MonetizationObservedProduct[];\n readonly subscriptionFamilies: readonly string[];\n readonly diagnostics: readonly MonetizationDiagnostic[];\n}\n\nexport interface MonetizationPlanStep {\n readonly id: string;\n readonly target: 'android' | 'ios';\n readonly productId: string;\n readonly operation:\n | 'ensure-subscription-family'\n | 'create-product'\n | 'update-metadata'\n | 'update-price'\n | 'update-subscription';\n}\n\nexport interface MonetizationPlan {\n readonly status: 'no-change' | 'changes' | 'blocked';\n readonly desiredRevision: string;\n readonly currentRevision: string;\n readonly steps: readonly MonetizationPlanStep[];\n readonly diagnostics: readonly MonetizationDiagnostic[];\n}\n\nexport interface MonetizationAdapterContext {\n readonly identity: DeploymentStoreIdentity;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface MonetizationSyncRequest extends MonetizationAdapterContext {\n readonly desired: MonetizationDesiredState;\n readonly plan: MonetizationPlan;\n}\n\nexport interface DeploymentMonetizationAdapter {\n readonly target: 'android' | 'ios';\n inspectAsync(\n context: MonetizationAdapterContext,\n ): Promise<DeploymentProviderResult<MonetizationTargetState>>;\n syncAsync(\n request: MonetizationSyncRequest,\n ): Promise<DeploymentProviderResult<MonetizationTargetState>>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"deployMonetization.js","sourceRoot":"","sources":["../../src/types/deployMonetization.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n DeploymentCredentialReference,\n DeploymentProviderResult,\n DeploymentSecretResolver,\n DeploymentStoreIdentity,\n} from './deployProvider.js';\n\nexport type MonetizationProductKind = 'consumable' | 'non-consumable' | 'subscription';\n\nexport interface MonetizationLocalization {\n readonly locale: string;\n readonly name: string;\n readonly description: string;\n}\n\nexport interface MonetizationBasePrice {\n readonly country: string;\n readonly currency: string;\n readonly amount: string;\n}\n\nexport type MonetizationSubscriptionPeriod = 'P1W' | 'P1M' | 'P2M' | 'P3M' | 'P6M' | 'P1Y';\n\nexport interface MonetizationSubscription {\n readonly family: string;\n readonly period: MonetizationSubscriptionPeriod;\n readonly level?: number;\n}\n\nexport interface MonetizationProduct {\n readonly id: string;\n readonly kind: MonetizationProductKind;\n readonly localizations: readonly MonetizationLocalization[];\n readonly basePrice: MonetizationBasePrice;\n readonly subscription?: MonetizationSubscription;\n}\n\nexport interface MonetizationObservedProduct {\n readonly id: string;\n readonly kind: MonetizationProductKind | 'one-time';\n readonly localizations: readonly MonetizationLocalization[];\n readonly basePrice?: MonetizationBasePrice;\n readonly subscription?: MonetizationSubscription;\n}\n\nexport interface MonetizationDesiredState {\n readonly revision: string;\n readonly products: readonly MonetizationProduct[];\n}\n\nexport interface MonetizationDiagnostic {\n readonly severity: 'warning' | 'error';\n readonly code: string;\n readonly message: string;\n readonly target?: 'android' | 'ios';\n readonly productId?: string;\n readonly locale?: string;\n}\n\nexport interface MonetizationTargetState {\n readonly target: 'android' | 'ios';\n readonly products: readonly MonetizationObservedProduct[];\n readonly subscriptionFamilies: readonly string[];\n readonly diagnostics: readonly MonetizationDiagnostic[];\n}\n\nexport interface MonetizationPlanStep {\n readonly id: string;\n readonly target: 'android' | 'ios';\n readonly productId: string;\n readonly operation:\n | 'ensure-subscription-family'\n | 'create-product'\n | 'update-metadata'\n | 'update-price'\n | 'update-subscription';\n}\n\nexport interface MonetizationPlan {\n readonly status: 'no-change' | 'changes' | 'blocked';\n readonly desiredRevision: string;\n readonly currentRevision: string;\n readonly steps: readonly MonetizationPlanStep[];\n readonly diagnostics: readonly MonetizationDiagnostic[];\n}\n\nexport interface MonetizationAdapterContext {\n readonly identity: DeploymentStoreIdentity;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface MonetizationSyncRequest extends MonetizationAdapterContext {\n readonly desired: MonetizationDesiredState;\n readonly plan: MonetizationPlan;\n}\n\nexport interface DeploymentMonetizationAdapter {\n readonly target: 'android' | 'ios';\n inspectAsync(\n context: MonetizationAdapterContext,\n ): Promise<DeploymentProviderResult<MonetizationTargetState>>;\n syncAsync(\n request: MonetizationSyncRequest,\n ): Promise<DeploymentProviderResult<MonetizationTargetState>>;\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { AppDeployTargetId } from '../deploy';
|
|
2
|
-
import type { DeploymentMonetizationAdapter } from './deployMonetization';
|
|
3
|
-
import type { DeploymentReleaseAdapter } from './deployRelease';
|
|
4
|
-
import type { DeploymentStoreListingAdapter } from './deployStoreListing';
|
|
1
|
+
import type { AppDeployTargetId } from '../deploy.js';
|
|
2
|
+
import type { DeploymentMonetizationAdapter } from './deployMonetization.js';
|
|
3
|
+
import type { DeploymentReleaseAdapter } from './deployRelease.js';
|
|
4
|
+
import type { DeploymentStoreListingAdapter } from './deployStoreListing.js';
|
|
5
5
|
export declare const DEPLOYMENT_CAPABILITIES: readonly ["provision", "prepare", "build", "publish", "verify"];
|
|
6
6
|
export type DeploymentCapability = (typeof DEPLOYMENT_CAPABILITIES)[number];
|
|
7
7
|
export declare const DEPLOYMENT_PROVIDER_CAPABILITY_IDS: readonly ["setup", "web-publish", "android-build", "android-publish", "ios-build", "ios-publish", "store-listing", "monetization", "release"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployProvider.d.ts","sourceRoot":"","sources":["../../src/types/deployProvider.ts"],"names":[],"mappings":"AAAA,OAAO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ACf,iBAAiB;IACjB,WAAW;IACX,aAAa;IACb,eAAe;IACf,cAAc;IACd,SAAS;CACD,CAAC;AA4IX,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,CAAU,CAAC;AAG9F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,OAAO,EAAE,WAAW,CAAU,CAAC","sourcesContent":["import type { AppDeployTargetId } from '../deploy';\nimport type { DeploymentMonetizationAdapter } from './deployMonetization';\nimport type { DeploymentReleaseAdapter } from './deployRelease';\nimport type { DeploymentStoreListingAdapter } from './deployStoreListing';\n\nexport const DEPLOYMENT_CAPABILITIES = [\n 'provision',\n 'prepare',\n 'build',\n 'publish',\n 'verify',\n] as const;\n\nexport type DeploymentCapability = (typeof DEPLOYMENT_CAPABILITIES)[number];\n\nexport const DEPLOYMENT_PROVIDER_CAPABILITY_IDS = [\n 'setup',\n 'web-publish',\n 'android-build',\n 'android-publish',\n 'ios-build',\n 'ios-publish',\n 'store-listing',\n 'monetization',\n 'release',\n] as const;\n\nexport type DeploymentProviderCapabilityId = (typeof DEPLOYMENT_PROVIDER_CAPABILITY_IDS)[number];\n\nexport interface DeploymentProviderCapabilityDescriptor {\n readonly id: DeploymentProviderCapabilityId;\n readonly targets: readonly AppDeployTargetId[];\n}\n\nexport interface DeploymentProviderDescriptor {\n readonly id: string;\n readonly packageName: string;\n readonly displayName: string;\n readonly capabilities: readonly DeploymentProviderCapabilityDescriptor[];\n}\n\nexport interface DeploymentCredentialReference {\n readonly provider: string;\n readonly id: string;\n readonly kind: string;\n}\n\nexport type DeploymentSecretMaterial = string;\n\nexport type DeploymentSecretResolver = (\n reference: DeploymentCredentialReference,\n) => Promise<DeploymentSecretMaterial | null>;\n\nexport interface DeploymentFailure {\n readonly code: string;\n readonly message: string;\n readonly target?: AppDeployTargetId;\n readonly provider?: string;\n}\n\nexport interface DeploymentAuthenticationRequiredAction {\n readonly type: 'authentication';\n readonly provider: string;\n readonly target?: AppDeployTargetId;\n readonly code: string;\n readonly message: string;\n}\n\nexport interface DeploymentManualAction {\n readonly type: 'manual-action';\n readonly target: AppDeployTargetId;\n readonly provider?: string;\n readonly code: string;\n readonly message: string;\n readonly url?: string;\n}\n\nexport type DeploymentRequiredAction =\n DeploymentAuthenticationRequiredAction | DeploymentManualAction;\n\nexport type DeploymentProviderResult<T> =\n | { readonly status: 'completed'; readonly value: T }\n | { readonly status: 'action-required'; readonly action: DeploymentRequiredAction }\n | { readonly status: 'failed'; readonly failure: DeploymentFailure };\n\nexport type DeploymentAuthenticationState =\n | { readonly status: 'authenticated' }\n | {\n readonly status: 'required';\n readonly action: DeploymentAuthenticationRequiredAction;\n };\n\nexport interface DeploymentProviderCapabilityState {\n readonly capability: DeploymentCapability;\n readonly status: 'available' | 'unavailable';\n readonly reason?: string;\n}\n\nexport interface DeploymentAutomatedProvisioningRequirement {\n readonly type: 'automated';\n readonly id: string;\n readonly provider: string;\n readonly target?: AppDeployTargetId;\n readonly code: string;\n readonly message: string;\n}\n\nexport type DeploymentProvisioningRequirement =\n | DeploymentAutomatedProvisioningRequirement\n | { readonly type: 'authentication'; readonly action: DeploymentAuthenticationRequiredAction }\n | { readonly type: 'manual-action'; readonly action: DeploymentManualAction };\n\nexport interface DeploymentProviderSetupContext {\n readonly projectRoot: string;\n readonly target?: AppDeployTargetId;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface DeploymentProviderSetupInspection {\n readonly provider: string;\n readonly authentication: DeploymentAuthenticationState;\n readonly capabilities: readonly DeploymentProviderCapabilityState[];\n readonly provisioning: readonly DeploymentProvisioningRequirement[];\n}\n\nexport interface DeploymentProviderSetupAdapter {\n readonly provider: string;\n inspectSetup(context: DeploymentProviderSetupContext): Promise<DeploymentProviderSetupInspection>;\n}\n\nexport type DeploymentStoreIdentity =\n | { readonly target: 'android'; readonly packageName: string }\n | { readonly target: 'ios'; readonly bundleIdentifier: string };\n\nexport interface WebDeploymentPublishIntent {\n readonly mode: 'preview' | 'production';\n readonly alias?: string;\n readonly environment?: string;\n}\n\nexport interface WebDeploymentPublication {\n readonly target: 'web';\n readonly revision: string;\n readonly provider: string;\n readonly deploymentId: string;\n readonly url: string;\n readonly production: boolean;\n}\n\nexport interface WebDeploymentPublishRequest {\n readonly projectRoot: string;\n readonly exportDirectory: string;\n readonly revision: string;\n readonly intent: WebDeploymentPublishIntent;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface WebDeploymentPublisher {\n publishAsync(\n request: WebDeploymentPublishRequest,\n ): Promise<DeploymentProviderResult<WebDeploymentPublication>>;\n}\n\nexport const ANDROID_DEPLOYMENT_TRACKS = ['internal', 'alpha', 'beta', 'production'] as const;\nexport type AndroidDeploymentTrack = (typeof ANDROID_DEPLOYMENT_TRACKS)[number];\n\nexport const ANDROID_RELEASE_STATUSES = ['draft', 'completed'] as const;\nexport type AndroidReleaseStatus = (typeof ANDROID_RELEASE_STATUSES)[number];\n\nexport interface AndroidDeploymentIntent {\n readonly buildProfile: string;\n readonly track: AndroidDeploymentTrack;\n readonly releaseStatus: AndroidReleaseStatus;\n}\n\nexport interface AndroidBuildInspectionRequest {\n readonly projectRoot: string;\n readonly packageName: string;\n readonly buildProfile: string;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface AndroidBuildInspection {\n readonly fingerprint: string;\n}\n\nexport interface AndroidBuildRequest extends AndroidBuildInspectionRequest {\n readonly expectedFingerprint: string;\n}\n\nexport interface AndroidBuildArtifact {\n readonly provider: string;\n readonly buildId: string;\n readonly buildProfile: string;\n readonly fingerprint: string;\n readonly versionCode: number;\n readonly archiveUrl: string;\n}\n\nexport interface AndroidDeploymentBuilder {\n inspectAsync(\n request: AndroidBuildInspectionRequest,\n ): Promise<DeploymentProviderResult<AndroidBuildInspection>>;\n buildAsync(request: AndroidBuildRequest): Promise<DeploymentProviderResult<AndroidBuildArtifact>>;\n}\n\nexport interface AndroidPublishInspectionRequest {\n readonly packageName: string;\n readonly track: AndroidDeploymentTrack;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface AndroidPublishInspection {\n readonly track: AndroidDeploymentTrack;\n readonly activeVersionCodes: readonly number[];\n}\n\nexport interface AndroidPublishRequest extends AndroidPublishInspectionRequest {\n readonly revision: string;\n readonly releaseStatus: AndroidReleaseStatus;\n readonly artifact: AndroidBuildArtifact;\n}\n\nexport interface AndroidDeploymentPublication {\n readonly target: 'android';\n readonly revision: string;\n readonly buildProvider: string;\n readonly publishProvider: string;\n readonly buildId: string;\n readonly versionCode: number;\n readonly track: AndroidDeploymentTrack;\n readonly releaseStatus: AndroidReleaseStatus;\n}\n\nexport interface AndroidDeploymentPublisher {\n inspectAsync(\n request: AndroidPublishInspectionRequest,\n ): Promise<DeploymentProviderResult<AndroidPublishInspection>>;\n publishAsync(\n request: AndroidPublishRequest,\n ): Promise<DeploymentProviderResult<AndroidDeploymentPublication>>;\n verifyAsync(\n request: AndroidPublishRequest,\n ): Promise<DeploymentProviderResult<AndroidPublishInspection>>;\n}\n\nexport interface IosDeploymentIntent {\n readonly buildProfile: string;\n readonly version: string;\n}\n\nexport interface IosBuildInspectionRequest {\n readonly projectRoot: string;\n readonly bundleIdentifier: string;\n readonly buildProfile: string;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface IosBuildInspection {\n readonly fingerprint: string;\n}\n\nexport interface IosBuildRequest extends IosBuildInspectionRequest {\n readonly expectedFingerprint: string;\n readonly version: string;\n}\n\nexport interface IosBuildArtifact {\n readonly provider: string;\n readonly buildId: string;\n readonly buildProfile: string;\n readonly fingerprint: string;\n readonly version: string;\n readonly buildNumber: string;\n readonly archiveUrl: string;\n}\n\nexport interface IosDeploymentBuilder {\n inspectAsync(\n request: IosBuildInspectionRequest,\n ): Promise<DeploymentProviderResult<IosBuildInspection>>;\n buildAsync(request: IosBuildRequest): Promise<DeploymentProviderResult<IosBuildArtifact>>;\n}\n\nexport interface IosPublishInspectionRequest {\n readonly bundleIdentifier: string;\n readonly version: string;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface IosPublishInspection {\n readonly bundleIdentifier: string;\n readonly version: string | null;\n readonly buildNumber: string | null;\n}\n\nexport interface IosPublishRequest extends IosPublishInspectionRequest {\n readonly revision: string;\n readonly artifact: IosBuildArtifact;\n}\n\nexport interface IosDeploymentPublication {\n readonly target: 'ios';\n readonly revision: string;\n readonly buildProvider: string;\n readonly publishProvider: string;\n readonly buildId: string;\n readonly version: string;\n readonly buildNumber: string;\n}\n\nexport interface IosDeploymentPublisher {\n inspectAsync(\n request: IosPublishInspectionRequest,\n ): Promise<DeploymentProviderResult<IosPublishInspection>>;\n publishAsync(\n request: IosPublishRequest,\n ): Promise<DeploymentProviderResult<IosDeploymentPublication>>;\n verifyAsync(request: IosPublishRequest): Promise<DeploymentProviderResult<IosPublishInspection>>;\n}\n\nexport interface DeploymentProviderRegistration {\n readonly descriptor: DeploymentProviderDescriptor;\n readonly setup?: DeploymentProviderSetupAdapter;\n readonly webPublisher?: WebDeploymentPublisher;\n readonly androidBuilder?: AndroidDeploymentBuilder;\n readonly androidPublisher?: AndroidDeploymentPublisher;\n readonly iosBuilder?: IosDeploymentBuilder;\n readonly iosPublisher?: IosDeploymentPublisher;\n readonly storeListing?: DeploymentStoreListingAdapter;\n readonly monetization?: DeploymentMonetizationAdapter;\n readonly release?: DeploymentReleaseAdapter;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"deployProvider.js","sourceRoot":"","sources":["../../src/types/deployProvider.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,WAAW;IACX,SAAS;IACT,OAAO;IACP,SAAS;IACT,QAAQ;CACA,CAAC;AAIX,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,OAAO;IACP,aAAa;IACb,eAAe;IACf,iBAAiB;IACjB,WAAW;IACX,aAAa;IACb,eAAe;IACf,cAAc;IACd,SAAS;CACD,CAAC;AA4IX,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,CAAU,CAAC;AAG9F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,OAAO,EAAE,WAAW,CAAU,CAAC","sourcesContent":["import type { AppDeployTargetId } from '../deploy.js';\nimport type { DeploymentMonetizationAdapter } from './deployMonetization.js';\nimport type { DeploymentReleaseAdapter } from './deployRelease.js';\nimport type { DeploymentStoreListingAdapter } from './deployStoreListing.js';\n\nexport const DEPLOYMENT_CAPABILITIES = [\n 'provision',\n 'prepare',\n 'build',\n 'publish',\n 'verify',\n] as const;\n\nexport type DeploymentCapability = (typeof DEPLOYMENT_CAPABILITIES)[number];\n\nexport const DEPLOYMENT_PROVIDER_CAPABILITY_IDS = [\n 'setup',\n 'web-publish',\n 'android-build',\n 'android-publish',\n 'ios-build',\n 'ios-publish',\n 'store-listing',\n 'monetization',\n 'release',\n] as const;\n\nexport type DeploymentProviderCapabilityId = (typeof DEPLOYMENT_PROVIDER_CAPABILITY_IDS)[number];\n\nexport interface DeploymentProviderCapabilityDescriptor {\n readonly id: DeploymentProviderCapabilityId;\n readonly targets: readonly AppDeployTargetId[];\n}\n\nexport interface DeploymentProviderDescriptor {\n readonly id: string;\n readonly packageName: string;\n readonly displayName: string;\n readonly capabilities: readonly DeploymentProviderCapabilityDescriptor[];\n}\n\nexport interface DeploymentCredentialReference {\n readonly provider: string;\n readonly id: string;\n readonly kind: string;\n}\n\nexport type DeploymentSecretMaterial = string;\n\nexport type DeploymentSecretResolver = (\n reference: DeploymentCredentialReference,\n) => Promise<DeploymentSecretMaterial | null>;\n\nexport interface DeploymentFailure {\n readonly code: string;\n readonly message: string;\n readonly target?: AppDeployTargetId;\n readonly provider?: string;\n}\n\nexport interface DeploymentAuthenticationRequiredAction {\n readonly type: 'authentication';\n readonly provider: string;\n readonly target?: AppDeployTargetId;\n readonly code: string;\n readonly message: string;\n}\n\nexport interface DeploymentManualAction {\n readonly type: 'manual-action';\n readonly target: AppDeployTargetId;\n readonly provider?: string;\n readonly code: string;\n readonly message: string;\n readonly url?: string;\n}\n\nexport type DeploymentRequiredAction =\n DeploymentAuthenticationRequiredAction | DeploymentManualAction;\n\nexport type DeploymentProviderResult<T> =\n | { readonly status: 'completed'; readonly value: T }\n | { readonly status: 'action-required'; readonly action: DeploymentRequiredAction }\n | { readonly status: 'failed'; readonly failure: DeploymentFailure };\n\nexport type DeploymentAuthenticationState =\n | { readonly status: 'authenticated' }\n | {\n readonly status: 'required';\n readonly action: DeploymentAuthenticationRequiredAction;\n };\n\nexport interface DeploymentProviderCapabilityState {\n readonly capability: DeploymentCapability;\n readonly status: 'available' | 'unavailable';\n readonly reason?: string;\n}\n\nexport interface DeploymentAutomatedProvisioningRequirement {\n readonly type: 'automated';\n readonly id: string;\n readonly provider: string;\n readonly target?: AppDeployTargetId;\n readonly code: string;\n readonly message: string;\n}\n\nexport type DeploymentProvisioningRequirement =\n | DeploymentAutomatedProvisioningRequirement\n | { readonly type: 'authentication'; readonly action: DeploymentAuthenticationRequiredAction }\n | { readonly type: 'manual-action'; readonly action: DeploymentManualAction };\n\nexport interface DeploymentProviderSetupContext {\n readonly projectRoot: string;\n readonly target?: AppDeployTargetId;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface DeploymentProviderSetupInspection {\n readonly provider: string;\n readonly authentication: DeploymentAuthenticationState;\n readonly capabilities: readonly DeploymentProviderCapabilityState[];\n readonly provisioning: readonly DeploymentProvisioningRequirement[];\n}\n\nexport interface DeploymentProviderSetupAdapter {\n readonly provider: string;\n inspectSetup(context: DeploymentProviderSetupContext): Promise<DeploymentProviderSetupInspection>;\n}\n\nexport type DeploymentStoreIdentity =\n | { readonly target: 'android'; readonly packageName: string }\n | { readonly target: 'ios'; readonly bundleIdentifier: string };\n\nexport interface WebDeploymentPublishIntent {\n readonly mode: 'preview' | 'production';\n readonly alias?: string;\n readonly environment?: string;\n}\n\nexport interface WebDeploymentPublication {\n readonly target: 'web';\n readonly revision: string;\n readonly provider: string;\n readonly deploymentId: string;\n readonly url: string;\n readonly production: boolean;\n}\n\nexport interface WebDeploymentPublishRequest {\n readonly projectRoot: string;\n readonly exportDirectory: string;\n readonly revision: string;\n readonly intent: WebDeploymentPublishIntent;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface WebDeploymentPublisher {\n publishAsync(\n request: WebDeploymentPublishRequest,\n ): Promise<DeploymentProviderResult<WebDeploymentPublication>>;\n}\n\nexport const ANDROID_DEPLOYMENT_TRACKS = ['internal', 'alpha', 'beta', 'production'] as const;\nexport type AndroidDeploymentTrack = (typeof ANDROID_DEPLOYMENT_TRACKS)[number];\n\nexport const ANDROID_RELEASE_STATUSES = ['draft', 'completed'] as const;\nexport type AndroidReleaseStatus = (typeof ANDROID_RELEASE_STATUSES)[number];\n\nexport interface AndroidDeploymentIntent {\n readonly buildProfile: string;\n readonly track: AndroidDeploymentTrack;\n readonly releaseStatus: AndroidReleaseStatus;\n}\n\nexport interface AndroidBuildInspectionRequest {\n readonly projectRoot: string;\n readonly packageName: string;\n readonly buildProfile: string;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface AndroidBuildInspection {\n readonly fingerprint: string;\n}\n\nexport interface AndroidBuildRequest extends AndroidBuildInspectionRequest {\n readonly expectedFingerprint: string;\n}\n\nexport interface AndroidBuildArtifact {\n readonly provider: string;\n readonly buildId: string;\n readonly buildProfile: string;\n readonly fingerprint: string;\n readonly versionCode: number;\n readonly archiveUrl: string;\n}\n\nexport interface AndroidDeploymentBuilder {\n inspectAsync(\n request: AndroidBuildInspectionRequest,\n ): Promise<DeploymentProviderResult<AndroidBuildInspection>>;\n buildAsync(request: AndroidBuildRequest): Promise<DeploymentProviderResult<AndroidBuildArtifact>>;\n}\n\nexport interface AndroidPublishInspectionRequest {\n readonly packageName: string;\n readonly track: AndroidDeploymentTrack;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface AndroidPublishInspection {\n readonly track: AndroidDeploymentTrack;\n readonly activeVersionCodes: readonly number[];\n}\n\nexport interface AndroidPublishRequest extends AndroidPublishInspectionRequest {\n readonly revision: string;\n readonly releaseStatus: AndroidReleaseStatus;\n readonly artifact: AndroidBuildArtifact;\n}\n\nexport interface AndroidDeploymentPublication {\n readonly target: 'android';\n readonly revision: string;\n readonly buildProvider: string;\n readonly publishProvider: string;\n readonly buildId: string;\n readonly versionCode: number;\n readonly track: AndroidDeploymentTrack;\n readonly releaseStatus: AndroidReleaseStatus;\n}\n\nexport interface AndroidDeploymentPublisher {\n inspectAsync(\n request: AndroidPublishInspectionRequest,\n ): Promise<DeploymentProviderResult<AndroidPublishInspection>>;\n publishAsync(\n request: AndroidPublishRequest,\n ): Promise<DeploymentProviderResult<AndroidDeploymentPublication>>;\n verifyAsync(\n request: AndroidPublishRequest,\n ): Promise<DeploymentProviderResult<AndroidPublishInspection>>;\n}\n\nexport interface IosDeploymentIntent {\n readonly buildProfile: string;\n readonly version: string;\n}\n\nexport interface IosBuildInspectionRequest {\n readonly projectRoot: string;\n readonly bundleIdentifier: string;\n readonly buildProfile: string;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface IosBuildInspection {\n readonly fingerprint: string;\n}\n\nexport interface IosBuildRequest extends IosBuildInspectionRequest {\n readonly expectedFingerprint: string;\n readonly version: string;\n}\n\nexport interface IosBuildArtifact {\n readonly provider: string;\n readonly buildId: string;\n readonly buildProfile: string;\n readonly fingerprint: string;\n readonly version: string;\n readonly buildNumber: string;\n readonly archiveUrl: string;\n}\n\nexport interface IosDeploymentBuilder {\n inspectAsync(\n request: IosBuildInspectionRequest,\n ): Promise<DeploymentProviderResult<IosBuildInspection>>;\n buildAsync(request: IosBuildRequest): Promise<DeploymentProviderResult<IosBuildArtifact>>;\n}\n\nexport interface IosPublishInspectionRequest {\n readonly bundleIdentifier: string;\n readonly version: string;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface IosPublishInspection {\n readonly bundleIdentifier: string;\n readonly version: string | null;\n readonly buildNumber: string | null;\n}\n\nexport interface IosPublishRequest extends IosPublishInspectionRequest {\n readonly revision: string;\n readonly artifact: IosBuildArtifact;\n}\n\nexport interface IosDeploymentPublication {\n readonly target: 'ios';\n readonly revision: string;\n readonly buildProvider: string;\n readonly publishProvider: string;\n readonly buildId: string;\n readonly version: string;\n readonly buildNumber: string;\n}\n\nexport interface IosDeploymentPublisher {\n inspectAsync(\n request: IosPublishInspectionRequest,\n ): Promise<DeploymentProviderResult<IosPublishInspection>>;\n publishAsync(\n request: IosPublishRequest,\n ): Promise<DeploymentProviderResult<IosDeploymentPublication>>;\n verifyAsync(request: IosPublishRequest): Promise<DeploymentProviderResult<IosPublishInspection>>;\n}\n\nexport interface DeploymentProviderRegistration {\n readonly descriptor: DeploymentProviderDescriptor;\n readonly setup?: DeploymentProviderSetupAdapter;\n readonly webPublisher?: WebDeploymentPublisher;\n readonly androidBuilder?: AndroidDeploymentBuilder;\n readonly androidPublisher?: AndroidDeploymentPublisher;\n readonly iosBuilder?: IosDeploymentBuilder;\n readonly iosPublisher?: IosDeploymentPublisher;\n readonly storeListing?: DeploymentStoreListingAdapter;\n readonly monetization?: DeploymentMonetizationAdapter;\n readonly release?: DeploymentReleaseAdapter;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DeploymentCredentialReference, DeploymentProviderResult, DeploymentSecretResolver, DeploymentStoreIdentity } from './deployProvider';
|
|
1
|
+
import type { DeploymentCredentialReference, DeploymentProviderResult, DeploymentSecretResolver, DeploymentStoreIdentity } from './deployProvider.js';
|
|
2
2
|
export type ReleaseTarget = 'web' | 'android' | 'ios';
|
|
3
3
|
export type ReleaseRolloutMode = 'immediate' | 'staged';
|
|
4
4
|
export interface ReleaseNote {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployRelease.d.ts","sourceRoot":"","sources":["../../src/types/deployRelease.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,
|
|
1
|
+
{"version":3,"file":"deployRelease.d.ts","sourceRoot":"","sources":["../../src/types/deployRelease.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,SAAS,GAAG,KAAK,CAAC;AACtD,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,QAAQ,CAAC;AAExD,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,IAAI,EAAE,kBAAkB,CAAC;IAClC,QAAQ,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,GAAG,CAAC,EAAE,oBAAoB,CAAC;IACpC,QAAQ,CAAC,OAAO,CAAC,EAAE,oBAAoB,CAAC;IACxC,QAAQ,CAAC,GAAG,CAAC,EAAE,oBAAoB,CAAC;CACrC;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,OAAO,EAAE,MAAM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IACpC,QAAQ,CAAC,QAAQ,EAAE,uBAAuB,CAAC;IAC3C,QAAQ,CAAC,WAAW,EAAE,SAAS,6BAA6B,EAAE,CAAC;IAC/D,QAAQ,CAAC,aAAa,EAAE,wBAAwB,CAAC;CAClD;AAED,MAAM,WAAW,wBAAyB,SAAQ,qBAAqB;IACrE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,2BAA4B,SAAQ,qBAAqB;IACxE,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,IAAI,EAAE,eAAe,CAAC;CAChC;AAED,MAAM,WAAW,qBAAsB,SAAQ,qBAAqB;IAClE,QAAQ,CAAC,OAAO,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,OAAO,EAAE,uBAAuB,CAAC;CAC3C;AAED,MAAM,MAAM,0BAA0B,GAAG,2BAA2B,GAAG,uBAAuB,CAAC;AAE/F,MAAM,WAAW,wBAAwB;IACvC,QAAQ,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC;IACnC,YAAY,CACV,OAAO,EAAE,wBAAwB,GAChC,OAAO,CAAC,wBAAwB,CAAC,0BAA0B,CAAC,CAAC,CAAC;IACjE,gBAAgB,CAAC,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IACvF,YAAY,CAAC,OAAO,EAAE,qBAAqB,GAAG,OAAO,CAAC,6BAA6B,CAAC,CAAC;CACtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployRelease.js","sourceRoot":"","sources":["../../src/types/deployRelease.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n DeploymentCredentialReference,\n DeploymentProviderResult,\n DeploymentSecretResolver,\n DeploymentStoreIdentity,\n} from './deployProvider';\n\nexport type ReleaseTarget = 'web' | 'android' | 'ios';\nexport type ReleaseRolloutMode = 'immediate' | 'staged';\n\nexport interface ReleaseNote {\n readonly locale: string;\n readonly text: string;\n}\n\nexport interface ReleaseTargetRollout {\n readonly mode: ReleaseRolloutMode;\n readonly initialFraction?: string;\n}\n\nexport interface ReleaseRollout {\n readonly web?: ReleaseTargetRollout;\n readonly android?: ReleaseTargetRollout;\n readonly ios?: ReleaseTargetRollout;\n}\n\nexport interface ReleaseDesiredState {\n readonly version: string;\n readonly targets: readonly ReleaseTarget[];\n readonly notes: readonly ReleaseNote[];\n readonly rollout: ReleaseRollout;\n readonly revision: string;\n}\n\nexport interface ReleaseObservedWebState {\n readonly target: 'web';\n readonly version: string | null;\n readonly artifactRevision: string | null;\n}\n\nexport interface ReleaseObservedAndroidState {\n readonly target: 'android';\n readonly version: string | null;\n readonly artifactRevision: string | null;\n readonly versionCodes: readonly string[];\n readonly releaseNotes: readonly ReleaseNote[];\n readonly rolloutStatus: 'missing' | 'draft' | 'inProgress' | 'halted' | 'completed';\n readonly userFraction?: string;\n}\n\nexport interface ReleaseObservedIosState {\n readonly target: 'ios';\n readonly version: string | null;\n readonly artifactRevision: string | null;\n readonly buildNumber: string | null;\n readonly releaseNotes: readonly ReleaseNote[];\n readonly appVersionState?: string;\n readonly releaseType?: string;\n readonly reviewState?: string;\n readonly phasedReleaseState: 'INACTIVE' | 'ACTIVE' | 'PAUSED' | 'COMPLETE' | null;\n}\n\nexport type ReleaseObservedTargetState =\n ReleaseObservedWebState | ReleaseObservedAndroidState | ReleaseObservedIosState;\n\nexport interface ReleaseObservedState {\n readonly targets: readonly ReleaseObservedTargetState[];\n}\n\nexport type ReleasePlanStatus = 'no-change' | 'changes' | 'waiting' | 'blocked';\nexport type ReleaseStepRetry = 'safe' | 'reinspect' | 'never';\nexport type ReleaseStepOperation =\n | 'prepare'\n | 'build'\n | 'publish'\n | 'sync-notes'\n | 'submit-review'\n | 'release'\n | 'rollout'\n | 'verify'\n | 'record';\n\nexport interface ReleaseDiagnostic {\n readonly severity: 'warning' | 'error';\n readonly code: string;\n readonly message: string;\n readonly target?: ReleaseTarget | 'release';\n}\n\nexport interface ReleasePlanStep {\n readonly id: string;\n readonly target: ReleaseTarget | 'release';\n readonly operation: ReleaseStepOperation;\n readonly dependsOn: readonly string[];\n readonly retry: ReleaseStepRetry;\n readonly irreversible: boolean;\n}\n\nexport interface ReleasePlan {\n readonly status: ReleasePlanStatus;\n readonly desiredRevision: string;\n readonly currentRevision: string;\n readonly steps: readonly ReleasePlanStep[];\n readonly diagnostics: readonly ReleaseDiagnostic[];\n}\n\nexport type ReleaseLifecycleControl =\n | { readonly target: 'android'; readonly action: 'halt' | 'resume' }\n | {\n readonly target: 'ios';\n readonly action: 'pause-phased' | 'resume-phased' | 'cancel-phased' | 'cancel-review';\n };\n\nexport type ReleaseMutationResult =\n | { readonly status: 'completed' }\n | { readonly status: 'blocked'; readonly code: string }\n | { readonly status: 'failed'; readonly code: string };\n\nexport type ReleaseControlExecutionResult =\n | { readonly status: 'completed'; readonly mutationAttempted: boolean }\n | { readonly status: 'blocked'; readonly mutationAttempted: false; readonly code: string }\n | { readonly status: 'failed'; readonly mutationAttempted: boolean; readonly code: string };\n\nexport interface ReleaseAdapterContext {\n readonly identity: DeploymentStoreIdentity;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface ReleaseInspectionRequest extends ReleaseAdapterContext {\n readonly version: string;\n}\n\nexport interface ReleaseStepExecutionRequest extends ReleaseAdapterContext {\n readonly desired: ReleaseDesiredState;\n readonly step: ReleasePlanStep;\n}\n\nexport interface ReleaseControlRequest extends ReleaseAdapterContext {\n readonly desired: ReleaseDesiredState;\n readonly control: ReleaseLifecycleControl;\n}\n\nexport type ReleaseObservedNativeState = ReleaseObservedAndroidState | ReleaseObservedIosState;\n\nexport interface DeploymentReleaseAdapter {\n readonly target: 'android' | 'ios';\n inspectAsync(\n request: ReleaseInspectionRequest,\n ): Promise<DeploymentProviderResult<ReleaseObservedNativeState>>;\n executeStepAsync(request: ReleaseStepExecutionRequest): Promise<ReleaseMutationResult>;\n controlAsync(request: ReleaseControlRequest): Promise<ReleaseControlExecutionResult>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"deployRelease.js","sourceRoot":"","sources":["../../src/types/deployRelease.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n DeploymentCredentialReference,\n DeploymentProviderResult,\n DeploymentSecretResolver,\n DeploymentStoreIdentity,\n} from './deployProvider.js';\n\nexport type ReleaseTarget = 'web' | 'android' | 'ios';\nexport type ReleaseRolloutMode = 'immediate' | 'staged';\n\nexport interface ReleaseNote {\n readonly locale: string;\n readonly text: string;\n}\n\nexport interface ReleaseTargetRollout {\n readonly mode: ReleaseRolloutMode;\n readonly initialFraction?: string;\n}\n\nexport interface ReleaseRollout {\n readonly web?: ReleaseTargetRollout;\n readonly android?: ReleaseTargetRollout;\n readonly ios?: ReleaseTargetRollout;\n}\n\nexport interface ReleaseDesiredState {\n readonly version: string;\n readonly targets: readonly ReleaseTarget[];\n readonly notes: readonly ReleaseNote[];\n readonly rollout: ReleaseRollout;\n readonly revision: string;\n}\n\nexport interface ReleaseObservedWebState {\n readonly target: 'web';\n readonly version: string | null;\n readonly artifactRevision: string | null;\n}\n\nexport interface ReleaseObservedAndroidState {\n readonly target: 'android';\n readonly version: string | null;\n readonly artifactRevision: string | null;\n readonly versionCodes: readonly string[];\n readonly releaseNotes: readonly ReleaseNote[];\n readonly rolloutStatus: 'missing' | 'draft' | 'inProgress' | 'halted' | 'completed';\n readonly userFraction?: string;\n}\n\nexport interface ReleaseObservedIosState {\n readonly target: 'ios';\n readonly version: string | null;\n readonly artifactRevision: string | null;\n readonly buildNumber: string | null;\n readonly releaseNotes: readonly ReleaseNote[];\n readonly appVersionState?: string;\n readonly releaseType?: string;\n readonly reviewState?: string;\n readonly phasedReleaseState: 'INACTIVE' | 'ACTIVE' | 'PAUSED' | 'COMPLETE' | null;\n}\n\nexport type ReleaseObservedTargetState =\n ReleaseObservedWebState | ReleaseObservedAndroidState | ReleaseObservedIosState;\n\nexport interface ReleaseObservedState {\n readonly targets: readonly ReleaseObservedTargetState[];\n}\n\nexport type ReleasePlanStatus = 'no-change' | 'changes' | 'waiting' | 'blocked';\nexport type ReleaseStepRetry = 'safe' | 'reinspect' | 'never';\nexport type ReleaseStepOperation =\n | 'prepare'\n | 'build'\n | 'publish'\n | 'sync-notes'\n | 'submit-review'\n | 'release'\n | 'rollout'\n | 'verify'\n | 'record';\n\nexport interface ReleaseDiagnostic {\n readonly severity: 'warning' | 'error';\n readonly code: string;\n readonly message: string;\n readonly target?: ReleaseTarget | 'release';\n}\n\nexport interface ReleasePlanStep {\n readonly id: string;\n readonly target: ReleaseTarget | 'release';\n readonly operation: ReleaseStepOperation;\n readonly dependsOn: readonly string[];\n readonly retry: ReleaseStepRetry;\n readonly irreversible: boolean;\n}\n\nexport interface ReleasePlan {\n readonly status: ReleasePlanStatus;\n readonly desiredRevision: string;\n readonly currentRevision: string;\n readonly steps: readonly ReleasePlanStep[];\n readonly diagnostics: readonly ReleaseDiagnostic[];\n}\n\nexport type ReleaseLifecycleControl =\n | { readonly target: 'android'; readonly action: 'halt' | 'resume' }\n | {\n readonly target: 'ios';\n readonly action: 'pause-phased' | 'resume-phased' | 'cancel-phased' | 'cancel-review';\n };\n\nexport type ReleaseMutationResult =\n | { readonly status: 'completed' }\n | { readonly status: 'blocked'; readonly code: string }\n | { readonly status: 'failed'; readonly code: string };\n\nexport type ReleaseControlExecutionResult =\n | { readonly status: 'completed'; readonly mutationAttempted: boolean }\n | { readonly status: 'blocked'; readonly mutationAttempted: false; readonly code: string }\n | { readonly status: 'failed'; readonly mutationAttempted: boolean; readonly code: string };\n\nexport interface ReleaseAdapterContext {\n readonly identity: DeploymentStoreIdentity;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface ReleaseInspectionRequest extends ReleaseAdapterContext {\n readonly version: string;\n}\n\nexport interface ReleaseStepExecutionRequest extends ReleaseAdapterContext {\n readonly desired: ReleaseDesiredState;\n readonly step: ReleasePlanStep;\n}\n\nexport interface ReleaseControlRequest extends ReleaseAdapterContext {\n readonly desired: ReleaseDesiredState;\n readonly control: ReleaseLifecycleControl;\n}\n\nexport type ReleaseObservedNativeState = ReleaseObservedAndroidState | ReleaseObservedIosState;\n\nexport interface DeploymentReleaseAdapter {\n readonly target: 'android' | 'ios';\n inspectAsync(\n request: ReleaseInspectionRequest,\n ): Promise<DeploymentProviderResult<ReleaseObservedNativeState>>;\n executeStepAsync(request: ReleaseStepExecutionRequest): Promise<ReleaseMutationResult>;\n controlAsync(request: ReleaseControlRequest): Promise<ReleaseControlExecutionResult>;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { DeploymentCredentialReference, DeploymentProviderResult, DeploymentSecretResolver, DeploymentStoreIdentity } from './deployProvider';
|
|
1
|
+
import type { DeploymentCredentialReference, DeploymentProviderResult, DeploymentSecretResolver, DeploymentStoreIdentity } from './deployProvider.js';
|
|
2
2
|
export type StoreListingTarget = 'android' | 'ios';
|
|
3
3
|
export type StoreListingField = 'name' | 'summary' | 'description' | 'keywords' | 'promotionalText' | 'supportUrl' | 'marketingUrl' | 'privacyPolicyUrl' | 'promoVideoUrl';
|
|
4
4
|
export interface StoreListingLocale {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployStoreListing.d.ts","sourceRoot":"","sources":["../../src/types/deployStoreListing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,
|
|
1
|
+
{"version":3,"file":"deployStoreListing.d.ts","sourceRoot":"","sources":["../../src/types/deployStoreListing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,6BAA6B,EAC7B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,KAAK,CAAC;AAE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wBAAwB,CAAC,uBAAuB,CAAC,CAAC,CAAC;CAC/D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deployStoreListing.js","sourceRoot":"","sources":["../../src/types/deployStoreListing.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n DeploymentCredentialReference,\n DeploymentProviderResult,\n DeploymentSecretResolver,\n DeploymentStoreIdentity,\n} from './deployProvider';\n\nexport type StoreListingTarget = 'android' | 'ios';\n\nexport type StoreListingField =\n | 'name'\n | 'summary'\n | 'description'\n | 'keywords'\n | 'promotionalText'\n | 'supportUrl'\n | 'marketingUrl'\n | 'privacyPolicyUrl'\n | 'promoVideoUrl';\n\nexport interface StoreListingLocale {\n readonly locale: string;\n readonly name: string;\n readonly summary?: string;\n readonly description?: string;\n readonly keywords?: readonly string[];\n readonly promotionalText?: string;\n readonly supportUrl?: string;\n readonly marketingUrl?: string;\n readonly privacyPolicyUrl?: string;\n readonly promoVideoUrl?: string;\n}\n\nexport type StoreListingAssetMediaType = 'image/jpeg' | 'image/png';\n\nexport interface StoreListingAsset {\n readonly relativePath: string;\n readonly sha256: string;\n readonly md5: string;\n readonly size: number;\n readonly mediaType: StoreListingAssetMediaType;\n}\n\nexport interface StoreListingAssetSet {\n readonly target: StoreListingTarget;\n readonly locale: string;\n readonly variant: string;\n readonly assets: readonly StoreListingAsset[];\n}\n\nexport interface StoreListingRemoteAssetSet {\n readonly target: StoreListingTarget;\n readonly locale: string;\n readonly variant: string;\n readonly checksum: 'md5' | 'sha256';\n readonly hashes: readonly string[];\n}\n\nexport interface StoreListingDesiredState {\n readonly revision: string;\n readonly locales: readonly StoreListingLocale[];\n readonly assetSets: readonly StoreListingAssetSet[];\n}\n\nexport interface StoreListingDiagnostic {\n readonly severity: 'warning' | 'error';\n readonly code: string;\n readonly message: string;\n readonly target?: StoreListingTarget;\n readonly locale?: string;\n readonly field?: StoreListingField;\n readonly variant?: string;\n}\n\nexport interface StoreListingTargetState {\n readonly target: StoreListingTarget;\n readonly locales: readonly StoreListingLocale[];\n readonly assetSets: readonly StoreListingRemoteAssetSet[];\n readonly supportedFields: readonly StoreListingField[];\n readonly diagnostics: readonly StoreListingDiagnostic[];\n}\n\nexport type StoreListingPlanOperation = 'create-locale' | 'update-locale' | 'replace-assets';\n\nexport interface StoreListingPlanStep {\n readonly id: string;\n readonly target: StoreListingTarget;\n readonly operation: StoreListingPlanOperation;\n readonly locale: string;\n readonly variant?: string;\n}\n\nexport interface StoreListingPlan {\n readonly status: 'no-change' | 'changes' | 'blocked';\n readonly desiredRevision: string;\n readonly currentRevision: string;\n readonly steps: readonly StoreListingPlanStep[];\n readonly diagnostics: readonly StoreListingDiagnostic[];\n}\n\nexport interface StoreListingAssetReader {\n readAsync(relativePath: string): Promise<Uint8Array>;\n}\n\nexport interface StoreListingAdapterContext {\n readonly identity: DeploymentStoreIdentity;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface StoreListingSyncRequest extends StoreListingAdapterContext {\n readonly desired: StoreListingDesiredState;\n readonly plan: StoreListingPlan;\n readonly assets: StoreListingAssetReader;\n}\n\nexport interface DeploymentStoreListingAdapter {\n readonly target: StoreListingTarget;\n inspectAsync(\n context: StoreListingAdapterContext,\n ): Promise<DeploymentProviderResult<StoreListingTargetState>>;\n syncAsync(\n request: StoreListingSyncRequest,\n ): Promise<DeploymentProviderResult<StoreListingTargetState>>;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"deployStoreListing.js","sourceRoot":"","sources":["../../src/types/deployStoreListing.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n DeploymentCredentialReference,\n DeploymentProviderResult,\n DeploymentSecretResolver,\n DeploymentStoreIdentity,\n} from './deployProvider.js';\n\nexport type StoreListingTarget = 'android' | 'ios';\n\nexport type StoreListingField =\n | 'name'\n | 'summary'\n | 'description'\n | 'keywords'\n | 'promotionalText'\n | 'supportUrl'\n | 'marketingUrl'\n | 'privacyPolicyUrl'\n | 'promoVideoUrl';\n\nexport interface StoreListingLocale {\n readonly locale: string;\n readonly name: string;\n readonly summary?: string;\n readonly description?: string;\n readonly keywords?: readonly string[];\n readonly promotionalText?: string;\n readonly supportUrl?: string;\n readonly marketingUrl?: string;\n readonly privacyPolicyUrl?: string;\n readonly promoVideoUrl?: string;\n}\n\nexport type StoreListingAssetMediaType = 'image/jpeg' | 'image/png';\n\nexport interface StoreListingAsset {\n readonly relativePath: string;\n readonly sha256: string;\n readonly md5: string;\n readonly size: number;\n readonly mediaType: StoreListingAssetMediaType;\n}\n\nexport interface StoreListingAssetSet {\n readonly target: StoreListingTarget;\n readonly locale: string;\n readonly variant: string;\n readonly assets: readonly StoreListingAsset[];\n}\n\nexport interface StoreListingRemoteAssetSet {\n readonly target: StoreListingTarget;\n readonly locale: string;\n readonly variant: string;\n readonly checksum: 'md5' | 'sha256';\n readonly hashes: readonly string[];\n}\n\nexport interface StoreListingDesiredState {\n readonly revision: string;\n readonly locales: readonly StoreListingLocale[];\n readonly assetSets: readonly StoreListingAssetSet[];\n}\n\nexport interface StoreListingDiagnostic {\n readonly severity: 'warning' | 'error';\n readonly code: string;\n readonly message: string;\n readonly target?: StoreListingTarget;\n readonly locale?: string;\n readonly field?: StoreListingField;\n readonly variant?: string;\n}\n\nexport interface StoreListingTargetState {\n readonly target: StoreListingTarget;\n readonly locales: readonly StoreListingLocale[];\n readonly assetSets: readonly StoreListingRemoteAssetSet[];\n readonly supportedFields: readonly StoreListingField[];\n readonly diagnostics: readonly StoreListingDiagnostic[];\n}\n\nexport type StoreListingPlanOperation = 'create-locale' | 'update-locale' | 'replace-assets';\n\nexport interface StoreListingPlanStep {\n readonly id: string;\n readonly target: StoreListingTarget;\n readonly operation: StoreListingPlanOperation;\n readonly locale: string;\n readonly variant?: string;\n}\n\nexport interface StoreListingPlan {\n readonly status: 'no-change' | 'changes' | 'blocked';\n readonly desiredRevision: string;\n readonly currentRevision: string;\n readonly steps: readonly StoreListingPlanStep[];\n readonly diagnostics: readonly StoreListingDiagnostic[];\n}\n\nexport interface StoreListingAssetReader {\n readAsync(relativePath: string): Promise<Uint8Array>;\n}\n\nexport interface StoreListingAdapterContext {\n readonly identity: DeploymentStoreIdentity;\n readonly credentials: readonly DeploymentCredentialReference[];\n readonly resolveSecret: DeploymentSecretResolver;\n}\n\nexport interface StoreListingSyncRequest extends StoreListingAdapterContext {\n readonly desired: StoreListingDesiredState;\n readonly plan: StoreListingPlan;\n readonly assets: StoreListingAssetReader;\n}\n\nexport interface DeploymentStoreListingAdapter {\n readonly target: StoreListingTarget;\n inspectAsync(\n context: StoreListingAdapterContext,\n ): Promise<DeploymentProviderResult<StoreListingTargetState>>;\n syncAsync(\n request: StoreListingSyncRequest,\n ): Promise<DeploymentProviderResult<StoreListingTargetState>>;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/contracts",
|
|
3
|
-
"version": "19.2.
|
|
3
|
+
"version": "19.2.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"ankh": {
|
|
6
6
|
"category": "contracts",
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
"format": "ankhorage-prettier --write .",
|
|
138
138
|
"format:check": "ankhorage-prettier --check .",
|
|
139
139
|
"test": "bun test src",
|
|
140
|
-
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.infra-tests.json",
|
|
140
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.infra-tests.json && bun run build && tsc --noEmit -p tsconfig.deploy-provider-consumer.json",
|
|
141
141
|
"version-packages": "ankhorage-changeset version",
|
|
142
142
|
"knip:check": "ankhorage-knip"
|
|
143
143
|
},
|
package/src/deploy.ts
CHANGED
package/src/deployProvider.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './types/deployMonetization';
|
|
2
|
-
export * from './types/deployProvider';
|
|
3
|
-
export * from './types/deployRelease';
|
|
4
|
-
export * from './types/deployStoreListing';
|
|
1
|
+
export * from './types/deployMonetization.js';
|
|
2
|
+
export * from './types/deployProvider.js';
|
|
3
|
+
export * from './types/deployRelease.js';
|
|
4
|
+
export * from './types/deployStoreListing.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { AppDeployTargetId } from '../deploy';
|
|
2
|
-
import type { DeploymentMonetizationAdapter } from './deployMonetization';
|
|
3
|
-
import type { DeploymentReleaseAdapter } from './deployRelease';
|
|
4
|
-
import type { DeploymentStoreListingAdapter } from './deployStoreListing';
|
|
1
|
+
import type { AppDeployTargetId } from '../deploy.js';
|
|
2
|
+
import type { DeploymentMonetizationAdapter } from './deployMonetization.js';
|
|
3
|
+
import type { DeploymentReleaseAdapter } from './deployRelease.js';
|
|
4
|
+
import type { DeploymentStoreListingAdapter } from './deployStoreListing.js';
|
|
5
5
|
|
|
6
6
|
export const DEPLOYMENT_CAPABILITIES = [
|
|
7
7
|
'provision',
|
|
@@ -3,7 +3,7 @@ import type {
|
|
|
3
3
|
DeploymentProviderResult,
|
|
4
4
|
DeploymentSecretResolver,
|
|
5
5
|
DeploymentStoreIdentity,
|
|
6
|
-
} from './deployProvider';
|
|
6
|
+
} from './deployProvider.js';
|
|
7
7
|
|
|
8
8
|
export type ReleaseTarget = 'web' | 'android' | 'ios';
|
|
9
9
|
export type ReleaseRolloutMode = 'immediate' | 'staged';
|