@fourier-labs/harbour-contracts 0.83.0 → 0.84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/contract-release.json +9 -9
- package/dist/gen-ts/contract-release.d.ts +6 -6
- package/dist/gen-ts/contract-release.js +6 -6
- package/dist/gen-ts/data-source.d.ts +2 -2
- package/gen-ts/contract-release.ts +6 -6
- package/gen-ts/data-source.ts +3 -2
- package/package.json +1 -1
- package/schema/data-source.schema.json +18 -2
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ exist here first.
|
|
|
57
57
|
| `deployment-continuation.schema.json` | Immutable reference admitting one child deployment from a parked input request; never credential values | — |
|
|
58
58
|
| `security-scan-input-v2.schema.json` | Input to the Security Assurance machine (`harbour.security-scan-input/2.0`, replaces v1): one package validated at source intake, scanned in the tenant's execution account | ADR 0014 |
|
|
59
59
|
| `security-verdict.schema.json` | Security Assurance decision; `BLOCKED` surfaces as the non-retryable `gate.security-scan` category | ADR 0014 |
|
|
60
|
-
| `data-source.schema.json` | Admin-registered external data source; `credentialRef` is a secretref URI and the credential never crosses this boundary; optional `development`/`preview` copies under `environments`, production is the top-level endpoint; connectors include `trino` (ADR 0021) | Data-Access MVP |
|
|
60
|
+
| `data-source.schema.json` | Admin-registered external data source; `credentialRef` is a secretref URI and the credential never crosses this boundary; optional `development`/`preview` copies under `environments`, production is the top-level endpoint; connectors include `trino` (ADR 0021) and `clickhouse` (ADR 0030) | Data-Access MVP |
|
|
61
61
|
| `data-dependency.schema.json` | One external data dependency of an app, declared or detected, classified against the tenant's data-source inventory | Data-Access MVP |
|
|
62
62
|
| `secret-reference.schema.json` | Named secret slot an app depends on; only the reference and its lifecycle cross, never the value | Secret-Manager MVP |
|
|
63
63
|
| `ai-callsite-inventory.schema.json` | Immutable, sanitized AI call-site discovery for one exact deployment version (detection only) | AI governance |
|
package/contract-release.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "harbour.contract-release/1.0",
|
|
3
|
-
"repositoryVersion": "0.
|
|
4
|
-
"publishVersion": "0.
|
|
5
|
-
"publishTag": "v0.
|
|
6
|
-
"schemasDigest": "sha256:
|
|
3
|
+
"repositoryVersion": "0.84.0.0",
|
|
4
|
+
"publishVersion": "0.84.0",
|
|
5
|
+
"publishTag": "v0.84.0",
|
|
6
|
+
"schemasDigest": "sha256:95b67750a79742737af7a6f27076b90f8310e7c798059a1e724ef687e5733626",
|
|
7
7
|
"aiFixturesDigest": "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6",
|
|
8
|
-
"generatedGoDigest": "sha256:
|
|
9
|
-
"generatedTypeScriptDigest": "sha256:
|
|
8
|
+
"generatedGoDigest": "sha256:cc30d209cd0d8e13c0fc9d1533fce8b016b1fb18535e522ad88bce8a7782d9fe",
|
|
9
|
+
"generatedTypeScriptDigest": "sha256:b1f5d28fc95d7ca0e12d019dc8407f9d1bfb8fb937733e7a5b9992dce26addf1",
|
|
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)"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"schema/data-dependency.schema.json": "sha256:b4cc2b2484e982cfed64c0f56b8f1e9d1363c71854cd71f845b24fbe7d85c971",
|
|
40
40
|
"schema/data-grant-v2.schema.json": "sha256:14453426d0649e77f2b2ecf9633012d5473c0caf0ed4ff4e9ccb22ba2cce8335",
|
|
41
41
|
"schema/data-grant.schema.json": "sha256:e640553831ecc1c01cc9a37fe388b84d0ffeaa0d0050e63712b48f65fa437c8a",
|
|
42
|
-
"schema/data-source.schema.json": "sha256:
|
|
42
|
+
"schema/data-source.schema.json": "sha256:f32b2b4312bc06e023f4e1da60eed52ddfade59b74c1a1cc8e4b740a6f9c930b",
|
|
43
43
|
"schema/deploy-request.schema.json": "sha256:c978406c273fa430db262888f0a8646b14e3057f64b0633780fcd6cfa646bc67",
|
|
44
44
|
"schema/deploy-response.schema.json": "sha256:09064948abdbba7022738285d802ed44648a16ddc2a5b8c2eeb170ae19a66aeb",
|
|
45
45
|
"schema/deployment-app-registration.schema.json": "sha256:f1deb15a467065a20f540649aac3713e6c8afe68f03b43969ef103356b7baa13",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"gen-go/integration_execute_input_rules_test.go": "sha256:276dc9522cb7554a69982131800562c5435d460cd05dc81e007e1c7ff392980d",
|
|
117
117
|
"gen-go/integration_operations.go": "sha256:7efe1e6c238e1a656b8b2e2510f9432b30d251051fbbfca2d439656d0853c12b",
|
|
118
118
|
"gen-go/schema_documents.go": "sha256:c19c0d540f602ee997a84b90e20702d9bc63ed7d27aec267e76c04655fc182e0",
|
|
119
|
-
"gen-go/types.go": "sha256:
|
|
119
|
+
"gen-go/types.go": "sha256:eaa7b6d48f59af816d81e113abfdc5faaa181e57cfeca4725010f88fe4c09d4e",
|
|
120
120
|
"gen-go/version_state.go": "sha256:4ef8abb126414c0025cf2c59bc9c79a74ef4a2ff89e8f316cbf05acc872371c1"
|
|
121
121
|
},
|
|
122
122
|
"generatedTypeScript": {
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
"gen-ts/data-dependency.ts": "sha256:259f19e2759395d72ead90b8ed74a6dcef0c2641124f4f182823138cfd19bedf",
|
|
151
151
|
"gen-ts/data-grant-v2.ts": "sha256:da384806e5206d0da37cae7c71755c6ecda9a660151b713d36c7752132ce040e",
|
|
152
152
|
"gen-ts/data-grant.ts": "sha256:2358579d8aa1e57b01a6f2b0eacce5531e7f21ef226404c9809925365e0d6155",
|
|
153
|
-
"gen-ts/data-source.ts": "sha256:
|
|
153
|
+
"gen-ts/data-source.ts": "sha256:2566f0d5c72e44278869f55211cf3d433aeb3552e57ae0ace0ff0b85e769dde6",
|
|
154
154
|
"gen-ts/deploy-request.ts": "sha256:913245577a95354849d3a8cb43fbaedbf895efe7b653c8502d25edfa22b7a864",
|
|
155
155
|
"gen-ts/deploy-response.ts": "sha256:364d9f1acf32e491498237cdd3f402d5f8e102f208db7748034f4ec68c6a6137",
|
|
156
156
|
"gen-ts/deployment-app-registration.ts": "sha256:8c2d55983e33449ecfbaceaa41aac3e2905f1970f5514f0dbc3b611fad7beefb",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const ContractRepositoryVersion: "0.
|
|
2
|
-
export declare const ContractPublishVersion: "0.
|
|
3
|
-
export declare const ContractPublishTag: "v0.
|
|
4
|
-
export declare const ContractSchemasDigest: "sha256:
|
|
1
|
+
export declare const ContractRepositoryVersion: "0.84.0.0";
|
|
2
|
+
export declare const ContractPublishVersion: "0.84.0";
|
|
3
|
+
export declare const ContractPublishTag: "v0.84.0";
|
|
4
|
+
export declare const ContractSchemasDigest: "sha256:95b67750a79742737af7a6f27076b90f8310e7c798059a1e724ef687e5733626";
|
|
5
5
|
export declare const ContractAiFixturesDigest: "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
|
|
6
|
-
export declare const ContractGeneratedGoDigest: "sha256:
|
|
7
|
-
export declare const ContractGeneratedTypeScriptDigest: "sha256:
|
|
6
|
+
export declare const ContractGeneratedGoDigest: "sha256:cc30d209cd0d8e13c0fc9d1533fce8b016b1fb18535e522ad88bce8a7782d9fe";
|
|
7
|
+
export declare const ContractGeneratedTypeScriptDigest: "sha256:b1f5d28fc95d7ca0e12d019dc8407f9d1bfb8fb937733e7a5b9992dce26addf1";
|
|
@@ -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.
|
|
4
|
-
export const ContractPublishVersion = "0.
|
|
5
|
-
export const ContractPublishTag = "v0.
|
|
6
|
-
export const ContractSchemasDigest = "sha256:
|
|
3
|
+
export const ContractRepositoryVersion = "0.84.0.0";
|
|
4
|
+
export const ContractPublishVersion = "0.84.0";
|
|
5
|
+
export const ContractPublishTag = "v0.84.0";
|
|
6
|
+
export const ContractSchemasDigest = "sha256:95b67750a79742737af7a6f27076b90f8310e7c798059a1e724ef687e5733626";
|
|
7
7
|
export const ContractAiFixturesDigest = "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6";
|
|
8
|
-
export const ContractGeneratedGoDigest = "sha256:
|
|
9
|
-
export const ContractGeneratedTypeScriptDigest = "sha256:
|
|
8
|
+
export const ContractGeneratedGoDigest = "sha256:cc30d209cd0d8e13c0fc9d1533fce8b016b1fb18535e522ad88bce8a7782d9fe";
|
|
9
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:b1f5d28fc95d7ca0e12d019dc8407f9d1bfb8fb937733e7a5b9992dce26addf1";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Closed connector set for the Data-Access MVP. trino (0.74.0): Trino/Presto-compatible engines (Trino, Presto, Starburst, Galaxy) over the Trino HTTP statement protocol; the endpoint reuses host, port and database (as the Trino catalog) with no connector-specific fields.
|
|
2
|
+
* Closed connector set for the Data-Access MVP. trino (0.74.0): Trino/Presto-compatible engines (Trino, Presto, Starburst, Galaxy) over the Trino HTTP statement protocol; the endpoint reuses host, port and database (as the Trino catalog) with no connector-specific fields. clickhouse (0.84.0): ClickHouse over its HTTP interface; the endpoint reuses host, port (the HTTP port, not the native 9000) and database (the default database); the credential is {user, password} and may name protocol http or https (default https), like MySQL carries sslMode.
|
|
3
3
|
*/
|
|
4
|
-
export type DataSourceConnector = 'postgres' | 'redshift' | 'bigquery' | 'databricks' | 'mysql' | 'trino';
|
|
4
|
+
export type DataSourceConnector = 'postgres' | 'redshift' | 'bigquery' | 'databricks' | 'mysql' | 'trino' | 'clickhouse';
|
|
5
5
|
/**
|
|
6
6
|
* byo = admin brought existing infrastructure; harbour_managed = Isomorph provisioned it.
|
|
7
7
|
*/
|
|
@@ -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.
|
|
5
|
-
export const ContractPublishVersion = "0.
|
|
6
|
-
export const ContractPublishTag = "v0.
|
|
7
|
-
export const ContractSchemasDigest = "sha256:
|
|
4
|
+
export const ContractRepositoryVersion = "0.84.0.0" as const;
|
|
5
|
+
export const ContractPublishVersion = "0.84.0" as const;
|
|
6
|
+
export const ContractPublishTag = "v0.84.0" as const;
|
|
7
|
+
export const ContractSchemasDigest = "sha256:95b67750a79742737af7a6f27076b90f8310e7c798059a1e724ef687e5733626" as const;
|
|
8
8
|
export const ContractAiFixturesDigest = "sha256:edac31c92e146ca1c40130f2fb5649db82e24b8cd1ac758153b90612052fddb6" as const;
|
|
9
|
-
export const ContractGeneratedGoDigest = "sha256:
|
|
10
|
-
export const ContractGeneratedTypeScriptDigest = "sha256:
|
|
9
|
+
export const ContractGeneratedGoDigest = "sha256:cc30d209cd0d8e13c0fc9d1533fce8b016b1fb18535e522ad88bce8a7782d9fe" as const;
|
|
10
|
+
export const ContractGeneratedTypeScriptDigest = "sha256:b1f5d28fc95d7ca0e12d019dc8407f9d1bfb8fb937733e7a5b9992dce26addf1" as const;
|
package/gen-ts/data-source.ts
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
// Code generated by tools/gen/gen.mjs from schema/*.json. DO NOT EDIT.
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Closed connector set for the Data-Access MVP. trino (0.74.0): Trino/Presto-compatible engines (Trino, Presto, Starburst, Galaxy) over the Trino HTTP statement protocol; the endpoint reuses host, port and database (as the Trino catalog) with no connector-specific fields.
|
|
5
|
+
* Closed connector set for the Data-Access MVP. trino (0.74.0): Trino/Presto-compatible engines (Trino, Presto, Starburst, Galaxy) over the Trino HTTP statement protocol; the endpoint reuses host, port and database (as the Trino catalog) with no connector-specific fields. clickhouse (0.84.0): ClickHouse over its HTTP interface; the endpoint reuses host, port (the HTTP port, not the native 9000) and database (the default database); the credential is {user, password} and may name protocol http or https (default https), like MySQL carries sslMode.
|
|
6
6
|
*/
|
|
7
|
-
export type DataSourceConnector =
|
|
7
|
+
export type DataSourceConnector =
|
|
8
|
+
'postgres' | 'redshift' | 'bigquery' | 'databricks' | 'mysql' | 'trino' | 'clickhouse';
|
|
8
9
|
/**
|
|
9
10
|
* byo = admin brought existing infrastructure; harbour_managed = Isomorph provisioned it.
|
|
10
11
|
*/
|
package/package.json
CHANGED
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"definitions": {
|
|
96
96
|
"DataSourceConnector": {
|
|
97
97
|
"type": "string",
|
|
98
|
-
"enum": ["postgres", "redshift", "bigquery", "databricks", "mysql", "trino"],
|
|
99
|
-
"description": "Closed connector set for the Data-Access MVP. trino (0.74.0): Trino/Presto-compatible engines (Trino, Presto, Starburst, Galaxy) over the Trino HTTP statement protocol; the endpoint reuses host, port and database (as the Trino catalog) with no connector-specific fields."
|
|
98
|
+
"enum": ["postgres", "redshift", "bigquery", "databricks", "mysql", "trino", "clickhouse"],
|
|
99
|
+
"description": "Closed connector set for the Data-Access MVP. trino (0.74.0): Trino/Presto-compatible engines (Trino, Presto, Starburst, Galaxy) over the Trino HTTP statement protocol; the endpoint reuses host, port and database (as the Trino catalog) with no connector-specific fields. clickhouse (0.84.0): ClickHouse over its HTTP interface; the endpoint reuses host, port (the HTTP port, not the native 9000) and database (the default database); the credential is {user, password} and may name protocol http or https (default https), like MySQL carries sslMode."
|
|
100
100
|
},
|
|
101
101
|
"DataSourceEnvironmentCopy": {
|
|
102
102
|
"type": "object",
|
|
@@ -207,6 +207,22 @@
|
|
|
207
207
|
"allowedScope": ["analytics.episode_plays"],
|
|
208
208
|
"requestableByBuilders": true,
|
|
209
209
|
"status": "ACTIVE"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"tenantId": "damensch",
|
|
213
|
+
"sourceId": "datagate",
|
|
214
|
+
"connector": "clickhouse",
|
|
215
|
+
"displayName": "DataGate (ClickHouse)",
|
|
216
|
+
"endpoint": {
|
|
217
|
+
"host": "db.example.com",
|
|
218
|
+
"port": 12420,
|
|
219
|
+
"database": "damensch"
|
|
220
|
+
},
|
|
221
|
+
"credentialRef": "secretref://tenants/damensch/sources/datagate/reader",
|
|
222
|
+
"provisioningMode": "byo",
|
|
223
|
+
"allowedScope": ["damensch.orders"],
|
|
224
|
+
"requestableByBuilders": true,
|
|
225
|
+
"status": "ACTIVE"
|
|
210
226
|
}
|
|
211
227
|
]
|
|
212
228
|
}
|