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

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.
@@ -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"}}}}]
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.321",
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.321",
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": "fa850e861a0c748d7364ccf7c8a09ce26973fc04"
75
75
  }
@@ -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 {