@sequenceholdings/orm 2.9.0 → 2.11.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 +71 -0
- package/dist/authoring.cjs +796 -7
- package/dist/authoring.cjs.map +1 -1
- package/dist/authoring.d.cts +11 -2
- package/dist/authoring.d.ts +11 -2
- package/dist/authoring.js +796 -7
- package/dist/authoring.js.map +1 -1
- package/dist/canonical.cjs +777 -6
- package/dist/canonical.cjs.map +1 -1
- package/dist/canonical.d.cts +43 -43
- package/dist/canonical.d.ts +43 -43
- package/dist/canonical.js +777 -6
- package/dist/canonical.js.map +1 -1
- package/dist/cli.cjs +7585 -7512
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.d.cts +10 -1
- package/dist/cli.d.ts +10 -1
- package/dist/cli.js +7584 -7513
- package/dist/cli.js.map +1 -1
- package/dist/compiler.cjs +1059 -50
- package/dist/compiler.cjs.map +1 -1
- package/dist/compiler.d.cts +182 -2
- package/dist/compiler.d.ts +182 -2
- package/dist/compiler.js +1054 -51
- package/dist/compiler.js.map +1 -1
- package/dist/index.cjs +3720 -3447
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +96 -31
- package/dist/index.d.ts +96 -31
- package/dist/index.js +3714 -3446
- package/dist/index.js.map +1 -1
- package/dist/ir.cjs +787 -14
- package/dist/ir.cjs.map +1 -1
- package/dist/ir.d.cts +70 -59
- package/dist/ir.d.ts +70 -59
- package/dist/ir.js +787 -15
- package/dist/ir.js.map +1 -1
- package/dist/predicate-v2.cjs +802 -30
- package/dist/predicate-v2.cjs.map +1 -1
- package/dist/predicate-v2.d.cts +2 -0
- package/dist/predicate-v2.d.ts +2 -0
- package/dist/predicate-v2.js +802 -30
- package/dist/predicate-v2.js.map +1 -1
- package/dist/sdl.cjs +794 -24
- package/dist/sdl.cjs.map +1 -1
- package/dist/sdl.js +794 -24
- package/dist/sdl.js.map +1 -1
- package/package.json +1 -1
- package/dist/{definition-B99BsOAO.d.cts → definition-CevES7lM.d.cts} +2 -2
- package/dist/{definition-B99BsOAO.d.ts → definition-CevES7lM.d.ts} +2 -2
package/dist/cli.d.cts
CHANGED
|
@@ -5,6 +5,13 @@ declare const TOKEN_ENV = "SEQUENCE_ORM_TOKEN";
|
|
|
5
5
|
declare const SOURCE_ENV = "SEQUENCE_ORM_SOURCE";
|
|
6
6
|
/** Namespace-admin override reason for an apply whose source does not verify; set by `seq-studio orm apply --unverified-source`. */
|
|
7
7
|
declare const UNVERIFIED_SOURCE_REASON_ENV = "SEQUENCE_ORM_UNVERIFIED_SOURCE_REASON";
|
|
8
|
+
/**
|
|
9
|
+
* The caller's token for the source claim's `source_environment`; set by `seq-studio orm apply --source-env`.
|
|
10
|
+
* Only the apply request carries it (as `x-sequence-source-authorization`), so Atlas can read the source there.
|
|
11
|
+
*/
|
|
12
|
+
declare const SOURCE_AUTHORIZATION_ENV = "SEQUENCE_ORM_SOURCE_AUTHORIZATION";
|
|
13
|
+
/** The apply request's source environment credential header, when the delegate supplied one. */
|
|
14
|
+
declare function applySourceHeaders(env?: NodeJS.ProcessEnv): Record<string, string>;
|
|
8
15
|
/** The apply body's `source` claim, when the delegate supplied one. Atlas verifies it; it never authorizes anything. */
|
|
9
16
|
declare function applySourceFromEnv(env?: NodeJS.ProcessEnv): {
|
|
10
17
|
source?: Record<string, unknown>;
|
|
@@ -39,6 +46,8 @@ declare function errorDetail(payload: unknown): string | null;
|
|
|
39
46
|
interface RegistryActivation {
|
|
40
47
|
id: string;
|
|
41
48
|
provenance_class: string;
|
|
49
|
+
/** Absent on an older Atlas; null for this deployment's own Git Service. */
|
|
50
|
+
source_environment?: string | null;
|
|
42
51
|
source_commit: string | null;
|
|
43
52
|
source_branch: string | null;
|
|
44
53
|
source_path: string | null;
|
|
@@ -47,4 +56,4 @@ interface RegistryActivation {
|
|
|
47
56
|
activated_at: string;
|
|
48
57
|
}
|
|
49
58
|
|
|
50
|
-
export { BASE_URL_ENV, ORM_MODULE_PATH_ENV, type RegistryActivation, SOURCE_ENV, TOKEN_ENV, UNVERIFIED_SOURCE_REASON_ENV, applySourceFromEnv, describeActivation, errorDetail, parseApplyWait, runCli, setTokenProvider };
|
|
59
|
+
export { BASE_URL_ENV, ORM_MODULE_PATH_ENV, type RegistryActivation, SOURCE_AUTHORIZATION_ENV, SOURCE_ENV, TOKEN_ENV, UNVERIFIED_SOURCE_REASON_ENV, applySourceFromEnv, applySourceHeaders, describeActivation, errorDetail, parseApplyWait, runCli, setTokenProvider };
|
package/dist/cli.d.ts
CHANGED
|
@@ -5,6 +5,13 @@ declare const TOKEN_ENV = "SEQUENCE_ORM_TOKEN";
|
|
|
5
5
|
declare const SOURCE_ENV = "SEQUENCE_ORM_SOURCE";
|
|
6
6
|
/** Namespace-admin override reason for an apply whose source does not verify; set by `seq-studio orm apply --unverified-source`. */
|
|
7
7
|
declare const UNVERIFIED_SOURCE_REASON_ENV = "SEQUENCE_ORM_UNVERIFIED_SOURCE_REASON";
|
|
8
|
+
/**
|
|
9
|
+
* The caller's token for the source claim's `source_environment`; set by `seq-studio orm apply --source-env`.
|
|
10
|
+
* Only the apply request carries it (as `x-sequence-source-authorization`), so Atlas can read the source there.
|
|
11
|
+
*/
|
|
12
|
+
declare const SOURCE_AUTHORIZATION_ENV = "SEQUENCE_ORM_SOURCE_AUTHORIZATION";
|
|
13
|
+
/** The apply request's source environment credential header, when the delegate supplied one. */
|
|
14
|
+
declare function applySourceHeaders(env?: NodeJS.ProcessEnv): Record<string, string>;
|
|
8
15
|
/** The apply body's `source` claim, when the delegate supplied one. Atlas verifies it; it never authorizes anything. */
|
|
9
16
|
declare function applySourceFromEnv(env?: NodeJS.ProcessEnv): {
|
|
10
17
|
source?: Record<string, unknown>;
|
|
@@ -39,6 +46,8 @@ declare function errorDetail(payload: unknown): string | null;
|
|
|
39
46
|
interface RegistryActivation {
|
|
40
47
|
id: string;
|
|
41
48
|
provenance_class: string;
|
|
49
|
+
/** Absent on an older Atlas; null for this deployment's own Git Service. */
|
|
50
|
+
source_environment?: string | null;
|
|
42
51
|
source_commit: string | null;
|
|
43
52
|
source_branch: string | null;
|
|
44
53
|
source_path: string | null;
|
|
@@ -47,4 +56,4 @@ interface RegistryActivation {
|
|
|
47
56
|
activated_at: string;
|
|
48
57
|
}
|
|
49
58
|
|
|
50
|
-
export { BASE_URL_ENV, ORM_MODULE_PATH_ENV, type RegistryActivation, SOURCE_ENV, TOKEN_ENV, UNVERIFIED_SOURCE_REASON_ENV, applySourceFromEnv, describeActivation, errorDetail, parseApplyWait, runCli, setTokenProvider };
|
|
59
|
+
export { BASE_URL_ENV, ORM_MODULE_PATH_ENV, type RegistryActivation, SOURCE_AUTHORIZATION_ENV, SOURCE_ENV, TOKEN_ENV, UNVERIFIED_SOURCE_REASON_ENV, applySourceFromEnv, applySourceHeaders, describeActivation, errorDetail, parseApplyWait, runCli, setTokenProvider };
|