@substrat-run/contracts 0.195.0 → 0.196.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/dist/commerce-source.d.ts +277 -0
- package/dist/commerce-source.d.ts.map +1 -0
- package/dist/commerce-source.js +167 -0
- package/dist/commerce-source.js.map +1 -0
- package/dist/deploy.d.ts +2 -0
- package/dist/deploy.d.ts.map +1 -1
- package/dist/deploy.js +10 -0
- package/dist/deploy.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/machine-client.d.ts +108 -0
- package/dist/machine-client.d.ts.map +1 -0
- package/dist/machine-client.js +128 -0
- package/dist/machine-client.js.map +1 -0
- package/dist/people.d.ts +60 -0
- package/dist/people.d.ts.map +1 -0
- package/dist/people.js +51 -0
- package/dist/people.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { scopeId, tenantId } from './ids.js';
|
|
3
|
+
/**
|
|
4
|
+
* An app's MACHINE client at the team auth-server it signs in with (#3134).
|
|
5
|
+
*
|
|
6
|
+
* A team auth-server serves machine-facing APIs of its own — SCIM at `/scim/v2` (#2941) and
|
|
7
|
+
* the Management API subset at `/api/v2` (#3107) — to a client that authenticates as itself
|
|
8
|
+
* with `client_credentials` (#2267). An app's sign-in client is registered for it when the
|
|
9
|
+
* app is installed; its machine client was four steps by hand. An app now DECLARES the
|
|
10
|
+
* issuer scopes it needs (package.json `substrat.issuerScopes`, {@link issuerScopes}) and
|
|
11
|
+
* the platform registers one machine client per app at the app's own issuer, holding the
|
|
12
|
+
* declared scopes the issuer's operator allows.
|
|
13
|
+
*
|
|
14
|
+
* This module is the vocabulary between the two ends: the control plane, which decides when,
|
|
15
|
+
* and the team auth-server (`demos/auth-server`), which registers, converges and removes.
|
|
16
|
+
* Two platform-gated routes on the issuer, each addressed by the issuer's OWN scope and
|
|
17
|
+
* refused unless that scope is the named tenant's instance:
|
|
18
|
+
*
|
|
19
|
+
* - `POST /internal/machine-client` — ensure the app's client: register it, or converge
|
|
20
|
+
* the one it has on the name and the scopes.
|
|
21
|
+
* - `DELETE /internal/machine-client` — remove the app's client, and only that one.
|
|
22
|
+
*
|
|
23
|
+
* ## One client per app, found by the app's scope
|
|
24
|
+
*
|
|
25
|
+
* SCIM lets only the client that created an account change it, so two apps sharing a
|
|
26
|
+
* client would share each other's accounts. The issuer records each client it registered
|
|
27
|
+
* here in its own `app_machine_client` table, keyed by the app's scope. Every verb finds
|
|
28
|
+
* its client there and nowhere else, so no verb can reach a client an operator registered
|
|
29
|
+
* in the console, nor one somebody registered dynamically.
|
|
30
|
+
*
|
|
31
|
+
* ## The ceiling stays the operator's
|
|
32
|
+
*
|
|
33
|
+
* The issuer's `MACHINE_SCOPES` setting bounds every machine client, this one included.
|
|
34
|
+
* An ensure grants the declared scopes that are inside it and answers the rest as
|
|
35
|
+
* `withheld`, by name, so the caller can say which scope is missing and where to add it.
|
|
36
|
+
* Nothing is dropped silently, and nothing is granted beyond the ceiling. When the ceiling
|
|
37
|
+
* widens, the next ensure grants what was withheld without issuing a new secret.
|
|
38
|
+
*
|
|
39
|
+
* ## The secret is answered once
|
|
40
|
+
*
|
|
41
|
+
* The issuer stores the secret hashed. An ensure answers it when it registered the client
|
|
42
|
+
* and when the call asked to `rotate`; never otherwise. A rotation keeps the client id,
|
|
43
|
+
* because the accounts a client provisioned through SCIM belong to that id.
|
|
44
|
+
*/
|
|
45
|
+
/** The issuer-side path of both verbs. */
|
|
46
|
+
export const MACHINE_CLIENT_PATH = '/internal/machine-client';
|
|
47
|
+
/**
|
|
48
|
+
* The scopes a person grants by signing in. A machine client holds none of them: it has no
|
|
49
|
+
* person to speak for, and the issuer's ceiling refuses them too.
|
|
50
|
+
*/
|
|
51
|
+
export const SIGN_IN_SCOPES = ['openid', 'profile', 'email', 'offline_access'];
|
|
52
|
+
/** RFC 6749 §3.3 `scope-token`: printable ASCII without space, `"` or `\`. */
|
|
53
|
+
const SCOPE_TOKEN = /^[\x21\x23-\x5B\x5D-\x7E]+$/;
|
|
54
|
+
/**
|
|
55
|
+
* One scope of the issuer's machine APIs, such as `read:users` or `users:provision`. A comma
|
|
56
|
+
* is refused because the issuer's `MACHINE_SCOPES` setting is a comma-separated list, so a
|
|
57
|
+
* scope holding one could never be put in the ceiling.
|
|
58
|
+
*/
|
|
59
|
+
export const issuerScope = z
|
|
60
|
+
.string()
|
|
61
|
+
.min(1)
|
|
62
|
+
.max(128)
|
|
63
|
+
.regex(SCOPE_TOKEN, 'a scope token: printable ASCII without space, quote or backslash')
|
|
64
|
+
.refine((s) => !s.includes(','), 'a scope cannot contain a comma')
|
|
65
|
+
.refine((s) => !SIGN_IN_SCOPES.includes(s), 'a scope a person grants by signing in cannot be held by a machine client');
|
|
66
|
+
/**
|
|
67
|
+
* An app's declared issuer scopes — package.json `substrat.issuerScopes`. A request, bounded
|
|
68
|
+
* by the issuer's `MACHINE_SCOPES` ceiling: declaring a scope grants nothing by itself.
|
|
69
|
+
*/
|
|
70
|
+
export const issuerScopes = z
|
|
71
|
+
.array(issuerScope)
|
|
72
|
+
.max(32)
|
|
73
|
+
.refine((list) => new Set(list).size === list.length, 'each scope is named once');
|
|
74
|
+
/** The issuer the call addresses: its own scope, and the tenant that scope must belong to. */
|
|
75
|
+
const issuerAddress = {
|
|
76
|
+
tenantId,
|
|
77
|
+
scopeId,
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* `POST /internal/machine-client` — ensure the app's machine client. With no client recorded
|
|
81
|
+
* for `appScopeId` the issuer registers one and answers its secret. With one recorded it
|
|
82
|
+
* converges the name and the scopes and answers no secret, unless `rotate` asks for a new one.
|
|
83
|
+
*/
|
|
84
|
+
export const machineClientEnsure = z.object({
|
|
85
|
+
...issuerAddress,
|
|
86
|
+
appScopeId: scopeId,
|
|
87
|
+
clientName: z.string().trim().min(1).max(200),
|
|
88
|
+
scopes: issuerScopes,
|
|
89
|
+
rotate: z.boolean().optional(),
|
|
90
|
+
});
|
|
91
|
+
/**
|
|
92
|
+
* What an ensure answers. `clientSecret` is present ONLY when this call registered the client
|
|
93
|
+
* or rotated its secret; the issuer stores it hashed and cannot answer it again. `scopes` are
|
|
94
|
+
* the ones the client holds now; `withheld` are the declared ones outside the issuer's ceiling.
|
|
95
|
+
*/
|
|
96
|
+
export const ensuredMachineClient = z.object({
|
|
97
|
+
clientId: z.string().min(1),
|
|
98
|
+
clientSecret: z.string().min(1).optional(),
|
|
99
|
+
scopes: z.array(z.string()),
|
|
100
|
+
withheld: z.array(z.string()),
|
|
101
|
+
});
|
|
102
|
+
/** `DELETE /internal/machine-client` — remove the app's machine client and its tokens. */
|
|
103
|
+
export const machineClientRemove = z.object({
|
|
104
|
+
...issuerAddress,
|
|
105
|
+
appScopeId: scopeId,
|
|
106
|
+
});
|
|
107
|
+
/** What a remove did: the client it deleted, or null when the app had none recorded. */
|
|
108
|
+
export const removedMachineClient = z.object({ removed: z.string().nullable() });
|
|
109
|
+
/**
|
|
110
|
+
* The declared issuer scopes of a STORED manifest — `callsOfManifestJson`'s sibling. Empty
|
|
111
|
+
* when the manifest declares none, cannot be read, or was pushed before the declaration
|
|
112
|
+
* existed: all three mean the app asks for no machine client. A stored entry that is not a
|
|
113
|
+
* valid scope is left out rather than trusted.
|
|
114
|
+
*/
|
|
115
|
+
export function issuerScopesOfManifestJson(manifestJson) {
|
|
116
|
+
if (!manifestJson)
|
|
117
|
+
return [];
|
|
118
|
+
try {
|
|
119
|
+
const m = JSON.parse(manifestJson);
|
|
120
|
+
if (!Array.isArray(m.issuerScopes))
|
|
121
|
+
return [];
|
|
122
|
+
return [...new Set(m.issuerScopes.filter((v) => issuerScope.safeParse(v).success))];
|
|
123
|
+
}
|
|
124
|
+
catch {
|
|
125
|
+
return [];
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
//# sourceMappingURL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AI,CAAC,KAAK,CAAC,YAAY,CAA+B,CAAC;QACjE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC;YAAE,OAAO,EAAE,CAAC;QAC9C,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;IACnG,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC;IACZ,CAAC;AACH,CAAC"}
|
package/dist/people.d.ts
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* PEOPLE shared between two apps of one tenant: the person contract.
|
|
4
|
+
*
|
|
5
|
+
* One app of a tenant owns the people (the MASTER): who exists, whether they are let in, and
|
|
6
|
+
* which base roles they hold. Another app (a DEPENDENT, a plugin of the first) signs people in
|
|
7
|
+
* at the same issuer and has no invitations of its own. When someone it has not seen signs in,
|
|
8
|
+
* it asks the master who they are, by a peer call, and keeps the answer for a bounded time.
|
|
9
|
+
*
|
|
10
|
+
* This module is that question and its answer. The master implements one operation taking
|
|
11
|
+
* {@link personResolveInput} and returning {@link personResolveOutput}, and allowlists the
|
|
12
|
+
* dependent as a peer for it; `@substrat-run/vertical-auth/people` is the dependent's half.
|
|
13
|
+
*
|
|
14
|
+
* The answer is the AUTHORISATION half of a person and nothing else: an id, a status and role
|
|
15
|
+
* keys. It carries no name and no address, so the copy a dependent keeps holds nothing an
|
|
16
|
+
* erasure has to reach.
|
|
17
|
+
*/
|
|
18
|
+
export declare const IDENTITY_PERSON_CONTRACT = "identity.person@1";
|
|
19
|
+
/**
|
|
20
|
+
* Who is signing in at the dependent. `sub` and `issuer` are the login; `verifiedEmail` is the
|
|
21
|
+
* address the issuer verified for it, or null. A master matches on whichever it records: one
|
|
22
|
+
* that keeps each person's logins matches on (`issuer`, `sub`), and one that records the
|
|
23
|
+
* verified address a person joined with matches on that, the proof a member invite is admitted
|
|
24
|
+
* on (K-61). The address is the caller's own, sent to the app that already holds it.
|
|
25
|
+
*/
|
|
26
|
+
export declare const personResolveInput: z.ZodObject<{
|
|
27
|
+
issuer: z.ZodNullable<z.ZodString>;
|
|
28
|
+
sub: z.ZodString;
|
|
29
|
+
verifiedEmail: z.ZodNullable<z.ZodString>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
export type PersonResolveInput = z.infer<typeof personResolveInput>;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the master lets the person in. Only `active` is admitted by a dependent; `invited`
|
|
34
|
+
* has not arrived at the master yet, and `blocked` is refused everywhere.
|
|
35
|
+
*/
|
|
36
|
+
export declare const personStatus: z.ZodEnum<{
|
|
37
|
+
active: "active";
|
|
38
|
+
blocked: "blocked";
|
|
39
|
+
invited: "invited";
|
|
40
|
+
}>;
|
|
41
|
+
export type PersonStatus = z.infer<typeof personStatus>;
|
|
42
|
+
/**
|
|
43
|
+
* The person as the master knows them, or null for a login it has nobody for. `id` is the
|
|
44
|
+
* master's id for the person and becomes their principal in the dependent's scope. `roles` are
|
|
45
|
+
* the MASTER's role keys, for the dependent to map onto its own; an empty list is a person
|
|
46
|
+
* who is known and holds nothing there.
|
|
47
|
+
*/
|
|
48
|
+
export declare const personResolveOutput: z.ZodObject<{
|
|
49
|
+
person: z.ZodNullable<z.ZodObject<{
|
|
50
|
+
id: z.ZodString;
|
|
51
|
+
status: z.ZodEnum<{
|
|
52
|
+
active: "active";
|
|
53
|
+
blocked: "blocked";
|
|
54
|
+
invited: "invited";
|
|
55
|
+
}>;
|
|
56
|
+
roles: z.ZodArray<z.ZodString>;
|
|
57
|
+
}, z.core.$strip>>;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
export type PersonResolveOutput = z.infer<typeof personResolveOutput>;
|
|
60
|
+
//# sourceMappingURL=people.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"people.d.ts","sourceRoot":"","sources":["../src/people.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wBAAwB,sBAAsB,CAAC;AAE5D;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB;;;;iBAI7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE;;;GAGG;AACH,eAAO,MAAM,YAAY;;;;EAA2C,CAAC;AACrE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAExD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;iBAQ9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
package/dist/people.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* PEOPLE shared between two apps of one tenant: the person contract.
|
|
4
|
+
*
|
|
5
|
+
* One app of a tenant owns the people (the MASTER): who exists, whether they are let in, and
|
|
6
|
+
* which base roles they hold. Another app (a DEPENDENT, a plugin of the first) signs people in
|
|
7
|
+
* at the same issuer and has no invitations of its own. When someone it has not seen signs in,
|
|
8
|
+
* it asks the master who they are, by a peer call, and keeps the answer for a bounded time.
|
|
9
|
+
*
|
|
10
|
+
* This module is that question and its answer. The master implements one operation taking
|
|
11
|
+
* {@link personResolveInput} and returning {@link personResolveOutput}, and allowlists the
|
|
12
|
+
* dependent as a peer for it; `@substrat-run/vertical-auth/people` is the dependent's half.
|
|
13
|
+
*
|
|
14
|
+
* The answer is the AUTHORISATION half of a person and nothing else: an id, a status and role
|
|
15
|
+
* keys. It carries no name and no address, so the copy a dependent keeps holds nothing an
|
|
16
|
+
* erasure has to reach.
|
|
17
|
+
*/
|
|
18
|
+
export const IDENTITY_PERSON_CONTRACT = 'identity.person@1';
|
|
19
|
+
/**
|
|
20
|
+
* Who is signing in at the dependent. `sub` and `issuer` are the login; `verifiedEmail` is the
|
|
21
|
+
* address the issuer verified for it, or null. A master matches on whichever it records: one
|
|
22
|
+
* that keeps each person's logins matches on (`issuer`, `sub`), and one that records the
|
|
23
|
+
* verified address a person joined with matches on that, the proof a member invite is admitted
|
|
24
|
+
* on (K-61). The address is the caller's own, sent to the app that already holds it.
|
|
25
|
+
*/
|
|
26
|
+
export const personResolveInput = z.object({
|
|
27
|
+
issuer: z.string().min(1).nullable(),
|
|
28
|
+
sub: z.string().min(1),
|
|
29
|
+
verifiedEmail: z.string().min(1).nullable(),
|
|
30
|
+
});
|
|
31
|
+
/**
|
|
32
|
+
* Whether the master lets the person in. Only `active` is admitted by a dependent; `invited`
|
|
33
|
+
* has not arrived at the master yet, and `blocked` is refused everywhere.
|
|
34
|
+
*/
|
|
35
|
+
export const personStatus = z.enum(['invited', 'active', 'blocked']);
|
|
36
|
+
/**
|
|
37
|
+
* The person as the master knows them, or null for a login it has nobody for. `id` is the
|
|
38
|
+
* master's id for the person and becomes their principal in the dependent's scope. `roles` are
|
|
39
|
+
* the MASTER's role keys, for the dependent to map onto its own; an empty list is a person
|
|
40
|
+
* who is known and holds nothing there.
|
|
41
|
+
*/
|
|
42
|
+
export const personResolveOutput = z.object({
|
|
43
|
+
person: z
|
|
44
|
+
.object({
|
|
45
|
+
id: z.string().min(1),
|
|
46
|
+
status: personStatus,
|
|
47
|
+
roles: z.array(z.string().min(1)),
|
|
48
|
+
})
|
|
49
|
+
.nullable(),
|
|
50
|
+
});
|
|
51
|
+
//# sourceMappingURL=people.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"people.js","sourceRoot":"","sources":["../src/people.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CAAC;AAE5D;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,CAAC,MAAM,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpC,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACtB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC;AAGH;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC;AAGrE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,CAAC;SACN,MAAM,CAAC;QACN,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;QACrB,MAAM,EAAE,YAAY;QACpB,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;KAClC,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@substrat-run/contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.196.0",
|
|
4
4
|
"description": "Substrat kernel contract schemas — Zod is the source of truth (master plan D-22); OAS/JSON Schema are emitted artifacts",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|