@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,3 +1,3 @@
1
- export { deployment, image, standalone, parse } from './deployment.js';
2
- export { components } from './components.js';
3
- export type { Declaration, Entry, Route, RouteDeclaration } from './deployment.js';
1
+ export { deployment, image, standalone, parse } from './deployment.ts';
2
+ export { components } from './components.ts';
3
+ export type { Declaration, Entry, Route, RouteDeclaration } from './deployment.ts';
@@ -1,2 +1,2 @@
1
- export { deployment, ID } from './deployment.js';
2
- export { context } from './context.js';
1
+ export { deployment, ID } from './deployment.ts';
2
+ export { context } from './context.ts';
@@ -1 +1 @@
1
- export { context } from './context.js';
1
+ export { context } from './context.ts';
@@ -1,8 +1,8 @@
1
- import type { Provider } from './secrets.js';
1
+ import type { Provider } from './secrets.ts';
2
+ export type { Provider } from './secrets.ts';
2
3
  export type Annotation = Record<string, Declaration>;
3
4
  /** What a storage is declared as; what else it takes is the provider's, stated in its schema. */
4
5
  export type Declaration = {
5
6
  provider: Provider;
6
7
  } & Record<string, any>;
7
- export type { Provider };
8
8
  export declare function validateAnnotation(annotation: unknown): asserts annotation is Annotation;
