@ankhorage/contracts 26.2.1 → 26.3.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 (273) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/ads.d.ts +3 -0
  4. package/dist/ads.d.ts.map +1 -0
  5. package/dist/ads.js +2 -0
  6. package/dist/ads.js.map +1 -0
  7. package/dist/appManifest/bindings.js +1 -1
  8. package/dist/appManifest/bindings.js.map +1 -1
  9. package/dist/appManifest/constants.js.map +1 -1
  10. package/dist/appManifest/dataSources.js +2 -2
  11. package/dist/appManifest/dataSources.js.map +1 -1
  12. package/dist/appManifest/isAppManifest.d.ts +1 -1
  13. package/dist/appManifest/isAppManifest.d.ts.map +1 -1
  14. package/dist/appManifest/isAppManifest.js +8 -8
  15. package/dist/appManifest/isAppManifest.js.map +1 -1
  16. package/dist/appManifest/isAppStateSpec.d.ts +1 -1
  17. package/dist/appManifest/isAppStateSpec.d.ts.map +1 -1
  18. package/dist/appManifest/isAppStateSpec.js.map +1 -1
  19. package/dist/appManifest/isManifestValue.js +1 -1
  20. package/dist/appManifest/isManifestValue.js.map +1 -1
  21. package/dist/appManifest/media.d.ts +1 -1
  22. package/dist/appManifest/media.d.ts.map +1 -1
  23. package/dist/appManifest/media.js +1 -1
  24. package/dist/appManifest/media.js.map +1 -1
  25. package/dist/appManifest/navigator.d.ts +1 -1
  26. package/dist/appManifest/navigator.d.ts.map +1 -1
  27. package/dist/appManifest/navigator.js +3 -3
  28. package/dist/appManifest/navigator.js.map +1 -1
  29. package/dist/appManifest/navigatorOptions.js +1 -1
  30. package/dist/appManifest/navigatorOptions.js.map +1 -1
  31. package/dist/appManifest/parseAppManifest.d.ts +1 -1
  32. package/dist/appManifest/parseAppManifest.d.ts.map +1 -1
  33. package/dist/appManifest/parseAppManifest.js +1 -1
  34. package/dist/appManifest/parseAppManifest.js.map +1 -1
  35. package/dist/appManifest/screens.d.ts +2 -2
  36. package/dist/appManifest/screens.d.ts.map +1 -1
  37. package/dist/appManifest/screens.js +6 -6
  38. package/dist/appManifest/screens.js.map +1 -1
  39. package/dist/appManifest.d.ts +4 -4
  40. package/dist/appManifest.d.ts.map +1 -1
  41. package/dist/appManifest.js +2 -2
  42. package/dist/appManifest.js.map +1 -1
  43. package/dist/auth.d.ts +5 -5
  44. package/dist/auth.d.ts.map +1 -1
  45. package/dist/auth.js.map +1 -1
  46. package/dist/bindings.d.ts +3 -3
  47. package/dist/bindings.d.ts.map +1 -1
  48. package/dist/bindings.js.map +1 -1
  49. package/dist/cli/index.d.ts +1 -1
  50. package/dist/cli/index.d.ts.map +1 -1
  51. package/dist/cli/index.js.map +1 -1
  52. package/dist/data/apis.d.ts +6 -6
  53. package/dist/data/apis.d.ts.map +1 -1
  54. package/dist/data/apis.js.map +1 -1
  55. package/dist/data/diagnostics.d.ts +1 -1
  56. package/dist/data/diagnostics.d.ts.map +1 -1
  57. package/dist/data/diagnostics.js.map +1 -1
  58. package/dist/data/endpoints.d.ts +5 -5
  59. package/dist/data/endpoints.d.ts.map +1 -1
  60. package/dist/data/endpoints.js.map +1 -1
  61. package/dist/data/index.d.ts +10 -10
  62. package/dist/data/index.d.ts.map +1 -1
  63. package/dist/data/index.js +10 -10
  64. package/dist/data/index.js.map +1 -1
  65. package/dist/data/isApiDefinitionRegistry.d.ts +1 -1
  66. package/dist/data/isApiDefinitionRegistry.d.ts.map +1 -1
  67. package/dist/data/isApiDefinitionRegistry.js +2 -2
  68. package/dist/data/isApiDefinitionRegistry.js.map +1 -1
  69. package/dist/data/operations.d.ts +5 -5
  70. package/dist/data/operations.d.ts.map +1 -1
  71. package/dist/data/operations.js.map +1 -1
  72. package/dist/data/refs.d.ts +2 -2
  73. package/dist/data/refs.d.ts.map +1 -1
  74. package/dist/data/refs.js.map +1 -1
  75. package/dist/data/schemas.d.ts +3 -3
  76. package/dist/data/schemas.d.ts.map +1 -1
  77. package/dist/data/schemas.js.map +1 -1
  78. package/dist/data/sources.d.ts +6 -6
  79. package/dist/data/sources.d.ts.map +1 -1
  80. package/dist/data/sources.js.map +1 -1
  81. package/dist/data/values.d.ts +1 -1
  82. package/dist/data/values.d.ts.map +1 -1
  83. package/dist/data/values.js.map +1 -1
  84. package/dist/icon.js +1 -1
  85. package/dist/icon.js.map +1 -1
  86. package/dist/index.d.ts +25 -24
  87. package/dist/index.d.ts.map +1 -1
  88. package/dist/index.js +25 -24
  89. package/dist/index.js.map +1 -1
  90. package/dist/infra/isInfraAdapterDescriptor.d.ts +1 -1
  91. package/dist/infra/isInfraAdapterDescriptor.d.ts.map +1 -1
  92. package/dist/infra/isInfraAdapterDescriptor.js +2 -2
  93. package/dist/infra/isInfraAdapterDescriptor.js.map +1 -1
  94. package/dist/infra/isInfraAuthSpec.d.ts +1 -1
  95. package/dist/infra/isInfraAuthSpec.d.ts.map +1 -1
  96. package/dist/infra/isInfraAuthSpec.js +4 -4
  97. package/dist/infra/isInfraAuthSpec.js.map +1 -1
  98. package/dist/infra/isInfraCredentialRef.js +1 -1
  99. package/dist/infra/isInfraCredentialRef.js.map +1 -1
  100. package/dist/infra/isInfraDeploymentSpec.d.ts +1 -1
  101. package/dist/infra/isInfraDeploymentSpec.d.ts.map +1 -1
  102. package/dist/infra/isInfraDeploymentSpec.js +4 -4
  103. package/dist/infra/isInfraDeploymentSpec.js.map +1 -1
  104. package/dist/infra/isInfraEnvironmentSpec.d.ts +1 -1
  105. package/dist/infra/isInfraEnvironmentSpec.d.ts.map +1 -1
  106. package/dist/infra/isInfraEnvironmentSpec.js +8 -8
  107. package/dist/infra/isInfraEnvironmentSpec.js.map +1 -1
  108. package/dist/infra/isInfraManifest.d.ts +1 -1
  109. package/dist/infra/isInfraManifest.d.ts.map +1 -1
  110. package/dist/infra/isInfraManifest.js +5 -5
  111. package/dist/infra/isInfraManifest.js.map +1 -1
  112. package/dist/infra/isInfraWorkloadHealth.js +2 -2
  113. package/dist/infra/isInfraWorkloadHealth.js.map +1 -1
  114. package/dist/infra/isInfraWorkloadSpec.d.ts +1 -1
  115. package/dist/infra/isInfraWorkloadSpec.d.ts.map +1 -1
  116. package/dist/infra/isInfraWorkloadSpec.js +5 -5
  117. package/dist/infra/isInfraWorkloadSpec.js.map +1 -1
  118. package/dist/infra/isInfraWorkloadValue.js +3 -3
  119. package/dist/infra/isInfraWorkloadValue.js.map +1 -1
  120. package/dist/infra/parseInfraManifest.d.ts +2 -2
  121. package/dist/infra/parseInfraManifest.d.ts.map +1 -1
  122. package/dist/infra/parseInfraManifest.js +1 -1
  123. package/dist/infra/parseInfraManifest.js.map +1 -1
  124. package/dist/infra/validateInfraAdapterSelection.d.ts +3 -3
  125. package/dist/infra/validateInfraAdapterSelection.d.ts.map +1 -1
  126. package/dist/infra/validateInfraAdapterSelection.js +2 -2
  127. package/dist/infra/validateInfraAdapterSelection.js.map +1 -1
  128. package/dist/infra.d.ts +15 -15
  129. package/dist/infra.d.ts.map +1 -1
  130. package/dist/infra.js +9 -9
  131. package/dist/infra.js.map +1 -1
  132. package/dist/media.d.ts +1 -1
  133. package/dist/media.d.ts.map +1 -1
  134. package/dist/media.js.map +1 -1
  135. package/dist/navigator/catalog.d.ts +3 -3
  136. package/dist/navigator/catalog.d.ts.map +1 -1
  137. package/dist/navigator/catalog.js.map +1 -1
  138. package/dist/navigator/extensions.d.ts +2 -2
  139. package/dist/navigator/extensions.d.ts.map +1 -1
  140. package/dist/navigator/extensions.js.map +1 -1
  141. package/dist/navigator/generation.d.ts +1 -1
  142. package/dist/navigator/generation.d.ts.map +1 -1
  143. package/dist/navigator/generation.js.map +1 -1
  144. package/dist/navigator/planning.d.ts +3 -3
  145. package/dist/navigator/planning.d.ts.map +1 -1
  146. package/dist/navigator/planning.js.map +1 -1
  147. package/dist/navigator.d.ts +7 -7
  148. package/dist/navigator.d.ts.map +1 -1
  149. package/dist/navigator.js +1 -1
  150. package/dist/navigator.js.map +1 -1
  151. package/dist/requirements.d.ts +1 -1
  152. package/dist/requirements.d.ts.map +1 -1
  153. package/dist/requirements.js.map +1 -1
  154. package/dist/runtimeCallbacks.d.ts +1 -1
  155. package/dist/runtimeCallbacks.d.ts.map +1 -1
  156. package/dist/runtimeCallbacks.js.map +1 -1
  157. package/dist/state.d.ts +1 -1
  158. package/dist/state.d.ts.map +1 -1
  159. package/dist/state.js.map +1 -1
  160. package/dist/structure/generated.d.ts +2 -2
  161. package/dist/structure/generated.js +2 -2
  162. package/dist/structure/generated.js.map +1 -1
  163. package/dist/structure/index.d.ts +1 -1
  164. package/dist/structure/index.d.ts.map +1 -1
  165. package/dist/structure/index.js.map +1 -1
  166. package/dist/structure/isStructureDescriptor.d.ts +1 -1
  167. package/dist/structure/isStructureDescriptor.d.ts.map +1 -1
  168. package/dist/structure/isStructureDescriptor.js.map +1 -1
  169. package/dist/structure/types.d.ts +1 -1
  170. package/dist/structure/types.d.ts.map +1 -1
  171. package/dist/structure/types.js.map +1 -1
  172. package/dist/theme.d.ts +1 -1
  173. package/dist/theme.d.ts.map +1 -1
  174. package/dist/theme.js.map +1 -1
  175. package/dist/types/ads.d.ts +109 -0
  176. package/dist/types/ads.d.ts.map +1 -0
  177. package/dist/types/ads.js +8 -0
  178. package/dist/types/ads.js.map +1 -0
  179. package/dist/types/appManifest.d.ts +1 -1
  180. package/dist/types/appManifest.d.ts.map +1 -1
  181. package/dist/types/appManifest.js.map +1 -1
  182. package/dist/types/infraAdapters.d.ts +7 -7
  183. package/dist/types/infraAdapters.d.ts.map +1 -1
  184. package/dist/types/infraAdapters.js.map +1 -1
  185. package/dist/types/infraLifecycle.d.ts +4 -4
  186. package/dist/types/infraLifecycle.d.ts.map +1 -1
  187. package/dist/types/infraLifecycle.js.map +1 -1
  188. package/dist/types/infraManifest.d.ts +8 -8
  189. package/dist/types/infraManifest.d.ts.map +1 -1
  190. package/dist/types/infraManifest.js.map +1 -1
  191. package/dist/types/infraSecrets.d.ts +1 -1
  192. package/dist/types/infraSecrets.d.ts.map +1 -1
  193. package/dist/types/infraSecrets.js.map +1 -1
  194. package/dist/types/infraTargets.d.ts +1 -1
  195. package/dist/types/infraTargets.d.ts.map +1 -1
  196. package/dist/types/infraTargets.js.map +1 -1
  197. package/dist/types/infraWorkload.d.ts +2 -2
  198. package/dist/types/infraWorkload.d.ts.map +1 -1
  199. package/dist/types/infraWorkload.js.map +1 -1
  200. package/dist/types.d.ts +13 -13
  201. package/dist/types.d.ts.map +1 -1
  202. package/dist/types.js.map +1 -1
  203. package/dist/ui.d.ts +2 -2
  204. package/dist/ui.d.ts.map +1 -1
  205. package/dist/ui.js.map +1 -1
  206. package/package.json +8 -4
  207. package/src/ads.test.ts +42 -0
  208. package/src/ads.ts +2 -0
  209. package/src/adsPackedConsumer.test.ts +98 -0
  210. package/src/appManifest/bindings.ts +1 -1
  211. package/src/appManifest/constants.ts +1 -1
  212. package/src/appManifest/dataSources.ts +2 -2
  213. package/src/appManifest/isAppManifest.ts +9 -9
  214. package/src/appManifest/isAppStateSpec.ts +1 -1
  215. package/src/appManifest/isManifestValue.ts +1 -1
  216. package/src/appManifest/media.ts +1 -1
  217. package/src/appManifest/navigator.ts +3 -3
  218. package/src/appManifest/navigatorOptions.ts +1 -1
  219. package/src/appManifest/parseAppManifest.ts +2 -2
  220. package/src/appManifest/screens.ts +6 -6
  221. package/src/appManifest.ts +4 -4
  222. package/src/auth.ts +6 -6
  223. package/src/bindings.ts +3 -3
  224. package/src/cli/index.ts +1 -1
  225. package/src/data/apis.ts +6 -6
  226. package/src/data/diagnostics.ts +1 -1
  227. package/src/data/endpoints.ts +5 -5
  228. package/src/data/index.ts +10 -10
  229. package/src/data/isApiDefinitionRegistry.ts +3 -3
  230. package/src/data/operations.ts +5 -5
  231. package/src/data/refs.ts +2 -2
  232. package/src/data/schemas.ts +3 -3
  233. package/src/data/sources.ts +6 -6
  234. package/src/data/values.ts +1 -1
  235. package/src/icon.ts +1 -1
  236. package/src/index.ts +25 -24
  237. package/src/infra/isInfraAdapterDescriptor.ts +3 -3
  238. package/src/infra/isInfraAuthSpec.ts +6 -6
  239. package/src/infra/isInfraCredentialRef.ts +1 -1
  240. package/src/infra/isInfraDeploymentSpec.ts +6 -6
  241. package/src/infra/isInfraEnvironmentSpec.ts +10 -10
  242. package/src/infra/isInfraManifest.ts +7 -7
  243. package/src/infra/isInfraWorkloadHealth.ts +2 -2
  244. package/src/infra/isInfraWorkloadSpec.ts +7 -7
  245. package/src/infra/isInfraWorkloadValue.ts +4 -4
  246. package/src/infra/parseInfraManifest.ts +3 -3
  247. package/src/infra/validateInfraAdapterSelection.ts +5 -5
  248. package/src/infra.ts +15 -15
  249. package/src/infraPackedConsumer.test.ts +102 -0
  250. package/src/media.ts +1 -1
  251. package/src/navigator/catalog.ts +3 -3
  252. package/src/navigator/extensions.ts +2 -2
  253. package/src/navigator/generation.ts +1 -1
  254. package/src/navigator/planning.ts +3 -3
  255. package/src/navigator.ts +7 -7
  256. package/src/requirements.ts +1 -1
  257. package/src/runtimeCallbacks.ts +1 -1
  258. package/src/state.ts +1 -1
  259. package/src/structure/generated.ts +2 -2
  260. package/src/structure/index.ts +1 -1
  261. package/src/structure/isStructureDescriptor.ts +1 -1
  262. package/src/structure/types.ts +1 -1
  263. package/src/theme.ts +1 -1
  264. package/src/types/ads.ts +125 -0
  265. package/src/types/appManifest.ts +1 -1
  266. package/src/types/infraAdapters.ts +7 -7
  267. package/src/types/infraLifecycle.ts +4 -4
  268. package/src/types/infraManifest.ts +8 -8
  269. package/src/types/infraSecrets.ts +1 -1
  270. package/src/types/infraTargets.ts +1 -1
  271. package/src/types/infraWorkload.ts +2 -2
  272. package/src/types.ts +13 -13
  273. package/src/ui.ts +2 -2
