@toa.io/definitions 1.0.0-alpha.299 → 1.0.0-alpha.301

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 (66) hide show
  1. package/digest/extensions.cadence.json +1 -1
  2. package/digest/extensions.configuration.json +1 -1
  3. package/digest/extensions.exposition.json +1 -1
  4. package/digest/extensions.introspection.json +1 -1
  5. package/digest/extensions.realtime.json +1 -1
  6. package/package.json +7 -7
  7. package/schemas/extensions.exposition/annotation.cos.yaml +18 -0
  8. package/transpiled/bindings.amqp/context.d.ts +1 -1
  9. package/transpiled/bindings.amqp/deployment.d.ts +2 -2
  10. package/transpiled/bindings.amqp/index.d.ts +4 -4
  11. package/transpiled/bindings.amqp/sources.d.ts +2 -2
  12. package/transpiled/bridges.bash/index.d.ts +2 -2
  13. package/transpiled/bridges.node/define.d.ts +1 -1
  14. package/transpiled/bridges.node/index.d.ts +5 -5
  15. package/transpiled/bridges.node/operations.d.ts +1 -1
  16. package/transpiled/definition.js +9 -1
  17. package/transpiled/definition.js.map +1 -1
  18. package/transpiled/extensions.cadence/components.d.ts +1 -1
  19. package/transpiled/extensions.cadence/deployment.d.ts +1 -1
  20. package/transpiled/extensions.cadence/index.d.ts +7 -7
  21. package/transpiled/extensions.cadence/manifest.d.ts +1 -1
  22. package/transpiled/extensions.cadence/schemas.d.ts +1 -1
  23. package/transpiled/extensions.configuration/components.d.ts +1 -1
  24. package/transpiled/extensions.configuration/context.d.ts +1 -1
  25. package/transpiled/extensions.configuration/deployment.d.ts +8 -2
  26. package/transpiled/extensions.configuration/deployment.js +8 -2
  27. package/transpiled/extensions.configuration/deployment.js.map +1 -1
  28. package/transpiled/extensions.configuration/index.d.ts +10 -10
  29. package/transpiled/extensions.convergence/deployment.d.ts +1 -1
  30. package/transpiled/extensions.convergence/index.d.ts +5 -5
  31. package/transpiled/extensions.exposition/Annotation.d.ts +8 -0
  32. package/transpiled/extensions.exposition/components.d.ts +1 -1
  33. package/transpiled/extensions.exposition/deployment.d.ts +1 -1
  34. package/transpiled/extensions.exposition/deployment.js +2 -0
  35. package/transpiled/extensions.exposition/deployment.js.map +1 -1
  36. package/transpiled/extensions.exposition/index.d.ts +9 -9
  37. package/transpiled/extensions.exposition/manifest.d.ts +1 -1
  38. package/transpiled/extensions.exposition/schemas.d.ts +2 -2
  39. package/transpiled/extensions.exposition/shortcuts.d.ts +1 -1
  40. package/transpiled/extensions.exposition/syntax/index.d.ts +2 -2
  41. package/transpiled/extensions.exposition/syntax/parse.d.ts +1 -1
  42. package/transpiled/extensions.fetch/index.d.ts +1 -1
  43. package/transpiled/extensions.introspection/components.d.ts +2 -2
  44. package/transpiled/extensions.introspection/deployment.d.ts +1 -1
  45. package/transpiled/extensions.introspection/index.d.ts +6 -6
  46. package/transpiled/extensions.introspection/manifest.d.ts +1 -1
  47. package/transpiled/extensions.introspection/schemas.d.ts +1 -1
  48. package/transpiled/extensions.realtime/components.d.ts +1 -1
  49. package/transpiled/extensions.realtime/index.d.ts +3 -3
  50. package/transpiled/extensions.stash/index.d.ts +2 -2
  51. package/transpiled/extensions.state/index.d.ts +1 -1
  52. package/transpiled/extensions.storages/Annotation.d.ts +2 -2
  53. package/transpiled/extensions.storages/Annotation.js.map +1 -1
  54. package/transpiled/extensions.storages/index.d.ts +9 -9
  55. package/transpiled/extensions.storages/packages.d.ts +2 -2
  56. package/transpiled/extensions.storages/packages.js +2 -2
  57. package/transpiled/extensions.storages/schemas.d.ts +1 -1
  58. package/transpiled/extensions.telemetry/deployment.d.ts +1 -1
  59. package/transpiled/extensions.telemetry/index.d.ts +5 -5
  60. package/transpiled/index.d.ts +3 -2
  61. package/transpiled/index.js +1 -0
  62. package/transpiled/index.js.map +1 -1
  63. package/transpiled/predefined.d.ts +10 -0
  64. package/transpiled/predefined.js +15 -0
  65. package/transpiled/predefined.js.map +1 -0
  66. package/transpiled/storages.mongodb/index.d.ts +1 -1
