@fourier-labs/harbour-contracts 0.27.0 → 0.28.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.
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "schema": "harbour.contract-release/1.0",
3
- "repositoryVersion": "0.27.0.0",
4
- "publishVersion": "0.27.0",
5
- "publishTag": "v0.27.0",
6
- "schemasDigest": "sha256:115fb3009d3e71f3ca46f0d74a88f4ff1164a387d2e8b5696bb6815010f1784d",
3
+ "repositoryVersion": "0.28.0.0",
4
+ "publishVersion": "0.28.0",
5
+ "publishTag": "v0.28.0",
6
+ "schemasDigest": "sha256:f5fa7ad6b50cdd28fdfbbd594b2c92035052cd1091eed1273586082565da6df4",
7
7
  "aiFixturesDigest": "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6",
8
- "generatedGoDigest": "sha256:f458ed606d14e968baeada0ae3d0244a37c4a5c947c549578c970d9f8fdaef87",
9
- "generatedTypeScriptDigest": "sha256:59516d76fb1d1f007dbc38ccc09751d459a2d0885f3ff13c96b9993153c76cec",
8
+ "generatedGoDigest": "sha256:b7c2021f907620ab3df9122992f73c25661a2e4e5ae0207cdc000de1d5227b04",
9
+ "generatedTypeScriptDigest": "sha256:72c340ec27372dbd65849b677e671f42b2a09dec5e6bc7810d735c6b0c6edcd0",
10
10
  "generatedExclusions": {
11
11
  "gen-go/contract_release.go": "contains the generated aggregate digests (self-reference)",
12
12
  "gen-ts/contract-release.ts": "contains the generated aggregate digests (self-reference)"
@@ -53,7 +53,7 @@
53
53
  "schema/secret-reference.schema.json": "sha256:966f7a6d2575b46a4b54804d06dc05c6229ebbcbd9200fe6a6c8d3b4ffb90f9f",
54
54
  "schema/security-scan-input.schema.json": "sha256:9f9c9e6131c1abee454320b77e4332e3780c0c63f108f54f75c93194a32ccff7",
55
55
  "schema/security-verdict.schema.json": "sha256:ec3c2d5c9df3601aeed0909b36c7f427469c7f0eeb3295c5809b96d09bf3fc26",
56
- "schema/transform-report.schema.json": "sha256:821755a9d13be24139b168cc11d494c080194eb5a85950dd4878049a59557cea",
56
+ "schema/transform-report.schema.json": "sha256:815e764445fb41b912d0c0468f00621ad61f941fb4c7b9364e3f204ad47cdf7f",
57
57
  "schema/version-state.schema.json": "sha256:e7c4b2e7b615ebb07f36d0df22ded51b2c9688ef9e9bfe79de1d5cd94de9ae40"
58
58
  },
59
59
  "aiFixtures": {
@@ -92,8 +92,8 @@
92
92
  "gen-go/contracts_test.go": "sha256:7c7ee46f2b4277e22b1ee21af9f17d201eb83067c613b049749f932706ed24f8",
93
93
  "gen-go/doc.go": "sha256:c17bc2d39ed175ce7105c68305f8ae7152f659eb7cd187ecceee7698eb3a65dd",
94
94
  "gen-go/error_category.go": "sha256:a8b64524be3716e62ca6016e56f2332a56fa5e16e42647421e516aa01a7d6806",
95
- "gen-go/schema_documents.go": "sha256:10fcbf0966bca7d81fc1456afe8744a94d4ebf7d2863b49e6f4f179cbfb69f7e",
96
- "gen-go/types.go": "sha256:766a4967e49cf5347137308b2df09dcc1c74cc271af601012b31f84f89ea6555",
95
+ "gen-go/schema_documents.go": "sha256:4b9094aaf0acc4bae4b65784954853f0888572a53fa1a1dc354f97c88ded805f",
96
+ "gen-go/types.go": "sha256:b61e41c09988a76c706cbb13c45547234a368f6d1214c86d7fa5ffa0f362a559",
97
97
  "gen-go/version_state.go": "sha256:827f8768359998409b86ea02d9ba1a149981928bae7161e4dc95fe0520ce7410"
98
98
  },