@@ -0,0 +1,125 @@
1
+ /**
2
+ * Portable, provider-neutral advertising data contracts.
3
+ *
4
+ * Values use JSON-compatible primitives only. Provider-specific capabilities belong in optional
5
+ * extensions so a provider never has to imitate another provider's resource names or settings.
6
+ */
7
+
8
+ /** ISO 4217 currency code carried with every monetary amount. */
9
+ export type AdsCurrencyCode = Uppercase<string>;
10
+
11
+ /** Integer monetary amount in micros; no currency conversion is implied by this contract. */
12
+ export interface AdsMoney {
13
+ readonly currencyCode: AdsCurrencyCode;
14
+ readonly amountMicros: string;
15
+ }
16
+
17
+ /** Common lifecycle status shared by advertising resources. */
18
+ export type AdsResourceStatus = 'active' | 'archived' | 'paused' | 'unknown';
19
+
20
+ /** JSON-compatible value used by explicitly optional provider extensions and change values. */
21
+ export type AdsValue =
22
+ boolean | number | string | null | readonly AdsValue[] | { readonly [key: string]: AdsValue };
23
+
24
+ /** Provider-specific data that does not alter the common Ads contract. */
25
+ export interface AdsProviderExtension {
26
+ readonly provider: string;
27
+ readonly values: Readonly<Record<string, AdsValue>>;
28
+ }
29
+
30
+ /** Portable identity for an advertising account or customer. */
31
+ export interface AdsAccount {
32
+ readonly id: string;
33
+ readonly displayName?: string;
34
+ readonly currencyCode?: AdsCurrencyCode;
35
+ readonly status?: AdsResourceStatus;
36
+ readonly extensions?: readonly AdsProviderExtension[];
37
+ }
38
+
39
+ /** Portable campaign representation owned by an advertising account. */
40
+ export interface AdsCampaign {
41
+ readonly id: string;
42
+ readonly accountId: string;
43
+ readonly name: string;
44
+ readonly status: AdsResourceStatus;
45
+ readonly extensions?: readonly AdsProviderExtension[];
46
+ }
47
+
48
+ /** Portable ad-group representation owned by a campaign. */
49
+ export interface AdsAdGroup {
50
+ readonly id: string;
51
+ readonly accountId: string;
52
+ readonly campaignId: string;
53
+ readonly name: string;
54
+ readonly status: AdsResourceStatus;
55
+ readonly extensions?: readonly AdsProviderExtension[];
56
+ }
57
+
58
+ /** Portable advertisement representation, optionally scoped to an ad group. */
59
+ export interface AdsAd {
60
+ readonly id: string;
61
+ readonly accountId: string;
62
+ readonly campaignId: string;
63
+ readonly adGroupId?: string;
64
+ readonly status: AdsResourceStatus;
65
+ readonly extensions?: readonly AdsProviderExtension[];
66
+ }
67
+
68
+ /** Aggregate conversion count and optional attributed monetary value. */
69
+ export interface AdsConversionSummary {
70
+ readonly count: number;
71
+ readonly value?: AdsMoney;
72
+ }
73
+
74
+ /** Provider-neutral measured performance for an advertising resource. */
75
+ export interface AdsPerformanceSummary {
76
+ readonly impressions?: number;
77
+ readonly clicks?: number;
78
+ readonly cost?: AdsMoney;
79
+ readonly conversions?: AdsConversionSummary;
80
+ }
81
+
82
+ /** Structured provider or validation failure without executable error behavior. */
83
+ export interface AdsError {
84
+ readonly code: string;
85
+ readonly message: string;
86
+ readonly path?: readonly string[];
87
+ readonly extensions?: readonly AdsProviderExtension[];
88
+ }
89
+
90
+ /** Successful result carrying portable response data. */
91
+ export interface AdsSuccessResult<T> {
92
+ readonly ok: true;
93
+ readonly value: T;
94
+ }
95
+
96
+ /** Failed result carrying structured, serializable errors. */
97
+ export interface AdsFailureResult {
98
+ readonly ok: false;
99
+ readonly errors: readonly AdsError[];
100
+ }
101
+
102
+ /** Structured result for provider-neutral Ads operations. */
103
+ export type AdsResult<T> = AdsFailureResult | AdsSuccessResult<T>;
104
+
105
+ /** Hierarchy resource kinds addressable by a portable change. */
106
+ export type AdsResourceKind = 'account' | 'campaign' | 'ad-group' | 'ad';
107
+
108
+ /** Lifecycle stage represented by a data-only change descriptor. */
109
+ export type AdsChangeStage = 'prepare' | 'validate' | 'apply';
110
+
111
+ /** Data-only description of a planned Ads resource change. */
112
+ export interface AdsChangeDescriptor {
113
+ readonly id: string;
114
+ readonly stage: AdsChangeStage;
115
+ readonly resource: {
116
+ readonly kind: AdsResourceKind;
117
+ readonly accountId: string;
118
+ readonly resourceId?: string;
119
+ readonly campaignId?: string;
120
+ readonly adGroupId?: string;
121
+ };
122
+ readonly operation: 'create' | 'update' | 'delete';
123
+ readonly values: Readonly<Record<string, AdsValue>>;
124
+ readonly extensions?: readonly AdsProviderExtension[];
125
+ }
@@ -1,4 +1,4 @@
1
- import type { AppManifest } from '../types';
1
+ import type { AppManifest } from '../types.js';
2
2
 
