@toa.io/definitions 1.0.0-alpha.320 → 1.0.0-alpha.322

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.
Files changed (30) hide show
  1. package/digest/extensions.cadence.json +1 -1
  2. package/digest/extensions.continuity.json +1 -0
  3. package/package.json +3 -3
  4. package/schemas/extensions.continuity/declaration.cos.yaml +10 -0
  5. package/transpiled/definition.js +1 -0
  6. package/transpiled/definition.js.map +1 -1
  7. package/transpiled/digest/generate.js +1 -0
  8. package/transpiled/digest/generate.js.map +1 -1
  9. package/transpiled/extensions.cadence/types.d.ts +1 -1
  10. package/transpiled/extensions.continuity/components.d.ts +3 -0
  11. package/transpiled/extensions.continuity/components.js +6 -0
  12. package/transpiled/extensions.continuity/components.js.map +1 -0
  13. package/transpiled/extensions.continuity/const.d.ts +8 -0
  14. package/transpiled/extensions.continuity/const.js +9 -0
  15. package/transpiled/extensions.continuity/const.js.map +1 -0
  16. package/transpiled/extensions.continuity/deployment.d.ts +6 -0
  17. package/transpiled/extensions.continuity/deployment.js +17 -0
  18. package/transpiled/extensions.continuity/deployment.js.map +1 -0
  19. package/transpiled/extensions.continuity/index.d.ts +6 -0
  20. package/transpiled/extensions.continuity/index.js +6 -0
  21. package/transpiled/extensions.continuity/index.js.map +1 -0
  22. package/transpiled/extensions.continuity/manifest.d.ts +10 -0
  23. package/transpiled/extensions.continuity/manifest.js +20 -0
  24. package/transpiled/extensions.continuity/manifest.js.map +1 -0
  25. package/transpiled/extensions.continuity/schemas.d.ts +3 -0
  26. package/transpiled/extensions.continuity/schemas.js +6 -0
  27. package/transpiled/extensions.continuity/schemas.js.map +1 -0
  28. package/transpiled/extensions.continuity/types.d.ts +5 -0
  29. package/transpiled/extensions.continuity/types.js +2 -0
  30. package/transpiled/extensions.continuity/types.js.map +1 -0