@@ -1 +1 @@
1
- {"version":3,"file":"Annotation.js","sourceRoot":"","sources":["../../source/extensions.storages/Annotation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAWvC,MAAM,UAAU,kBAAkB,CAChC,UAAmB;IAEnB,IAAI,CAAC;QACH,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAA;IACzC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,OAAO,CAAC,UAAU,CAAC,CAAA;QAEnB,oDAAoD;QACpD,MAAM,KAAK,CAAA;IACb,CAAC;AACH,CAAC;AAED;;GAEG;AACH,SAAS,OAAO,CAAC,UAAmB;IAClC,IAAI,CAAC,CAAC,OAAO,UAAU,KAAK,QAAQ,IAAI,UAAU,KAAK,IAAI,CAAC;QAC1D,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAA;IAElD,KAAK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+B,CAAC,CAAA;IAElD,KAAK,MAAM,WAAW,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,CAAC;QACpD,IACE,CAAC,CACC,OAAO,WAAW,KAAK,QAAQ;YAC/B,WAAW,KAAK,IAAI;YACpB,WAAW,CAAC,QAAQ,IAAI,OAAO,CAChC;YAED,MAAM,IAAI,KAAK,CAAC,qBAAqB,WAAW,CAAC,QAAQ,GAAG,CAAC,CAAA;QAE/D,IAAI,CAAC,CAAC,WAAW,CAAC,QAAQ,IAAI,OAAO,CAAC;YACpC,MAAM,IAAI,KAAK,CAAC,2BAA2B,WAAW,CAAC,QAAQ,GAAG,CAAC,CAAA;QAErE,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAoB,CAAA;QAEjD,qCAAqC;QACrC,4CAA4C;QAC5C,MAAM,MAAM,GAAwB,OAAO,CAAC,QAAQ,CAAC,CAAA;QAErD,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,YAAY,WAAW,CAAC,QAAQ,cAAc,CAAC,CAAA;IAC9E,CAAC;AACH,CAAC"}
@@ -1,9 +1,9 @@
1
- export { deployment, ENV_PREFIX } from './deployment.js';
2
- export { manifest } from './manifest.js';
3
- export { validateAnnotation } from './Annotation.js';
4
- export { secrets } from './secrets.js';
5
- export { packages, installs } from './packages.js';
6
- export { context } from './context.js';
7
- export * as schemas from './schemas.js';
8
- export type { Annotation, Declaration, Provider } from './Annotation.js';
9
- export type { Secret } from './secrets.js';
1
+ export { deployment, ENV_PREFIX } from './deployment.ts';
2
+ export { manifest } from './manifest.ts';
3
+ export { validateAnnotation } from './Annotation.ts';
4
+ export { secrets } from './secrets.ts';
5
+ export { packages, installs } from './packages.ts';
6
+ export { context } from './context.ts';
7
+ export * as schemas from './schemas.ts';
8
+ export type { Annotation, Declaration, Provider } from './Annotation.ts';
9
+ export type { Secret } from './secrets.ts';
@@ -1,5 +1,5 @@
1
- import type { Provider } from './secrets.js';
2
- import type { Instance } from './deployment.js';
1
+ import type { Provider } from './secrets.ts';
2
+ import type { Instance } from './deployment.ts';
3
3
  /**
4
4
  * What each provider is written against, stated apart from the provider for the reason its
5
5
  * secrets are: so that a deploy installs the SDK without loading it, and an image carries no
@@ -5,8 +5,8 @@
5
5
  * declares them — `packages.test.ts` is what keeps the two the same.
6
6
  */
7
7
  export const packages = {
8
- s3: { '@aws-sdk/client-s3': '3.1125.0', '@aws-sdk/lib-storage': '3.1125.0' },
9
- spaces: { '@aws-sdk/client-s3': '3.1125.0', '@aws-sdk/lib-storage': '3.1125.0' },
8
+ s3: { '@aws-sdk/client-s3': '3.1127.0', '@aws-sdk/lib-storage': '3.1127.0' },
9
+ spaces: { '@aws-sdk/client-s3': '3.1127.0', '@aws-sdk/lib-storage': '3.1127.0' },
10
10
  cloudinary: { cloudinary: '2.11.0' },
11
11
  fs: {},
12
12
  tmp: {},
@@ -1,5 +1,5 @@
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<Annotation>;
4
4
  export declare const s3: Schema<Declaration>;
5
5
  export declare const spaces: Schema<Declaration>;
@@ -1,4 +1,4 @@
1
- import { type ReadyAnnotation } from './ready.js';
1
+ import { type ReadyAnnotation } from './ready.ts';
2
2
  import type { Dependency } from '@toa.io/operations';
3
3
  import type { ExportersConfig, LevelName } from 'openspan';
4
4
  export declare function deployment(_: unknown, annotation?: Annotation): Dependency;
@@ -1,5 +1,5 @@
1
- export { deployment } from './deployment.js';
2
- export { ID, LOGS_PREFIX, TRACES_ENV, READY_ENV } from './const.js';
3
- export { DEFAULT_ANNOTATION, normalizeAnnotation } from './ready.js';
4
- export type { ReadyAnnotation, ReadyConfig } from './ready.js';
5
- export { context } from './context.js';
1
+ export { deployment } from './deployment.ts';
2
+ export { ID, LOGS_PREFIX, TRACES_ENV, READY_ENV } from './const.ts';
3
+ export { DEFAULT_ANNOTATION, normalizeAnnotation } from './ready.ts';
4
+ export type { ReadyAnnotation, ReadyConfig } from './ready.ts';
5
+ export { context } from './context.ts';
@@ -1,2 +1,3 @@
1
- export { version } from './version.js';
2
- export { definition, DEFINED } from './definition.js';
1
+ export { version } from './version.ts';
2
+ export { PREDEFINED } from './predefined.ts';
3
+ export { definition, DEFINED } from './definition.ts';
@@ -1,3 +1,4 @@
1
1
  export { version } from './version.js';
2
+ export { PREDEFINED } from './predefined.js';
2
3
  export { definition, DEFINED } from './definition.js';
3
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../source/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The extensions every component has, and every process loads.
3
+ *
4
+ * Per component, because what they contribute — the logs and the span on a context, the
5
+ * outbound HTTP client, the description a component announces of itself — is what every
6
+ * component is written expecting. Per process, because two of them contribute to the process
7
+ * rather than to anything in it: the readiness probe answers for the process, and the halt
8
+ * listener stops it. A process that runs no component of its own has both regardless.
9
+ */
10
+ export declare const PREDEFINED: Record<string, null>;
@@ -0,0 +1,15 @@
1
+ /**
2
+ * The extensions every component has, and every process loads.
3
+ *
4
+ * Per component, because what they contribute — the logs and the span on a context, the
5
+ * outbound HTTP client, the description a component announces of itself — is what every
6
+ * component is written expecting. Per process, because two of them contribute to the process
7
+ * rather than to anything in it: the readiness probe answers for the process, and the halt
8
+ * listener stops it. A process that runs no component of its own has both regardless.
9
+ */
10
+ export const PREDEFINED = {
11
+ '@toa.io/extensions.telemetry': null,
12
+ '@toa.io/extensions.fetch': null,
13
+ '@toa.io/extensions.introspection': null
14
+ };
15
+ //# sourceMappingURL=predefined.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"predefined.js","sourceRoot":"","sources":["../source/predefined.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,UAAU,GAAyB;IAC9C,8BAA8B,EAAE,IAAI;IACpC,0BAA0B,EAAE,IAAI;IAChC,kCAAkC,EAAE,IAAI;CACzC,CAAA"}
@@ -1 +1 @@
1
- export { deployment, ID } from './deployment.js';
1
+ export { deployment, ID } from './deployment.ts';