@@ -1 +1 @@
1
- [{"label":"introspection-edges","manifest":{"namespace":"introspection","name":"edges","entity":{"associated":true,"properties":{"src":{"description":"What caused the call — another operation, an event, or a service","type":"object","properties":{"namespace":{"type":"string"},"component":{"type":"string"},"operation":{"type":"string"},"event":{"type":"string"},"service":{"type":"string"}}},"dst":{"description":"What was called","type":"object","required":["namespace","component","operation"],"properties":{"namespace":{"type":"string"},"component":{"type":"string"},"operation":{"type":"string"}}},"sample":{"description":"The last call observed on this edge","type":"object","required":["at","outcome"],"properties":{"at":{"type":"integer"},"input":{},"outcome":{"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":["src","dst","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"}],"custom":false},"operations":{"merge":{"concurrency":"retry","input":{"type":"object","properties":{"edges":{"description":"What each replica observed since its last flush, by edge id","type":"object","additionalProperties":{"type":"object","properties":{"src":{"description":"What caused the call — another operation, an event, or a service","type":"object","properties":{"namespace":{"type":"string"},"component":{"type":"string"},"operation":{"type":"string"},"event":{"type":"string"},"service":{"type":"string"}}},"dst":{"description":"What was called","type":"object","required":["namespace","component","operation"],"properties":{"namespace":{"type":"string"},"component":{"type":"string"},"operation":{"type":"string"}}},"sample":{"description":"The last call observed on this edge","type":"object","required":["at","outcome"],"properties":{"at":{"type":"integer"},"input":{},"outcome":{"type":"string"}}}},"required":["src","dst"]}}},"required":["edges"]},"type":"transition","scope":"objects","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":"object","output":{},"bindings":["@toa.io/bindings.amqp"]},"enumerate":{"type":"observation","scope":"objects","output":{},"bindings":["@toa.io/bindings.amqp"]},"observe":{"type":"observation","scope":"object","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.introspection/components/introspection.edges","bindings":["@toa.io/bindings.amqp"],"bridge":"@toa.io/bridges.node","extensions":{"@toa.io/extensions.telemetry":null,"@toa.io/extensions.fetch":null,"@toa.io/extensions.introspection":false,"@toa.io/extensions.exposition":{"routes":[{"path":"/introspection/edges","node":{"routes":[{"path":"/","node":{"routes":[{"path":"/:id","node":{"routes":[],"methods":[{"verb":"GET","mapping":{"endpoint":"observe","query":{},"paged":false,"namespace":"introspection","component":"edges"},"directives":[]}],"directives":[]}}],"methods":[{"verb":"GET","mapping":{"endpoint":"enumerate","query":{"limit":{"value":10000,"range":[1,10000]}},"paged":true,"namespace":"introspection","component":"edges"},"directives":[]}],"directives":[{"family":"auth","name":"role","value":"system:introspection"},{"family":"io","name":"output","value":true},{"family":"cache","name":"control","value":"max-age=60, public"}]}}],"methods":[],"directives":[],"isolated":true}}],"methods":[],"directives":[]}},"version":"f24c5283","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"}}}},{"label":"introspection-nodes","manifest":{"namespace":"introspection","name":"nodes","entity":{"associated":true,"properties":{"version":{"type":"string"},"entity":{},"operations":{},"events":{},"receivers":{},"extensions":{},"namespace":{"type":"string"},"component":{"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":["namespace","component","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"}],"custom":false},"operations":{"merge":{"concurrency":"retry","input":{"type":"object","properties":{"nodes":{"description":"What each announced component describes of itself, by its id","type":"object","additionalProperties":{"type":"object","properties":{"version":{"type":"string"},"entity":{},"operations":{},"events":{},"receivers":{},"extensions":{},"namespace":{"type":"string"},"component":{"type":"string"}},"required":["namespace","component"]}}},"required":["nodes"]},"type":"transition","scope":"objects","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":"object","output":{},"bindings":["@toa.io/bindings.amqp"]},"enumerate":{"type":"observation","scope":"objects","output":{},"bindings":["@toa.io/bindings.amqp"]},"observe":{"type":"observation","scope":"object","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.introspection/components/introspection.nodes","bindings":["@toa.io/bindings.amqp"],"bridge":"@toa.io/bridges.node","extensions":{"@toa.io/extensions.telemetry":null,"@toa.io/extensions.fetch":null,"@toa.io/extensions.introspection":false,"@toa.io/extensions.exposition":{"routes":[{"path":"/introspection/nodes","node":{"routes":[{"path":"/","node":{"routes":[{"path":"/:id","node":{"routes":[],"methods":[{"verb":"GET","mapping":{"endpoint":"observe","query":{},"paged":false,"namespace":"introspection","component":"nodes"},"directives":[]}],"directives":[]}}],"methods":[{"verb":"GET","mapping":{"endpoint":"enumerate","query":{"limit":{"value":1000,"range":[1,1000]}},"paged":true,"namespace":"introspection","component":"nodes"},"directives":[]}],"directives":[{"family":"auth","name":"role","value":"system:introspection"},{"family":"io","name":"output","value":true},{"family":"cache","name":"control","value":"max-age=60, public"}]}}],"methods":[],"directives":[],"isolated":true}}],"methods":[],"directives":[]}},"version":"a291bd12","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":"introspection-edges","manifest":{"namespace":"introspection","name":"edges","entity":{"associated":true,"properties":{"src":{"description":"What caused the call — another operation, an event, or a service","type":"object","properties":{"namespace":{"type":"string"},"component":{"type":"string"},"operation":{"type":"string"},"event":{"type":"string"},"service":{"type":"string"}}},"dst":{"description":"What was called","type":"object","required":["namespace","component","operation"],"properties":{"namespace":{"type":"string"},"component":{"type":"string"},"operation":{"type":"string"}}},"sample":{"description":"The last call observed on this edge","type":"object","required":["at","outcome"],"properties":{"at":{"type":"integer"},"input":{},"outcome":{"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":["src","dst","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"}],"custom":false},"operations":{"merge":{"concurrency":"retry","input":{"type":"object","properties":{"edges":{"description":"What each replica observed since its last flush, by edge id","type":"object","additionalProperties":{"type":"object","properties":{"src":{"description":"What caused the call — another operation, an event, or a service","type":"object","properties":{"namespace":{"type":"string"},"component":{"type":"string"},"operation":{"type":"string"},"event":{"type":"string"},"service":{"type":"string"}}},"dst":{"description":"What was called","type":"object","required":["namespace","component","operation"],"properties":{"namespace":{"type":"string"},"component":{"type":"string"},"operation":{"type":"string"}}},"sample":{"description":"The last call observed on this edge","type":"object","required":["at","outcome"],"properties":{"at":{"type":"integer"},"input":{},"outcome":{"type":"string"}}}},"required":["src","dst"]}}},"required":["edges"]},"type":"transition","scope":"objects","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":"object","output":{},"bindings":["@toa.io/bindings.amqp"]},"enumerate":{"type":"observation","scope":"objects","output":{},"bindings":["@toa.io/bindings.amqp"]},"observe":{"type":"observation","scope":"object","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.introspection/components/introspection.edges","bindings":["@toa.io/bindings.amqp"],"bridge":"@toa.io/bridges.node","extensions":{"@toa.io/extensions.telemetry":null,"@toa.io/extensions.fetch":null,"@toa.io/extensions.introspection":false,"@toa.io/extensions.exposition":{"routes":[{"path":"/introspection/edges","node":{"routes":[{"path":"/","node":{"routes":[{"path":"/:id","node":{"routes":[],"methods":[{"verb":"GET","mapping":{"endpoint":"observe","query":{},"paged":false,"namespace":"introspection","component":"edges"},"directives":[]}],"directives":[]}}],"methods":[{"verb":"GET","mapping":{"endpoint":"enumerate","query":{"limit":{"value":10000,"range":[1,10000]}},"paged":true,"namespace":"introspection","component":"edges"},"directives":[]}],"directives":[{"family":"auth","name":"role","value":"system:introspection"},{"family":"io","name":"output","value":true},{"family":"cache","name":"control","value":"max-age=60, public"}]}}],"methods":[],"directives":[],"isolated":true}}],"methods":[],"directives":[]}},"version":"f9ab929f","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"}}}},{"label":"introspection-nodes","manifest":{"namespace":"introspection","name":"nodes","entity":{"associated":true,"properties":{"version":{"type":"string"},"entity":{},"operations":{},"events":{},"receivers":{},"extensions":{},"namespace":{"type":"string"},"component":{"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":["namespace","component","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"}],"custom":false},"operations":{"merge":{"concurrency":"retry","input":{"type":"object","properties":{"nodes":{"description":"What each announced component describes of itself, by its id","type":"object","additionalProperties":{"type":"object","properties":{"version":{"type":"string"},"entity":{},"operations":{},"events":{},"receivers":{},"extensions":{},"namespace":{"type":"string"},"component":{"type":"string"}},"required":["namespace","component"]}}},"required":["nodes"]},"type":"transition","scope":"objects","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":"object","output":{},"bindings":["@toa.io/bindings.amqp"]},"enumerate":{"type":"observation","scope":"objects","output":{},"bindings":["@toa.io/bindings.amqp"]},"observe":{"type":"observation","scope":"object","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.introspection/components/introspection.nodes","bindings":["@toa.io/bindings.amqp"],"bridge":"@toa.io/bridges.node","extensions":{"@toa.io/extensions.telemetry":null,"@toa.io/extensions.fetch":null,"@toa.io/extensions.introspection":false,"@toa.io/extensions.exposition":{"routes":[{"path":"/introspection/nodes","node":{"routes":[{"path":"/","node":{"routes":[{"path":"/:id","node":{"routes":[],"methods":[{"verb":"GET","mapping":{"endpoint":"observe","query":{},"paged":false,"namespace":"introspection","component":"nodes"},"directives":[]}],"directives":[]}}],"methods":[{"verb":"GET","mapping":{"endpoint":"enumerate","query":{"limit":{"value":1000,"range":[1,1000]}},"paged":true,"namespace":"introspection","component":"nodes"},"directives":[]}],"directives":[{"family":"auth","name":"role","value":"system:introspection"},{"family":"io","name":"output","value":true},{"family":"cache","name":"control","value":"max-age=60, public"}]}}],"methods":[],"directives":[],"isolated":true}}],"methods":[],"directives":[]}},"version":"6c5cd6e9","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 +1 @@
1
- [{"label":"realtime-streams","manifest":{"namespace":"realtime","name":"streams","operations":{"create":{"input":{"properties":{"key":{"type":"string"},"token":{"type":"string"}},"type":"object"},"type":"effect","scope":"none","bridge":"@toa.io/bridges.node","query":false,"output":{},"bindings":["@toa.io/bindings.amqp"]},"push":{"output":{"type":"null"},"bindings":[],"input":{"properties":{"data":{},"key":{"type":"string"},"event":{"type":"string"}},"type":"object","required":["key","event"]},"type":"effect","scope":"none","bridge":"@toa.io/bridges.node","query":false}},"path":"@toa.io/extensions.realtime/components/realtime.streams","bindings":["@toa.io/bindings.amqp"],"bridge":"@toa.io/bridges.node","prototype":null,"extensions":{"@toa.io/extensions.telemetry":null,"@toa.io/extensions.fetch":null,"@toa.io/extensions.introspection":{},"@toa.io/extensions.exposition":{"routes":[{"path":"/realtime/streams","node":{"routes":[{"path":"/:key","node":{"routes":[],"methods":[{"verb":"GET","mapping":{"endpoint":"create","query":null,"paged":false,"namespace":"realtime","component":"streams"},"directives":[]}],"directives":[{"family":"auth","name":"id","value":"key"}]}}],"methods":[],"directives":[]}}],"methods":[],"directives":[]},"@toa.io/extensions.configuration":{"schema":{"properties":{"maxlen":{"type":"number"},"expire":{"type":"number"}},"type":"object","required":["maxlen","expire"]},"defaults":{"maxlen":1000,"expire":300}},"@toa.io/extensions.state":null,"@toa.io/extensions.stash":null},"version":"0aa50dc4"}}]
1
+ [{"label":"realtime-streams","manifest":{"namespace":"realtime","name":"streams","operations":{"create":{"input":{"properties":{"key":{"type":"string"},"token":{"type":"string"}},"type":"object"},"type":"effect","scope":"none","bridge":"@toa.io/bridges.node","query":false,"output":{},"bindings":["@toa.io/bindings.amqp"]},"push":{"output":{"type":"null"},"bindings":[],"input":{"properties":{"data":{},"key":{"type":"string"},"event":{"type":"string"}},"type":"object","required":["key","event"]},"type":"effect","scope":"none","bridge":"@toa.io/bridges.node","query":false}},"path":"@toa.io/extensions.realtime/components/realtime.streams","bindings":["@toa.io/bindings.amqp"],"bridge":"@toa.io/bridges.node","prototype":null,"extensions":{"@toa.io/extensions.telemetry":null,"@toa.io/extensions.fetch":null,"@toa.io/extensions.introspection":{},"@toa.io/extensions.exposition":{"routes":[{"path":"/realtime/streams","node":{"routes":[{"path":"/:key","node":{"routes":[],"methods":[{"verb":"GET","mapping":{"endpoint":"create","query":null,"paged":false,"namespace":"realtime","component":"streams"},"directives":[]}],"directives":[{"family":"auth","name":"id","value":"key"}]}}],"methods":[],"directives":[]}}],"methods":[],"directives":[]},"@toa.io/extensions.configuration":{"schema":{"properties":{"maxlen":{"type":"number"},"expire":{"type":"number"}},"type":"object","required":["maxlen","expire"]},"defaults":{"maxlen":1000,"expire":300}},"@toa.io/extensions.state":null,"@toa.io/extensions.stash":null},"version":"d4f2dfc1"}}]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/definitions",
3
- "version": "1.0.0-alpha.299",
3
+ "version": "1.0.0-alpha.301",
4
4
  "type": "module",
5
5
  "description": "What Toa packages declare, read without running them",
6
6
  "author": "temich <tema.gurtovoy@gmail.com>",
@@ -30,9 +30,9 @@
30
30
  "!**/.env*"
31
31
  ],
32
32
  "dependencies": {
33
- "@toa.io/generic": "1.0.0-alpha.292",
34
- "@toa.io/pointer": "1.0.0-alpha.299",
35
- "@toa.io/schemas": "1.0.0-alpha.299"
33
+ "@toa.io/generic": "1.0.0-alpha.301",
34
+ "@toa.io/pointer": "1.0.0-alpha.301",
35
+ "@toa.io/schemas": "1.0.0-alpha.301"
36
36
  },
37
37
  "scripts": {
38
38
  "transpile": "tsc",
@@ -44,8 +44,8 @@
44
44
  "./*": "./transpiled/*/index.js"
45
45
  },
46
46
  "devDependencies": {
47
- "@toa.io/core": "1.0.0-alpha.299",
48
- "openspan": "1.0.0-alpha.293",
47
+ "@toa.io/core": "1.0.0-alpha.301",
48
+ "openspan": "1.0.0-alpha.301",
49
49
  "oxc-parser": "0.149.0"
50
50
  },
51
51
  "peerDependencies": {
@@ -56,5 +56,5 @@
56
56
  "optional": true
57
57
  }
58
58
  },
59
- "gitHead": "2ba95b16f2cf06f82d6ff8d436761e843e5e4b43"
59
+ "gitHead": "cc49bc90efd35464b2ad7803246786c607a44685"
60
60
  }
@@ -47,6 +47,24 @@ properties:
47
47
  type: integer
48
48
  minimum: 1
49
49
  additionalProperties: false
50
+ censor:
51
+ description: Header values a request is answered 451 for
52
+ type: object
53
+ properties:
54
+ header:
55
+ description: The request header the values are read from, in any case
56
+ type: string
57
+ minLength: 1
58
+ values:
59
+ description: What the header holds for a request to be refused, compared exactly
60
+ type: array
61
+ items:
62
+ type: string
63
+ minItems: 1
64
+ required:
65
+ - header
66
+ - values
67
+ additionalProperties: false
50
68
  protocol:
51
69
  type: string
52
70
  enum: [h1, h2c]
@@ -1,5 +1,5 @@
1
1
  import { type Dependency } from '@toa.io/operations';
2
- import { type Annotation } from './annotation.js';
2
+ import { type Annotation } from './annotation.ts';
3
3
  export declare function createDependency(context: Context): Dependency;
4
4
  export declare const ID = "amqp-context";
5
5
  export declare const VARIABLE = "TOA_AMQP_CONTEXT";
@@ -1,4 +1,4 @@
1
1
  import { type Dependency } from '@toa.io/operations';
2
- import { type Declaration } from './annotation.js';
3
- import { type Instance } from './instance.js';
2
+ import { type Declaration } from './annotation.ts';
3
+ import { type Instance } from './instance.ts';
4
4
  export declare function deployment(instances: Instance[], declaration: Declaration): Dependency;
@@ -1,6 +1,6 @@
1
1
  import type { bindings } from '@toa.io/core/types';
2
2
  export declare const properties: bindings.Properties;
3
- export { deployment } from './deployment.js';
4
- export { ID as CONTEXT, VARIABLE as CONTEXT_VARIABLE } from './context.js';
5
- export { ID as SOURCES } from './sources.js';
6
- export type { Annotation, Declaration } from './annotation.js';
3
+ export { deployment } from './deployment.ts';
4
+ export { ID as CONTEXT, VARIABLE as CONTEXT_VARIABLE } from './context.ts';
5
+ export { ID as SOURCES } from './sources.ts';
6
+ export type { Annotation, Declaration } from './annotation.ts';
@@ -1,6 +1,6 @@
1
1
  import { type Dependency } from '@toa.io/operations';
2
- import { type Instance } from './instance.js';
3
- import { type Annotation } from './annotation.js';
2
+ import { type Instance } from './instance.ts';
3
+ import { type Annotation } from './annotation.ts';
4
4
  export declare function createDependency(sources: Sources, instances: Instance[]): Dependency;
5
5
  export declare const ID = "amqp-sources";
6
6
  type Sources = Annotation['sources'];
@@ -1,2 +1,2 @@
1
- export * as define from './define.js';
2
- export { DIR, EXT } from './const.js';
1
+ export * as define from './define.ts';
2
+ export { DIR, EXT } from './const.ts';
@@ -1,4 +1,4 @@
1
- import { type Definition } from './operations.js';
1
+ import { type Definition } from './operations.ts';
2
2
  /**
3
3
  * What a component's modules declare, read from their source and never by importing them: a
4
4
  * deploy reads a component whose dependencies are not installed, and a booting process reads
@@ -1,5 +1,5 @@
1
- export * as define from './define.js';
2
- export { exports } from './exports.js';
3
- export { algorithm, TYPES } from './operations.js';
4
- export type { Binding, Exports } from './exports.js';
5
- export type { Definition } from './operations.js';
1
+ export * as define from './define.ts';
2
+ export { exports } from './exports.ts';
3
+ export { algorithm, TYPES } from './operations.ts';
4
+ export type { Binding, Exports } from './exports.ts';
5
+ export type { Definition } from './operations.ts';
@@ -1,4 +1,4 @@
1
- import type { Exports } from './exports.js';
1
+ import type { Exports } from './exports.ts';
2
2
  /**
3
3
  * What an algorithm module declares, by the conventions the bridge reads a module by: the
4
4
  * exported name is the type, the second parameter's name is the scope. `null` where the module
@@ -1,3 +1,11 @@
1
+ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {
2
+ if (typeof path === "string" && /^\.\.?\//.test(path)) {
3
+ return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
4
+ return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
5
+ });
6
+ }
7
+ return path;
8
+ };
1
9
  /**
2
10
  * A first-party package's definition, by the reference a manifest or a context names it by.
3
11
  * `undefined` for a package this one does not define, which norm then reads on its own.
@@ -8,7 +16,7 @@ export async function definition(reference) {
8
16
  const suffix = reference.slice(SCOPE.length);
9
17
  if (!DEFINED.has(suffix))
10
18
  return undefined;
11
- cache[suffix] ??= import(`./${suffix}/index.js`);
19
+ cache[suffix] ??= import(__rewriteRelativeImportExtension(`./${suffix}/index.ts`));
12
20
  return cache[suffix];
13
21
  }
14
22
  const cache = {};
@@ -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,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAE5C,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;QAAE,OAAO,SAAS,CAAA;IAE1C,KAAK,CAAC,MAAM,CAAC,KAAK,MAAM,CAAC,KAAK,MAAM,WAAW,CAAC,CAAA;IAEhD,OAAO,KAAK,CAAC,MAAM,CAAC,CAAA;AACtB,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,cAAc;IACd,cAAc;IACd,oBAAoB;IACpB,0BAA0B;IAC1B,wBAAwB;IACxB,uBAAuB;IACvB,kBAAkB;IAClB,0BAA0B;IAC1B,qBAAqB;IACrB,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;IACrB,sBAAsB;IACtB,kBAAkB;CACnB,CAAC,CAAA"}
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,MAAM,MAAM,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAE5C,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,OAAO,KAAK,CAAC,MAAM,CAAC,CAAA;AACtB,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,cAAc;IACd,cAAc;IACd,oBAAoB;IACpB,0BAA0B;IAC1B,wBAAwB;IACxB,uBAAuB;IACvB,kBAAkB;IAClB,0BAA0B;IAC1B,qBAAqB;IACrB,kBAAkB;IAClB,kBAAkB;IAClB,qBAAqB;IACrB,sBAAsB;IACtB,kBAAkB;CACnB,CAAC,CAAA"}
@@ -1,3 +1,3 @@
1
- import { type Components } from '../digest/read.js';
1
+ import { type Components } from '../digest/read.ts';
2
2
  /** The components this extension ships, which run inside its own service. */
3
3
  export declare function components(): Components;
@@ -1,4 +1,4 @@
1
- import type { Annotation } from './types.js';
1
+ import type { Annotation } from './types.ts';
2
2
  import type { Dependency } from '@toa.io/operations';
3
3
  /**
4
4
  * The component that keeps delayed calls runs in a service of its own, the way the identity
@@ -1,7 +1,7 @@
1
- export { manifest } from './manifest.js';
2
- export { components } from './components.js';
3
- export { deployment, standalone } from './deployment.js';
4
- export { context } from './context.js';
5
- export * from './const.js';
6
- export * as schemas from './schemas.js';
7
- export type { Annotation, Declaration, Delay, Options, Pulse } from './types.js';
1
+ export { manifest } from './manifest.ts';
2
+ export { components } from './components.ts';
3
+ export { deployment, standalone } from './deployment.ts';
4
+ export { context } from './context.ts';
5
+ export * from './const.ts';
6
+ export * as schemas from './schemas.ts';
7
+ export type { Annotation, Declaration, Delay, Options, Pulse } from './types.ts';
@@ -1,4 +1,4 @@
1
- import type { Declaration } from './types.js';
1
+ import type { Declaration } from './types.ts';
2
2
  import type { Manifest } from '@toa.io/norm';
3
3
  /**
4
4
  * The `cadence:` block of a component manifest: the operations called on a cadence, by the
@@ -1,4 +1,4 @@
1
1
  import type { Schema } from '@toa.io/schemas';
2
- import type { Annotation, Declaration } from './types.js';
2
+ import type { Annotation, Declaration } from './types.ts';
3
3
  export declare const declaration: Schema<Declaration>;
4
4
  export declare const annotation: Schema<Annotation>;
@@ -1,3 +1,3 @@
1
- import { type Components } from '../digest/read.js';
1
+ import { type Components } from '../digest/read.ts';
2
2
  /** The values component, which runs in the service of its own. */
3
3
  export declare function components(): Components;
@@ -1,4 +1,4 @@
1
- import type { Manifest } from './manifest.js';
1
+ import type { Manifest } from './manifest.ts';
2
2
  import type { Contribution } from '@toa.io/core/types';
3
3
  /** What this extension puts on the context of a component that declares it. */
4
4
  export declare function context(declaration: Manifest): Contribution;
@@ -1,10 +1,16 @@
1
1
  import { type Dependency } from '@toa.io/operations';
2
- import type { Manifest } from './manifest.js';
2
+ import type { Manifest } from './manifest.ts';
3
3
  import type { context } from '@toa.io/norm';
4
4
  /** Where Toa's release publishes this service's image. An application takes it
5
5
  * instead of building one when its context says `registry.services: published`. */
6
6
  export declare const image = "ghcr.io/toa-io/extension-configuration-values";
7
- export declare function deployment(instances: Instance[], annotation?: Annotation): Dependency;
7
+ /**
8
+ * @param managed the components Toa deploys, which are given their secrets
9
+ * @param annotation the context's values, keyed by component
10
+ * @param instances every component that declares configuration, evicted ones included: the
11
+ * values service serves each of them, wherever it runs
12
+ */
13
+ export declare function deployment(managed: Instance[], annotation?: Annotation, instances?: Instance[]): Dependency;
8
14
  /** What the values service is given: the epoch, the schema and the defaults of every component. */
9
15
  export declare function describe(instances: Instance[], annotation?: Annotation): Values;
10
16
  export type Annotation = Record<string, object>;
@@ -8,11 +8,17 @@ import * as validators from './schemas.js';
8
8
  /** Where Toa's release publishes this service's image. An application takes it
9
9
  * instead of building one when its context says `registry.services: published`. */
10
10
  export const image = 'ghcr.io/toa-io/extension-configuration-values';
11
- export function deployment(instances, annotation = {}) {
11
+ /**
12
+ * @param managed the components Toa deploys, which are given their secrets
13
+ * @param annotation the context's values, keyed by component
14
+ * @param instances every component that declares configuration, evicted ones included: the
15
+ * values service serves each of them, wherever it runs
16
+ */
17
+ export function deployment(managed, annotation = {}, instances = managed) {
12
18
  const { resources, values } = split(annotation);
13
19
  annotation = prepare(values, instances);
14
20
  const variables = {};
15
- for (const instance of instances) {
21
+ for (const instance of managed) {
16
22
  const values = annotation[instance.locator.id];
17
23
  if (values === undefined)
18
24
  continue;
@@ -1 +1 @@
1
- {"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../source/extensions.configuration/deployment.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAA;AAC/E,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAI1C;oFACoF;AACpF,MAAM,CAAC,MAAM,KAAK,GAAG,+C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QACvD,MAAM,EAAE,GAAG,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,UAAU,GAAG,GAAG,CAAA;QACrD,MAAM,QAAQ,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,CAAC,CAAA;QAEzE,IAAI,QAAQ,KAAK,SAAS;YACxB,MAAM,IAAI,KAAK,CACb,cAAc,EAAE,qDAAqD,CACtE,CAAA;QAEH,aAAa,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAE/C,UAAU,CAAC,EAAE,CAAC,GAAG,MAAM,CAAA;IACzB,CAAC;IAED,OAAO,UAAU,CAAA;AACnB,CAAC"}
@@ -1,10 +1,10 @@
1
- export { manifest } from './manifest.js';
2
- export { components } from './components.js';
3
- export { deployment, describe, image } from './deployment.js';
4
- export { epoch } from './epoch.js';
5
- export { context } from './context.js';
6
- export { assertSecrets } from './secrets.js';
7
- export * from './const.js';
8
- export * as schemas from './schemas.js';
9
- export type { Manifest } from './manifest.js';
10
- export type { Annotation, Entry, Instance, Values } from './deployment.js';
1
+ export { manifest } from './manifest.ts';
2
+ export { components } from './components.ts';
3
+ export { deployment, describe, image } from './deployment.ts';
4
+ export { epoch } from './epoch.ts';
5
+ export { context } from './context.ts';
6
+ export { assertSecrets } from './secrets.ts';
7
+ export * from './const.ts';
8
+ export * as schemas from './schemas.ts';
9
+ export type { Manifest } from './manifest.ts';
10
+ export type { Annotation, Entry, Instance, Values } from './deployment.ts';
@@ -1,4 +1,4 @@
1
- import type { Declaration } from './declaration.js';
1
+ import type { Declaration } from './declaration.ts';
2
2
  import type { context } from '@toa.io/norm';
3
3
  import type { Dependency } from '@toa.io/operations';
4
4
  /**
@@ -1,5 +1,5 @@
1
- export { deployment } from './deployment.js';
2
- export { BINDING, BROKERS, CHANNEL, ID, REGION } from './const.js';
3
- export { commands, queue, topology, vhost, INBOUND, OUTBOUND } from './topology.js';
4
- export type { Declaration } from './declaration.js';
5
- export type { Topology } from './topology.js';
1
+ export { deployment } from './deployment.ts';
2
+ export { BINDING, BROKERS, CHANNEL, ID, REGION } from './const.ts';
3
+ export { commands, queue, topology, vhost, INBOUND, OUTBOUND } from './topology.ts';
4
+ export type { Declaration } from './declaration.ts';
5
+ export type { Topology } from './topology.ts';
@@ -20,6 +20,8 @@ export interface Annotation {
20
20
  ip?: string;
21
21
  /** Failed authentications an address may make; none are metered unless set. See `identity.md`. */
22
22
  bouncer?: Bouncer;
23
+ /** Header values a request is answered 451 for; none is refused without it. See `censor.md`. */
24
+ censor?: Censor;
23
25
  /** The authorization server this context exposes; none is exposed without it. */
24
26
  oauth?: OAuth;
25
27
  /** JSON-RPC at `/.rpc`; none is served without it. See `documentation/rpc.md`. */
@@ -72,3 +74,9 @@ export interface Bouncer {
72
74
  /** seconds it takes to earn them back, 60 by default */
73
75
  interval?: number;
74
76
  }
77
+ export interface Censor {
78
+ /** The request header the values are read from, in any case. */
79
+ header: string;
80
+ /** What the header holds for a request to be answered 451, compared exactly. */
81
+ values: string[];
82
+ }
@@ -1,3 +1,3 @@
1
- import { type Components } from '../digest/read.js';
1
+ import { type Components } from '../digest/read.ts';
2
2
  /** The identity components, which run inside the gateway. */
3
3
  export declare function components(): Components;
@@ -1,5 +1,5 @@
1
1
  import { type Dependency } from '@toa.io/operations';
2
- import { type Annotation } from './Annotation.js';
2
+ import { type Annotation } from './Annotation.ts';
3
3
  /** Where Toa's release publishes this service's image. An application takes it
4
4
  * instead of building one when its context says `registry.services: published`. */
5
5
  export declare const image = "ghcr.io/toa-io/extension-exposition-gateway";
@@ -53,6 +53,8 @@ export function deployment(_, annotation) {
53
53
  properties.ip = annotation.ip;
54
54
  if (annotation.bouncer !== undefined)
55
55
  properties.bouncer = annotation.bouncer;
56
+ if (annotation.censor !== undefined)
57
+ properties.censor = annotation.censor;
56
58
  if (annotation.oauth !== undefined)
57
59
  properties.oauth = annotation.oauth;
58
60
  if (annotation.rpc !== undefined)
@@ -1 +1 @@
1
- {"version":3,"file":"deployment.js","sourceRoot":"","sources":["../../source/extensions.exposition/deployment.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAC/C,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAEvC;oFACoF;AACpF,MAAM,CAAC,MAAM,KAAK,GAAG,6CAA6C,CAAA;AAElE,MAAM,UAAU,UAAU,CAAC,CAAU,EAAE,UAAuB;IAC5D,IAAI,UAAU,KAAK,SAAS;QAC1B,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAA;IAC9D,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;IAEvC,MAAM,MAAM,GAAG,UAAU,EAAE,CAAC,MAAM,CAAA;IAElC,MAAM,OAAO,GAAY;QACvB,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,SAAS;QACf,KAAK;QACL,IAAI,EAAE,IAAI;QACV,OAAO;QACP,SAAS,EAAE,EAAE;QACb,UAAU,EAAE,MAAM;QAClB,SAAS,EAAE,UAAU,CAAC,SAAS;QAC/B,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE;QACjC,KAAK,EAAE;YACL,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,KAAK;YACX,KAAK,EAAE,KAAK;SACb;KACF,CAAA;IAED,IAAI,UAAU,EAAE,CAAC,GAAG,CAAC,KAAK,SAAS,EAAE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EAAE,CAAC,OAAO,CAAC,EAAE,CAAA;AAChC,CAAC"}
@@ -1,9 +1,9 @@
1
- export { manifest } from './manifest.js';
2
- export { components } from './components.js';
3
- export { installs } from './packages.js';
4
- export { deployment, image } from './deployment.js';
5
- export { shortcuts } from './shortcuts.js';
6
- export * from './const.js';
7
- export * as schemas from './schemas.js';
8
- export * as syntax from './syntax/index.js';
9
- export type { Annotation, Bouncer, MCP as MCPAnnotation, OAuth, Protocol, RPC as RPCAnnotation } from './Annotation.js';
1
+ export { manifest } from './manifest.ts';
2
+ export { components } from './components.ts';
3
+ export { installs } from './packages.ts';
4
+ export { deployment, image } from './deployment.ts';
5
+ export { shortcuts } from './shortcuts.ts';
6
+ export * from './const.ts';
7
+ export * as schemas from './schemas.ts';
8
+ export * as syntax from './syntax/index.ts';
9
+ export type { Annotation, Bouncer, Censor, MCP as MCPAnnotation, OAuth, Protocol, RPC as RPCAnnotation } from './Annotation.ts';
@@ -1,3 +1,3 @@
1
- import { type Node } from './syntax/index.js';
1
+ import { type Node } from './syntax/index.ts';
2
2
  import type { Manifest } from '@toa.io/norm';
3
3
  export declare function manifest(declaration: object, manifest: Manifest): Node;
@@ -1,6 +1,6 @@
1
1
  import type { Schema } from '@toa.io/schemas';
2
- import type { Node } from './syntax/types.js';
3
- import type { Annotation } from './Annotation.js';
2
+ import type { Node } from './syntax/types.ts';
3
+ import type { Annotation } from './Annotation.ts';
4
4
  export declare const querystring: Schema<Record<string, unknown>>;
5
5
  export declare const call: Schema<Record<string, unknown>>;
6
6
  export declare const annotation: Schema<Annotation>;
@@ -1,3 +1,3 @@
1
- import type { Shortcuts } from './syntax/index.js';
1
+ import type { Shortcuts } from './syntax/index.ts';
2
2
  /** What a directive may be written as, where the family is implied. */
3
3
  export declare const shortcuts: Shortcuts;
@@ -1,2 +1,2 @@
1
- export * from './parse.js';
2
- export * from './types.js';
1
+ export * from './parse.ts';
2
+ export * from './types.ts';
@@ -1,4 +1,4 @@
1
- import { type Node } from './types.js';
1
+ import { type Node } from './types.ts';
2
2
  export declare function parse(input: object, shortcuts?: Shortcuts): Node;
3
3
  export declare function createNode(): Node;
4
4
  export type Shortcuts = Map<string, string>;
@@ -1 +1 @@
1
- export { context } from './context.js';
1
+ export { context } from './context.ts';
@@ -1,5 +1,5 @@
1
- import { type Components } from '../digest/read.js';
2
- import type { Annotation } from './annotation.js';
1
+ import { type Components } from '../digest/read.ts';
2
+ import type { Annotation } from './annotation.ts';
3
3
  /**
4
4
  * The extension is predefined, so an application that turns introspection off
5
5
  * must not end up with the explorer components — nor with the exposition
@@ -1,4 +1,4 @@
1
- import type { Annotation } from './annotation.js';
1
+ import type { Annotation } from './annotation.ts';
2
2
  import type { Dependency, Instances } from '@toa.io/operations';
3
3
  /** Where Toa's release publishes this service's image. An application takes it
4
4
  * instead of building one when its context says `registry.services: published`. */
@@ -1,6 +1,6 @@
1
- export { manifest } from './manifest.js';
2
- export { components } from './components.js';
3
- export { deployment, image, standalone } from './deployment.js';
4
- export * from './annotation.js';
5
- export * from './const.js';
6
- export * as schemas from './schemas.js';
1
+ export { manifest } from './manifest.ts';
2
+ export { components } from './components.ts';
3
+ export { deployment, image, standalone } from './deployment.ts';
4
+ export * from './annotation.ts';
5
+ export * from './const.ts';
6
+ export * as schemas from './schemas.ts';
@@ -1,4 +1,4 @@
1
- import type { Declaration } from './annotation.js';
1
+ import type { Declaration } from './annotation.ts';
2
2
  /**
3
3
  * The component level of the annotation.
4
4
  *
@@ -1,4 +1,4 @@
1
1
  import type { Schema } from '@toa.io/schemas';
2
- import type { Annotation, Declaration } from './annotation.js';
2
+ import type { Annotation, Declaration } from './annotation.ts';
3
3
  export declare const annotation: Schema<Exclude<Annotation, false>>;
4
4
  export declare const declaration: Schema<Exclude<Declaration, false>>;
@@ -1,2 +1,2 @@
1
- import { type Components } from '../digest/read.js';
1
+ import { type Components } from '../digest/read.ts';
2
2
  export declare function components(): Components;