99
99
  "generatedTypeScript": {
@@ -144,7 +144,7 @@
144
144
  "gen-ts/secret-reference.ts": "sha256:a8b65de72705b6f51f57cd8ca58881483108005b1fa4d19106c3e9cf1fa877e7",
145
145
  "gen-ts/security-scan-input.ts": "sha256:5d9bde7394d8b34cca1d36b51ce17bf73cfccd9cfd7cab810f83d4de58f22285",
146
146
  "gen-ts/security-verdict.ts": "sha256:fea950cddbd12fe0218e2573c9a29c6748d56612a464559f1e6d688fa97f68c7",
147
- "gen-ts/transform-report.ts": "sha256:c59e2e3c91c8ef6727a030a0e0763e3b57aa0c80f1873ddcf1a34a3c82cd0f99",
147
+ "gen-ts/transform-report.ts": "sha256:6c54b579884d98135d73945d00980820b136f269622db27fa56a1c4c0e57d3b6",
148
148
  "gen-ts/version-state-machine.ts": "sha256:4371bc7e2bde86b0447f5242104c576cc160dfd7dae1885acbfb63540f230bdd",
149
149
  "gen-ts/version-state.ts": "sha256:a835112930299e7b593a1b8810b7414f6c9e809da2092306c743128170a3b702"
150
150
  }
@@ -1,7 +1,7 @@
1
- export declare const ContractRepositoryVersion: "0.27.0.0";
2
- export declare const ContractPublishVersion: "0.27.0";
3
- export declare const ContractPublishTag: "v0.27.0";
4
- export declare const ContractSchemasDigest: "sha256:115fb3009d3e71f3ca46f0d74a88f4ff1164a387d2e8b5696bb6815010f1784d";
1
+ export declare const ContractRepositoryVersion: "0.28.0.0";
2
+ export declare const ContractPublishVersion: "0.28.0";
3
+ export declare const ContractPublishTag: "v0.28.0";
4
+ export declare const ContractSchemasDigest: "sha256:f5fa7ad6b50cdd28fdfbbd594b2c92035052cd1091eed1273586082565da6df4";
5
5
  export declare const ContractAiFixturesDigest: "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
6
- export declare const ContractGeneratedGoDigest: "sha256:f458ed606d14e968baeada0ae3d0244a37c4a5c947c549578c970d9f8fdaef87";
7
- export declare const ContractGeneratedTypeScriptDigest: "sha256:59516d76fb1d1f007dbc38ccc09751d459a2d0885f3ff13c96b9993153c76cec";
6
+ export declare const ContractGeneratedGoDigest: "sha256:b7c2021f907620ab3df9122992f73c25661a2e4e5ae0207cdc000de1d5227b04";
7
+ export declare const ContractGeneratedTypeScriptDigest: "sha256:72c340ec27372dbd65849b677e671f42b2a09dec5e6bc7810d735c6b0c6edcd0";
@@ -1,9 +1,9 @@
1
1
  /* eslint-disable */
2
2
  // Code generated by tools/gen/gen.mjs from schema/*.json. DO NOT EDIT.
3
- export const ContractRepositoryVersion = "0.27.0.0";
4
- export const ContractPublishVersion = "0.27.0";
5
- export const ContractPublishTag = "v0.27.0";
6
- export const ContractSchemasDigest = "sha256:115fb3009d3e71f3ca46f0d74a88f4ff1164a387d2e8b5696bb6815010f1784d";
3
+ export const ContractRepositoryVersion = "0.28.0.0";
4
+ export const ContractPublishVersion = "0.28.0";
5
+ export const ContractPublishTag = "v0.28.0";
6
+ export const ContractSchemasDigest = "sha256:f5fa7ad6b50cdd28fdfbbd594b2c92035052cd1091eed1273586082565da6df4";
7
7
  export const ContractAiFixturesDigest = "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