3
3
  export type AppManifestParseResult =
4
4
  | { readonly ok: true; readonly manifest: AppManifest }
@@ -1,5 +1,5 @@
1
- import type { AppEnvironmentId } from '../environments';
2
- import type { INFRA_ADAPTER_CATALOG } from '../infraCatalog';
1
+ import type { AppEnvironmentId } from '../environments.js';
2
+ import type { INFRA_ADAPTER_CATALOG } from '../infraCatalog.js';
3
3
  import type {
4
4
  InfraDestroyRequest,
5
5
  InfraGeneratedArtifact,
@@ -9,7 +9,7 @@ import type {
9
9
  InfraPlanAction,
10
10
  InfraResourceStatus,
11
11
  InfraResult,
12
- } from './infraLifecycle';
12
+ } from './infraLifecycle.js';
13
13
  import type {
14
14
  InfraAdapterId,
15
15
  InfraComputeProviderId,
@@ -17,10 +17,10 @@ import type {
17
17
  InfraEnvironmentSpec,
18
18
  InfraRuntimeProviderId,
19
19
  InfraRuntimeSelection,
20
- } from './infraManifest';
21
- import type { InfraControlPlaneCredentialRef, InfraSecretReference } from './infraSecrets';
22
- import type { InfraComputeTarget } from './infraTargets';
23
- import type { InfraWorkloadSpec } from './infraWorkload';
20
+ } from './infraManifest.js';
21
+ import type { InfraControlPlaneCredentialRef, InfraSecretReference } from './infraSecrets.js';
22
+ import type { InfraComputeTarget } from './infraTargets.js';
23
+ import type { InfraWorkloadSpec } from './infraWorkload.js';
24
24
 
