@substrat-run/engine-protocol 0.11.11 → 0.11.12

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.
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The artifact of record for this engine (#697/#844, #976).
3
+ *
4
+ * `pnpm lint:model --check` re-emits this into `engines/protocol/model.json`, so a
5
+ * changed table, a renamed field or a moved parent edge has to appear in a PR
6
+ * diff. No `lifecycles` option: this engine declares no state machine, and an
7
+ * empty one would claim otherwise.
8
+ *
9
+ * Imported by nothing, so the direction stays acyclic.
10
+ */
11
+ export declare const protocolModel: import("@substrat-run/contracts").EmittedModel;
12
+ //# sourceMappingURL=model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AAGA;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,gDAA8B,CAAC"}
package/dist/model.js ADDED
@@ -0,0 +1,14 @@
1
+ import { emitModel } from '@substrat-run/contracts';
2
+ import { protocolEntities } from './entities.js';
3
+ /**
4
+ * The artifact of record for this engine (#697/#844, #976).
5
+ *
6
+ * `pnpm lint:model --check` re-emits this into `engines/protocol/model.json`, so a
7
+ * changed table, a renamed field or a moved parent edge has to appear in a PR
8
+ * diff. No `lifecycles` option: this engine declares no state machine, and an
9
+ * empty one would claim otherwise.
10
+ *
11
+ * Imported by nothing, so the direction stays acyclic.
12
+ */
13
+ export const protocolModel = emitModel(protocolEntities);
14
+ //# sourceMappingURL=model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../src/model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,SAAS,CAAC,gBAAgB,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@substrat-run/engine-protocol",
3
- "version": "0.11.11",
3
+ "version": "0.11.12",
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": {
@@ -25,17 +25,17 @@
25
25
  "access": "public"
26
26
  },
27
27
  "dependencies": {
28
- "@substrat-run/contracts": "^0.94.0",
29
- "@substrat-run/kernel": "^0.94.0"
28
+ "@substrat-run/contracts": "^0.95.0",
29
+ "@substrat-run/kernel": "^0.95.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "typescript": "^7.0.0",
33
33
  "vitest": "^3.2.7",
34
34
  "zod": "^4.4.3",
35
- "@substrat-run/adapter-sqlite": "^0.94.0",
36
- "@substrat-run/contract-tests": "^0.94.0",
37
- "@substrat-run/model-emit": "0.8.9",
38
- "@substrat-run/engine-test-kit": "^0.3.21"
35
+ "@substrat-run/adapter-sqlite": "^0.95.0",
36
+ "@substrat-run/engine-test-kit": "^0.3.22",
37
+ "@substrat-run/contract-tests": "^0.95.0",
38
+ "@substrat-run/model-emit": "0.8.10"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "zod": "^4.4.0"