@toa.io/definitions 1.0.0-alpha.300 → 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.
- package/digest/extensions.configuration.json +1 -1
- package/digest/extensions.exposition.json +1 -1
- package/digest/extensions.introspection.json +1 -1
- package/digest/extensions.realtime.json +1 -1
- package/package.json +7 -7
- package/schemas/extensions.exposition/annotation.cos.yaml +18 -0
- package/transpiled/bindings.amqp/context.d.ts +1 -1
- package/transpiled/bindings.amqp/deployment.d.ts +2 -2
- package/transpiled/bindings.amqp/index.d.ts +4 -4
- package/transpiled/bindings.amqp/sources.d.ts +2 -2
- package/transpiled/bridges.bash/index.d.ts +2 -2
- package/transpiled/bridges.node/define.d.ts +1 -1
- package/transpiled/bridges.node/index.d.ts +5 -5
- package/transpiled/bridges.node/operations.d.ts +1 -1
- package/transpiled/definition.js +9 -1
- package/transpiled/definition.js.map +1 -1
- package/transpiled/extensions.cadence/components.d.ts +1 -1
- package/transpiled/extensions.cadence/deployment.d.ts +1 -1
- package/transpiled/extensions.cadence/index.d.ts +7 -7
- package/transpiled/extensions.cadence/manifest.d.ts +1 -1
- package/transpiled/extensions.cadence/schemas.d.ts +1 -1
- package/transpiled/extensions.configuration/components.d.ts +1 -1
- package/transpiled/extensions.configuration/context.d.ts +1 -1
- package/transpiled/extensions.configuration/deployment.d.ts +8 -2
- package/transpiled/extensions.configuration/deployment.js +8 -2
- package/transpiled/extensions.configuration/deployment.js.map +1 -1
- package/transpiled/extensions.configuration/index.d.ts +10 -10
- package/transpiled/extensions.convergence/deployment.d.ts +1 -1
- package/transpiled/extensions.convergence/index.d.ts +5 -5
- package/transpiled/extensions.exposition/Annotation.d.ts +8 -0
- package/transpiled/extensions.exposition/components.d.ts +1 -1
- package/transpiled/extensions.exposition/deployment.d.ts +1 -1
- package/transpiled/extensions.exposition/deployment.js +2 -0
- package/transpiled/extensions.exposition/deployment.js.map +1 -1
- package/transpiled/extensions.exposition/index.d.ts +9 -9
- package/transpiled/extensions.exposition/manifest.d.ts +1 -1
- package/transpiled/extensions.exposition/schemas.d.ts +2 -2
- package/transpiled/extensions.exposition/shortcuts.d.ts +1 -1
- package/transpiled/extensions.exposition/syntax/index.d.ts +2 -2
- package/transpiled/extensions.exposition/syntax/parse.d.ts +1 -1
- package/transpiled/extensions.fetch/index.d.ts +1 -1
- package/transpiled/extensions.introspection/components.d.ts +2 -2
- package/transpiled/extensions.introspection/deployment.d.ts +1 -1
- package/transpiled/extensions.introspection/index.d.ts +6 -6
- package/transpiled/extensions.introspection/manifest.d.ts +1 -1
- package/transpiled/extensions.introspection/schemas.d.ts +1 -1
- package/transpiled/extensions.realtime/components.d.ts +1 -1
- package/transpiled/extensions.realtime/index.d.ts +3 -3
- package/transpiled/extensions.stash/index.d.ts +2 -2
- package/transpiled/extensions.state/index.d.ts +1 -1
- package/transpiled/extensions.storages/Annotation.d.ts +2 -2
- package/transpiled/extensions.storages/Annotation.js.map +1 -1
- package/transpiled/extensions.storages/index.d.ts +9 -9
- package/transpiled/extensions.storages/packages.d.ts +2 -2
- package/transpiled/extensions.storages/packages.js +2 -2
- package/transpiled/extensions.storages/schemas.d.ts +1 -1
- package/transpiled/extensions.telemetry/deployment.d.ts +1 -1
- package/transpiled/extensions.telemetry/index.d.ts +5 -5
- package/transpiled/index.d.ts +3 -3
- package/transpiled/storages.mongodb/index.d.ts +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { deployment, image, standalone, parse } from './deployment.
|
|
2
|
-
export { components } from './components.
|
|
3
|
-
export type { Declaration, Entry, Route, RouteDeclaration } from './deployment.
|
|
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.
|
|
2
|
-
export { context } from './context.
|
|
1
|
+
export { deployment, ID } from './deployment.ts';
|
|
2
|
+
export { context } from './context.ts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { context } from './context.
|
|
1
|
+
export { context } from './context.ts';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Provider } from './secrets.
|
|
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;
|
|
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;AAUvC,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,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.
|
|
2
|
-
export { manifest } from './manifest.
|
|
3
|
-
export { validateAnnotation } from './Annotation.
|
|
4
|
-
export { secrets } from './secrets.
|
|
5
|
-
export { packages, installs } from './packages.
|
|
6
|
-
export { context } from './context.
|
|
7
|
-
export * as schemas from './schemas.
|
|
8
|
-
export type { Annotation, Declaration, Provider } from './Annotation.
|
|
9
|
-
export type { Secret } from './secrets.
|
|
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.
|
|
2
|
-
import type { Instance } from './deployment.
|
|
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.
|
|
9
|
-
spaces: { '@aws-sdk/client-s3': '3.
|
|
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.
|
|
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.
|
|
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.
|
|
2
|
-
export { ID, LOGS_PREFIX, TRACES_ENV, READY_ENV } from './const.
|
|
3
|
-
export { DEFAULT_ANNOTATION, normalizeAnnotation } from './ready.
|
|
4
|
-
export type { ReadyAnnotation, ReadyConfig } from './ready.
|
|
5
|
-
export { context } from './context.
|
|
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';
|
package/transpiled/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { version } from './version.
|
|
2
|
-
export { PREDEFINED } from './predefined.
|
|
3
|
-
export { definition, DEFINED } from './definition.
|
|
1
|
+
export { version } from './version.ts';
|
|
2
|
+
export { PREDEFINED } from './predefined.ts';
|
|
3
|
+
export { definition, DEFINED } from './definition.ts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { deployment, ID } from './deployment.
|
|
1
|
+
export { deployment, ID } from './deployment.ts';
|