25
25
  /** Package exports must match this exact catalog entry; optional operations are advertised explicitly. */
26
26
  export type InfraAdapterDescriptor<P extends InfraAdapterId = InfraAdapterId> = {
@@ -1,7 +1,7 @@
1
- import type { AppEnvironmentId } from '../environments';
2
- import type { InfraAdapterId } from './infraManifest';
3
- import type { InfraSecretReference } from './infraSecrets';
4
- import type { InfraComputeTarget } from './infraTargets';
1
+ import type { AppEnvironmentId } from '../environments.js';
2
+ import type { InfraAdapterId } from './infraManifest.js';
3
+ import type { InfraSecretReference } from './infraSecrets.js';
4
+ import type { InfraComputeTarget } from './infraTargets.js';
5
5
 
6
6
  /** Identity must be verified before mutation; unowned resources must never be pruned. */
7
7
  export interface InfraResourceIdentity {
@@ -1,11 +1,11 @@
1
- import type { AuthFlowConfig, AuthOAuthConfig } from '../auth';
2
- import type { EntityRegistry, SerializableSet, ValueMap } from '../collections';
3
- import type { ApiDefinitionRegistry, DataContractValue } from '../data';
4
- import type { AppEnvironmentId } from '../environments';
5
- import type { INFRA_ADAPTER_CATALOG, INFRA_RUNTIME_COMPATIBILITY } from '../infraCatalog';
6
- import type { AuthProfileSpec, AuthScope, AuthSignInSpec, AuthSignUpSpec } from '../types';
7
- import type { InfraControlPlaneCredentialRef } from './infraSecrets';
8
- import type { InfraWorkloadRegistry } from './infraWorkload';
1
+ import type { AuthFlowConfig, AuthOAuthConfig } from '../auth.js';
2
+ import type { EntityRegistry, SerializableSet, ValueMap } from '../collections.js';
3
+ import type { ApiDefinitionRegistry, DataContractValue } from '../data/index.js';
4
+ import type { AppEnvironmentId } from '../environments.js';
5
+ import type { INFRA_ADAPTER_CATALOG, INFRA_RUNTIME_COMPATIBILITY } from '../infraCatalog.js';
6
+ import type { AuthProfileSpec, AuthScope, AuthSignInSpec, AuthSignUpSpec } from '../types.js';
7
+ import type { InfraControlPlaneCredentialRef } from './infraSecrets.js';
8
+ import type { InfraWorkloadRegistry } from './infraWorkload.js';
9
9
 
10
10
  export type InfraAdapterId = keyof typeof INFRA_ADAPTER_CATALOG;
11
11
  export type InfraCapability =
@@ -1,4 +1,4 @@
1
- import type { AppEnvironmentId } from '../environments';
1
+ import type { AppEnvironmentId } from '../environments.js';
2
2
 
3
3
  /** Bootstrap credentials cannot depend on the managed secret store being provisioned. */
4
4
  export interface InfraControlPlaneCredentialRef {
@@ -1,4 +1,4 @@
1
- import type { InfraControlPlaneCredentialRef } from './infraSecrets';
1
+ import type { InfraControlPlaneCredentialRef } from './infraSecrets.js';
2
2
 
3
3
  /** Portable runtime target state contains credential identity only, never resolved values. */
4
4
  export type InfraComputeTarget = {
@@ -1,5 +1,5 @@
1
- import type { EntityRegistry, SerializableSet, ValueMap } from '../collections';
2
- import type { InfraControlPlaneCredentialRef, InfraSecretReference } from './infraSecrets';
1
+ import type { EntityRegistry, SerializableSet, ValueMap } from '../collections.js';
2
+ import type { InfraControlPlaneCredentialRef, InfraSecretReference } from './infraSecrets.js';
3
3
 
4
4
  export interface InfraWorkloadArtifact {
5
5
  readonly kind: 'image';
package/src/types.ts CHANGED
@@ -1,22 +1,22 @@
1
1
  import type { ColorHarmony } from '@ankhorage/color-theory';
2
2
 
3
- import type { AuthIdentifierKind, AuthSignUpField } from './auth';
3
+ import type { AuthIdentifierKind, AuthSignUpField } from './auth.js';
4
4
  import type {
5
5
  BindingExpression,
6
6
  ComponentDataBindingRegistry,
7
7
  ScreenDataLoaderDefinition,
8
- } from './bindings';
9
- import type { EntityRegistry } from './collections';
10
- import type { DataSourceRegistry } from './data';
11
- import type { AppDeployManifest } from './deploy';
12
- import type { InfraManifest } from './infra';
13
- import type { MediaAssetReference, MediaManifest } from './media';
14
- import type { AppNavigatorManifest } from './navigator';
15
- import type { RepositoryManifest } from './repository';
16
- import type { ScreenRequirements } from './requirements';
17
- import type { SerializableValue } from './serializable';
18
- import type { AppStateSpec } from './state';
19
- import type { ThemeGlobalTokenOverrides, ThemeRecipeOverrides } from './theme';
8
+ } from './bindings.js';
9
+ import type { EntityRegistry } from './collections.js';
10
+ import type { DataSourceRegistry } from './data/index.js';
11
+ import type { AppDeployManifest } from './deploy.js';
12
+ import type { InfraManifest } from './infra.js';
13
+ import type { MediaAssetReference, MediaManifest } from './media.js';
14
+ import type { AppNavigatorManifest } from './navigator.js';
15
+ import type { RepositoryManifest } from './repository.js';
16
+ import type { ScreenRequirements } from './requirements.js';
17
+ import type { SerializableValue } from './serializable.js';
18
+ import type { AppStateSpec } from './state.js';
19
+ import type { ThemeGlobalTokenOverrides, ThemeRecipeOverrides } from './theme.js';
20
20
 
21
21
  export interface ThemeModeConfig {
22
22
  primaryColor: string;
package/src/ui.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { MediaAssetKind } from './media';
2
- import type { ComponentEventDtoKind } from './types';
1
+ import type { MediaAssetKind } from './media.js';
2
+ import type { ComponentEventDtoKind } from './types.js';
3
3
 
4
4
  export type UiComponentCategory = 'component' | 'foundation' | 'layout' | 'pattern';
5
5