8
- export const ContractGeneratedGoDigest = "sha256:f458ed606d14e968baeada0ae3d0244a37c4a5c947c549578c970d9f8fdaef87";
9
- export const ContractGeneratedTypeScriptDigest = "sha256:59516d76fb1d1f007dbc38ccc09751d459a2d0885f3ff13c96b9993153c76cec";
8
+ export const ContractGeneratedGoDigest = "sha256:b7c2021f907620ab3df9122992f73c25661a2e4e5ae0207cdc000de1d5227b04";
9
+ export const ContractGeneratedTypeScriptDigest = "sha256:72c340ec27372dbd65849b677e671f42b2a09dec5e6bc7810d735c6b0c6edcd0";
@@ -66,6 +66,27 @@ export type TransformReport = {
66
66
  * Optional reviewed runtime features selected for the standard application image. The first release supports Chromium for Node runtimes only.
67
67
  */
68
68
  runtimeFeatures?: 'chromium'[];
69
+ /**
70
+ * Optional bounded workload requirements, carried into the deployment plan and artifact. Null or omitted preserves standard HTTP serving. SQS jobs require platform-selected Kubernetes compute.
71
+ */
72
+ workload?: {
73
+ resourceProfile: 'standard' | 'memory-1g';
74
+ backgroundJobs: 'none' | 'sqs';
75
+ } | null;
76
+ /**
77
+ * Build-only bootstrap for authenticated browser validation. Use null when the application does not require a local database user. When local authorization resolves Harbour identity to an application-owned user or membership row, declare an idempotent command that creates the fixed validation identity in the throwaway database. Reuse an existing seed command when available; otherwise add the smallest validation-only script using the application's existing database layer. The command is never run during production deployment.
78
+ */
79
+ validationSeed?: {
80
+ /**
81
+ * @minItems 1
82
+ * @maxItems 64
83
+ */
84
+ command: string[];
85
+ /**
86
+ * Existing application-owned environment variable that receives the trusted browser probe email, for example ADMIN_EMAIL.
87
+ */
88
+ identityEmailEnvironmentVariable: string;
89
+ } | null;
69
90
  buildKind?: 'container' | 'static';
70
91
  topology?: 'static' | 'backend' | 'frontend_and_backend';
71
92
  entrypoint?: string;
@@ -1,10 +1,10 @@
1
1
  /* eslint-disable */
2
2
  // Code generated by tools/gen/gen.mjs from schema/*.json. DO NOT EDIT.
3
3
 
4
- export const ContractRepositoryVersion = "0.27.0.0" as const;
5
- export const ContractPublishVersion = "0.27.0" as const;
6
- export const ContractPublishTag = "v0.27.0" as const;
7
- export const ContractSchemasDigest = "sha256:115fb3009d3e71f3ca46f0d74a88f4ff1164a387d2e8b5696bb6815010f1784d" as const;
4
+ export const ContractRepositoryVersion = "0.28.0.0" as const;
5
+ export const ContractPublishVersion = "0.28.0" as const;
6
+ export const ContractPublishTag = "v0.28.0" as const;
7
+ export const ContractSchemasDigest = "sha256:f5fa7ad6b50cdd28fdfbbd594b2c92035052cd1091eed1273586082565da6df4" as const;
8
8
  export const ContractAiFixturesDigest = "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6" as const;
9
- export const ContractGeneratedGoDigest = "sha256:f458ed606d14e968baeada0ae3d0244a37c4a5c947c549578c970d9f8fdaef87" as const;
10
- export const ContractGeneratedTypeScriptDigest = "sha256:59516d76fb1d1f007dbc38ccc09751d459a2d0885f3ff13c96b9993153c76cec" as const;
9
+ export const ContractGeneratedGoDigest = "sha256:b7c2021f907620ab3df9122992f73c25661a2e4e5ae0207cdc000de1d5227b04" as const;
10
+ export const ContractGeneratedTypeScriptDigest = "sha256:72c340ec27372dbd65849b677e671f42b2a09dec5e6bc7810d735c6b0c6edcd0" as const;
@@ -69,6 +69,27 @@ export type TransformReport = {
69
69
  * Optional reviewed runtime features selected for the standard application image. The first release supports Chromium for Node runtimes only.
70
70
  */
71
71
  runtimeFeatures?: 'chromium'[];
72
+ /**
73
+ * Optional bounded workload requirements, carried into the deployment plan and artifact. Null or omitted preserves standard HTTP serving. SQS jobs require platform-selected Kubernetes compute.
74
+ */
75
+ workload?: {
76
+ resourceProfile: 'standard' | 'memory-1g';
77
+ backgroundJobs: 'none' | 'sqs';
78
+ } | null;
79
+ /**
80
+ * Build-only bootstrap for authenticated browser validation. Use null when the application does not require a local database user. When local authorization resolves Harbour identity to an application-owned user or membership row, declare an idempotent command that creates the fixed validation identity in the throwaway database. Reuse an existing seed command when available; otherwise add the smallest validation-only script using the application's existing database layer. The command is never run during production deployment.
81
+ */
82
+ validationSeed?: {
83
+ /**
84
+ * @minItems 1
85
+ * @maxItems 64
86
+ */
87
+ command: string[];
88
+ /**
89
+ * Existing application-owned environment variable that receives the trusted browser probe email, for example ADMIN_EMAIL.
90
+ */
91
+ identityEmailEnvironmentVariable: string;
92
+ } | null;
72
93
  buildKind?: 'container' | 'static';
73
94
  topology?: 'static' | 'backend' | 'frontend_and_backend';
74
95
  entrypoint?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fourier-labs/harbour-contracts",
3
- "version": "0.27.0",
3
+ "version": "0.28.0",
4
4
  "description": "Single source of truth for every data shape that crosses a boundary between Harbour components.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -129,6 +129,45 @@
129
129
  },
130
130
  "description": "Optional reviewed runtime features selected for the standard application image. The first release supports Chromium for Node runtimes only."
131
131
  },