@@ -1 +1 @@
1
- [{"label":"cadence-metronome","manifest":{"namespace":"cadence","name":"metronome","entity":{"properties":{"lane":{"description":"Which dispatcher takes this row, as the outbox partitions its lanes","type":"integer"},"due":{"description":"When the call is to be made, in milliseconds since the epoch","type":"integer"},"expires":{"description":"After this the call is not made at all. A scan bounds on it, so a call nothing was running to make in time is a row nobody reads, rather than an event anything sees.\n","type":"integer"},"endpoint":{"description":"What to call, as `namespace.component.operation`","type":"string"},"request":{"description":"The request to make, as it was handed over","type":"object"},"trail":{"description":"The chain of hops that asked for the call, which the call is then made by. A delay is a hop like any other, so a circle routed through one is still a circle. Absent where the caller detached the call, and on a row written before this existed.\n","type":"array","items":{"type":"string"}},"id":{"type":"string","pattern":"^[a-fA-F0-9]{32}$"},"VERSION":{"type":"integer","minimum":0},"CREATED":{"type":"integer","format":"epoch-millis"},"UPDATED":{"type":"integer","format":"epoch-millis"},"DELETED":{"type":"integer","format":"epoch-millis","nullable":true},"REGION":{"type":"integer","minimum":0}},"required":["lane","due","expires","endpoint","id","VERSION","CREATED","UPDATED","DELETED","REGION"],"storage":"@toa.io/storages.mongodb","migrations":[{"id":"system:0000-property-names","steps":[{"update":{"filter":{"_version":{"$exists":true}},"update":{"$rename":{"_version":"VERSION","_created":"CREATED","_updated":"UPDATED","_deleted":"DELETED"}}}}],"prototype":"system"},{"id":"system:0001-epoch-millis","steps":[{"update":{"filter":{"CREATED":{"$type":"number"}},"update":[{"$set":{"CREATED":{"$toDate":{"$toLong":"$CREATED"}},"UPDATED":{"$toDate":{"$toLong":"$UPDATED"}},"DELETED":{"$toDate":{"$toLong":"$DELETED"}}}}]}}],"prototype":"system"},{"id":"system:0002-region","steps":[{"update":{"filter":{"REGION":{"$exists":false}},"update":{"$set":{"REGION":0}}}}],"prototype":"system"},{"id":"0002-indexes","steps":[{"index":{"name":"index_due","keys":{"lane":"asc","due":"asc"}}}]},{"id":"0003-pending-index","steps":[{"index":{"name":"index_due","keys":{"lane":"asc","due":"asc"},"partial":{"DELETED":null}}}]},{"id":"0004-retention","steps":[{"index":{"name":"index_deleted","keys":{"DELETED":"asc"},"ttl":2592000}}]}],"associated":false,"custom":false},"operations":{"delay":{"query":false,"input":{"type":"object","properties":{"endpoint":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9]*\\.[a-zA-Z][a-zA-Z0-9]*\\.[a-zA-Z][_a-zA-Z0-9]*$"},"request":{"type":"object"},"trail":{"type":"array","items":{"type":"string"}},"interval":{"description":"Milliseconds from now","type":"integer","minimum":0},"overdue":{"description":"Milliseconds the call may be late and still be made, or null for no bound. Stated rather than defaulted: only the caller knows whether a late call is still the right call.\n","type":"integer","nullable":true,"minimum":0}},"required":["endpoint","interval","overdue"]},"output":{"type":"string"},"type":"transition","scope":"entry","bridge":"@toa.io/bridges.node","bindings":["@toa.io/bindings.amqp"]},"settle":{"query":true,"concurrency":"retry","type":"transition","scope":"entries","bridge":"@toa.io/bridges.node","output":{},"bindings":["@toa.io/bindings.amqp"]},"assign":{"type":"assignment","scope":"changeset","output":{},"bindings":["@toa.io/bindings.amqp"]},"ensure":{"type":"effect","scope":"entry","output":{},"bindings":["@toa.io/bindings.amqp"]},"enumerate":{"type":"observation","scope":"entries","output":{},"bindings":["@toa.io/bindings.amqp"]},"observe":{"type":"observation","scope":"entry","output":{},"bindings":["@toa.io/bindings.amqp"]},"stream":{"type":"observation","scope":"stream","output":{},"bindings":["@toa.io/bindings.amqp"]},"terminate":{"type":"assignment","scope":"changeset","output":{},"bindings":["@toa.io/bindings.amqp"]}},"path":"@toa.io/extensions.cadence/components/cadence.metronome","bindings":["@toa.io/bindings.amqp"],"bridge":"@toa.io/bridges.node","extensions":{"@toa.io/extensions.telemetry":{},"@toa.io/extensions.fetch":null,"@toa.io/extensions.introspection":{},"@toa.io/extensions.cadence":{}},"version":"37ae101c","prototype":{"prototype":null,"path":"@toa.io/prototype","operations":{"transit":{"bridge":"@toa.io/bridges.node"},"assign":{"bridge":"@toa.io/bridges.node"},"ensure":{"bridge":"@toa.io/bridges.node"},"enumerate":{"bridge":"@toa.io/bridges.node"},"observe":{"bridge":"@toa.io/bridges.node"},"stream":{"bridge":"@toa.io/bridges.node"},"terminate":{"bridge":"@toa.io/bridges.node"}}},"events":{"created":{"conditioned":true,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"},"deleted":{"conditioned":true,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"},"sync":{"conditioned":false,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"},"updated":{"conditioned":true,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"}}}}]
1
+ [{"label":"cadence-metronome","manifest":{"namespace":"cadence","name":"metronome","entity":{"properties":{"lane":{"description":"Which dispatcher takes this row, as the outbox partitions its lanes","type":"integer"},"due":{"description":"When the call is to be made, in milliseconds since the epoch","type":"integer"},"expires":{"description":"After this the call is not made at all. A scan bounds on it, so a call nothing was running to make in time is a row nobody reads, rather than an event anything sees.\n","type":"integer"},"endpoint":{"description":"What to call, as `namespace.component.operation`","type":"string"},"request":{"description":"The request to make, as it was handed over","type":"object"},"trail":{"description":"The chain of hops that asked for the call, which the call is then made by. A delay is a hop like any other, so a circle routed through one is still a circle. Absent where the caller unchained the call, and on a row written before this existed.\n","type":"array","items":{"type":"string"}},"id":{"type":"string","pattern":"^[a-fA-F0-9]{32}$"},"VERSION":{"type":"integer","minimum":0},"CREATED":{"type":"integer","format":"epoch-millis"},"UPDATED":{"type":"integer","format":"epoch-millis"},"DELETED":{"type":"integer","format":"epoch-millis","nullable":true},"REGION":{"type":"integer","minimum":0}},"required":["lane","due","expires","endpoint","id","VERSION","CREATED","UPDATED","DELETED","REGION"],"storage":"@toa.io/storages.mongodb","migrations":[{"id":"system:0000-property-names","steps":[{"update":{"filter":{"_version":{"$exists":true}},"update":{"$rename":{"_version":"VERSION","_created":"CREATED","_updated":"UPDATED","_deleted":"DELETED"}}}}],"prototype":"system"},{"id":"system:0001-epoch-millis","steps":[{"update":{"filter":{"CREATED":{"$type":"number"}},"update":[{"$set":{"CREATED":{"$toDate":{"$toLong":"$CREATED"}},"UPDATED":{"$toDate":{"$toLong":"$UPDATED"}},"DELETED":{"$toDate":{"$toLong":"$DELETED"}}}}]}}],"prototype":"system"},{"id":"system:0002-region","steps":[{"update":{"filter":{"REGION":{"$exists":false}},"update":{"$set":{"REGION":0}}}}],"prototype":"system"},{"id":"0002-indexes","steps":[{"index":{"name":"index_due","keys":{"lane":"asc","due":"asc"}}}]},{"id":"0003-pending-index","steps":[{"index":{"name":"index_due","keys":{"lane":"asc","due":"asc"},"partial":{"DELETED":null}}}]},{"id":"0004-retention","steps":[{"index":{"name":"index_deleted","keys":{"DELETED":"asc"},"ttl":2592000}}]}],"associated":false,"custom":false},"operations":{"delay":{"query":false,"input":{"type":"object","properties":{"endpoint":{"type":"string","pattern":"^[a-zA-Z][a-zA-Z0-9]*\\.[a-zA-Z][a-zA-Z0-9]*\\.[a-zA-Z][_a-zA-Z0-9]*$"},"request":{"type":"object"},"trail":{"type":"array","items":{"type":"string"}},"interval":{"description":"Milliseconds from now","type":"integer","minimum":0},"overdue":{"description":"Milliseconds the call may be late and still be made, or null for no bound. Stated rather than defaulted: only the caller knows whether a late call is still the right call.\n","type":"integer","nullable":true,"minimum":0}},"required":["endpoint","interval","overdue"]},"output":{"type":"string"},"type":"transition","scope":"entry","bridge":"@toa.io/bridges.node","bindings":["@toa.io/bindings.amqp"]},"settle":{"query":true,"concurrency":"retry","type":"transition","scope":"entries","bridge":"@toa.io/bridges.node","output":{},"bindings":["@toa.io/bindings.amqp"]},"assign":{"type":"assignment","scope":"changeset","output":{},"bindings":["@toa.io/bindings.amqp"]},"ensure":{"type":"effect","scope":"entry","output":{},"bindings":["@toa.io/bindings.amqp"]},"enumerate":{"type":"observation","scope":"entries","output":{},"bindings":["@toa.io/bindings.amqp"]},"observe":{"type":"observation","scope":"entry","output":{},"bindings":["@toa.io/bindings.amqp"]},"stream":{"type":"observation","scope":"stream","output":{},"bindings":["@toa.io/bindings.amqp"]},"terminate":{"type":"assignment","scope":"changeset","output":{},"bindings":["@toa.io/bindings.amqp"]}},"path":"@toa.io/extensions.cadence/components/cadence.metronome","bindings":["@toa.io/bindings.amqp"],"bridge":"@toa.io/bridges.node","extensions":{"@toa.io/extensions.telemetry":{},"@toa.io/extensions.fetch":null,"@toa.io/extensions.introspection":{},"@toa.io/extensions.cadence":{}},"version":"68c81bd3","prototype":{"prototype":null,"path":"@toa.io/prototype","operations":{"transit":{"bridge":"@toa.io/bridges.node"},"assign":{"bridge":"@toa.io/bridges.node"},"ensure":{"bridge":"@toa.io/bridges.node"},"enumerate":{"bridge":"@toa.io/bridges.node"},"observe":{"bridge":"@toa.io/bridges.node"},"stream":{"bridge":"@toa.io/bridges.node"},"terminate":{"bridge":"@toa.io/bridges.node"}}},"events":{"created":{"conditioned":true,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"},"deleted":{"conditioned":true,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"},"sync":{"conditioned":false,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"},"updated":{"conditioned":true,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"}}}}]
@@ -0,0 +1 @@
1
+ [{"label":"continuity-journal","manifest":{"namespace":"continuity","name":"journal","entity":{"associated":true,"properties":{"run":{"description":"The identity of the task or the event the step was made for","type":"string"},"answer":{"description":"What the step answered, encoded by the extension","type":"object"},"expires":{"description":"When the run can no longer be picked up. Every step of a run carries the moment its first step fixed, so a run is reaped whole.\n","type":"integer","format":"epoch-millis"},"id":{"type":"string","pattern":"^[a-fA-F0-9]{32}$"},"VERSION":{"type":"integer","minimum":0},"CREATED":{"type":"integer","format":"epoch-millis"},"UPDATED":{"type":"integer","format":"epoch-millis"},"DELETED":{"type":"integer","format":"epoch-millis","nullable":true},"REGION":{"type":"integer","minimum":0}},"storage":"@toa.io/storages.mongodb","migrations":[{"id":"system:0000-property-names","steps":[{"update":{"filter":{"_version":{"$exists":true}},"update":{"$rename":{"_version":"VERSION","_created":"CREATED","_updated":"UPDATED","_deleted":"DELETED"}}}}],"prototype":"system"},{"id":"system:0001-epoch-millis","steps":[{"update":{"filter":{"CREATED":{"$type":"number"}},"update":[{"$set":{"CREATED":{"$toDate":{"$toLong":"$CREATED"}},"UPDATED":{"$toDate":{"$toLong":"$UPDATED"}},"DELETED":{"$toDate":{"$toLong":"$DELETED"}}}}]}}],"prototype":"system"},{"id":"system:0002-region","steps":[{"update":{"filter":{"REGION":{"$exists":false}},"update":{"$set":{"REGION":0}}}}],"prototype":"system"},{"id":"0002-runs","steps":[{"index":{"name":"index_run","keys":{"run":"asc"}}},{"index":{"name":"index_expires","keys":{"expires":"asc"},"ttl":0}}]}],"required":["id","VERSION","CREATED","UPDATED","DELETED","REGION"],"custom":false},"operations":{"record":{"type":"transition","concurrency":"retry","input":{"type":"object","properties":{"run":{"type":"string"},"answer":{"type":"object"},"expires":{"type":"integer"}},"required":["run","answer","expires"]},"output":{"type":"object"},"scope":"entry","bridge":"@toa.io/bridges.node","bindings":["@toa.io/bindings.amqp"]},"recall":{"type":"observation","scope":"entries","query":true,"bridge":"@toa.io/bridges.node","output":{},"bindings":["@toa.io/bindings.amqp"]},"assign":{"type":"assignment","scope":"changeset","output":{},"bindings":["@toa.io/bindings.amqp"]},"ensure":{"type":"effect","scope":"entry","output":{},"bindings":["@toa.io/bindings.amqp"]},"enumerate":{"type":"observation","scope":"entries","output":{},"bindings":["@toa.io/bindings.amqp"]},"observe":{"type":"observation","scope":"entry","output":{},"bindings":["@toa.io/bindings.amqp"]},"stream":{"type":"observation","scope":"stream","output":{},"bindings":["@toa.io/bindings.amqp"]},"terminate":{"type":"assignment","scope":"changeset","output":{},"bindings":["@toa.io/bindings.amqp"]}},"path":"@toa.io/extensions.continuity/components/continuity.journal","bindings":["@toa.io/bindings.amqp"],"bridge":"@toa.io/bridges.node","version":"7dee5b22","prototype":{"prototype":null,"path":"@toa.io/prototype","operations":{"transit":{"bridge":"@toa.io/bridges.node"},"assign":{"bridge":"@toa.io/bridges.node"},"ensure":{"bridge":"@toa.io/bridges.node"},"enumerate":{"bridge":"@toa.io/bridges.node"},"observe":{"bridge":"@toa.io/bridges.node"},"stream":{"bridge":"@toa.io/bridges.node"},"terminate":{"bridge":"@toa.io/bridges.node"}}},"events":{"created":{"conditioned":true,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"},"deleted":{"conditioned":true,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"},"sync":{"conditioned":false,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"},"updated":{"conditioned":true,"subjective":false,"path":"@toa.io/prototype","bridge":"@toa.io/bridges.node","binding":"@toa.io/bindings.amqp"}},"extensions":{"@toa.io/extensions.telemetry":{},"@toa.io/extensions.fetch":null,"@toa.io/extensions.introspection":{}}}}]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/definitions",
3
- "version": "1.0.0-alpha.320",
3
+ "version": "1.0.0-alpha.322",
4
4
  "type": "module",
5
5
  "description": "What Toa packages declare, read without running them",
6
6
  "author": "temich <tema.gurtovoy@gmail.com>",
@@ -46,7 +46,7 @@
46
46
  "devDependencies": {
47
47
  "@aws-sdk/client-s3": "3.1140.0",
48
48
  "@aws-sdk/lib-storage": "3.1140.0",
49
- "@toa.io/core": "1.0.0-alpha.320",
49
+ "@toa.io/core": "1.0.0-alpha.322",
50
50
  "cloudinary": "2.11.0",
51
51
  "openspan": "1.0.0-alpha.305",
52
52
  "oxc-parser": "0.151.0"
@@ -71,5 +71,5 @@
71
71
  "optional": true
72
72
  }
73
73
  },
74
- "gitHead": "5ef92ab939a596e4ac820965c59c015820eba7b2"
74
+ "gitHead": "ef65352a8bd7bc0ef400fcc8cde0e19a3bb92199"
75
75
  }
@@ -0,0 +1,10 @@
1
+ # manifest.toa.yaml continuity declaration: the effects continued, by how long a run is kept
2
+ type: object
3
+ minProperties: 1
4
+ propertyNames:
5
+ pattern: ^[a-zA-Z]+([_a-zA-Z0-9]*[a-zA-Z0-9]+)?$
6
+ patternProperties:
7
+ ".*":
8
+ description: Seconds a run that has not finished can still be picked up
9
+ type: integer
10
+ minimum: 600
@@ -37,6 +37,7 @@ export const DEFINED = new Set([
37
37
  'bridges.node',
38
38
  'extensions.cadence',
39
39
  'extensions.configuration',
40
+ 'extensions.continuity',
40
41
  'extensions.convergence',
41
42
  'extensions.exposition',
42
43
  'extensions.fetch',
@@ -1 +1 @@
1
- {"version":3,"file":"definition.js","sourceRoot":"","sources":["../source/definition.ts"],"names":[],"mappings":";;;;;;;;AAAA;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,UAAU,CAAC,SAAiB;IAChD,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,KAAK,CAAC;QAAE,OAAO,SAAS,CAAA;IAElD,sFAAsF;IACtF,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;IAE9D,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;QAAE,OAAO,SAAS,CAAA;IAE1C,KAAK,CAAC,MAAM,CAAC,KAAK,MAAM,kCAAC,KAAK,MAAM,WAAW,EAAC,CAAA;IAEhD,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,CAAC,CAAA;IAElC,IAAI,GAAG,KAAK,SAAS;QAAE,OAAO,MAAM,CAAA;IAEpC,MAAM,KAAK,GAAI,MAA4C,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,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,GAAG,CAAC,CAAA;IAEvE,IAAI,KAAK,KAAK,SAAS;QACrB,MAAM,IAAI,KAAK,CAAC,IAAI,SAAS,uBAAuB,KAAK,GAAG,MAAM,kBAAkB,CAAC,CAAA;IAEvF,OAAO,KAAK,CAAA;AACd,CAAC;AAED,MAAM,KAAK,GAAoC,EAAE,CAAA;AAEjD,MAAM,KAAK,GAAG,UAAU,CAAA;AAExB,wFAAwF;AACxF,MAAM,CAAC,MAAM,OAAO,GAAwB,IAAI,GAAG,CAAC;IAClD,eAAe;IACf,eAAe;IACf,eAAe;IACf,cAAc;IACd,cAAc;IACd,oBAAoB;IACpB,0BAA0B;IAC1B,uBAAuB;IACvB,wBAAwB;IACxB,uBAAuB;IACvB,kBAAkB;IAClB,0BAA0B;IAC1B,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;IACrB,sBAAsB;IACtB,kBAAkB;CACnB,CAAC,CAAA"}
@@ -14,6 +14,7 @@ const { component } = (await import('@toa.io/norm'));
14
14
  const DIGESTED = [
15
15
  'extensions.cadence',
16
16
  'extensions.configuration',
17
+ 'extensions.continuity',
17
18
  'extensions.exposition',
18
19
  'extensions.introspection'
19
20
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../source/digest/generate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAA;AACjE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAGzF;;;;;;GAMG;AACH,MAAM,OAAO,GAAG,aAAa,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAA;AAE9C,8CAA8C;AAC9C,MAAM,EAAE,SAAS,EAAE,GAAG,CAAC,MAAM,MAAM,CAAC,cAAc,CAA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QACnC,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,CAAC,UAAU,CAAC,SAAS,GAAG,GAAG,CAAC;YAC1D,OAAO,CAAC,IAAI,EAAE,GAAG,QAAQ,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAErF,OAAO,KAAK,CAAA;AACd,CAAC"}
@@ -49,7 +49,7 @@ export interface Options {
49
49
  * It does not make the call repeat: a delayed call is made once either way. What repeats is
50
50
  * the operation arming the next one as it runs, and this is what keeps that from counting.
51
51
  */
52
- detached?: boolean;
52
+ unchained?: boolean;
53
53
  }
54
54
  /** What an application states under `cadence:` in its context. */
55
55
  export interface Annotation {
@@ -0,0 +1,3 @@
1
+ import { type Components } from '../digest/read.ts';
2
+ /** The components this extension ships, which run inside its own service. */
3
+ export declare function components(): Components;
@@ -0,0 +1,6 @@
1
+ import { components as digest } from '../digest/read.js';
2
+ /** The components this extension ships, which run inside its own service. */
3
+ export function components() {
4
+ return digest('extensions.continuity');
5
+ }
6
+ //# sourceMappingURL=components.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../../source/extensions.continuity/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,IAAI,MAAM,EAAmB,MAAM,mBAAmB,CAAA;AAEzE,6EAA6E;AAC7E,MAAM,UAAU,UAAU;IACxB,OAAO,MAAM,CAAC,uBAAuB,CAAC,CAAA;AACxC,CAAC"}
@@ -0,0 +1,8 @@
1
+ /** The component the extension ships to keep the runs it continues. */
2
+ export declare const NAMESPACE = "continuity";
3
+ export declare const COMPONENT = "journal";
4
+ /**
5
+ * The least a run may be kept for, in seconds. What `once` holds a call for at the least, and for
6
+ * the same reason: the broker alone repeats a message for about ten minutes.
7
+ */
8
+ export declare const WINDOW = 600;
@@ -0,0 +1,9 @@
1
+ /** The component the extension ships to keep the runs it continues. */
2
+ export const NAMESPACE = 'continuity';
3
+ export const COMPONENT = 'journal';
4
+ /**
5
+ * The least a run may be kept for, in seconds. What `once` holds a call for at the least, and for
6
+ * the same reason: the broker alone repeats a message for about ten minutes.
7
+ */
8
+ export const WINDOW = 600;
9
+ //# sourceMappingURL=const.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"const.js","sourceRoot":"","sources":["../../source/extensions.continuity/const.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,MAAM,CAAC,MAAM,SAAS,GAAG,YAAY,CAAA;AACrC,MAAM,CAAC,MAAM,SAAS,GAAG,SAAS,CAAA;AAElC;;;GAGG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA"}
@@ -0,0 +1,6 @@
1
+ import type { Dependency } from '@toa.io/operations';
2
+ /**
3
+ * The component that keeps the runs is a service of its own, as cadence's metronome is. A
4
+ * composition may claim it and run it in its own pods instead.
5
+ */
6
+ export declare function deployment(): Dependency;
@@ -0,0 +1,17 @@
1
+ import { components } from './components.js';
2
+ import { version } from '../version.js';
3
+ import { COMPONENT, NAMESPACE } from './const.js';
4
+ /**
5
+ * The component that keeps the runs is a service of its own, as cadence's metronome is. A
6
+ * composition may claim it and run it in its own pods instead.
7
+ */
8
+ export function deployment() {
9
+ const service = {
10
+ group: NAMESPACE,
11
+ name: COMPONENT,
12
+ version,
13
+ components: components().labels
14
+ };
15
+ return { services: [service] };
16
+ }
17
+ //# sourceMappingURL=deployment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../source/extensions.continuity/deployment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA;AAGjD;;;GAGG;AACH,MAAM,UAAU,UAAU;IACxB,MAAM,OAAO,GAAY;QACvB,KAAK,EAAE,SAAS;QAChB,IAAI,EAAE,SAAS;QACf,OAAO;QACP,UAAU,EAAE,UAAU,EAAE,CAAC,MAAM;KAChC,CAAA;IAED,OAAO,EAAE,QAAQ,EAAE,CAAC,OAAO,CAAC,EAAE,CAAA;AAChC,CAAC"}
@@ -0,0 +1,6 @@
1
+ export { manifest } from './manifest.ts';
2
+ export { components } from './components.ts';
3
+ export { deployment } from './deployment.ts';
4
+ export * from './const.ts';
5
+ export * as schemas from './schemas.ts';
6
+ export type { Declaration } from './types.ts';
@@ -0,0 +1,6 @@
1
+ export { manifest } from './manifest.js';
2
+ export { components } from './components.js';
3
+ export { deployment } from './deployment.js';
4
+ export * from './const.js';
5
+ export * as schemas from './schemas.js';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../source/extensions.continuity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,cAAc,YAAY,CAAA;AAC1B,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { Declaration } from './types.ts';
2
+ import type { Manifest } from '@toa.io/norm';
3
+ /**
4
+ * The `continuity:` block of a component manifest. Norm hands over the whole manifest, so what
5
+ * the declaration names is checked here rather than left to fail at boot.
6
+ *
7
+ * Only an effect: a transition or an assignment commits state computed from an entity that moves
8
+ * between attempts, and an answer given back beside a moved entity is a state nobody produced.
9
+ */
10
+ export declare function manifest(declaration: Declaration | null | undefined, component: Manifest): Declaration;
@@ -0,0 +1,20 @@
1
+ import * as schemas from './schemas.js';
2
+ /**
3
+ * The `continuity:` block of a component manifest. Norm hands over the whole manifest, so what
4
+ * the declaration names is checked here rather than left to fail at boot.
5
+ *
6
+ * Only an effect: a transition or an assignment commits state computed from an entity that moves
7
+ * between attempts, and an answer given back beside a moved entity is a state nobody produced.
8
+ */
9
+ export function manifest(declaration, component) {
10
+ schemas.declaration.validate(declaration ?? null, 'Invalid continuity declaration');
11
+ for (const endpoint of Object.keys(declaration)) {
12
+ const operation = component.operations?.[endpoint];
13
+ if (operation === undefined)
14
+ throw new Error(`Continuity refers to undefined operation '${endpoint}'`);
15
+ if (operation.type !== 'effect')
16
+ throw new Error(`Continuity refers to '${endpoint}', and '${endpoint}' is not an effect`);
17
+ }
18
+ return declaration;
19
+ }
20
+ //# sourceMappingURL=manifest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"manifest.js","sourceRoot":"","sources":["../../source/extensions.continuity/manifest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAIvC;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ,CACtB,WAA2C,EAC3C,SAAmB;IAEnB,OAAO,CAAC,WAAW,CAAC,QAAQ,CAC1B,WAAW,IAAI,IAAI,EACnB,gCAAgC,CACjC,CAAA;IAED,KAAK,MAAM,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,WAAY,CAAC,EAAE,CAAC;QACjD,MAAM,SAAS,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC,QAAQ,CAAC,CAAA;QAElD,IAAI,SAAS,KAAK,SAAS;YACzB,MAAM,IAAI,KAAK,CAAC,6CAA6C,QAAQ,GAAG,CAAC,CAAA;QAE3E,IAAI,SAAS,CAAC,IAAI,KAAK,QAAQ;YAC7B,MAAM,IAAI,KAAK,CACb,yBAAyB,QAAQ,WAAW,QAAQ,oBAAoB,CACzE,CAAA;IACL,CAAC;IAED,OAAO,WAAY,CAAA;AACrB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { Schema } from '@toa.io/schemas';
2
+ import type { Declaration } from './types.ts';
3
+ export declare const declaration: Schema<Declaration>;
@@ -0,0 +1,6 @@
1
+ import { resolve } from 'node:path';
2
+ import * as schemas from '@toa.io/schemas';
3
+ const path = resolve(import.meta.dirname, '../../schemas/extensions.continuity');
4
+ const namespace = schemas.namespace(path);
5
+ export const declaration = namespace.schema('declaration');
6
+ //# sourceMappingURL=schemas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../source/extensions.continuity/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAA;AAI1C,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,IAAI,CAAC,OAAO,EAAE,qCAAqC,CAAC,CAAA;AAChF,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,CAAA;AAEzC,MAAM,CAAC,MAAM,WAAW,GAAwB,SAAS,CAAC,MAAM,CAAC,aAAa,CAAC,CAAA"}
@@ -0,0 +1,5 @@
1
+ /**
2
+ * What one component declares under `continuity:`: the effects it continues, each with how long,
3
+ * in seconds, a run of it that has not finished can still be picked up.
4
+ */
5
+ export type Declaration = Record<string, number>;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../source/extensions.continuity/types.ts"],"names":[],"mappings":""}