@substrat-run/engine-protocol 0.4.1 → 0.4.3
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/index.d.ts +27 -27
- package/dist/index.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -2,22 +2,22 @@ import { z } from 'zod';
|
|
|
2
2
|
import { type EntityRef } from '@substrat-run/contracts';
|
|
3
3
|
import { type GuardPredicate, type ModuleRegistration, type OperationContext } from '@substrat-run/kernel';
|
|
4
4
|
export declare const PROTOCOL_PERM: {
|
|
5
|
-
create: string & z
|
|
6
|
-
fill: string & z
|
|
7
|
-
bind: string & z
|
|
8
|
-
requestSignature: string & z
|
|
9
|
-
recordSignature: string & z
|
|
10
|
-
sign: string & z
|
|
11
|
-
countersign: string & z
|
|
12
|
-
read: string & z
|
|
13
|
-
void: string & z
|
|
5
|
+
create: string & z.$brand<"PermissionKey">;
|
|
6
|
+
fill: string & z.$brand<"PermissionKey">;
|
|
7
|
+
bind: string & z.$brand<"PermissionKey">;
|
|
8
|
+
requestSignature: string & z.$brand<"PermissionKey">;
|
|
9
|
+
recordSignature: string & z.$brand<"PermissionKey">;
|
|
10
|
+
sign: string & z.$brand<"PermissionKey">;
|
|
11
|
+
countersign: string & z.$brand<"PermissionKey">;
|
|
12
|
+
read: string & z.$brand<"PermissionKey">;
|
|
13
|
+
void: string & z.$brand<"PermissionKey">;
|
|
14
14
|
};
|
|
15
15
|
export declare const protocolManifest: {
|
|
16
|
-
id: string & z
|
|
16
|
+
id: string & z.$brand<"ModuleId">;
|
|
17
17
|
version: string;
|
|
18
18
|
kernelContract: string;
|
|
19
19
|
permissions: {
|
|
20
|
-
key: string & z
|
|
20
|
+
key: string & z.$brand<"PermissionKey">;
|
|
21
21
|
description: string;
|
|
22
22
|
}[];
|
|
23
23
|
events: {
|
|
@@ -36,9 +36,8 @@ export declare const protocolManifest: {
|
|
|
36
36
|
};
|
|
37
37
|
attachmentTargets: {
|
|
38
38
|
entityType: string;
|
|
39
|
-
readPermission: string & z
|
|
39
|
+
readPermission: string & z.$brand<"PermissionKey">;
|
|
40
40
|
}[];
|
|
41
|
-
entitlementKey: string;
|
|
42
41
|
entityRelations?: {
|
|
43
42
|
entityType: string;
|
|
44
43
|
parentType: string;
|
|
@@ -49,6 +48,7 @@ export declare const protocolManifest: {
|
|
|
49
48
|
config: Record<string, unknown>;
|
|
50
49
|
}[] | undefined;
|
|
51
50
|
withdraws?: string[] | undefined;
|
|
51
|
+
entitlementKey: string;
|
|
52
52
|
api?: string | undefined;
|
|
53
53
|
searchables?: {
|
|
54
54
|
entityType: string;
|
|
@@ -58,13 +58,13 @@ export declare const protocolManifest: {
|
|
|
58
58
|
routes?: {
|
|
59
59
|
path: string;
|
|
60
60
|
screen: string;
|
|
61
|
-
permission: string & z
|
|
61
|
+
permission: string & z.$brand<"PermissionKey">;
|
|
62
62
|
}[] | undefined;
|
|
63
63
|
nav?: {
|
|
64
64
|
label: string;
|
|
65
|
-
to: string;
|
|
66
|
-
permission: string & z.core.$brand<"PermissionKey">;
|
|
67
65
|
icon?: string | undefined;
|
|
66
|
+
to: string;
|
|
67
|
+
permission: string & z.$brand<"PermissionKey">;
|
|
68
68
|
}[] | undefined;
|
|
69
69
|
entityViews?: {
|
|
70
70
|
entityType: string;
|
|
@@ -73,12 +73,12 @@ export declare const protocolManifest: {
|
|
|
73
73
|
widgets?: {
|
|
74
74
|
slot: string;
|
|
75
75
|
component: string;
|
|
76
|
-
permission: string & z
|
|
76
|
+
permission: string & z.$brand<"PermissionKey">;
|
|
77
77
|
}[] | undefined;
|
|
78
78
|
settingsPanels?: {
|
|
79
79
|
label: string;
|
|
80
80
|
component: string;
|
|
81
|
-
permission: string & z
|
|
81
|
+
permission: string & z.$brand<"PermissionKey">;
|
|
82
82
|
}[] | undefined;
|
|
83
83
|
} | undefined;
|
|
84
84
|
};
|
|
@@ -91,8 +91,8 @@ export declare const protocolItem: z.ZodObject<{
|
|
|
91
91
|
label: z.ZodString;
|
|
92
92
|
type: z.ZodEnum<{
|
|
93
93
|
check: "check";
|
|
94
|
-
value: "value";
|
|
95
94
|
text: "text";
|
|
95
|
+
value: "value";
|
|
96
96
|
}>;
|
|
97
97
|
unit: z.ZodOptional<z.ZodString>;
|
|
98
98
|
}, z.core.$strip>;
|
|
@@ -107,8 +107,8 @@ export declare const checklistContent: z.ZodObject<{
|
|
|
107
107
|
label: z.ZodString;
|
|
108
108
|
type: z.ZodEnum<{
|
|
109
109
|
check: "check";
|
|
110
|
-
value: "value";
|
|
111
110
|
text: "text";
|
|
111
|
+
value: "value";
|
|
112
112
|
}>;
|
|
113
113
|
unit: z.ZodOptional<z.ZodString>;
|
|
114
114
|
}, z.core.$strip>>;
|
|
@@ -143,8 +143,8 @@ declare const contentUnion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
143
143
|
label: z.ZodString;
|
|
144
144
|
type: z.ZodEnum<{
|
|
145
145
|
check: "check";
|
|
146
|
-
value: "value";
|
|
147
146
|
text: "text";
|
|
147
|
+
value: "value";
|
|
148
148
|
}>;
|
|
149
149
|
unit: z.ZodOptional<z.ZodString>;
|
|
150
150
|
}, z.core.$strip>>;
|
|
@@ -171,8 +171,8 @@ export declare const protocolTemplateContent: z.ZodPreprocess<z.ZodDiscriminated
|
|
|
171
171
|
label: z.ZodString;
|
|
172
172
|
type: z.ZodEnum<{
|
|
173
173
|
check: "check";
|
|
174
|
-
value: "value";
|
|
175
174
|
text: "text";
|
|
175
|
+
value: "value";
|
|
176
176
|
}>;
|
|
177
177
|
unit: z.ZodOptional<z.ZodString>;
|
|
178
178
|
}, z.core.$strip>>;
|
|
@@ -327,8 +327,8 @@ export declare const defineTemplateInput: z.ZodObject<{
|
|
|
327
327
|
label: z.ZodString;
|
|
328
328
|
type: z.ZodEnum<{
|
|
329
329
|
check: "check";
|
|
330
|
-
value: "value";
|
|
331
330
|
text: "text";
|
|
331
|
+
value: "value";
|
|
332
332
|
}>;
|
|
333
333
|
unit: z.ZodOptional<z.ZodString>;
|
|
334
334
|
}, z.core.$strip>>;
|
|
@@ -406,13 +406,13 @@ export declare function bindDocument(ctx: OperationContext, rawInput: BindDocume
|
|
|
406
406
|
export declare const signatureRequestParty: z.ZodObject<{
|
|
407
407
|
label: z.ZodString;
|
|
408
408
|
kind: z.ZodEnum<{
|
|
409
|
-
principal: "principal";
|
|
410
409
|
external: "external";
|
|
410
|
+
principal: "principal";
|
|
411
411
|
}>;
|
|
412
412
|
ref: z.ZodOptional<z.ZodString>;
|
|
413
413
|
signatureKind: z.ZodOptional<z.ZodEnum<{
|
|
414
|
-
primary: "primary";
|
|
415
414
|
counter: "counter";
|
|
415
|
+
primary: "primary";
|
|
416
416
|
}>>;
|
|
417
417
|
}, z.core.$strip>;
|
|
418
418
|
export type SignatureRequestParty = z.input<typeof signatureRequestParty>;
|
|
@@ -422,13 +422,13 @@ export declare const requestSignaturesInput: z.ZodObject<{
|
|
|
422
422
|
parties: z.ZodArray<z.ZodObject<{
|
|
423
423
|
label: z.ZodString;
|
|
424
424
|
kind: z.ZodEnum<{
|
|
425
|
-
principal: "principal";
|
|
426
425
|
external: "external";
|
|
426
|
+
principal: "principal";
|
|
427
427
|
}>;
|
|
428
428
|
ref: z.ZodOptional<z.ZodString>;
|
|
429
429
|
signatureKind: z.ZodOptional<z.ZodEnum<{
|
|
430
|
-
primary: "primary";
|
|
431
430
|
counter: "counter";
|
|
431
|
+
primary: "primary";
|
|
432
432
|
}>>;
|
|
433
433
|
}, z.core.$strip>>;
|
|
434
434
|
}, z.core.$strip>;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,KAA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AAS,GAAG,eAAe,EAAE,CA0ClG;AA+GD,eAAO,MAAM,cAAc,EAAE,kBAyB5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@substrat-run/engine-protocol",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Substrat engine: protocols, checklists and signed documents with the freeze → immutable invariant — versioned templates, append-only responses, verifiable content hash, counter-signatures on frozen content, and asynchronous multi-party signatures by external (non-principal) signatories",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"zod": "^4.4.3",
|
|
29
|
-
"@substrat-run/contracts": "^0.
|
|
30
|
-
"@substrat-run/kernel": "^0.
|
|
29
|
+
"@substrat-run/contracts": "^0.12.0",
|
|
30
|
+
"@substrat-run/kernel": "^0.12.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"typescript": "^
|
|
33
|
+
"typescript": "^7.0.0",
|
|
34
34
|
"vitest": "^3.0.0",
|
|
35
|
-
"@substrat-run/
|
|
36
|
-
"@substrat-run/
|
|
35
|
+
"@substrat-run/engine-test-kit": "^0.0.10",
|
|
36
|
+
"@substrat-run/adapter-sqlite": "^0.12.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsc -p tsconfig.json",
|