132
+ "workload": {
133
+ "description": "Optional bounded workload requirements, carried into the deployment plan and artifact. Null or omitted preserves standard HTTP serving. SQS jobs require platform-selected Kubernetes compute.",
134
+ "anyOf": [
135
+ {
136
+ "type": "object",
137
+ "additionalProperties": false,
138
+ "required": ["resourceProfile", "backgroundJobs"],
139
+ "properties": {
140
+ "resourceProfile": { "type": "string", "enum": ["standard", "memory-1g"] },
141
+ "backgroundJobs": { "type": "string", "enum": ["none", "sqs"] }
142
+ }
143
+ },
144
+ { "type": "null" }
145
+ ]
146
+ },
147
+ "validationSeed": {
148
+ "description": "Build-only bootstrap for authenticated browser validation. Use null when the application does not require a local database user. When local authorization resolves Harbour identity to an application-owned user or membership row, declare an idempotent command that creates the fixed validation identity in the throwaway database. Reuse an existing seed command when available; otherwise add the smallest validation-only script using the application's existing database layer. The command is never run during production deployment.",
149
+ "anyOf": [
150
+ {
151
+ "type": "object",
152
+ "additionalProperties": false,
153
+ "required": ["command", "identityEmailEnvironmentVariable"],
154
+ "properties": {
155
+ "command": {
156
+ "type": "array",
157
+ "minItems": 1,
158
+ "maxItems": 64,
159
+ "items": { "type": "string", "minLength": 1, "maxLength": 1024 }
160
+ },
161
+ "identityEmailEnvironmentVariable": {
162
+ "type": "string",
163
+ "pattern": "^[A-Z][A-Z0-9_]{0,127}$",
164
+ "description": "Existing application-owned environment variable that receives the trusted browser probe email, for example ADMIN_EMAIL."
165
+ }
166
+ }
167
+ },
168
+ { "type": "null" }
169
+ ]
170
+ },
132
171
  "buildKind": { "type": "string", "enum": ["container", "static"] },
133
172
  "topology": {
134
173
  "type": "string",