@composurecdk/core 0.7.0 → 0.8.1
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/dist/commonjs/builder.d.ts.map +1 -0
- package/dist/commonjs/builder.js +86 -0
- package/dist/commonjs/builder.js.map +1 -0
- package/dist/commonjs/compose.d.ts.map +1 -0
- package/dist/commonjs/compose.js +114 -0
- package/dist/commonjs/compose.js.map +1 -0
- package/dist/commonjs/construct-id.d.ts.map +1 -0
- package/dist/commonjs/construct-id.js +58 -0
- package/dist/commonjs/construct-id.js.map +1 -0
- package/dist/commonjs/cyclic-dependency-error.d.ts.map +1 -0
- package/dist/commonjs/cyclic-dependency-error.js +20 -0
- package/dist/commonjs/cyclic-dependency-error.js.map +1 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +22 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lifecycle.d.ts.map +1 -0
- package/dist/commonjs/lifecycle.js +3 -0
- package/dist/{lifecycle.js.map → commonjs/lifecycle.js.map} +1 -1
- package/dist/commonjs/package.json +3 -0
- package/dist/{ref.d.ts → commonjs/ref.d.ts} +16 -0
- package/dist/commonjs/ref.d.ts.map +1 -0
- package/dist/commonjs/ref.js +129 -0
- package/dist/commonjs/ref.js.map +1 -0
- package/dist/commonjs/stack-strategy.d.ts.map +1 -0
- package/dist/commonjs/stack-strategy.js +59 -0
- package/dist/commonjs/stack-strategy.js.map +1 -0
- package/dist/commonjs/testing.d.ts.map +1 -0
- package/dist/commonjs/testing.js +124 -0
- package/dist/commonjs/testing.js.map +1 -0
- package/dist/esm/builder.d.ts +103 -0
- package/dist/esm/builder.d.ts.map +1 -0
- package/dist/esm/builder.js.map +1 -0
- package/dist/esm/compose.d.ts +177 -0
- package/dist/esm/compose.d.ts.map +1 -0
- package/dist/esm/compose.js.map +1 -0
- package/dist/esm/construct-id.d.ts +45 -0
- package/dist/esm/construct-id.d.ts.map +1 -0
- package/dist/esm/construct-id.js.map +1 -0
- package/dist/esm/cyclic-dependency-error.d.ts +12 -0
- package/dist/esm/cyclic-dependency-error.d.ts.map +1 -0
- package/dist/esm/cyclic-dependency-error.js.map +1 -0
- package/dist/esm/index.d.ts +8 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lifecycle.d.ts +23 -0
- package/dist/esm/lifecycle.d.ts.map +1 -0
- package/dist/esm/lifecycle.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/ref.d.ts +133 -0
- package/dist/esm/ref.d.ts.map +1 -0
- package/dist/{ref.js → esm/ref.js} +17 -1
- package/dist/esm/ref.js.map +1 -0
- package/dist/esm/stack-strategy.d.ts +75 -0
- package/dist/esm/stack-strategy.d.ts.map +1 -0
- package/dist/esm/stack-strategy.js.map +1 -0
- package/dist/esm/testing.d.ts +71 -0
- package/dist/esm/testing.d.ts.map +1 -0
- package/dist/esm/testing.js.map +1 -0
- package/package.json +43 -18
- package/dist/builder.d.ts.map +0 -1
- package/dist/builder.js.map +0 -1
- package/dist/compose.d.ts.map +0 -1
- package/dist/compose.js.map +0 -1
- package/dist/construct-id.d.ts.map +0 -1
- package/dist/construct-id.js.map +0 -1
- package/dist/cyclic-dependency-error.d.ts.map +0 -1
- package/dist/cyclic-dependency-error.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/lifecycle.d.ts.map +0 -1
- package/dist/ref.d.ts.map +0 -1
- package/dist/ref.js.map +0 -1
- package/dist/stack-strategy.d.ts.map +0 -1
- package/dist/stack-strategy.js.map +0 -1
- package/dist/testing.d.ts.map +0 -1
- package/dist/testing.js.map +0 -1
- /package/dist/{builder.d.ts → commonjs/builder.d.ts} +0 -0
- /package/dist/{compose.d.ts → commonjs/compose.d.ts} +0 -0
- /package/dist/{construct-id.d.ts → commonjs/construct-id.d.ts} +0 -0
- /package/dist/{cyclic-dependency-error.d.ts → commonjs/cyclic-dependency-error.d.ts} +0 -0
- /package/dist/{index.d.ts → commonjs/index.d.ts} +0 -0
- /package/dist/{lifecycle.d.ts → commonjs/lifecycle.d.ts} +0 -0
- /package/dist/{stack-strategy.d.ts → commonjs/stack-strategy.d.ts} +0 -0
- /package/dist/{testing.d.ts → commonjs/testing.d.ts} +0 -0
- /package/dist/{builder.js → esm/builder.js} +0 -0
- /package/dist/{compose.js → esm/compose.js} +0 -0
- /package/dist/{construct-id.js → esm/construct-id.js} +0 -0
- /package/dist/{cyclic-dependency-error.js → esm/cyclic-dependency-error.js} +0 -0
- /package/dist/{index.js → esm/index.js} +0 -0
- /package/dist/{lifecycle.js → esm/lifecycle.js} +0 -0
- /package/dist/{stack-strategy.js → esm/stack-strategy.js} +0 -0
- /package/dist/{testing.js → esm/testing.js} +0 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal Brands every {@link Ref} instance so {@link isRef} can recognise
|
|
3
|
+
* one without `instanceof`. `instanceof` is realm-bound: when `@composurecdk/core`
|
|
4
|
+
* is loaded as both ESM and CommonJS in the same process (the dual-package
|
|
5
|
+
* hazard), each copy has its own `Ref` class and `instanceof` fails across the
|
|
6
|
+
* boundary. A `Symbol.for(...)` brand is registered in the global symbol
|
|
7
|
+
* registry, so a `Ref` minted by either copy is still recognised by either.
|
|
8
|
+
*/
|
|
9
|
+
export declare const REF_BRAND: unique symbol;
|
|
10
|
+
/**
|
|
11
|
+
* A lazy reference to a value produced by another component at build time.
|
|
12
|
+
*
|
|
13
|
+
* `Ref` enables declarative cross-component wiring: a builder can capture a
|
|
14
|
+
* reference to a dependency's output at configuration time, and the value is
|
|
15
|
+
* resolved when the system is built. This keeps all configuration in one
|
|
16
|
+
* place — no split between eager props and deferred hooks.
|
|
17
|
+
*
|
|
18
|
+
* Create a `Ref` with the {@link ref} factory, then optionally narrow it
|
|
19
|
+
* with {@link Ref.get | .get()} or transform it with {@link Ref.map | .map()}.
|
|
20
|
+
*
|
|
21
|
+
* @typeParam T - The type of the value this reference resolves to.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* // Reference a component's full build output
|
|
26
|
+
* ref<FunctionBuilderResult>("handler")
|
|
27
|
+
*
|
|
28
|
+
* // Narrow to a specific property
|
|
29
|
+
* ref<FunctionBuilderResult>("handler").get("function")
|
|
30
|
+
*
|
|
31
|
+
* // Transform the referenced value
|
|
32
|
+
* ref<FunctionBuilderResult>("handler")
|
|
33
|
+
* .get("function")
|
|
34
|
+
* .map(fn => new LambdaIntegration(fn))
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class Ref<T> {
|
|
38
|
+
#private;
|
|
39
|
+
/** @internal Realm-agnostic brand — see {@link REF_BRAND}. */
|
|
40
|
+
readonly [REF_BRAND] = true;
|
|
41
|
+
private constructor();
|
|
42
|
+
/**
|
|
43
|
+
* Creates a `Ref` that resolves to a component's full build output.
|
|
44
|
+
*
|
|
45
|
+
* @param component - The key of the component in the composed system.
|
|
46
|
+
* @returns A `Ref` to the component's build result.
|
|
47
|
+
*/
|
|
48
|
+
static to<T extends object>(component: string): Ref<T>;
|
|
49
|
+
/**
|
|
50
|
+
* Narrows this reference to a specific property of the resolved value.
|
|
51
|
+
*
|
|
52
|
+
* @param key - The property key to select.
|
|
53
|
+
* @returns A new `Ref` to the selected property.
|
|
54
|
+
*/
|
|
55
|
+
get<K extends keyof T>(key: K): Ref<T[K]>;
|
|
56
|
+
/**
|
|
57
|
+
* Transforms the resolved value using the provided function.
|
|
58
|
+
*
|
|
59
|
+
* This is the primary way to adapt a dependency's output into the shape
|
|
60
|
+
* a consumer needs — for example, wrapping a Lambda function in a
|
|
61
|
+
* `LambdaIntegration`.
|
|
62
|
+
*
|
|
63
|
+
* @param fn - A function that transforms the resolved value.
|
|
64
|
+
* @returns A new `Ref` whose resolved value is the result of `fn`.
|
|
65
|
+
*/
|
|
66
|
+
map<U>(fn: (value: T) => U): Ref<U>;
|
|
67
|
+
/**
|
|
68
|
+
* Resolves this reference against a build context.
|
|
69
|
+
*
|
|
70
|
+
* Called internally during the build phase. Not typically called by users.
|
|
71
|
+
*
|
|
72
|
+
* @param context - The resolved dependency outputs, keyed by component name.
|
|
73
|
+
* @returns The resolved value.
|
|
74
|
+
*/
|
|
75
|
+
resolve(context: Record<string, object>): T;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Creates a {@link Ref} to a component's build output within a composed system.
|
|
79
|
+
*
|
|
80
|
+
* Called with just a component key, it returns a `Ref` to the full build result
|
|
81
|
+
* that can be further narrowed with {@link Ref.get | .get()} or
|
|
82
|
+
* {@link Ref.map | .map()}.
|
|
83
|
+
*
|
|
84
|
+
* Called with a transform function, it returns a `Ref` whose resolved value is
|
|
85
|
+
* the result of applying the transform to the component's build output. This is
|
|
86
|
+
* a shorthand for `ref<T>(component).map(transform)`.
|
|
87
|
+
*
|
|
88
|
+
* @param component - The key of the component in the composed system.
|
|
89
|
+
* @param transform - Optional function that transforms the component's build output.
|
|
90
|
+
* @returns A `Ref` to the component's build result, optionally transformed.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* ```ts
|
|
94
|
+
* // Without transform — chain .get() / .map() as needed
|
|
95
|
+
* ref<FunctionBuilderResult>("handler")
|
|
96
|
+
* .get("function")
|
|
97
|
+
* .map(fn => new LambdaIntegration(fn))
|
|
98
|
+
*
|
|
99
|
+
* // With transform — concise single-call form
|
|
100
|
+
* ref<FunctionBuilderResult>("handler", r => new LambdaIntegration(r.function))
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
export declare function ref<T extends object>(component: string): Ref<T>;
|
|
104
|
+
export declare function ref<T extends object, U>(component: string, transform: (value: T) => U): Ref<U>;
|
|
105
|
+
/**
|
|
106
|
+
* A value that is either concrete or a lazy {@link Ref} resolved at build time.
|
|
107
|
+
*
|
|
108
|
+
* Builders accept `Resolvable<T>` wherever they would normally accept `T`,
|
|
109
|
+
* making refs and concrete values interchangeable at the call site.
|
|
110
|
+
*/
|
|
111
|
+
export type Resolvable<T> = T | Ref<T>;
|
|
112
|
+
/**
|
|
113
|
+
* Type guard that checks whether a value is a {@link Ref}.
|
|
114
|
+
*
|
|
115
|
+
* Recognises a `Ref` by its {@link REF_BRAND} symbol rather than `instanceof`,
|
|
116
|
+
* so it works across the dual-package boundary — a `Ref` produced by the ESM
|
|
117
|
+
* copy of `@composurecdk/core` is still recognised by the CommonJS copy and
|
|
118
|
+
* vice versa.
|
|
119
|
+
*/
|
|
120
|
+
export declare function isRef<T>(value: Resolvable<T>): value is Ref<T>;
|
|
121
|
+
/**
|
|
122
|
+
* Resolves a {@link Resolvable} value. If it is a {@link Ref}, resolves it
|
|
123
|
+
* against the provided context (or an empty context if none is given).
|
|
124
|
+
* Otherwise returns the value as-is.
|
|
125
|
+
*
|
|
126
|
+
* @param value - A concrete value or a `Ref`.
|
|
127
|
+
* @param context - The resolved dependency outputs, keyed by component name.
|
|
128
|
+
* Omit for standalone builds where no refs are in use — a `Ref` resolved
|
|
129
|
+
* against an empty context will throw "component not found".
|
|
130
|
+
* @returns The concrete value.
|
|
131
|
+
*/
|
|
132
|
+
export declare function resolve<T>(value: Resolvable<T>, context?: Record<string, object>): T;
|
|
133
|
+
//# sourceMappingURL=ref.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref.d.ts","sourceRoot":"","sources":["../../src/ref.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,SAAS,eAAiC,CAAC;AAExD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,GAAG,CAAC,CAAC;;IAChB,8DAA8D;IAC9D,QAAQ,CAAC,CAAC,SAAS,CAAC,QAAQ;IAI5B,OAAO;IAIP;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,GAAG,CAAC,CAAC,C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ound: when `@composurecdk/core`
|
|
4
|
+
* is loaded as both ESM and CommonJS in the same process (the dual-package
|
|
5
|
+
* hazard), each copy has its own `Ref` class and `instanceof` fails across the
|
|
6
|
+
* boundary. A `Symbol.for(...)` brand is registered in the global symbol
|
|
7
|
+
* registry, so a `Ref` minted by either copy is still recognised by either.
|
|
8
|
+
*/
|
|
9
|
+
export const REF_BRAND = Symbol.for("composurecdk.ref");
|
|
1
10
|
/**
|
|
2
11
|
* A lazy reference to a value produced by another component at build time.
|
|
3
12
|
*
|
|
@@ -26,6 +35,8 @@
|
|
|
26
35
|
* ```
|
|
27
36
|
*/
|
|
28
37
|
export class Ref {
|
|
38
|
+
/** @internal Realm-agnostic brand — see {@link REF_BRAND}. */
|
|
39
|
+
[REF_BRAND] = true;
|
|
29
40
|
#resolver;
|
|
30
41
|
constructor(resolver) {
|
|
31
42
|
this.#resolver = resolver;
|
|
@@ -85,9 +96,14 @@ export function ref(component, transform) {
|
|
|
85
96
|
}
|
|
86
97
|
/**
|
|
87
98
|
* Type guard that checks whether a value is a {@link Ref}.
|
|
99
|
+
*
|
|
100
|
+
* Recognises a `Ref` by its {@link REF_BRAND} symbol rather than `instanceof`,
|
|
101
|
+
* so it works across the dual-package boundary — a `Ref` produced by the ESM
|
|
102
|
+
* copy of `@composurecdk/core` is still recognised by the CommonJS copy and
|
|
103
|
+
* vice versa.
|
|
88
104
|
*/
|
|
89
105
|
export function isRef(value) {
|
|
90
|
-
return value
|
|
106
|
+
return typeof value === "object" && value !== null && REF_BRAND in value;
|
|
91
107
|
}
|
|
92
108
|
/**
|
|
93
109
|
* Resolves a {@link Resolvable} value. If it is a {@link Ref}, resolves it
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ref.js","sourceRoot":"","sources":["../../src/ref.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC;AAExD;;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AC,CAAC,CAAC,IAAI,CAAC;AAChD,CAAC;AAUD;;;;;;;GAOG;AACH,MAAM,UAAU,KAAK,CAAI,KAAoB;IAC3C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,SAAS,IAAI,KAAK,CAAC;AAC3E,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,OAAO,CAAI,KAAoB,EAAE,OAAgC;IAC/E,OAAO,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAC7D,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { type IConstruct } from "constructs";
|
|
2
|
+
/**
|
|
3
|
+
* A factory function that creates scopes (typically Stacks) for components.
|
|
4
|
+
* Accepts any scope constructor — `Stack`, `DeploymentStack`, or custom
|
|
5
|
+
* subclasses.
|
|
6
|
+
*
|
|
7
|
+
* @param scope - The parent scope (typically an `App`).
|
|
8
|
+
* @param id - A unique identifier for the new scope.
|
|
9
|
+
* @returns A new scope to attach components to.
|
|
10
|
+
*/
|
|
11
|
+
export type ScopeFactory = (scope: IConstruct, id: string) => IConstruct;
|
|
12
|
+
/**
|
|
13
|
+
* Determines which scope a component should be built in.
|
|
14
|
+
*
|
|
15
|
+
* A `StackStrategy` is passed the parent scope, a system identifier,
|
|
16
|
+
* and each component's key. It returns the scope that component should
|
|
17
|
+
* use. Strategies can create scopes lazily, reuse them across components,
|
|
18
|
+
* or delegate to a {@link ScopeFactory} for custom scope types.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* // Every component in one auto-created stack
|
|
23
|
+
* compose({ handler, api }, { handler: [], api: ["handler"] })
|
|
24
|
+
* .withStackStrategy(singleStack(myFactory))
|
|
25
|
+
* .build(app, "MySystem");
|
|
26
|
+
*
|
|
27
|
+
* // Components grouped by a key function
|
|
28
|
+
* compose({ handler, api, table }, { ... })
|
|
29
|
+
* .withStackStrategy(groupedStacks(key => key === "table" ? "persistence" : "service", myFactory))
|
|
30
|
+
* .build(app, "MySystem");
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export interface StackStrategy {
|
|
34
|
+
/**
|
|
35
|
+
* Returns the scope a component should be built in.
|
|
36
|
+
*
|
|
37
|
+
* @param scope - The parent scope passed to `build`.
|
|
38
|
+
* @param systemId - The system identifier passed to `build`.
|
|
39
|
+
* @param componentKey - The key of the component in the composed system.
|
|
40
|
+
* @returns The scope to use for this component.
|
|
41
|
+
*/
|
|
42
|
+
resolve(scope: IConstruct, systemId: string, componentKey: string): IConstruct;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Creates a strategy that places all components in a single auto-created scope.
|
|
46
|
+
*
|
|
47
|
+
* The scope is created lazily on the first call to `resolve` and reused for
|
|
48
|
+
* all subsequent components.
|
|
49
|
+
*
|
|
50
|
+
* @param factory - Factory for creating the scope (e.g. a Stack).
|
|
51
|
+
* @returns A {@link StackStrategy} that groups all components into one scope.
|
|
52
|
+
*/
|
|
53
|
+
export declare function singleStack(factory: ScopeFactory): StackStrategy;
|
|
54
|
+
/**
|
|
55
|
+
* Creates a strategy that groups components into named scopes determined by
|
|
56
|
+
* a classifier function.
|
|
57
|
+
*
|
|
58
|
+
* Components that return the same group key share a scope. Scopes are created
|
|
59
|
+
* lazily as new group keys are encountered.
|
|
60
|
+
*
|
|
61
|
+
* @param classify - A function that maps a component key to a group name.
|
|
62
|
+
* @param factory - Factory for creating scopes (e.g. Stacks). The factory
|
|
63
|
+
* receives `${systemId}-${group}` as the id.
|
|
64
|
+
* @returns A {@link StackStrategy} that groups components by classifier output.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* ```ts
|
|
68
|
+
* groupedStacks(
|
|
69
|
+
* key => key === "table" ? "persistence" : "service",
|
|
70
|
+
* (app, id) => new Stack(app, id),
|
|
71
|
+
* )
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
export declare function groupedStacks(classify: (componentKey: string) => string, factory: ScopeFactory): StackStrategy;
|
|
75
|
+
//# sourceMappingURL=stack-strategy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack-strategy.d.ts","sourceRoot":"","sources":["../../src/stack-strategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,KAAK,UAAU,CAAC;AAEzE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,UAAU,CAAC;CAChF;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,aAAa,CAUhE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,EAC1C,OAAO,EAAE,YAAY,GACpB,aAAa,CAaf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack-strategy.js","sourceRoot":"","sources":["../../src/stack-strategy.ts"],"names":[],"mappings":"AA8CA;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CAAC,OAAqB;IAC/C,OAAO;QACL,OAAO,EAAE,CAAC,GAAG,EAAE;YACb,IAAI,KAA6B,CAAC;YAClC,OAAO,CAAC,KAAiB,EAAE,QAAgB,EAAE,EAAE;gBAC7C,KAAK,KAAK,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;gBACnC,OAAO,KAAK,CAAC;YACf,CAAC,CAAC;QACJ,CAAC,CAAC,EAAE;KACL,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,aAAa,CAC3B,QAA0C,EAC1C,OAAqB;IAErB,MAAM,MAAM,GAAG,IAAI,GAAG,EAAsB,CAAC;IAC7C,OAAO;QACL,OAAO,CAAC,KAAiB,EAAE,QAAgB,EAAE,YAAoB;YAC/D,MAAM,KAAK,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC;YACrC,IAAI,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACnC,IAAI,CAAC,UAAU,EAAE,CAAC;gBAChB,UAAU,GAAG,OAAO,CAAC,KAAK,EAAE,GAAG,QAAQ,IAAI,KAAK,EAAE,CAAC,CAAC;gBACpD,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;YAChC,CAAC;YACD,OAAO,UAAU,CAAC;QACpB,CAAC;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Asserts that {@link IBuilder.copy | `.copy()`} returns an independent
|
|
3
|
+
* builder that preserves non-`props` state set via {@link COPY_STATE}.
|
|
4
|
+
*
|
|
5
|
+
* The helper is the standard way per-package tests verify each accumulator
|
|
6
|
+
* a builder holds outside `props`. It executes the following sequence and
|
|
7
|
+
* asserts the two invariants implied by ADR-0005:
|
|
8
|
+
*
|
|
9
|
+
* 1. Build a **baseline**: `factory()` then `configure()`.
|
|
10
|
+
* 2. Build the **copy**: `factory()`, `configure()`, then `.copy()`.
|
|
11
|
+
* Apply `mutate()` to the original *after* the copy is taken.
|
|
12
|
+
* 3. Build the **original** (now carrying both `configure` and `mutate`).
|
|
13
|
+
*
|
|
14
|
+
* Note that the baseline is constructed via `factory()` rather than via
|
|
15
|
+
* `.copy()` — using `.copy()` would make the helper unable to detect a
|
|
16
|
+
* broken `[COPY_STATE]`, since both the "baseline" and the "copy" would
|
|
17
|
+
* drop the same state and still match.
|
|
18
|
+
*
|
|
19
|
+
* Then:
|
|
20
|
+
*
|
|
21
|
+
* - `inspect(copyResult)` must deep-equal `inspect(baselineResult)` —
|
|
22
|
+
* the copy preserved exactly the state that `configure` set up.
|
|
23
|
+
* A failure here means `[COPY_STATE]` is missing, incomplete, or buggy.
|
|
24
|
+
* - `inspect(originalResult)` must deep-not-equal `inspect(baselineResult)` —
|
|
25
|
+
* `mutate` actually changed inspectable state. Without this sanity
|
|
26
|
+
* check, a no-op `mutate` would let the first assertion pass
|
|
27
|
+
* trivially, hiding an isolation bug.
|
|
28
|
+
*
|
|
29
|
+
* @param args.factory - Returns a fresh, unconfigured builder. Called
|
|
30
|
+
* twice — the helper builds two independent instances so that the
|
|
31
|
+
* build calls don't share construct scopes and so the baseline does
|
|
32
|
+
* not depend on `.copy()`.
|
|
33
|
+
* @param args.configure - Applies the state under test (e.g. adds a
|
|
34
|
+
* `customAlarm`, configures `#vpc`, appends a `subscription`). Called
|
|
35
|
+
* on the baseline and on the original.
|
|
36
|
+
* @param args.mutate - Applied to the original *after* the copy is taken.
|
|
37
|
+
* Must change something the `inspect` callback can see — typically a
|
|
38
|
+
* second `configure`-shaped call that adds another item to the
|
|
39
|
+
* accumulator under test.
|
|
40
|
+
* @param args.build - Calls `.build(scope, id)` against a fresh CDK
|
|
41
|
+
* scope. Three separate scopes are required (one per build) — return a
|
|
42
|
+
* freshly constructed scope each call. Reusing a scope across calls
|
|
43
|
+
* surfaces as a CDK duplicate-id error rather than a silent leak.
|
|
44
|
+
* @param args.inspect - Extracts the slice of the build result whose
|
|
45
|
+
* shape depends on the state under test (e.g.
|
|
46
|
+
* `result => Object.keys(result.alarms)`).
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```ts
|
|
50
|
+
* import { App, Stack } from "aws-cdk-lib";
|
|
51
|
+
* import { assertCopyPreservesState } from "@composurecdk/core/testing";
|
|
52
|
+
*
|
|
53
|
+
* assertCopyPreservesState({
|
|
54
|
+
* factory: () => createCertificateBuilder().domainName("example.com"),
|
|
55
|
+
* configure: (b) => b.customAlarm({ id: "FirstAlarm", ... }),
|
|
56
|
+
* mutate: (b) => b.customAlarm({ id: "SecondAlarm", ... }),
|
|
57
|
+
* build: (b) => b.build(new Stack(new App(), "S"), "Cert"),
|
|
58
|
+
* inspect: (r) => Object.keys(r.alarms).sort(),
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
export declare function assertCopyPreservesState<B extends {
|
|
63
|
+
copy(): B;
|
|
64
|
+
}, R>(args: {
|
|
65
|
+
factory: () => B;
|
|
66
|
+
configure: (builder: B) => void;
|
|
67
|
+
mutate: (builder: B) => void;
|
|
68
|
+
build: (builder: B) => R;
|
|
69
|
+
inspect: (result: R) => unknown;
|
|
70
|
+
}): void;
|
|
71
|
+
//# sourceMappingURL=testing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../src/testing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,SAAS;IAAE,IAAI,IAAI,CAAC,CAAA;CAAE,EAAE,CAAC,EAAE,IAAI,EAAE;IACzE,OAAO,EAAE,MAAM,CAAC,CAAC;IACjB,SAAS,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;IAChC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;IACzB,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC;CACjC,GAAG,IAAI,CAsCP"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test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QAC7C,SAAS,CAAE,CAA6B,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACxD,CAAC;AACJ,CAAC;AAED,SAAS,MAAM,CAAC,KAAc;IAC5B,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,33 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composurecdk/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "Composable CDK component system — lifecycle, dependency resolution, and builder pattern",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/laazyj/composureCDK",
|
|
8
8
|
"directory": "packages/core"
|
|
9
9
|
},
|
|
10
|
-
"main": "./dist/index.js",
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"import": "./dist/index.js",
|
|
15
|
-
"types": "./dist/index.d.ts"
|
|
16
|
-
},
|
|
17
|
-
"./testing": {
|
|
18
|
-
"import": "./dist/testing.js",
|
|
19
|
-
"types": "./dist/testing.d.ts"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
10
|
"files": [
|
|
23
11
|
"dist",
|
|
24
12
|
"README.md",
|
|
25
13
|
"LICENSE"
|
|
26
14
|
],
|
|
27
15
|
"scripts": {
|
|
28
|
-
"clean": "rm -rf dist",
|
|
29
|
-
"build": "
|
|
16
|
+
"clean": "rm -rf dist .tshy .tshy-build",
|
|
17
|
+
"build": "tshy",
|
|
30
18
|
"typecheck": "tsc --noEmit",
|
|
19
|
+
"check:exports": "attw --pack . --profile node16 && publint",
|
|
31
20
|
"test": "vitest run",
|
|
32
21
|
"test:watch": "vitest"
|
|
33
22
|
},
|
|
@@ -44,15 +33,51 @@
|
|
|
44
33
|
"access": "public"
|
|
45
34
|
},
|
|
46
35
|
"type": "module",
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=20"
|
|
38
|
+
},
|
|
39
|
+
"tshy": {
|
|
40
|
+
"exports": {
|
|
41
|
+
"./package.json": "./package.json",
|
|
42
|
+
".": "./src/index.ts",
|
|
43
|
+
"./testing": "./src/testing.ts"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
47
46
|
"peerDependencies": {
|
|
48
47
|
"constructs": "^10.6.0"
|
|
49
48
|
},
|
|
50
49
|
"devDependencies": {
|
|
51
|
-
"@types/node": "^25.
|
|
50
|
+
"@types/node": "^25.9.1",
|
|
52
51
|
"typescript": "^6.0.3",
|
|
53
|
-
"vitest": "^4.1.
|
|
52
|
+
"vitest": "^4.1.7"
|
|
54
53
|
},
|
|
55
54
|
"dependencies": {
|
|
56
55
|
"@dagrejs/graphlib": "^4.0.1"
|
|
57
|
-
}
|
|
56
|
+
},
|
|
57
|
+
"exports": {
|
|
58
|
+
"./package.json": "./package.json",
|
|
59
|
+
".": {
|
|
60
|
+
"import": {
|
|
61
|
+
"types": "./dist/esm/index.d.ts",
|
|
62
|
+
"default": "./dist/esm/index.js"
|
|
63
|
+
},
|
|
64
|
+
"require": {
|
|
65
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
66
|
+
"default": "./dist/commonjs/index.js"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"./testing": {
|
|
70
|
+
"import": {
|
|
71
|
+
"types": "./dist/esm/testing.d.ts",
|
|
72
|
+
"default": "./dist/esm/testing.js"
|
|
73
|
+
},
|
|
74
|
+
"require": {
|
|
75
|
+
"types": "./dist/commonjs/testing.d.ts",
|
|
76
|
+
"default": "./dist/commonjs/testing.js"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"main": "./dist/commonjs/index.js",
|
|
81
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
82
|
+
"module": "./dist/esm/index.js"
|
|
58
83
|
}
|
package/dist/builder.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../src/builder.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,KAAK,WAAW,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC;AAElC;;;GAGG;AACH,UAAU,eAAe,CAAC,KAAK,SAAS,MAAM;IAC5C,KAAK,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,UAAU,eAA+C,CAAC;AAEvE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,QAAQ,CAAC,KAAK,SAAS,MAAM,EAAE,CAAC,IAAI;KAC7C,CAAC,IAAI,MAAM,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC;CACjF,GAAG;KACD,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,IAAI,EAAE,CAAC,KAAK,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACjG,GAAG;IACF;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,IAAI,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;CAC5B,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,OAAO,CAAC,KAAK,SAAS,MAAM,EAAE,CAAC,SAAS,eAAe,CAAC,KAAK,CAAC,EAC5E,WAAW,EAAE,WAAW,CAAC,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EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,KAAK,CAAC,EAAE,GAAG,MAAM,CAK5F"}
|
package/dist/construct-id.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"construct-id.js","sourceRoot":"","sources":["../src/construct-id.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,kIAAkI;AAClI,MAAM,MAAM,GAAG,mBAAmB,CAAC;AAEnC;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,mBAAmB,CAAC,GAAW;IAC7C,OAAO,GAAG,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAClC,CAAC;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,UAAU,WAAW,CAAC,GAAG,KAAqD;IAClF,OAAO,KAAK;SACT,MAAM,CAAC,CAAC,CAAC,EAAe,EAAE,CAAC,OAAO,CAAC,KAAK,QAAQ,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;SACjE,GAAG,CAAC,mBAAmB,CAAC;SACxB,IAAI,CAAC,GAAG,CAAC,CAAC;AACf,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cyclic-dependency-error.d.ts","sourceRoot":"","sources":["../src/cyclic-dependency-error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,qBAAa,qBAAsB,SAAQ,KAAK;aAIlB,MAAM,EAAE,MAAM,EAAE,EAAE;IAH9C;;OAEG;gBACyB,MAAM,EAAE,MAAM,EAAE,EAAE;CAI/C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cyclic-dependency-error.js","sourceRoot":"","sources":["../src/cyclic-dependency-error.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,OAAO,qBAAsB,SAAQ,KAAK;IAIlB;IAH5B;;OAEG;IACH,YAA4B,MAAkB;QAC5C,KAAK,CAAC,iCAAiC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAD7D,WAAM,GAAN,MAAM,CAAY;QAE5C,IAAI,CAAC,IAAI,GAAG,uBAAuB,CAAC;IACtC,CAAC;CACF"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EACL,OAAO,EACP,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,cAAc,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,WAAW,EACX,aAAa,GACd,MAAM,qBAAqB,CAAC"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAiB,MAAM,cAAc,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EACL,OAAO,GAIR,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,EAAmB,MAAM,UAAU,CAAC;AACrE,OAAO,EAGL,WAAW,EACX,aAAa,GACd,MAAM,qBAAqB,CAAC"}
|
package/dist/lifecycle.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle.d.ts","sourceRoot":"","sources":["../src/lifecycle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;GAGG;AACH,KAAK,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,SAAS,CACxB,CAAC,SAAS,MAAM,GAAG,MAAM,EACzB,OAAO,SAAS,sBAAsB,GAAG,sBAAsB;IAE/D,KAAK,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,CAAC,CAAC;CAC5D"}
|
package/dist/ref.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ref.d.ts","sourceRoot":"","sources":["../src/ref.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,GAAG,CAAC,CAAC;;IAGhB,OAAO;IAIP;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,GAAG,CAAC,CAAC,CAAC;IAYtD;;;;;OAKG;IACH,GAAG,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAIzC;;;;;;;;;OASG;IACH,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,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AAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAC7D,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stack-strategy.d.ts","sourceRoot":"","sources":["../src/stack-strategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,KAAK,UAAU,CAAC;AAEzE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;;;OAOG;IACH,OAAO,CAAC,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,UAAU,CAAC;CAChF;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,GAAG,aAAa,CAUhE;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,EAC1C,OAAO,EAAE,YAAY,GACpB,aAAa,CAaf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stack-strategy.js","sourceRoot":"","sources":["../src/stack-strategy.ts"],"names":[],"mappings":"AA8CA;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CAAC,OAAqB;IAC/C,OAAO;QACL,OAAO,EAAE,CAAC,GAAG,EAAE;YACb,IAAI,KAA6B,CAAC;YAClC,OAAO,CAAC,KAAiB,EAAE,QAAgB,EAAE,EAAE;gBAC7C,KAAK,KAAK,OAAO,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAC;gBACnC,OAAO,KAAK,CAAC;YACf,CAAC,CAAC;QACJ,CAAC,CAAC,EAAE;KACL,CAAC;AACJ,CAAC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,UAAU,aAAa,CAC3B,QAA0C,EAC1C,OAAqB;IAErB,MAAM,MAAM,GAAG,IAAI,GAAG,EAAsB,CAAC;IAC7C,OAAO;QACL,OAAO,CAAC,KAAiB,EAAE,QAAgB,EAAE,YAAoB;YAC/D,MAAM,KAAK,GAAG,QAAQ,CAAC,YAAY,CAAC,CAAC;YACrC,IAAI,UAAU,GAAG,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;YACnC,IAAI,CAAC,UAAU,EAAE,CAAC;gBAChB,UAAU,GAAG,OAAO,CAAC,KAAK,EAAE,GAAG,QAAQ,IAAI,KAAK,EAAE,CAAC,CAAC;gBACpD,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;YAChC,CAAC;YACD,OAAO,UAAU,CAAC;QACpB,CAAC;KACF,CAAC;AACJ,CAAC"}
|
package/dist/testing.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../src/testing.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,wBAAgB,wBAAwB,CAAC,CAAC,SAAS;IAAE,IAAI,IAAI,CAAC,CAAA;CAAE,EAAE,CAAC,EAAE,IAAI,EAAE;IACzE,OAAO,EAAE,MAAM,CAAC,CAAC;IACjB,SAAS,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;IAChC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,KAAK,EAAE,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,CAAC;IACzB,OAAO,EAAE,CAAC,MAAM,EAAE,CAAC,KAAK,OAAO,CAAC;CACjC,GAAG,IAAI,CAsCP"}
|
package/dist/testing.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"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QAC7C,SAAS,CAAE,CAA6B,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACxD,CAAC;AACJ,CAAC;AAED,SAAS,MAAM,CAAC,KAAc;IAC5B,IAAI,CAAC;QACH,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;AACH,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|