@fluidframework/synthesize 2.0.0-dev.6.4.0.192049 → 2.0.0-dev.7.2.0.204906
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/README.md +4 -4
- package/dist/dependencyContainer.js +3 -3
- package/dist/dependencyContainer.js.map +1 -1
- package/dist/synthesize-alpha.d.ts +110 -0
- package/dist/synthesize-beta.d.ts +110 -0
- package/dist/synthesize-public.d.ts +110 -0
- package/dist/synthesize-untrimmed.d.ts +110 -0
- package/dist/test/tsconfig.tsbuildinfo +1 -1
- package/dist/test/types/validateSynthesizePrevious.generated.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/types.d.ts +5 -5
- package/dist/types.d.ts.map +1 -1
- package/lib/dependencyContainer.js +3 -3
- package/lib/dependencyContainer.js.map +1 -1
- package/package.json +16 -17
package/README.md
CHANGED
|
@@ -34,8 +34,8 @@ So if I wanted an object with an optional `IFoo` and a required `IBar` I would g
|
|
|
34
34
|
|
|
35
35
|
```typescript
|
|
36
36
|
{
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
IFoo: Promise<IFoo | undefined>;
|
|
38
|
+
IBar: Promise<IBar>;
|
|
39
39
|
}
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -166,8 +166,8 @@ If I wanted an object with an optional `IFoo` and a required `IBar` I would get
|
|
|
166
166
|
|
|
167
167
|
```typescript
|
|
168
168
|
{
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
IFoo: Promise<IFoo | undefined>;
|
|
170
|
+
IBar: Promise<IBar>;
|
|
171
171
|
}
|
|
172
172
|
```
|
|
173
173
|
|
|
@@ -12,13 +12,13 @@ const IFluidDependencySynthesizer_1 = require("./IFluidDependencySynthesizer");
|
|
|
12
12
|
* synthesize an object based on them when requested.
|
|
13
13
|
*/
|
|
14
14
|
class DependencyContainer {
|
|
15
|
+
get IFluidDependencySynthesizer() {
|
|
16
|
+
return this;
|
|
17
|
+
}
|
|
15
18
|
constructor(...parents) {
|
|
16
19
|
this.providers = new Map();
|
|
17
20
|
this.parents = parents.filter((v) => v !== undefined);
|
|
18
21
|
}
|
|
19
|
-
get IFluidDependencySynthesizer() {
|
|
20
|
-
return this;
|
|
21
|
-
}
|
|
22
22
|
/**
|
|
23
23
|
* Add a new provider
|
|
24
24
|
* @param type - Name of the Type T being provided
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencyContainer.js","sourceRoot":"","sources":["../src/dependencyContainer.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,2DAAyD;AAQzD,+EAA4E;AAE5E;;;GAGG;AACH,MAAa,mBAAmB;IAO/B,YAAmB,GAAG,OAAoD;QANzD,cAAS,GAAG,IAAI,GAAG,EAAwC,CAAC;QAO5E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAoC,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC;IACzF,CAAC;IAND,IAAW,2BAA2B;QACrC,OAAO,IAAI,CAAC;IACb,CAAC;IAMD;;;;;OAKG;IACI,QAAQ,CACd,IAAO,EACP,QAA4C;QAE5C,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;YAC7B,MAAM,IAAI,KAAK,CACd,6CAA6C,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAC/E,CAAC;SACF;QAED,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACpC,CAAC;IAED;;;OAGG;IACI,UAAU,CAAC,IAAgB;QACjC,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;YAC7B,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;SAC5B;IACF,CAAC;IAED;;OAEG;IACI,UAAU,CAChB,aAA2C,EAC3C,aAAqD;QAErD,MAAM,IAAI,GAAmC,EAAS,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gBAClE,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAyC,EAAE,EAAE,EAAE,CAAC,CAAC;gBAC9E,MAAM,UAAU,GAAG,MAAM,CAAC,wBAAwB,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;gBAC3D,IAAI,UAAU,KAAK,SAAS,EAAE;oBAC7B,OAAO,UAAU,CAAC;iBAClB;aACD;YACD,OAAO,SAAS,CAAC;SACjB;QAED,+EAA+E;QAC/E,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;YACnC,OAAO;gBACN,qEAAqE;gBACrE,GAAG;oBACF,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;wBAC/C,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,yDAA2B,CAAC,CAAC;6BACvD,IAAI,CAAC,KAAK,EAAE,GAAG,EAAgB,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;6BAChD,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;qBACtB;gBACF,CAAC;aACD,CAAC;SACF;QACD,OAAO;YACN,GAAG;gBACF,IAAI,QAAQ,EAAE;oBACb,OAAO,IAAI,wBAAW,CAAC,KAAK,IAAI,EAAE;wBACjC,OAAO,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;4BAC3C,IAAI,CAAC,EAAE;gCACN,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;6BACZ;wBACF,CAAC,CAAC,CAAC;oBACJ,CAAC,CAAC,CAAC;iBACH;YACF,CAAC;SACD,CAAC;IACH,CAAC;CACD;AA5KD,kDA4KC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { LazyPromise } from \"@fluidframework/core-utils\";\nimport {\n\tAsyncFluidObjectProvider,\n\tFluidObjectSymbolProvider,\n\tFluidObjectProvider,\n\tAsyncOptionalFluidObjectProvider,\n\tAsyncRequiredFluidObjectProvider,\n} from \"./types\";\nimport { IFluidDependencySynthesizer } from \"./IFluidDependencySynthesizer\";\n\n/**\n * DependencyContainer is similar to a IoC Container. It takes providers and will\n * synthesize an object based on them when requested.\n */\nexport class DependencyContainer<TMap> implements IFluidDependencySynthesizer {\n\tprivate readonly providers = new Map<keyof TMap, FluidObjectProvider<any>>();\n\tprivate readonly parents: IFluidDependencySynthesizer[];\n\tpublic get IFluidDependencySynthesizer() {\n\t\treturn this;\n\t}\n\n\tpublic constructor(...parents: (IFluidDependencySynthesizer | undefined)[]) {\n\t\tthis.parents = parents.filter((v): v is IFluidDependencySynthesizer => v !== undefined);\n\t}\n\n\t/**\n\t * Add a new provider\n\t * @param type - Name of the Type T being provided\n\t * @param provider - A provider that will resolve the T correctly when asked\n\t * @throws - If passing a type that's already registered\n\t */\n\tpublic register<T extends keyof TMap = keyof TMap>(\n\t\ttype: T,\n\t\tprovider: FluidObjectProvider<Pick<TMap, T>>,\n\t): void {\n\t\tif (this.providers.has(type)) {\n\t\t\tthrow new Error(\n\t\t\t\t`Attempting to register a provider of type ${String(type)} that already exists`,\n\t\t\t);\n\t\t}\n\n\t\tthis.providers.set(type, provider);\n\t}\n\n\t/**\n\t * Remove a provider\n\t * @param type - Name of the provider to remove\n\t */\n\tpublic unregister(type: keyof TMap): void {\n\t\tif (this.providers.has(type)) {\n\t\t\tthis.providers.delete(type);\n\t\t}\n\t}\n\n\t/**\n\t * {@inheritDoc (IFluidDependencySynthesizer:interface).synthesize}\n\t */\n\tpublic synthesize<O, R = undefined | Record<string, never>>(\n\t\toptionalTypes: FluidObjectSymbolProvider<O>,\n\t\trequiredTypes: Required<FluidObjectSymbolProvider<R>>,\n\t): AsyncFluidObjectProvider<O, R> {\n\t\tconst base: AsyncFluidObjectProvider<O, R> = {} as any;\n\t\tthis.generateRequired<R>(base, requiredTypes);\n\t\tthis.generateOptional<O>(base, optionalTypes);\n\t\tObject.defineProperty(base, IFluidDependencySynthesizer, { get: () => this });\n\t\treturn base;\n\t}\n\n\t/**\n\t * {@inheritDoc (IFluidDependencySynthesizer:interface).has}\n\t * @param excludeParents - If true, exclude checking parent registries\n\t */\n\tpublic has(type: string, excludeParents?: boolean): boolean {\n\t\tif (this.providers.has(type as keyof TMap)) {\n\t\t\treturn true;\n\t\t}\n\t\tif (excludeParents !== true) {\n\t\t\treturn this.parents.some((p: IFluidDependencySynthesizer) => p.has(type));\n\t\t}\n\t\treturn false;\n\t}\n\t/**\n\t * @deprecated Needed for backwards compatability.\n\t */\n\tprivate getProvider(provider: string & keyof TMap) {\n\t\t// this was removed, but some partners have trouble with back compat where they\n\t\t// use invalid patterns with FluidObject and IFluidDependencySynthesizer\n\t\t// this is just for back compat until those are removed\n\t\tif (this.has(provider)) {\n\t\t\tif (this.providers.has(provider)) {\n\t\t\t\treturn this.providers.get(provider);\n\t\t\t}\n\t\t\tfor (const parent of this.parents) {\n\t\t\t\tif (parent instanceof DependencyContainer) {\n\t\t\t\t\treturn parent.getProvider(provider);\n\t\t\t\t} else {\n\t\t\t\t\t// older implementations of the IFluidDependencySynthesizer exposed getProvider\n\t\t\t\t\tconst maybeGetProvider: { getProvider?(provider: string & keyof TMap) } =\n\t\t\t\t\t\tparent as any;\n\t\t\t\t\tif (maybeGetProvider?.getProvider !== undefined) {\n\t\t\t\t\t\treturn maybeGetProvider.getProvider(provider);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate generateRequired<T>(\n\t\tbase: AsyncRequiredFluidObjectProvider<T>,\n\t\ttypes: Required<FluidObjectSymbolProvider<T>>,\n\t) {\n\t\tif (types === undefined) {\n\t\t\treturn;\n\t\t}\n\t\tfor (const key of Object.keys(types) as unknown as (keyof TMap)[]) {\n\t\t\tconst provider = this.resolveProvider(key);\n\t\t\tif (provider === undefined) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Object attempted to be created without registered required provider ${String(\n\t\t\t\t\t\tkey,\n\t\t\t\t\t)}`,\n\t\t\t\t);\n\t\t\t}\n\t\t\tObject.defineProperty(base, key, provider);\n\t\t}\n\t}\n\n\tprivate generateOptional<T>(\n\t\tbase: AsyncOptionalFluidObjectProvider<T>,\n\t\ttypes: FluidObjectSymbolProvider<T>,\n\t) {\n\t\tif (types === undefined) {\n\t\t\treturn;\n\t\t}\n\t\tfor (const key of Object.keys(types) as unknown as (keyof TMap)[]) {\n\t\t\t// back-compat: in 0.56 we allow undefined in the types, but we didn't before\n\t\t\t// this will keep runtime back compat, eventually we should support undefined properties\n\t\t\t// rather than properties that return promises that resolve to undefined\n\t\t\tconst provider = this.resolveProvider(key) ?? { get: async () => undefined };\n\t\t\tObject.defineProperty(base, key, provider);\n\t\t}\n\t}\n\n\tprivate resolveProvider<T extends keyof TMap>(t: T): PropertyDescriptor | undefined {\n\t\t// If we have the provider return it\n\t\tconst provider = this.providers.get(t);\n\t\tif (provider === undefined) {\n\t\t\tfor (const parent of this.parents) {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\t\t\tconst sp = { [t]: t } as FluidObjectSymbolProvider<Pick<TMap, T>>;\n\t\t\t\tconst syn = parent.synthesize<Pick<TMap, T>, Record<string, unknown>>(sp, {});\n\t\t\t\tconst descriptor = Object.getOwnPropertyDescriptor(syn, t);\n\t\t\t\tif (descriptor !== undefined) {\n\t\t\t\t\treturn descriptor;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn undefined;\n\t\t}\n\n\t\t// The double nested gets are required for lazy loading the provider resolution\n\t\tif (typeof provider === \"function\") {\n\t\t\treturn {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/promise-function-async\n\t\t\t\tget() {\n\t\t\t\t\tif (provider && typeof provider === \"function\") {\n\t\t\t\t\t\treturn Promise.resolve(this[IFluidDependencySynthesizer])\n\t\t\t\t\t\t\t.then(async (fds): Promise<any> => provider(fds))\n\t\t\t\t\t\t\t.then((p) => p?.[t]);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\t\treturn {\n\t\t\tget() {\n\t\t\t\tif (provider) {\n\t\t\t\t\treturn new LazyPromise(async () => {\n\t\t\t\t\t\treturn Promise.resolve(provider).then((p) => {\n\t\t\t\t\t\t\tif (p) {\n\t\t\t\t\t\t\t\treturn p[t];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t};\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"dependencyContainer.js","sourceRoot":"","sources":["../src/dependencyContainer.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,2DAAyD;AAQzD,+EAA4E;AAE5E;;;GAGG;AACH,MAAa,mBAAmB;IAG/B,IAAW,2BAA2B;QACrC,OAAO,IAAI,CAAC;IACb,CAAC;IAED,YAAmB,GAAG,OAAoD;QANzD,cAAS,GAAG,IAAI,GAAG,EAAwC,CAAC;QAO5E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAoC,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC;IACzF,CAAC;IAED;;;;;OAKG;IACI,QAAQ,CACd,IAAO,EACP,QAA4C;QAE5C,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;YAC7B,MAAM,IAAI,KAAK,CACd,6CAA6C,MAAM,CAAC,IAAI,CAAC,sBAAsB,CAC/E,CAAC;SACF;QAED,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IACpC,CAAC;IAED;;;OAGG;IACI,UAAU,CAAC,IAAgB;QACjC,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;YAC7B,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;SAC5B;IACF,CAAC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yEAAyE;gBACzE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAA8C,CAAC;gBAClE,MAAM,GAAG,GAAG,MAAM,CAAC,UAAU,CAAyC,EAAE,EAAE,EAAE,CAAC,CAAC;gBAC9E,MAAM,UAAU,GAAG,MAAM,CAAC,wBAAwB,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;gBAC3D,IAAI,UAAU,KAAK,SAAS,EAAE;oBAC7B,OAAO,UAAU,CAAC;iBAClB;aACD;YACD,OAAO,SAAS,CAAC;SACjB;QAED,+EAA+E;QAC/E,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;YACnC,OAAO;gBACN,qEAAqE;gBACrE,GAAG;oBACF,IAAI,QAAQ,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;wBAC/C,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,yDAA2B,CAAC,CAAC;6BACvD,IAAI,CAAC,KAAK,EAAE,GAAG,EAAgB,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;6BAChD,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;qBACtB;gBACF,CAAC;aACD,CAAC;SACF;QACD,OAAO;YACN,GAAG;gBACF,IAAI,QAAQ,EAAE;oBACb,OAAO,IAAI,wBAAW,CAAC,KAAK,IAAI,EAAE;wBACjC,OAAO,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;4BAC3C,IAAI,CAAC,EAAE;gCACN,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;6BACZ;wBACF,CAAC,CAAC,CAAC;oBACJ,CAAC,CAAC,CAAC;iBACH;YACF,CAAC;SACD,CAAC;IACH,CAAC;CACD;AA5KD,kDA4KC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { LazyPromise } from \"@fluidframework/core-utils\";\nimport {\n\tAsyncFluidObjectProvider,\n\tFluidObjectSymbolProvider,\n\tFluidObjectProvider,\n\tAsyncOptionalFluidObjectProvider,\n\tAsyncRequiredFluidObjectProvider,\n} from \"./types\";\nimport { IFluidDependencySynthesizer } from \"./IFluidDependencySynthesizer\";\n\n/**\n * DependencyContainer is similar to a IoC Container. It takes providers and will\n * synthesize an object based on them when requested.\n */\nexport class DependencyContainer<TMap> implements IFluidDependencySynthesizer {\n\tprivate readonly providers = new Map<keyof TMap, FluidObjectProvider<any>>();\n\tprivate readonly parents: IFluidDependencySynthesizer[];\n\tpublic get IFluidDependencySynthesizer() {\n\t\treturn this;\n\t}\n\n\tpublic constructor(...parents: (IFluidDependencySynthesizer | undefined)[]) {\n\t\tthis.parents = parents.filter((v): v is IFluidDependencySynthesizer => v !== undefined);\n\t}\n\n\t/**\n\t * Add a new provider\n\t * @param type - Name of the Type T being provided\n\t * @param provider - A provider that will resolve the T correctly when asked\n\t * @throws - If passing a type that's already registered\n\t */\n\tpublic register<T extends keyof TMap = keyof TMap>(\n\t\ttype: T,\n\t\tprovider: FluidObjectProvider<Pick<TMap, T>>,\n\t): void {\n\t\tif (this.providers.has(type)) {\n\t\t\tthrow new Error(\n\t\t\t\t`Attempting to register a provider of type ${String(type)} that already exists`,\n\t\t\t);\n\t\t}\n\n\t\tthis.providers.set(type, provider);\n\t}\n\n\t/**\n\t * Remove a provider\n\t * @param type - Name of the provider to remove\n\t */\n\tpublic unregister(type: keyof TMap): void {\n\t\tif (this.providers.has(type)) {\n\t\t\tthis.providers.delete(type);\n\t\t}\n\t}\n\n\t/**\n\t * {@inheritDoc (IFluidDependencySynthesizer:interface).synthesize}\n\t */\n\tpublic synthesize<O, R = undefined | Record<string, never>>(\n\t\toptionalTypes: FluidObjectSymbolProvider<O>,\n\t\trequiredTypes: Required<FluidObjectSymbolProvider<R>>,\n\t): AsyncFluidObjectProvider<O, R> {\n\t\tconst base: AsyncFluidObjectProvider<O, R> = {} as any;\n\t\tthis.generateRequired<R>(base, requiredTypes);\n\t\tthis.generateOptional<O>(base, optionalTypes);\n\t\tObject.defineProperty(base, IFluidDependencySynthesizer, { get: () => this });\n\t\treturn base;\n\t}\n\n\t/**\n\t * {@inheritDoc (IFluidDependencySynthesizer:interface).has}\n\t * @param excludeParents - If true, exclude checking parent registries\n\t */\n\tpublic has(type: string, excludeParents?: boolean): boolean {\n\t\tif (this.providers.has(type as keyof TMap)) {\n\t\t\treturn true;\n\t\t}\n\t\tif (excludeParents !== true) {\n\t\t\treturn this.parents.some((p: IFluidDependencySynthesizer) => p.has(type));\n\t\t}\n\t\treturn false;\n\t}\n\t/**\n\t * @deprecated Needed for backwards compatability.\n\t */\n\tprivate getProvider(provider: string & keyof TMap) {\n\t\t// this was removed, but some partners have trouble with back compat where they\n\t\t// use invalid patterns with FluidObject and IFluidDependencySynthesizer\n\t\t// this is just for back compat until those are removed\n\t\tif (this.has(provider)) {\n\t\t\tif (this.providers.has(provider)) {\n\t\t\t\treturn this.providers.get(provider);\n\t\t\t}\n\t\t\tfor (const parent of this.parents) {\n\t\t\t\tif (parent instanceof DependencyContainer) {\n\t\t\t\t\treturn parent.getProvider(provider);\n\t\t\t\t} else {\n\t\t\t\t\t// older implementations of the IFluidDependencySynthesizer exposed getProvider\n\t\t\t\t\tconst maybeGetProvider: { getProvider?(provider: string & keyof TMap) } =\n\t\t\t\t\t\tparent as any;\n\t\t\t\t\tif (maybeGetProvider?.getProvider !== undefined) {\n\t\t\t\t\t\treturn maybeGetProvider.getProvider(provider);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate generateRequired<T>(\n\t\tbase: AsyncRequiredFluidObjectProvider<T>,\n\t\ttypes: Required<FluidObjectSymbolProvider<T>>,\n\t) {\n\t\tif (types === undefined) {\n\t\t\treturn;\n\t\t}\n\t\tfor (const key of Object.keys(types) as unknown as (keyof TMap)[]) {\n\t\t\tconst provider = this.resolveProvider(key);\n\t\t\tif (provider === undefined) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Object attempted to be created without registered required provider ${String(\n\t\t\t\t\t\tkey,\n\t\t\t\t\t)}`,\n\t\t\t\t);\n\t\t\t}\n\t\t\tObject.defineProperty(base, key, provider);\n\t\t}\n\t}\n\n\tprivate generateOptional<T>(\n\t\tbase: AsyncOptionalFluidObjectProvider<T>,\n\t\ttypes: FluidObjectSymbolProvider<T>,\n\t) {\n\t\tif (types === undefined) {\n\t\t\treturn;\n\t\t}\n\t\tfor (const key of Object.keys(types) as unknown as (keyof TMap)[]) {\n\t\t\t// back-compat: in 0.56 we allow undefined in the types, but we didn't before\n\t\t\t// this will keep runtime back compat, eventually we should support undefined properties\n\t\t\t// rather than properties that return promises that resolve to undefined\n\t\t\tconst provider = this.resolveProvider(key) ?? { get: async () => undefined };\n\t\t\tObject.defineProperty(base, key, provider);\n\t\t}\n\t}\n\n\tprivate resolveProvider<T extends keyof TMap>(t: T): PropertyDescriptor | undefined {\n\t\t// If we have the provider return it\n\t\tconst provider = this.providers.get(t);\n\t\tif (provider === undefined) {\n\t\t\tfor (const parent of this.parents) {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\t\t\tconst sp = { [t]: t } as FluidObjectSymbolProvider<Pick<TMap, T>>;\n\t\t\t\tconst syn = parent.synthesize<Pick<TMap, T>, Record<string, unknown>>(sp, {});\n\t\t\t\tconst descriptor = Object.getOwnPropertyDescriptor(syn, t);\n\t\t\t\tif (descriptor !== undefined) {\n\t\t\t\t\treturn descriptor;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn undefined;\n\t\t}\n\n\t\t// The double nested gets are required for lazy loading the provider resolution\n\t\tif (typeof provider === \"function\") {\n\t\t\treturn {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/promise-function-async\n\t\t\t\tget() {\n\t\t\t\t\tif (provider && typeof provider === \"function\") {\n\t\t\t\t\t\treturn Promise.resolve(this[IFluidDependencySynthesizer])\n\t\t\t\t\t\t\t.then(async (fds): Promise<any> => provider(fds))\n\t\t\t\t\t\t\t.then((p) => p?.[t]);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\t\treturn {\n\t\t\tget() {\n\t\t\t\tif (provider) {\n\t\t\t\t\treturn new LazyPromise(async () => {\n\t\t\t\t\t\treturn Promise.resolve(provider).then((p) => {\n\t\t\t\t\t\t\tif (p) {\n\t\t\t\t\t\t\t\treturn p[t];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t};\n\t}\n}\n"]}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Combined type for Optional and Required Async Fluid object Providers
|
|
3
|
+
*/
|
|
4
|
+
export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* This is a condensed version of Record that requires the object has all
|
|
8
|
+
* the FluidObject properties as its type, mapped to an object that implements
|
|
9
|
+
* the property or undefined.
|
|
10
|
+
*/
|
|
11
|
+
export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
12
|
+
[P in keyof T]?: Promise<T[P] | undefined>;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* This is a condensed version of Record that requires the object has all
|
|
17
|
+
* the FluidObject properties as its type mapped to an object that implements
|
|
18
|
+
* the property.
|
|
19
|
+
*/
|
|
20
|
+
export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
21
|
+
[P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* DependencyContainer is similar to a IoC Container. It takes providers and will
|
|
26
|
+
* synthesize an object based on them when requested.
|
|
27
|
+
*/
|
|
28
|
+
export declare class DependencyContainer<TMap> implements IFluidDependencySynthesizer {
|
|
29
|
+
private readonly providers;
|
|
30
|
+
private readonly parents;
|
|
31
|
+
get IFluidDependencySynthesizer(): this;
|
|
32
|
+
constructor(...parents: (IFluidDependencySynthesizer | undefined)[]);
|
|
33
|
+
/**
|
|
34
|
+
* Add a new provider
|
|
35
|
+
* @param type - Name of the Type T being provided
|
|
36
|
+
* @param provider - A provider that will resolve the T correctly when asked
|
|
37
|
+
* @throws - If passing a type that's already registered
|
|
38
|
+
*/
|
|
39
|
+
register<T extends keyof TMap = keyof TMap>(type: T, provider: FluidObjectProvider<Pick<TMap, T>>): void;
|
|
40
|
+
/**
|
|
41
|
+
* Remove a provider
|
|
42
|
+
* @param type - Name of the provider to remove
|
|
43
|
+
*/
|
|
44
|
+
unregister(type: keyof TMap): void;
|
|
45
|
+
/**
|
|
46
|
+
* {@inheritDoc (IFluidDependencySynthesizer:interface).synthesize}
|
|
47
|
+
*/
|
|
48
|
+
synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
|
|
49
|
+
/**
|
|
50
|
+
* {@inheritDoc (IFluidDependencySynthesizer:interface).has}
|
|
51
|
+
* @param excludeParents - If true, exclude checking parent registries
|
|
52
|
+
*/
|
|
53
|
+
has(type: string, excludeParents?: boolean): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Needed for backwards compatability.
|
|
56
|
+
*/
|
|
57
|
+
private getProvider;
|
|
58
|
+
private generateRequired;
|
|
59
|
+
private generateOptional;
|
|
60
|
+
private resolveProvider;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Multiple ways to provide a Fluid object.
|
|
65
|
+
*/
|
|
66
|
+
export declare type FluidObjectProvider<T> = NonNullable<T> | Promise<NonNullable<T>> | ((dependencyContainer: IFluidDependencySynthesizer) => NonNullable<T>) | ((dependencyContainer: IFluidDependencySynthesizer) => Promise<NonNullable<T>>);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* This is a condensed version of Record that requires the object has all
|
|
70
|
+
* the FluidObject properties as its type mapped to a string representation
|
|
71
|
+
* of that property.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* { IFoo: "IFoo" }
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare type FluidObjectSymbolProvider<T> = {
|
|
80
|
+
[P in keyof T]?: P;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
|
|
87
|
+
* It allow for registering providers and uses synthesize to generate a new object with the optional
|
|
88
|
+
* and required types.
|
|
89
|
+
*/
|
|
90
|
+
export declare interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
|
|
91
|
+
/**
|
|
92
|
+
* synthesize takes optional and required types and returns an object that will fulfill the
|
|
93
|
+
* defined types based off objects that has been previously registered.
|
|
94
|
+
*
|
|
95
|
+
* @param optionalTypes - optional types to be in the Scope object
|
|
96
|
+
* @param requiredTypes - required types that need to be in the Scope object
|
|
97
|
+
*/
|
|
98
|
+
synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
|
|
99
|
+
/**
|
|
100
|
+
* Check if a given type is registered
|
|
101
|
+
* @param type - Type to check
|
|
102
|
+
*/
|
|
103
|
+
has(type: string): boolean;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export declare interface IProvideFluidDependencySynthesizer {
|
|
107
|
+
IFluidDependencySynthesizer: IFluidDependencySynthesizer;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { }
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Combined type for Optional and Required Async Fluid object Providers
|
|
3
|
+
*/
|
|
4
|
+
export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* This is a condensed version of Record that requires the object has all
|
|
8
|
+
* the FluidObject properties as its type, mapped to an object that implements
|
|
9
|
+
* the property or undefined.
|
|
10
|
+
*/
|
|
11
|
+
export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
12
|
+
[P in keyof T]?: Promise<T[P] | undefined>;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* This is a condensed version of Record that requires the object has all
|
|
17
|
+
* the FluidObject properties as its type mapped to an object that implements
|
|
18
|
+
* the property.
|
|
19
|
+
*/
|
|
20
|
+
export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
21
|
+
[P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* DependencyContainer is similar to a IoC Container. It takes providers and will
|
|
26
|
+
* synthesize an object based on them when requested.
|
|
27
|
+
*/
|
|
28
|
+
export declare class DependencyContainer<TMap> implements IFluidDependencySynthesizer {
|
|
29
|
+
private readonly providers;
|
|
30
|
+
private readonly parents;
|
|
31
|
+
get IFluidDependencySynthesizer(): this;
|
|
32
|
+
constructor(...parents: (IFluidDependencySynthesizer | undefined)[]);
|
|
33
|
+
/**
|
|
34
|
+
* Add a new provider
|
|
35
|
+
* @param type - Name of the Type T being provided
|
|
36
|
+
* @param provider - A provider that will resolve the T correctly when asked
|
|
37
|
+
* @throws - If passing a type that's already registered
|
|
38
|
+
*/
|
|
39
|
+
register<T extends keyof TMap = keyof TMap>(type: T, provider: FluidObjectProvider<Pick<TMap, T>>): void;
|
|
40
|
+
/**
|
|
41
|
+
* Remove a provider
|
|
42
|
+
* @param type - Name of the provider to remove
|
|
43
|
+
*/
|
|
44
|
+
unregister(type: keyof TMap): void;
|
|
45
|
+
/**
|
|
46
|
+
* {@inheritDoc (IFluidDependencySynthesizer:interface).synthesize}
|
|
47
|
+
*/
|
|
48
|
+
synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
|
|
49
|
+
/**
|
|
50
|
+
* {@inheritDoc (IFluidDependencySynthesizer:interface).has}
|
|
51
|
+
* @param excludeParents - If true, exclude checking parent registries
|
|
52
|
+
*/
|
|
53
|
+
has(type: string, excludeParents?: boolean): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Needed for backwards compatability.
|
|
56
|
+
*/
|
|
57
|
+
private getProvider;
|
|
58
|
+
private generateRequired;
|
|
59
|
+
private generateOptional;
|
|
60
|
+
private resolveProvider;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Multiple ways to provide a Fluid object.
|
|
65
|
+
*/
|
|
66
|
+
export declare type FluidObjectProvider<T> = NonNullable<T> | Promise<NonNullable<T>> | ((dependencyContainer: IFluidDependencySynthesizer) => NonNullable<T>) | ((dependencyContainer: IFluidDependencySynthesizer) => Promise<NonNullable<T>>);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* This is a condensed version of Record that requires the object has all
|
|
70
|
+
* the FluidObject properties as its type mapped to a string representation
|
|
71
|
+
* of that property.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* { IFoo: "IFoo" }
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare type FluidObjectSymbolProvider<T> = {
|
|
80
|
+
[P in keyof T]?: P;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
|
|
87
|
+
* It allow for registering providers and uses synthesize to generate a new object with the optional
|
|
88
|
+
* and required types.
|
|
89
|
+
*/
|
|
90
|
+
export declare interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
|
|
91
|
+
/**
|
|
92
|
+
* synthesize takes optional and required types and returns an object that will fulfill the
|
|
93
|
+
* defined types based off objects that has been previously registered.
|
|
94
|
+
*
|
|
95
|
+
* @param optionalTypes - optional types to be in the Scope object
|
|
96
|
+
* @param requiredTypes - required types that need to be in the Scope object
|
|
97
|
+
*/
|
|
98
|
+
synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
|
|
99
|
+
/**
|
|
100
|
+
* Check if a given type is registered
|
|
101
|
+
* @param type - Type to check
|
|
102
|
+
*/
|
|
103
|
+
has(type: string): boolean;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export declare interface IProvideFluidDependencySynthesizer {
|
|
107
|
+
IFluidDependencySynthesizer: IFluidDependencySynthesizer;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { }
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Combined type for Optional and Required Async Fluid object Providers
|
|
3
|
+
*/
|
|
4
|
+
export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* This is a condensed version of Record that requires the object has all
|
|
8
|
+
* the FluidObject properties as its type, mapped to an object that implements
|
|
9
|
+
* the property or undefined.
|
|
10
|
+
*/
|
|
11
|
+
export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
12
|
+
[P in keyof T]?: Promise<T[P] | undefined>;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* This is a condensed version of Record that requires the object has all
|
|
17
|
+
* the FluidObject properties as its type mapped to an object that implements
|
|
18
|
+
* the property.
|
|
19
|
+
*/
|
|
20
|
+
export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
21
|
+
[P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* DependencyContainer is similar to a IoC Container. It takes providers and will
|
|
26
|
+
* synthesize an object based on them when requested.
|
|
27
|
+
*/
|
|
28
|
+
export declare class DependencyContainer<TMap> implements IFluidDependencySynthesizer {
|
|
29
|
+
private readonly providers;
|
|
30
|
+
private readonly parents;
|
|
31
|
+
get IFluidDependencySynthesizer(): this;
|
|
32
|
+
constructor(...parents: (IFluidDependencySynthesizer | undefined)[]);
|
|
33
|
+
/**
|
|
34
|
+
* Add a new provider
|
|
35
|
+
* @param type - Name of the Type T being provided
|
|
36
|
+
* @param provider - A provider that will resolve the T correctly when asked
|
|
37
|
+
* @throws - If passing a type that's already registered
|
|
38
|
+
*/
|
|
39
|
+
register<T extends keyof TMap = keyof TMap>(type: T, provider: FluidObjectProvider<Pick<TMap, T>>): void;
|
|
40
|
+
/**
|
|
41
|
+
* Remove a provider
|
|
42
|
+
* @param type - Name of the provider to remove
|
|
43
|
+
*/
|
|
44
|
+
unregister(type: keyof TMap): void;
|
|
45
|
+
/**
|
|
46
|
+
* {@inheritDoc (IFluidDependencySynthesizer:interface).synthesize}
|
|
47
|
+
*/
|
|
48
|
+
synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
|
|
49
|
+
/**
|
|
50
|
+
* {@inheritDoc (IFluidDependencySynthesizer:interface).has}
|
|
51
|
+
* @param excludeParents - If true, exclude checking parent registries
|
|
52
|
+
*/
|
|
53
|
+
has(type: string, excludeParents?: boolean): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Needed for backwards compatability.
|
|
56
|
+
*/
|
|
57
|
+
private getProvider;
|
|
58
|
+
private generateRequired;
|
|
59
|
+
private generateOptional;
|
|
60
|
+
private resolveProvider;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Multiple ways to provide a Fluid object.
|
|
65
|
+
*/
|
|
66
|
+
export declare type FluidObjectProvider<T> = NonNullable<T> | Promise<NonNullable<T>> | ((dependencyContainer: IFluidDependencySynthesizer) => NonNullable<T>) | ((dependencyContainer: IFluidDependencySynthesizer) => Promise<NonNullable<T>>);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* This is a condensed version of Record that requires the object has all
|
|
70
|
+
* the FluidObject properties as its type mapped to a string representation
|
|
71
|
+
* of that property.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* { IFoo: "IFoo" }
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare type FluidObjectSymbolProvider<T> = {
|
|
80
|
+
[P in keyof T]?: P;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
|
|
87
|
+
* It allow for registering providers and uses synthesize to generate a new object with the optional
|
|
88
|
+
* and required types.
|
|
89
|
+
*/
|
|
90
|
+
export declare interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
|
|
91
|
+
/**
|
|
92
|
+
* synthesize takes optional and required types and returns an object that will fulfill the
|
|
93
|
+
* defined types based off objects that has been previously registered.
|
|
94
|
+
*
|
|
95
|
+
* @param optionalTypes - optional types to be in the Scope object
|
|
96
|
+
* @param requiredTypes - required types that need to be in the Scope object
|
|
97
|
+
*/
|
|
98
|
+
synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
|
|
99
|
+
/**
|
|
100
|
+
* Check if a given type is registered
|
|
101
|
+
* @param type - Type to check
|
|
102
|
+
*/
|
|
103
|
+
has(type: string): boolean;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export declare interface IProvideFluidDependencySynthesizer {
|
|
107
|
+
IFluidDependencySynthesizer: IFluidDependencySynthesizer;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { }
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Combined type for Optional and Required Async Fluid object Providers
|
|
3
|
+
*/
|
|
4
|
+
export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* This is a condensed version of Record that requires the object has all
|
|
8
|
+
* the FluidObject properties as its type, mapped to an object that implements
|
|
9
|
+
* the property or undefined.
|
|
10
|
+
*/
|
|
11
|
+
export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
12
|
+
[P in keyof T]?: Promise<T[P] | undefined>;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* This is a condensed version of Record that requires the object has all
|
|
17
|
+
* the FluidObject properties as its type mapped to an object that implements
|
|
18
|
+
* the property.
|
|
19
|
+
*/
|
|
20
|
+
export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
21
|
+
[P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* DependencyContainer is similar to a IoC Container. It takes providers and will
|
|
26
|
+
* synthesize an object based on them when requested.
|
|
27
|
+
*/
|
|
28
|
+
export declare class DependencyContainer<TMap> implements IFluidDependencySynthesizer {
|
|
29
|
+
private readonly providers;
|
|
30
|
+
private readonly parents;
|
|
31
|
+
get IFluidDependencySynthesizer(): this;
|
|
32
|
+
constructor(...parents: (IFluidDependencySynthesizer | undefined)[]);
|
|
33
|
+
/**
|
|
34
|
+
* Add a new provider
|
|
35
|
+
* @param type - Name of the Type T being provided
|
|
36
|
+
* @param provider - A provider that will resolve the T correctly when asked
|
|
37
|
+
* @throws - If passing a type that's already registered
|
|
38
|
+
*/
|
|
39
|
+
register<T extends keyof TMap = keyof TMap>(type: T, provider: FluidObjectProvider<Pick<TMap, T>>): void;
|
|
40
|
+
/**
|
|
41
|
+
* Remove a provider
|
|
42
|
+
* @param type - Name of the provider to remove
|
|
43
|
+
*/
|
|
44
|
+
unregister(type: keyof TMap): void;
|
|
45
|
+
/**
|
|
46
|
+
* {@inheritDoc (IFluidDependencySynthesizer:interface).synthesize}
|
|
47
|
+
*/
|
|
48
|
+
synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
|
|
49
|
+
/**
|
|
50
|
+
* {@inheritDoc (IFluidDependencySynthesizer:interface).has}
|
|
51
|
+
* @param excludeParents - If true, exclude checking parent registries
|
|
52
|
+
*/
|
|
53
|
+
has(type: string, excludeParents?: boolean): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Needed for backwards compatability.
|
|
56
|
+
*/
|
|
57
|
+
private getProvider;
|
|
58
|
+
private generateRequired;
|
|
59
|
+
private generateOptional;
|
|
60
|
+
private resolveProvider;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Multiple ways to provide a Fluid object.
|
|
65
|
+
*/
|
|
66
|
+
export declare type FluidObjectProvider<T> = NonNullable<T> | Promise<NonNullable<T>> | ((dependencyContainer: IFluidDependencySynthesizer) => NonNullable<T>) | ((dependencyContainer: IFluidDependencySynthesizer) => Promise<NonNullable<T>>);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* This is a condensed version of Record that requires the object has all
|
|
70
|
+
* the FluidObject properties as its type mapped to a string representation
|
|
71
|
+
* of that property.
|
|
72
|
+
*
|
|
73
|
+
* @example
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* { IFoo: "IFoo" }
|
|
77
|
+
* ```
|
|
78
|
+
*/
|
|
79
|
+
export declare type FluidObjectSymbolProvider<T> = {
|
|
80
|
+
[P in keyof T]?: P;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
|
|
87
|
+
* It allow for registering providers and uses synthesize to generate a new object with the optional
|
|
88
|
+
* and required types.
|
|
89
|
+
*/
|
|
90
|
+
export declare interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
|
|
91
|
+
/**
|
|
92
|
+
* synthesize takes optional and required types and returns an object that will fulfill the
|
|
93
|
+
* defined types based off objects that has been previously registered.
|
|
94
|
+
*
|
|
95
|
+
* @param optionalTypes - optional types to be in the Scope object
|
|
96
|
+
* @param requiredTypes - required types that need to be in the Scope object
|
|
97
|
+
*/
|
|
98
|
+
synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
|
|
99
|
+
/**
|
|
100
|
+
* Check if a given type is registered
|
|
101
|
+
* @param type - Type to check
|
|
102
|
+
*/
|
|
103
|
+
has(type: string): boolean;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export declare interface IProvideFluidDependencySynthesizer {
|
|
107
|
+
IFluidDependencySynthesizer: IFluidDependencySynthesizer;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export { }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.dom.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/.pnpm/typescript@4.5.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../common/core-interfaces/dist/disposable.d.ts","../../../../common/core-interfaces/dist/error.d.ts","../../../../common/core-interfaces/dist/events.d.ts","../../../../common/core-interfaces/dist/fluidRouter.d.ts","../../../../common/core-interfaces/dist/provider.d.ts","../../../../common/core-interfaces/dist/handles.d.ts","../../../../common/core-interfaces/dist/fluidLoadable.d.ts","../../../../common/core-interfaces/dist/fluidPackage.d.ts","../../../../common/core-interfaces/dist/logger.d.ts","../../../../common/core-interfaces/dist/index.d.ts","../../../../runtime/datastore/dist/fluidHandle.d.ts","../../../../common/client-utils/dist/base64Encoding.d.ts","../../../../common/client-utils/dist/bufferShared.d.ts","../../../../../node_modules/.pnpm/@types+events@3.0.0/node_modules/@types/events/index.d.ts","../../../../common/client-utils/dist/typedEventEmitter.d.ts","../../../../common/client-utils/dist/eventForwarder.d.ts","../../../../common/client-utils/dist/bufferNode.d.ts","../../../../common/client-utils/dist/hashFileNode.d.ts","../../../../common/client-utils/dist/performanceIsomorphic.d.ts","../../../../common/client-utils/dist/performanceNode.d.ts","../../../../common/client-utils/dist/indexNode.d.ts","../../../../common/client-utils/dist/trace.d.ts","../../../../common/client-utils/dist/index.d.ts","../../../../common/core-utils/dist/assert.d.ts","../../../../common/core-utils/dist/compare.d.ts","../../../../common/core-utils/dist/delay.d.ts","../../../../common/core-utils/dist/heap.d.ts","../../../../common/core-utils/dist/lazy.d.ts","../../../../common/core-utils/dist/promiseCache.d.ts","../../../../common/core-utils/dist/promises.d.ts","../../../../common/core-utils/dist/timer.d.ts","../../../../common/core-utils/dist/unreachable.d.ts","../../../../common/core-utils/dist/index.d.ts","../../../../utils/telemetry-utils/dist/telemetryTypes.d.ts","../../../../utils/telemetry-utils/dist/logger.d.ts","../../../../utils/telemetry-utils/dist/config.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/users.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/clients.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/config.d.ts","../../../../../node_modules/.pnpm/@fluidframework+common-definitions@0.20.1/node_modules/@fluidframework/common-definitions/dist/disposable.d.ts","../../../../../node_modules/.pnpm/@fluidframework+common-definitions@0.20.1/node_modules/@fluidframework/common-definitions/dist/events.d.ts","../../../../../node_modules/.pnpm/@fluidframework+common-definitions@0.20.1/node_modules/@fluidframework/common-definitions/dist/logger.d.ts","../../../../../node_modules/.pnpm/@fluidframework+common-definitions@0.20.1/node_modules/@fluidframework/common-definitions/dist/index.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/consensus.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/date.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/protocol.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/scopes.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/tokens.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/sockets.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/storage.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/summary.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@1.2.0/node_modules/@fluidframework/protocol-definitions/dist/index.d.ts","../../../../utils/telemetry-utils/dist/fluidErrorBase.d.ts","../../../../utils/telemetry-utils/dist/errorLogging.d.ts","../../../../utils/telemetry-utils/dist/error.d.ts","../../../../utils/telemetry-utils/dist/eventEmitterWithErrorHandling.d.ts","../../../../utils/telemetry-utils/dist/events.d.ts","../../../../utils/telemetry-utils/dist/mockLogger.d.ts","../../../../utils/telemetry-utils/dist/thresholdCounter.d.ts","../../../../utils/telemetry-utils/dist/sampledTelemetryHelper.d.ts","../../../../utils/telemetry-utils/dist/utils.d.ts","../../../../utils/telemetry-utils/dist/index.d.ts","../../../../common/container-definitions/dist/audience.d.ts","../../../../common/container-definitions/dist/fluidPackage.d.ts","../../../../common/container-definitions/dist/browserPackage.d.ts","../../../../common/driver-definitions/dist/urlResolver.d.ts","../../../../common/driver-definitions/dist/driverError.d.ts","../../../../common/driver-definitions/dist/storage.d.ts","../../../../common/driver-definitions/dist/index.d.ts","../../../../common/container-definitions/dist/deltas.d.ts","../../../../common/container-definitions/dist/error.d.ts","../../../../common/container-definitions/dist/runtime.d.ts","../../../../common/container-definitions/dist/fluidModule.d.ts","../../../../common/container-definitions/dist/loader.d.ts","../../../../common/container-definitions/dist/index.d.ts","../../../../runtime/runtime-definitions/dist/attribution.d.ts","../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts","../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts","../../../../runtime/runtime-definitions/dist/garbageCollection.d.ts","../../../../runtime/runtime-definitions/dist/protocol.d.ts","../../../../runtime/runtime-definitions/dist/summary.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/identifiers.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/persisted-types/0.0.1.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/persisted-types/index.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/idCompressor.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/index.d.ts","../../../../runtime/runtime-definitions/dist/dataStoreContext.d.ts","../../../../runtime/runtime-definitions/dist/index.d.ts","../../../../runtime/datastore-definitions/dist/storage.d.ts","../../../../runtime/datastore-definitions/dist/dataStoreRuntime.d.ts","../../../../runtime/datastore-definitions/dist/channel.d.ts","../../../../runtime/datastore-definitions/dist/jsonable.d.ts","../../../../runtime/datastore-definitions/dist/serializable.d.ts","../../../../runtime/datastore-definitions/dist/index.d.ts","../../../../runtime/datastore/dist/dataStoreRuntime.d.ts","../../../../runtime/datastore/dist/index.d.ts","../types.d.ts","../IFluidDependencySynthesizer.d.ts","../dependencyContainer.d.ts","../index.d.ts","../../src/test/dependencyContainer.spec.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.6.3.0/node_modules/@fluidframework/synthesize/dist/types.d.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.6.3.0/node_modules/@fluidframework/synthesize/dist/IFluidDependencySynthesizer.d.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.6.3.0/node_modules/@fluidframework/synthesize/dist/dependencyContainer.d.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.6.3.0/node_modules/@fluidframework/synthesize/dist/index.d.ts","../../src/test/types/validateSynthesizePrevious.generated.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/assert.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/assert/strict.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/globals.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/async_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/buffer.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/child_process.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/cluster.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/console.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/constants.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/crypto.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/dgram.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/dns.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/dns/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/domain.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/events.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/fs.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/fs/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/http.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/http2.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/https.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/inspector.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/module.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/net.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/os.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/path.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/perf_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/process.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/punycode.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/querystring.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/readline.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/repl.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/stream.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/stream/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/stream/consumers.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/stream/web.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/string_decoder.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/test.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/timers.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/timers/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/tls.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/trace_events.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/tty.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/url.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/util.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/v8.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/vm.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/wasi.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/worker_threads.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/zlib.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/globals.global.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/ts4.8/index.d.ts","../../../../../node_modules/.pnpm/@types+mocha@9.1.1/node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"927cb2b60048e1395b183bf74b2b80a75bdb1dbe384e1d9fac654313ea2fb136","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"e6a4c5d2de9826a3ba6ae980718b56288f7a63b7c3da3264eecd64005efb93e0","7f51c285f4b814e94a6261be290c1f5457985bb8822778dee63b1213a53ed295","1a79a355d81a5f4a13236abd8eab887231be0c1de5dd5596ee3579507738ad2f","766d8c595f94c9fe9dbb779b60d7a4d6d7a6526ef22090ccedbc658c2d8c77e0","886caa9a9dfc44747e78482fcfaf3efc3cf58e76e492c634be632c2e9455d20a","42f35378f00626bd70026a9d977901214a00c43c67477d3a53fa6bbf5979d153","8692a1ed3a979fa000b62e01f8d33cf940e030b7af50945176428f9cdd4dca80","23ecd927772206248ddfbccaaab19d44ed1de4c8974f1925fb2db71d3cf64259","b02a21f4246834a23a48220a152092b3ab9a62b466a7fd7a36ee12113101b1ce","66824e3d15fc78a3801cd65e9c0c6d1b49829d4ad4b95d0cbe188fd1ab073cc0","470866668f63e372951091f09b059c8c3e93d2683db5ce81ae3aba6babb85b2f","7112c0d71827b4364af0b1eff05155cc5cf6deb097db154fee91a655333d9cf1","076b6366d3b47a8a8ee77466bdc03b275275bd74683b4c39185b50dd6b1ea004","400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935","6e935c98f94ea50e785203e05a61167ce4b49adc0a246c39ba7fc08603faf2df","088a3c9629bc5ebef938497adcd19eb477052700e8fa558d814d022632dc6281","14d13f9fbd45c6c7a945dce89597e27228f0c52fd77b0675e29f1c5daf48fdc5","4fb1c2c9198b2f4ef9d4d714fe2dea20bfa28faa267e4f178b0665e91ca19977","768154060c6e7683db7ee5ca06adcc8e0f7ed246c785843835ae006345876033","b0a1d2a01909faf47e60e66d8c11591fc09952882336fe6f179157c94e99e40f","cbc30ee9638dfc01433d6744616e943a08ea49e612641a9d32cb591540f3b745","273cafb90b9f1761407cb4a0e767458abec0045fc8c75048c724195954e0409b","16a6622b04269b445d26f79e1cfe294dbce606ab89ac031dfc5d897400c2a05c","cd907bda2734ba460eaf34446b8c6fb3a557c64fc1ef71bd2d4d969b3df466bc","173b80dafcefbeac9a023b545811698f9fff3d0bfd923e71949630c6662dc5c5","fabf53b6038fb84d618fe396f864979f8f6b26b18bd25d9cb01f153b07309047","3492be117d889e6ed80e99603f4fc105b533ee66853587e8a6affdb335cda68a","05c1168ca40f233c585515704176e9fff50bd696c6a704592db948fa15587a71","145a2f2032abdf710a7da87db76147469c9187f8326ff36013bb310bf7983280","4132fa047e6af739d2ce3d3b705ee7a748fb9aa1e7ae39d0df76afdd1ef3aa4a","f7594c36bb7e4a4936df3ba1e078f39009a0f3a39bc76899a075d1c690752002","d1d4798b6250562da877604a7271fda733d7b3e7b6bf9ea312b187bc5064ec5b","2e7c388cc40b7abe4d9f2fc6c3d76585e6b6df5cadac7a0cfaa03735377e10db","2be3c7c8992a2bc2f211671695e5f2521c1cfbebbdfa1c3c1d6c6d37b7f72a5f","a4cfa6181af45a6d26d59bb46dbf0a9fd2f59467c5f7a2f2288b0c07a6e5718f","19f5106dcc5d662da6dcd203b17047fb1b93257485a798a2ac8f1fd7c5a17dff","7da49d6be542ee6f7f8810a19ffe351a93562ea99ac68a93d0a701f344389b05","c21365787186bd17f0ed204809bdfd0b50130494593fd1c0657b5b1a2d87afcc","3e429571f8c1d2355f0c105b706308a24d39b8949ca5868173cf0f75f8e40f49","739e7da9825029dead52b83a8e58525f8ecc5881ed25eb09744c9cad3ad90233","471510298742cdd3a5613a7eb84efd472abc2ef8bae510a767ac0bff05d3ae9d","d2de12ae0f86d9dae881b4c1534063fce79b19035c1b507954b11b062ece6dc7","910acae3ceaba3aba35fb52656476aca547b1585f4a10cc272acb50bb08692a6","0f75868c59fb4a2a90c582e505f1430589b7b1e104717bb8e815b20be65d6aa2","7c3f74377e2f69f3af629df55db463ac4925387856002def14fe1315b8d510f3","0cddcb7ba04b5b29e94625569b51a617c4c9cab53aef766a5e81525462e713c7","66489d246ba00e82db76453f7be5be7cd675c142889b72a1ff55ca0217eb1d79","57c96478eedfdd3475a42d496d9657d8630923f67f948ecbb778c6b648816fb8","3688605c5b12fec84e5df13f5c929eb7587ec78ff0d24c66b5aa5d9efb0e3bcc","a52c6afbe0ec23184e76be73d8ca1bcb49eba8a365ba14edc5a65f029ee70f13","1e1d138e69649922c821f854eb00ba9810589aebef9b4750ca0da9b245aa5854","aed2635e02adec91ce142ee599b4fdef2f1be7dcf453f3257243bad8017dfca6","15c1facca408116f02bd56703edcec13f9cf7f6019d26efbab3f082d11222eb5","52cadac7aef71ef776fec121fd6fc585a38d2b9c46f241b7d797af6d44992777","cf51f0de6c7e4a99bd53ae051683643602513b1dcc9952b228ea34d44b16592f","4d9865a4442693fa12e6e77fa03c79c1ecdd29ea7853ac51de21d6c260c52949","3061ae5102975780a960039017f83cda8699f21bc335144cb59dcb8555093839","c988137eb41d93423ba0cfcf1158c80e91697cd1cf806aabc2e7fb6140036f82","a5abf69f7817f5dc8e4c3001991c95c77ebc111f0ec527de36164caa6246713e","4235efd3136ce2441c583051d084420c44aa5b7d4783be076ab4bf30429d9936","06fa11d659ece5e3a2fca4adcddcf2ff00be96c00b56c51f8d4c0a53ecb3399c","b068d31f0a519ab90a059fc53bf6f001e2728d995f955199e23cc777689365e5","62cccb71cc5f41ae03c8167140da03f442a7cd816a0a987136419fbb87d89227","f57abead101a3ccd12d52217a20e103de355f33a23eec82c360435ab2a95a531","65dd3e8a3b653eb75c9950f721af21d0bac57421fc05beb63a08b7fe1e1b7300","09fce7d86f377bdd2c4753c26b44034bec2ae51dd8239e538d601028b3a0cc1c","297bf92969564b1501ce6b9bb7a46783e4c6a12423832bf487cf8d4b26927d66","f0a2d0180d3d7bd9ac60187fb379e3ea1ce58a99cab4f40bea720a2df9025424","7d4f2764bec71a8a6d0705b9238c0330a97861626a2b0ea5ee1ede79863ee7ed","1ae9ee2f1a0b40e50a1a000c152034955ef493d0cc68525ed457c99fb96a9fee","f791fa974acb24c34324e79810db90643e82c13b32e41674f25582e44e7e4e72","d4952f0056e8a3cee21827e7d1d3c6b1655977992aaec06ce2bd37922e2e7ec1","8023ac345236d4f16563d8dee36b7db6a3b58d2d478c2de674cbd70ce0249737","72b1b01a46281e40a20bf45c63c9f0f5d16728923194bab73e920f0a4e007102","749a73fd7df5476b352b56f3e28f0349ac5b21bb45230c84b47fdefff1d62262","125cf8875d0223255292df81aa6cf525f9ea4743a8d6608e0c117ff0153218e5","bcb2b5ec9bb438a4a2ec0b66e7c623ed32784dedc3ef49b6ef48c700085dd803","679b5b0c89d9f3dc3b64bbb73ac7172b8ca05b9e26ef502f52a71c3411c84723","9f60552d7e485c84c18e4b6456500b291e91467fb998efd27ff65b9a5443b6c1","159e48a2b2e5e45a9902696f1f0871cb883db2b33b34558a31848432abd53cea","1b8af5914fca9b669953e9088a90dc3f64dc581cc2b04c680ed2c0f0feb1d8e0","331f38ebbf6919a32a355451bb5c64f453e77b47c4be2ae6993e5e3eba4c707b","a5b0987fcf322b1ed52c73640609c84c58be8c1a14812d3428b704812d24bc17","cec0fc2dc35982e8b1ac694faa6c689675a4f7a6114a42e0c19e1fe57f09d8a7","089e4f73ebd2e9c924dc844fe576340b544282f2aa5a958cc44934b14da08341","4094d791534eff678c749e986b5d242ac665ebdf8b845f371caff7de6a6634ee","a0635207a75a2c2698a18216b082429eef17c7c890501c530a7f5125b6a3c44a","6bc535080ef2e81c2003929a4c053b5a6f03468386d8c7fe116d0c53a360ac95","f2f75931453414c93a462e16d1c8705792402836c8337616de10260a7740606e","496a23c2c808f70a0e7421f9d115fbd91ac62765e21cfdbc05b20e9b8f112eeb","7168c1cc970fd8aa323edad4e28f9a2ce0a61004104f3ba8b3e7d2334ec0808c","9ff2dc9df708126b098716fdf58738ac48fc4ec11ca0de5347f71e9d35db4098","ba436229bac9b8d1d6dd7f28d17f6b55f8538e259a605bf918b0041a6c53cc9c","89113d949c98774f47f96209bd076d6b53085b1b908fb86f694633873ddb8ca1","b4b33eb1725bf4b411b5b631515d1d66d2f2555c00c0022dd0d14ee0dc01e943","ad9d4046f9283edf3f803118d70afd0736bd4b0bd0d3d5e4e06d8a9df121cfc8","8a22564ed47fbc78896a9dea2f7bb46dfb85605864f1532c2e51ad66fd421af3","b39f8ed8e78b9d2f7b2bf20ddb9a608a505ba770870e1104eef8e64e81d60c86","f00155eae1bf0b4edea1230126aff57c010a14f8542291a2848dd3846db4cc5d","2508a122a9fbd08c5b7351d50e055793e95aecf2abdff51de831959f54e3b100","ff32ff7b4cd23c94876e916295b3b16dd9f9591ece804ac9da6a1cc161c12b4f","0019f06f88e66fa5371d8eebb0e81dc749e54a8f65f8ec9b59760c77e759e46e","b39f8ed8e78b9d2f7b2bf20ddb9a608a505ba770870e1104eef8e64e81d60c86","f00155eae1bf0b4edea1230126aff57c010a14f8542291a2848dd3846db4cc5d","2508a122a9fbd08c5b7351d50e055793e95aecf2abdff51de831959f54e3b100","3b53dc0f9aff4280f9e4a59cf1ec8c5860a8c1d08672e7bea7e8b1bb57e9ff4d","d655233b800bf949a46bdf90c9830d1aa4e3017864e2f18ec25ad4c3511e891e","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"a558bcef01ec7b06465c6c754d0c2b47ecc8d3e877051eac3014afa11ed51248","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"ad0d1ec49330f9155698108dcd923031626500d80006e94cc07102c7be907ec8","affectsGlobalScope":true},"fa9257e0d44930c1c6765fec51133a65721a8cdfc385d92926b64f78c662b7bb","6816b69b0921d55c3fe01e614a11af57e87209b8ef96b73c09bcce827a71d7d7",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","6bf5e8ef80f3a5acb7350a8bfaf537da6102e823b43b5d324e2fbe98bcda76f0","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","1fe890b27eb2539f40c281729b863111453b8dd848188d0f6aa8676c2c03286c","18f177e442b4cdbc5efb82e7c344201a11e4a4342ff1f19f8765b849e254e2ec","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","06ccebc2c2db57d6bdbca63b71c4ae5e6ddc42d972fd8f122d4c1a28aa111b25",{"version":"81e8508d1e82278f5d3fee936f267e00c308af36219bfcee2631f9513c9c4017","affectsGlobalScope":true},"463efd627d153a27705e807a001106f9b8b3eb7f8ee17618b67ee35dfc226f5e","58e6ce808ad556f72c4b882546b7cd023c7f5804c854edf77b6a8a6b59b68644","4198acced75d48a039c078734c4efca7788ff8c78609c270a2b63ec20e3e1676","0034f55fd438f31ba1f0b340dceef3b77d9a89f5218e5875a990b4eff2a5714d","288dd0c774a5c6e3964084c7a2bc8cc6b746d70f44a9892d028d04f915cf7ebc","d61c7c41eb1960b1285e242fd102c162b65c0522985b839fadda59874308a170",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"f7011a8d17a06e60dc591fd89b7bf40507d36a5a4d5913fa0eff4e18da001759","d10f4929cd610c26926d6784fc3f9f4120b789c03081b5d65fb2d2670a00fa04","fb0989383c6109f20281b3d31265293daefdd76d0d30551782c1654e93704f48","a4210a84a82b3e7a8cec5b2f3616e46d523f4f10cc1576d8f2fb89d0987b341e",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","22d48bfb37261136423ac687f1fa7bd4dda3083f767416d409a8260cf92bc8fc","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","1269471ffb1fe65ca0430877d1fd1200d8432505df65027dac78ec1a7e847a08","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff","698ab660b477b9c2cd5ccbd99e7e7df8b4a6134c1f5711fa615ed7aab51cb7f7","33eee034727baf564056b4ea719075c23d3b4767d0b5f9c6933b81f3d77774d2","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637","a4471d2bdba495b2a6a30b8765d5e0282fa7009d88345a9528f73c37869d3b93",{"version":"aee7013623e7632fba449d4df1da92925b27d9b816cb05546044dbfe54c88ef4","affectsGlobalScope":true},"e10177274a35a9d07c825615340b2fcde2f610f53f3fb40269fd196b4288dda6","c9d70d3d7191a66a81cb554557f8ed1cf736ea8397c44a864fe52689de18865a","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"77c64e668dc7e3db451a6c966e475bc9594678a3675489dc8fc2c1240b83c524","affectsGlobalScope":true},"fdf6f22ef3df566a42e056cd430623b691eccca7c83b1c3ba946c0cfb2595e32","196aeae43911b66bac5d87d7eba460c4d27561257737931f5a1e6e1babcf55a6","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"e3685a8957b4e2af64c3f04a58289ee0858a649dbcd963a2b897fe85858ae18a",{"version":"3f6d6465811321abc30a1e5f667feed63e5b3917b3d6c8d6645daf96c75f97ba","affectsGlobalScope":true}],"options":{"declaration":false,"declarationMap":false,"esModuleInterop":true,"inlineSources":true,"module":1,"noImplicitAny":false,"noUnusedLocals":true,"outDir":"./","rootDir":"../../src/test","sourceMap":true,"strict":true,"target":7},"fileIdsList":[[191],[80,81,82,191],[77,191],[78,83,191],[77,78,79,84,85,86,87,88,89,90,91,191],[78,79,86,88,191],[85,191],[142,191],[142,143,191],[142,143,144,191],[145,191],[147,191],[150,191],[151,156,182,191],[152,162,163,170,179,190,191],[152,153,162,170,191],[154,191],[155,156,163,171,191],[156,179,187,191],[157,159,162,170,191],[158,191],[159,160,191],[161,162,191],[162,191],[162,163,164,179,190,191],[162,163,164,179,191],[165,170,179,190,191],[162,163,165,166,170,179,187,190,191],[165,167,179,187,190,191],[147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197],[162,168,191],[169,190,191],[159,162,170,179,191],[171,191],[172,191],[150,173,191],[174,189,191,195],[175,191],[176,191],[162,177,191],[177,178,191,193],[151,162,179,180,181,191],[151,179,181,191],[179,180,191],[182,191],[183,191],[162,185,186,191],[185,186,191],[156,170,187,191],[188,191],[170,189,191],[151,165,176,190,191],[156,191],[179,191,192],[191,193],[191,194],[151,156,162,164,173,179,190,191,193,195],[179,191,196],[50,55,106,162,191],[57,191],[52,53,55,56,59,61,62,191],[57,58,60,191],[59,191],[50,106,162,191],[92,162,191],[104,191],[50,92,106,109,191],[50,106,191],[50,104,106,112,191],[50,103,104,105,106,110,111,112,113,114,191],[50,92,103,104,106,109,110,111,112,113,191],[50,92,103,104,106,109,110,111,114,191],[46,191],[44,45,47,191],[41,42,43,44,45,46,47,48,49,191],[64,65,66,67,68,69,70,71,72,191],[106,191],[106,107,108,191],[50,92,106,107,191],[137,191],[137,138,191],[137,138,139,191],[140,191],[50,73,106,136,137,138,140,147,191],[140,145,191],[50,92,106,128,129,130,191],[50,92,106,115,128,134,191],[129,130,131,132,133,191],[50,106,132,191],[50,63,92,102,106,115,128,134,191],[51,135,191],[92,191],[50,92,106,109,115,117,118,119,120,121,126,191],[127,191],[117,191],[122,124,191],[122,124,125,191],[122,191],[123,191],[116,117,118,119,120,121,126,127,191],[50,92,106,119,191],[50,73,74,75,106,191],[50,92,93,94,106,191],[50,74,93,106,191],[50,63,106,191],[74,162,191],[74,75,76,93,94,95,96,97,98,99,100,101,191],[50,63,74,106,191],[50,74,106,191],[74,191]],"referencedMap":[[80,1],[81,1],[83,2],[82,1],[78,3],[79,1],[84,4],[85,1],[92,5],[86,1],[87,1],[89,6],[90,7],[91,1],[88,3],[77,1],[143,8],[144,9],[145,10],[142,11],[54,1],[199,1],[147,12],[148,12],[150,13],[151,14],[152,15],[153,16],[154,17],[155,18],[156,19],[157,20],[158,21],[159,22],[160,22],[161,23],[162,24],[163,25],[164,26],[149,1],[197,1],[165,27],[166,28],[167,29],[198,30],[168,31],[169,32],[170,33],[171,34],[172,35],[173,36],[174,37],[175,38],[176,39],[177,40],[178,41],[179,42],[181,43],[180,44],[182,45],[183,46],[184,1],[185,47],[186,48],[187,49],[188,50],[189,51],[190,52],[191,53],[192,54],[193,55],[194,56],[195,57],[196,58],[8,1],[9,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[4,1],[23,1],[20,1],[21,1],[22,1],[24,1],[25,1],[26,1],[5,1],[27,1],[28,1],[29,1],[30,1],[6,1],[31,1],[32,1],[33,1],[34,1],[7,1],[39,1],[35,1],[36,1],[37,1],[38,1],[1,1],[40,1],[52,1],[57,1],[53,1],[56,59],[58,60],[63,61],[61,62],[59,1],[60,63],[62,1],[55,64],[103,65],[105,66],[110,67],[111,68],[113,69],[104,1],[115,70],[114,71],[112,72],[41,1],[42,68],[43,1],[47,73],[48,1],[44,1],[46,74],[50,75],[49,1],[45,1],[64,1],[65,1],[66,1],[67,1],[73,76],[68,1],[69,1],[70,1],[71,1],[72,1],[107,77],[109,78],[108,79],[106,68],[138,80],[139,81],[140,82],[137,83],[141,84],[146,85],[131,86],[130,87],[134,88],[132,1],[133,89],[129,1],[135,90],[51,68],[136,91],[116,92],[127,93],[117,94],[118,95],[119,1],[125,96],[122,1],[126,97],[123,98],[124,99],[128,100],[120,92],[121,101],[76,102],[95,103],[94,104],[96,105],[97,106],[93,68],[102,107],[75,108],[98,109],[100,109],[74,68],[99,110],[101,68]],"exportedModulesMap":[[80,1],[81,1],[83,2],[82,1],[78,3],[79,1],[84,4],[85,1],[92,5],[86,1],[87,1],[89,6],[90,7],[91,1],[88,3],[77,1],[143,8],[144,9],[145,10],[142,11],[54,1],[199,1],[147,12],[148,12],[150,13],[151,14],[152,15],[153,16],[154,17],[155,18],[156,19],[157,20],[158,21],[159,22],[160,22],[161,23],[162,24],[163,25],[164,26],[149,1],[197,1],[165,27],[166,28],[167,29],[198,30],[168,31],[169,32],[170,33],[171,34],[172,35],[173,36],[174,37],[175,38],[176,39],[177,40],[178,41],[179,42],[181,43],[180,44],[182,45],[183,46],[184,1],[185,47],[186,48],[187,49],[188,50],[189,51],[190,52],[191,53],[192,54],[193,55],[194,56],[195,57],[196,58],[8,1],[9,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[4,1],[23,1],[20,1],[21,1],[22,1],[24,1],[25,1],[26,1],[5,1],[27,1],[28,1],[29,1],[30,1],[6,1],[31,1],[32,1],[33,1],[34,1],[7,1],[39,1],[35,1],[36,1],[37,1],[38,1],[1,1],[40,1],[52,1],[57,1],[53,1],[56,59],[58,60],[63,61],[61,62],[59,1],[60,63],[62,1],[55,64],[103,65],[105,66],[110,67],[111,68],[113,69],[104,1],[115,70],[114,71],[112,72],[41,1],[42,68],[43,1],[47,73],[48,1],[44,1],[46,74],[50,75],[49,1],[45,1],[64,1],[65,1],[66,1],[67,1],[73,76],[68,1],[69,1],[70,1],[71,1],[72,1],[107,77],[109,78],[108,79],[106,68],[138,80],[139,81],[140,82],[137,83],[141,84],[146,85],[131,86],[130,87],[134,88],[132,1],[133,89],[129,1],[135,90],[51,68],[136,91],[116,92],[127,93],[117,94],[118,95],[119,1],[125,96],[122,1],[126,97],[123,98],[124,99],[128,100],[120,92],[121,101],[76,102],[95,103],[94,104],[96,105],[97,106],[93,68],[102,107],[75,108],[98,109],[100,109],[74,68],[99,110],[101,68]],"semanticDiagnosticsPerFile":[80,81,83,82,78,79,84,85,92,86,87,89,90,91,88,77,143,144,145,142,54,199,147,148,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,149,197,165,166,167,198,168,169,170,171,172,173,174,175,176,177,178,179,181,180,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,31,32,33,34,7,39,35,36,37,38,1,40,52,57,53,56,58,63,61,59,60,62,55,103,105,110,111,113,104,115,114,112,41,42,43,47,48,44,46,50,49,45,64,65,66,67,73,68,69,70,71,72,107,109,108,106,138,139,140,137,141,146,131,130,134,132,133,129,135,51,136,116,127,117,118,119,125,122,126,123,124,128,120,121,76,95,94,96,97,93,102,75,98,100,74,99,101]},"version":"4.5.5"}
|
|
1
|
+
{"program":{"fileNames":["../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es5.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.dom.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../node_modules/.pnpm/typescript@5.1.6/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../common/core-interfaces/dist/disposable.d.ts","../../../../common/core-interfaces/dist/error.d.ts","../../../../common/core-interfaces/dist/events.d.ts","../../../../common/core-interfaces/dist/fluidRouter.d.ts","../../../../common/core-interfaces/dist/provider.d.ts","../../../../common/core-interfaces/dist/handles.d.ts","../../../../common/core-interfaces/dist/fluidLoadable.d.ts","../../../../common/core-interfaces/dist/fluidPackage.d.ts","../../../../common/core-interfaces/dist/logger.d.ts","../../../../common/core-interfaces/dist/index.d.ts","../../../../runtime/datastore/dist/fluidHandle.d.ts","../../../../common/client-utils/dist/base64Encoding.d.ts","../../../../common/client-utils/dist/bufferShared.d.ts","../../../../../node_modules/.pnpm/@types+events@3.0.1/node_modules/@types/events/index.d.ts","../../../../common/client-utils/dist/typedEventEmitter.d.ts","../../../../common/client-utils/dist/eventForwarder.d.ts","../../../../common/client-utils/dist/bufferNode.d.ts","../../../../common/client-utils/dist/hashFileNode.d.ts","../../../../common/client-utils/dist/performanceIsomorphic.d.ts","../../../../common/client-utils/dist/performanceNode.d.ts","../../../../common/client-utils/dist/indexNode.d.ts","../../../../common/client-utils/dist/trace.d.ts","../../../../common/client-utils/dist/index.d.ts","../../../../common/core-utils/dist/assert.d.ts","../../../../common/core-utils/dist/compare.d.ts","../../../../common/core-utils/dist/delay.d.ts","../../../../common/core-utils/dist/heap.d.ts","../../../../common/core-utils/dist/lazy.d.ts","../../../../common/core-utils/dist/promiseCache.d.ts","../../../../common/core-utils/dist/promises.d.ts","../../../../common/core-utils/dist/timer.d.ts","../../../../common/core-utils/dist/unreachable.d.ts","../../../../common/core-utils/dist/index.d.ts","../../../../utils/telemetry-utils/dist/telemetryTypes.d.ts","../../../../utils/telemetry-utils/dist/logger.d.ts","../../../../utils/telemetry-utils/dist/config.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/users.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/clients.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/config.d.ts","../../../../../node_modules/.pnpm/@fluidframework+common-definitions@1.0.0/node_modules/@fluidframework/common-definitions/dist/disposable.d.ts","../../../../../node_modules/.pnpm/@fluidframework+common-definitions@1.0.0/node_modules/@fluidframework/common-definitions/dist/events.d.ts","../../../../../node_modules/.pnpm/@fluidframework+common-definitions@1.0.0/node_modules/@fluidframework/common-definitions/dist/logger.d.ts","../../../../../node_modules/.pnpm/@fluidframework+common-definitions@1.0.0/node_modules/@fluidframework/common-definitions/dist/index.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/consensus.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/date.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/protocol.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/scopes.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/tokens.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/sockets.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/storage.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/summary.d.ts","../../../../../node_modules/.pnpm/@fluidframework+protocol-definitions@3.0.0/node_modules/@fluidframework/protocol-definitions/dist/index.d.ts","../../../../utils/telemetry-utils/dist/fluidErrorBase.d.ts","../../../../utils/telemetry-utils/dist/errorLogging.d.ts","../../../../utils/telemetry-utils/dist/error.d.ts","../../../../utils/telemetry-utils/dist/eventEmitterWithErrorHandling.d.ts","../../../../utils/telemetry-utils/dist/events.d.ts","../../../../utils/telemetry-utils/dist/mockLogger.d.ts","../../../../utils/telemetry-utils/dist/thresholdCounter.d.ts","../../../../utils/telemetry-utils/dist/sampledTelemetryHelper.d.ts","../../../../utils/telemetry-utils/dist/utils.d.ts","../../../../utils/telemetry-utils/dist/index.d.ts","../../../../common/container-definitions/dist/audience.d.ts","../../../../common/container-definitions/dist/fluidPackage.d.ts","../../../../common/container-definitions/dist/browserPackage.d.ts","../../../../common/driver-definitions/dist/urlResolver.d.ts","../../../../common/driver-definitions/dist/driverError.d.ts","../../../../common/driver-definitions/dist/storage.d.ts","../../../../common/driver-definitions/dist/index.d.ts","../../../../common/container-definitions/dist/deltas.d.ts","../../../../common/container-definitions/dist/error.d.ts","../../../../common/container-definitions/dist/runtime.d.ts","../../../../common/container-definitions/dist/fluidModule.d.ts","../../../../common/container-definitions/dist/loader.d.ts","../../../../common/container-definitions/dist/index.d.ts","../../../../runtime/runtime-definitions/dist/attribution.d.ts","../../../../runtime/runtime-definitions/dist/dataStoreFactory.d.ts","../../../../runtime/runtime-definitions/dist/dataStoreRegistry.d.ts","../../../../runtime/runtime-definitions/dist/garbageCollection.d.ts","../../../../runtime/runtime-definitions/dist/protocol.d.ts","../../../../runtime/runtime-definitions/dist/summary.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/identifiers.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/persisted-types/0.0.1.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/persisted-types/index.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/idCompressor.d.ts","../../../../runtime/runtime-definitions/dist/id-compressor/index.d.ts","../../../../runtime/runtime-definitions/dist/dataStoreContext.d.ts","../../../../runtime/runtime-definitions/dist/index.d.ts","../../../../runtime/datastore-definitions/dist/storage.d.ts","../../../../runtime/datastore-definitions/dist/dataStoreRuntime.d.ts","../../../../runtime/datastore-definitions/dist/channel.d.ts","../../../../runtime/datastore-definitions/dist/jsonable.d.ts","../../../../runtime/datastore-definitions/dist/serializable.d.ts","../../../../runtime/datastore-definitions/dist/index.d.ts","../../../../runtime/datastore/dist/dataStoreRuntime.d.ts","../../../../runtime/datastore/dist/index.d.ts","../types.d.ts","../IFluidDependencySynthesizer.d.ts","../dependencyContainer.d.ts","../index.d.ts","../../src/test/dependencyContainer.spec.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.7.1.0/node_modules/@fluidframework/synthesize/dist/types.d.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.7.1.0/node_modules/@fluidframework/synthesize/dist/IFluidDependencySynthesizer.d.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.7.1.0/node_modules/@fluidframework/synthesize/dist/dependencyContainer.d.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.7.1.0/node_modules/@fluidframework/synthesize/dist/index.d.ts","../../src/test/types/validateSynthesizePrevious.generated.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/assert.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/assert/strict.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/globals.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/async_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/buffer.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/child_process.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/cluster.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/console.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/constants.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/crypto.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/dgram.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/diagnostics_channel.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/dns.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/dns/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/domain.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/events.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/fs.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/fs/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/http.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/http2.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/https.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/inspector.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/module.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/net.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/os.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/path.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/perf_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/process.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/punycode.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/querystring.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/readline.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/repl.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/stream.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/stream/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/stream/consumers.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/stream/web.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/string_decoder.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/test.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/timers.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/timers/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/tls.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/trace_events.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/tty.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/url.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/util.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/v8.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/vm.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/wasi.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/worker_threads.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/zlib.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/globals.global.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.58/node_modules/@types/node/index.d.ts","../../../../../node_modules/.pnpm/@types+mocha@9.1.1/node_modules/@types/mocha/index.d.ts"],"fileInfos":[{"version":"f59215c5f1d886b05395ee7aca73e0ac69ddfad2843aa88530e797879d511bad","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"3dda5344576193a4ae48b8d03f105c86f20b2f2aff0a1d1fd7935f5d68649654","affectsGlobalScope":true},{"version":"35299ae4a62086698444a5aaee27fc7aa377c68cbb90b441c9ace246ffd05c97","affectsGlobalScope":true},{"version":"9d9885c728913c1d16e0d2831b40341d6ad9a0ceecaabc55209b306ad9c736a5","affectsGlobalScope":true},{"version":"17bea081b9c0541f39dd1ae9bc8c78bdd561879a682e60e2f25f688c0ecab248","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"f06948deb2a51aae25184561c9640fb66afeddb34531a9212d011792b1d19e0a","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"47542d5c743db193b73804d550724b343855f1ab65a466a50af537c969c73e33","fafa78bd31256284d9b9eedc13f6abc59cd7cf719c9ac0fb410fbb9a95e92852","2b7b0fc69b43ebf1018625a38f700f523d2d2fdb01a711712ba67ef21489c7fb","0ede0fc53ccb95e107efc8fecd1456b5b713cf75cc9c5928a1398b6bd086bcee","21c16ed4d94993bf4af1a45f30acb182e04a810e27e88388a4f295d5dfa8e082","d7b2f41a6aec8f093838ef4b5ff0e484833e915f1963a25581a0ef22dcd826c9","532719326056cc0c0e48c1a9994a89ccf52a1b664169a198d2b4a3dacb30baf8","f0026b1e7410d238ea1670a127714337052cc11b84835e8a70bfbe249ae5de96","9a81ecc69e3c964ca40c8a75afb59aa6ef303a9c0decfc3ea2cd363a32bfa4f6","de9deabbfcf24effca243284bbc6c8fc27747258680d65cddb3ab1a4ad0bd548","481efcd76f18ec9e2521e33bc6ecb1e902b959b864710c2f1f350b1f659fe50a","b6e4b2df38794096aba6944a0941accf45da9b97d2da719dd8a95d883b0fc7b1","023683fdc80a7f5c8dc1426427f328373aa309bf28be20bb7ff9b5fe1a3010c3","e5da7fdc42b400e8cf1121991f3c32efc0750ccd76024db6cad68e38e91a60a3","c650b77495b9647c323764638608138df08a74ea6c0e7615e8d89e616eda1848","a27604fa55f98434d3243c5ae96842cc93df7d432e476a94c15a05ca3c6ebe02","8e19ab1cad076ffb9360750c8d1d3e236f88ed9f32af62e5afaa3debe9a66a0b","9dcebbc6c3ba0e08658aa8ac54a9d605e252185b7c227a1cec09a52cdb736e1d","c833d70472f361988cb4024fb5913701d0d02bbf0ff8248184d997ecbde98204","81e61854639e7a8747819f007a0e7fe0e3450462b64a4eb4eae25a5b8205ea41","e3783f1ac89a7d3af510c74b1d14b57e605b452c36520e16f3e558b7f272dc00","5fa5ca164fea16db2c611d502b3f5c82c1f02417507de0c4debeaf924f771a7a","c777a1cf10ad3a701a58fd92828d6609544f827d2ff2c2aa7445f5ec9c7dee55","9f8834362d670329868eabbced46f19f5f8fffd3b64ba5c42b992bf03e0c2eae","e10c973ec26b46831495a1af51d0d6c4462979c61c186756d55a6d5d360686a1","63c819ecfd6a8b2e8676327946727f7a25db286d71a3042f0ed8a9752ff6ab8a","f7a11fab5bf6646bb63f86fe7829e5dc4aa92abf6194f97707596015b8537795","c1d76b0a16ee9a263e626eed359dfa67aa69b87be23ab83cdc7a7e657b395135","6049c243a189c96661dcb945dff0888047aa6fabe71747f1cae261e9f9d28aef","642b69891aa660f25a440bf76d379fc2e450ddf38a0343ae81a84e0d133a2320","93b333af8eea35f209c2c7315a427775e5892cb59ac22eaefa0ed04c0cfd7c38","92b664faccdca6a9db8c213ad791397d5f475b14ddf7a809813c28c343b48adf","b3e9a7d4905609e07b8ae61b9f7d262240ef28797185b073d218f04486067e6b","7e42fa194f3d508121eebf2f128e1e57eee3964a4981ba8064f927a324b11b55","42dc9a9ad1e1643aa5662edd48e27b9a61b2cf3b3dc0d501604e71889c084737","43444a73e943719b32d7ff02cd2f61506aaac8af62cded08bab1be5ffb581364","52d3a695384faeedae1d2d47b7ce0e5f42436db3a0ec49018b665d7f48dfc3e9","4ce2e01eb00e234e470030aa9896e1d3158bdb66991fb90c352fa0abaee7ade5","c68ff7107de08f846d013cb6220e9fdc6a8633ea36089b3177e9cbc7d4778642","77b8d6fe285600ac3bf84b8b3b1312d3b89f205265077c56e89ebdb7debedd97","c9b8dcfca1030ce379c97a962cbfd2228433c24bf51f0b5d00ebf171c8cdbcc5","c48dfa2d706284e3155a0233a545a9bf3dce56007025b77dd805e0f90db8a9bb","3db678f64a08de6ed4971ae67dc59f70cbd810c67e15bc907f71ce71e5f61646","0575a31687516b2c9ce8c9fc2074acaa511a11c322cd2347377fad342c22cc02","d15189db9b83cecccf85238fe2e0cc1c5bc70eea1c615ec62ff53502ada79d24","d60d14a17f1ca18e36bebe00bda6bbba5fb1f5371e3237193378eae6009b7641","6be052e03ed6403112c74d141472ac48566ac699be9681c1473da18bace43987","96aac0d6eb44ba43e46e058b5f9706342c71616f4567929854914f5e69290745","30677b1387dad7a418e8f38ba2d0d19b08e6031bc7ba352b2a3afc60c5c14104","2b0f0ebd6c8571349699d448988f29e69183ae7bbfad2a5d72e374fa0b53f888","42bf606372ae38aaa45740c21cf167d3b7f159c8b19a0f4e3d38e06eb87ef102","668d5408cb94d3603df3f349cbcb40280f7def8ae1d35c410efcbe82c171320b","e8a06589cee87ddf389ae2edb18303c250eb9b56dc76c65ce2af8e900963fcc6","0b7eb54711ed45e5861fdd8879eb7cadcd3854f91880100103d56ef34fc45aac","32a825e5cec794dafa64df6a4fafd6cbcc2cc541a559aa821cf7ad722f35f0d8","b10c5757e7e0689e89969d383721b428869fb2ea8e827da618798193d91c2373","140a9471ea39a1f7d87b737e390ecc17ec17a4a78e476291ccb0d1f45f6f79d1","7853a59e348eb460bd0ef188bc3e5dfb2dab1d38362b6b4e1dae5918dedf5ca6","6268e759e164b424fbf03a442c6cd41e458d5d04a1a14c76f20162f0dca87205","0790e9905b4a7840bb9bd18008931a6428560fe8f4549513c0788175c9e5860b","f2d171367215406b65e1cc4aed93365f46f8c4d68a9ce603418c67a7575cde8e","77b1206c5e44934df94bddd136d43cd2f05c658f7bf2000c09a9f017a4b4a218","f7655d264b84ceaeb4308961f4d6006d77a0b76d3ad039fcaf11d92a1aab004e","2b113636479e0331a45ab63ff0e3765c64e3afa6ea91c51b834aeb2eebf56c81","72423ece99b9175d0cc68e6b67330006f07a036a84b8b150ade7c0b605c49173","766ff9201eb426d1986f5720958a7c049cbc60db259aa51175b87b1649be6e77","059eb596f9dadeaafeb59da03a4c2f9048ce5cf7288dac07a99d646fa7d60bd5","b570a9d3984ab7abd09115d94580e1540aea63539b62e60a39ce04ffafb2b64e","a74b8f008dee8c60869db2a25bde16e8e75d38778eaa5edd5a879b88f1b0b2e2","fc47f430db4ef7394f610da2b1ada032004076f522b374725674fc97f00815bb","437ff2fd929049403063ad064271393858b17d27aba932a7d14dcdb913f17371","9d32171a99e34dca241fec695961a34a13ac419f40f7c926a449e848f77daa03","cbbfd0e74ca4d1e94e6799df764b1a705c1691a19910ebc43ea0047623dd40fa","1fc15e7a0ff3b53c71b7871683b56f9f0fd7fa27116d2a1671be9ea88269e10e","19ef9dc59c1ad49ebfeeb71a88c6c9af62763741f7d685afff719a2949bfb4b3","1b1021e202f7230713b6e88e6cafcad9154ad36ba9e45bdad09704525ffd847e","e99b808e76808f5fda4a5c2e6a9a0f51cd50a4ab1b256c5f14cff6eaa00edae5","0da56df94295c71a82e9b0f473e9bbf49e5a817f61f02683f05e9dd91bba8182","3cac966cb78f2469bf3e26ab1741dc1c38aefcf4b09a5a6057948e67c6dc69fc","2372e08546bb0952594b2ee851e9e5e08bd5dfbab8d48e766e8835972315709c","691870c41091f7c9ab3297ac4b0643d9b40b69cfb201d3a649cb941d9458d260","3baa26522a8e3c8d811b2099e23aa3fcfa5e1c91ff8d8f1ae517d635c1099fcf","f4e356bfb32e80da857bfab80bd4bac01ed71c473d89af98d4172ab5b3a9dce4","7d2f55cdcd462ef67afabc2c348760248b0053e18eb904888aa7ceb21bb8198b","432016f68ec23f0ecf7662a685ae11ac54bf4e24fc3721fd9749e221b85497b6","41733f47743117314d8669ef99cca9f20b1076da2415bb4b5869c6bdda1c49f9","eedf14a0c88f6932c77b0132e48183e6a3493fd18df15f6065f65de2427cf0fe","a64f8c4e5271ceb2965ca578915a1847d199aaea9e0ce64f54398097c43cc64a","f6d09fbf18eb8cdac162fc7e5fe20a9c1db31e6f807f338726b0fc2720ced205","3329e861005c0a9bad07de3b4cae617e03288c20b451a0d7b9a5010c8852fe61","06a160b8e9f807195306d2969dd6babb6ef382b44d2536463c0b0cb97ff88317","1f6106a67ec369fd6ec808b5e06552f29b6e549ecbf861da0979b3bbc402c521","e16db4422330827915ba6a4a92528c3b49fd7962840bd97acf93b0468d9dc04e","37eab960a4e495bee9d427be3c346792a892b65b8614b739538d53847e08cbc7","38b716fac0a9dd6ea3e915b428737e85d2c967040a85ed3a132f9b0e2b86e888","2035c5afc65e2225b0b3162c546d042ece92f4bde48d7a11a98d4faff9b0638e","cbded31857cbb129bfa37e39c9f03b503bae85d132a70b4fb4c2054a6d120aa0","12b5b402669658288a3c717a4bf566fd67cbefe499158c0ed738249d6f028f35","fd135bc8415c1f2cdb30a6769f2e885f62f9d667406d201cec158b86ac864070","b3d328c10e306a4c037274ec16489c6fdeae9fc4d2487d76b309d8d2289b2de1","ff32ff7b4cd23c94876e916295b3b16dd9f9591ece804ac9da6a1cc161c12b4f","cbded31857cbb129bfa37e39c9f03b503bae85d132a70b4fb4c2054a6d120aa0","12b5b402669658288a3c717a4bf566fd67cbefe499158c0ed738249d6f028f35","fd135bc8415c1f2cdb30a6769f2e885f62f9d667406d201cec158b86ac864070","b3d328c10e306a4c037274ec16489c6fdeae9fc4d2487d76b309d8d2289b2de1","4ef8feb47276e1dabec5eb8d4f82aa1db2a4e1831a835de932cb7cd0697e4808","34693fb4a5e771e11668219221344dd1bd7d8b77ed005a1c1d965fb559be8406","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419",{"version":"e44ea2d6b7b853f6c81482416db43dafc11944561b810e469ae423085511ce7e","affectsGlobalScope":true},"f51b4042a3ac86f1f707500a9768f88d0b0c1fc3f3e45a73333283dea720cdc6",{"version":"a7289d79eb84a59d2475b4d0136b4404be3cfdd17c3ea46b9194add1d645df01","affectsGlobalScope":true},"0bb26fa2a90ee890eed57ee812c71fa84d3d07850163ec4a204de86412cc57c1","132ca47da601c60141dd6f10bd08c70d0620177e5638439df2464ec3945b6d98",{"version":"55d2bbae076fed7269c3e16faeb32f988f558427b7a1c3bf04aa7551ab86ae90","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","cf83847c9264dcd592b6c89c1542925b899b277228687f3638614e3fa784cf76","3a41ebe7f089d50f447466b35b6cabb8b584c0994fc9809d0cd0a4ebc41e1239","7693b90b3075deaccafd5efb467bf9f2b747a3075be888652ef73e64396d8628","0c42d6cba77d9ad1cf45256ccb8489aa502fe2dbee1ec9048a29d49f5d532e73","2cf89c17245db65d175d4ef699cd68187516f9b3ae5c572fc0b9ad60f35dc223","5f20d20b7607174caf1a6da9141aeb9f2142159ae2410ca30c7a0fccd1d19c99",{"version":"a0c0e3bf3e8dc9454cdca64c6234c1a698a4368f2a461a7153ce274db0e96ecc","affectsGlobalScope":true},"8d42e5af5fb0a96a77e135ce84cc60636c9bad39d9dba043a4efe9d1bdeb3cc3","56fcc451e9065eb121c9cc4c1b9994a816306f3b0b3b1fce7ad59f0ac97a9999","65fd34269572542bb63331ee53279cebd3d1f1c117086e9d1346f85fdd6773ab","c3759b5bc5cc40f5988d86a497741a80fa91258629ae50a2b3735e774cd377cc","bf268a0aea37ad4ae3b7a9b58559190b6fc01ea16a31e35cd05817a0a60f895a","45dd82fb5aea9b12b2a90b427b28f3a014e8b2ee9b74087a5ab882841cb5fbc5",{"version":"d7dad6db394a3d9f7b49755e4b610fbf8ed6eb0c9810ae5f1a119f6b5d76de45","affectsGlobalScope":true},"48b2f9302651eb31acd5be69bb4e6b35797a7fcd6b77391d10a4ccadf7dc3609","0c8c917ef15498c827bd494a0ef365e9f76deb211f8acbb86932e20489310788","dd67d2b5e4e8a182a38de8e69fb736945eaa4588e0909c14e01a14bd3cc1fd1e",{"version":"9cdc2c6144b03822c9842505d09945bcf813b86827fdb260dd7586b63abc19bf","affectsGlobalScope":true},{"version":"2923dee3c897f03e91b54a210cdbefea7290562f0ac4b948667d4c9ee844b79e","affectsGlobalScope":true},"79169698d09a2be54b14f3bcad2575b414bf3525063fde0a1e4fcd5d6efd380e","051d939bcf77caa3cef3282708ab3a6fdfb741a7366e1d74a9e7603b67417ec3","0be79b3ff0f16b6c2f9bc8c4cc7097ea417d8d67f8267f7e1eec8e32b548c2ff","1c61ffa3a71b77363b30d19832c269ef62fba787f5610cac7254728d3b69ab2e","a234d62ae81d012ebf23898a45672edf3e5c93ecf5a438a42b96c08dd68cde43","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","6e191fea1db6e9e4fa828259cf489e820ec9170effff57fb081a2f3295db4722","09d801ff4a303d4976d4b9cb94af3a9097c4a70345e662d176975872d2998e51","c8558b01389b5f7610ac293aa612ccea2ae64d83af43b49f8142f190be1f414c","c40fdf7b2e18df49ce0568e37f0292c12807a0748be79e272745e7216bed2606",{"version":"b10b426c56e220b5093bf8a2446ee47af47263b7b1a03f4b18e42326b231b111","affectsGlobalScope":true},"4e228e78c1e9b0a75c70588d59288f63a6258e8b1fe4a67b0c53fe03461421d9","b4635ef36bee17e1304337d591c3b6b461ecdbc1876d0effbe6a581e62201fe5","205d50c24359ead003dc537b9b65d2a64208dfdffe368f403cf9e0357831db9e","1265fddcd0c68be9d2a3b29805d0280484c961264dd95e0b675f7bd91f777e78",{"version":"e4507242542bd499238f693d88b2d32e22177cc508854625f87bcc9bc3fa1256","affectsGlobalScope":true},{"version":"d942354e4966a98d3a92d1b1af0b4ac06f33af3f88116743e2c304c027ca26ef","affectsGlobalScope":true},"39f0808e5be3cb38674726c21fe2eb453c55e48a901679b4ce30fef85549b892","6afd66a7432ef100027ea110449e874196381e019e30eda7e7d8ca390366b7a8","befb8a9a78ac99d8fbc3ed392810489a7b90760c7a58934e8f1c8538f581cff3","e670bdf01540d35c170fae68edfd2f288eff909936780c379d6a9103b787b22c","867f95abf1df444aab146b19847391fc2f922a55f6a970a27ed8226766cee29f",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"88003d9ab15507806f41b120be6d407c1afe566c2f6689ebe3a034dd5ec0c8dc",{"version":"3f6d6465811321abc30a1e5f667feed63e5b3917b3d6c8d6645daf96c75f97ba","affectsGlobalScope":true}],"root":[146,151],"options":{"declaration":false,"declarationMap":false,"esModuleInterop":true,"inlineSources":true,"module":1,"noImplicitAny":false,"noUnusedLocals":true,"outDir":"./","rootDir":"../../src/test","sourceMap":true,"strict":true,"target":7},"fileIdsList":[[196],[85,86,87,196],[82,196],[83,88,196],[82,83,84,89,90,91,92,93,94,95,96,196],[83,84,91,93,196],[90,196],[147,196],[147,148,196],[147,148,149,196],[150,196],[152,196],[155,196],[156,161,187,196],[157,167,168,175,184,195,196],[157,158,167,175,196],[159,196],[160,161,168,176,196],[161,184,192,196],[162,164,167,175,196],[163,196],[164,165,196],[166,167,196],[155,167,196],[167,168,169,184,195,196],[167,168,169,184,196],[167,170,175,184,195,196],[167,168,170,171,175,184,192,195,196],[170,172,184,192,195,196],[152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202],[167,173,196],[174,195,196,200],[164,167,175,184,196],[176,196],[177,196],[155,178,196],[179,194,196,200],[180,196],[181,196],[167,182,196],[182,183,196,198],[156,167,184,185,186,196],[156,184,186,196],[184,185,196],[187,196],[188,196],[167,190,191,196],[190,191,196],[161,175,192,196],[193,196],[175,194,196],[156,170,181,195,196],[161,196],[184,196,197],[196,198],[196,199],[156,161,167,169,178,184,195,196,198,200],[184,196,201],[55,60,111,167,196],[62,196],[57,58,60,61,64,66,67,196],[62,63,65,196],[64,196],[55,111,167,196],[97,167,196],[109,196],[55,97,111,114,196],[55,111,196],[55,109,111,117,196],[55,108,109,110,111,115,116,117,118,119,196],[55,97,108,109,111,114,115,116,117,118,196],[55,97,108,109,111,114,115,116,119,196],[51,196],[49,50,52,196],[46,47,48,49,50,51,52,53,54,196],[69,70,71,72,73,74,75,76,77,196],[111,196],[111,112,113,196],[55,97,111,112,196],[142,196],[142,143,196],[142,143,144,196],[145,196],[55,78,111,141,142,143,145,152,196],[145,150,196],[55,97,111,133,134,135,196],[55,97,111,120,133,139,196],[134,135,136,137,138,196],[55,111,137,196],[55,68,97,107,111,120,133,139,196],[56,140,196],[97,196],[55,97,111,114,120,122,123,124,125,126,131,196],[132,196],[122,196],[127,129,196],[127,129,130,196],[127,196],[128,196],[121,122,123,124,125,126,131,132,196],[55,97,111,124,196],[55,78,79,80,111,196],[55,97,98,99,111,196],[55,79,98,111,196],[55,68,111,196],[79,167,196],[79,80,81,98,99,100,101,102,103,104,105,106,196],[55,68,79,111,196],[55,79,111,196],[79,196]],"referencedMap":[[85,1],[86,1],[88,2],[87,1],[83,3],[84,1],[89,4],[90,1],[97,5],[91,1],[92,1],[94,6],[95,7],[96,1],[93,3],[82,1],[148,8],[149,9],[150,10],[147,11],[59,1],[204,1],[152,12],[153,12],[155,13],[156,14],[157,15],[158,16],[159,17],[160,18],[161,19],[162,20],[163,21],[164,22],[165,22],[166,23],[167,24],[168,25],[169,26],[154,1],[202,1],[170,27],[171,28],[172,29],[203,30],[173,31],[174,32],[175,33],[176,34],[177,35],[178,36],[179,37],[180,38],[181,39],[182,40],[183,41],[184,42],[186,43],[185,44],[187,45],[188,46],[189,1],[190,47],[191,48],[192,49],[193,50],[194,51],[195,52],[196,53],[197,54],[198,55],[199,56],[200,57],[201,58],[44,1],[45,1],[8,1],[9,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[4,1],[23,1],[20,1],[21,1],[22,1],[24,1],[25,1],[26,1],[5,1],[27,1],[28,1],[29,1],[30,1],[6,1],[34,1],[31,1],[32,1],[33,1],[35,1],[7,1],[36,1],[41,1],[42,1],[37,1],[38,1],[39,1],[40,1],[1,1],[43,1],[57,1],[62,1],[58,1],[61,59],[63,60],[68,61],[66,62],[64,1],[65,63],[67,1],[60,64],[108,65],[110,66],[115,67],[116,68],[118,69],[109,1],[120,70],[119,71],[117,72],[46,1],[47,68],[48,1],[52,73],[53,1],[49,1],[51,74],[55,75],[54,1],[50,1],[69,1],[70,1],[71,1],[72,1],[78,76],[73,1],[74,1],[75,1],[76,1],[77,1],[112,77],[114,78],[113,79],[111,68],[143,80],[144,81],[145,82],[142,83],[146,84],[151,85],[136,86],[135,87],[139,88],[137,1],[138,89],[134,1],[140,90],[56,68],[141,91],[121,92],[132,93],[122,94],[123,95],[124,1],[130,96],[127,1],[131,97],[128,98],[129,99],[133,100],[125,92],[126,101],[81,102],[100,103],[99,104],[101,105],[102,106],[98,68],[107,107],[80,108],[103,109],[105,109],[79,68],[104,110],[106,109]],"exportedModulesMap":[[85,1],[86,1],[88,2],[87,1],[83,3],[84,1],[89,4],[90,1],[97,5],[91,1],[92,1],[94,6],[95,7],[96,1],[93,3],[82,1],[148,8],[149,9],[150,10],[147,11],[59,1],[204,1],[152,12],[153,12],[155,13],[156,14],[157,15],[158,16],[159,17],[160,18],[161,19],[162,20],[163,21],[164,22],[165,22],[166,23],[167,24],[168,25],[169,26],[154,1],[202,1],[170,27],[171,28],[172,29],[203,30],[173,31],[174,32],[175,33],[176,34],[177,35],[178,36],[179,37],[180,38],[181,39],[182,40],[183,41],[184,42],[186,43],[185,44],[187,45],[188,46],[189,1],[190,47],[191,48],[192,49],[193,50],[194,51],[195,52],[196,53],[197,54],[198,55],[199,56],[200,57],[201,58],[44,1],[45,1],[8,1],[9,1],[11,1],[10,1],[2,1],[12,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[3,1],[4,1],[23,1],[20,1],[21,1],[22,1],[24,1],[25,1],[26,1],[5,1],[27,1],[28,1],[29,1],[30,1],[6,1],[34,1],[31,1],[32,1],[33,1],[35,1],[7,1],[36,1],[41,1],[42,1],[37,1],[38,1],[39,1],[40,1],[1,1],[43,1],[57,1],[62,1],[58,1],[61,59],[63,60],[68,61],[66,62],[64,1],[65,63],[67,1],[60,64],[108,65],[110,66],[115,67],[116,68],[118,69],[109,1],[120,70],[119,71],[117,72],[46,1],[47,68],[48,1],[52,73],[53,1],[49,1],[51,74],[55,75],[54,1],[50,1],[69,1],[70,1],[71,1],[72,1],[78,76],[73,1],[74,1],[75,1],[76,1],[77,1],[112,77],[114,78],[113,79],[111,68],[143,80],[144,81],[145,82],[142,83],[146,84],[151,85],[136,86],[135,87],[139,88],[137,1],[138,89],[134,1],[140,90],[56,68],[141,91],[121,92],[132,93],[122,94],[123,95],[124,1],[130,96],[127,1],[131,97],[128,98],[129,99],[133,100],[125,92],[126,101],[81,102],[100,103],[99,104],[101,105],[102,106],[98,68],[107,107],[80,108],[103,109],[105,109],[79,68],[104,110],[106,109]],"semanticDiagnosticsPerFile":[85,86,88,87,83,84,89,90,97,91,92,94,95,96,93,82,148,149,150,147,59,204,152,153,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,154,202,170,171,172,203,173,174,175,176,177,178,179,180,181,182,183,184,186,185,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,44,45,8,9,11,10,2,12,13,14,15,16,17,18,19,3,4,23,20,21,22,24,25,26,5,27,28,29,30,6,34,31,32,33,35,7,36,41,42,37,38,39,40,1,43,57,62,58,61,63,68,66,64,65,67,60,108,110,115,116,118,109,120,119,117,46,47,48,52,53,49,51,55,54,50,69,70,71,72,78,73,74,75,76,77,112,114,113,111,143,144,145,142,146,151,136,135,139,137,138,134,140,56,141,121,132,122,123,124,130,127,131,128,129,133,125,126,81,100,99,101,102,98,107,80,103,105,79,104,106]},"version":"5.1.6"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateSynthesizePrevious.generated.js","sourceRoot":"","sources":["../../../src/test/types/validateSynthesizePrevious.generated.ts"],"names":[],"mappings":";;AAwBA,yDAAyD,CACrD,qDAAqD,EAAE,CAAC,CAAC;AAW7D,qDAAqD,CACjD,yDAAyD,EAAE,CAAC,CAAC;AAWjE,iEAAiE,CAC7D,6DAA6D,EAAE,CAAC,CAAC;AAWrE,6DAA6D,CACzD,iEAAiE,EAAE,CAAC,CAAC;AAWzE,iEAAiE,CAC7D,6DAA6D,EAAE,CAAC,CAAC;AAWrE,6DAA6D,CACzD,iEAAiE,EAAE,CAAC,CAAC;AAWzE,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,0DAA0D,CACtD,sDAAsD,EAAE,CAAC,CAAC;AAW9D,sDAAsD,CAClD,0DAA0D,EAAE,CAAC,CAAC;AAWlE,2DAA2D,CACvD,uDAAuD,EAAE,CAAC,CAAC;AAW/D,uDAAuD,CACnD,2DAA2D,EAAE,CAAC,CAAC;AAWnE,4DAA4D,CACxD,wDAAwD,EAAE,CAAC,CAAC;AAWhE,wDAAwD,CACpD,4DAA4D,EAAE,CAAC,CAAC;AAWpE,mEAAmE,CAC/D,+DAA+D,EAAE,CAAC,CAAC;AAWvE,+DAA+D,CAC3D,mEAAmE,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/*\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n * Generated by fluid-type-test-generator in @fluidframework/build-tools.\n */\nimport * as old from \"@fluidframework/synthesize-previous\";\nimport * as current from \"../../index\";\n\ntype TypeOnly<T> = {\n [P in keyof T]: TypeOnly<T[P]>;\n};\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncFluidObjectProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_AsyncFluidObjectProvider():\n TypeOnly<old.AsyncFluidObjectProvider<any,any>>;\ndeclare function use_current_TypeAliasDeclaration_AsyncFluidObjectProvider(\n use: TypeOnly<current.AsyncFluidObjectProvider<any,any>>);\nuse_current_TypeAliasDeclaration_AsyncFluidObjectProvider(\n get_old_TypeAliasDeclaration_AsyncFluidObjectProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncFluidObjectProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_AsyncFluidObjectProvider():\n TypeOnly<current.AsyncFluidObjectProvider<any,any>>;\ndeclare function use_old_TypeAliasDeclaration_AsyncFluidObjectProvider(\n use: TypeOnly<old.AsyncFluidObjectProvider<any,any>>);\nuse_old_TypeAliasDeclaration_AsyncFluidObjectProvider(\n get_current_TypeAliasDeclaration_AsyncFluidObjectProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncOptionalFluidObjectProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider():\n TypeOnly<old.AsyncOptionalFluidObjectProvider<any>>;\ndeclare function use_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(\n use: TypeOnly<current.AsyncOptionalFluidObjectProvider<any>>);\nuse_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(\n get_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncOptionalFluidObjectProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider():\n TypeOnly<current.AsyncOptionalFluidObjectProvider<any>>;\ndeclare function use_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(\n use: TypeOnly<old.AsyncOptionalFluidObjectProvider<any>>);\nuse_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(\n get_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncRequiredFluidObjectProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider():\n TypeOnly<old.AsyncRequiredFluidObjectProvider<any>>;\ndeclare function use_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(\n use: TypeOnly<current.AsyncRequiredFluidObjectProvider<any>>);\nuse_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(\n get_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncRequiredFluidObjectProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider():\n TypeOnly<current.AsyncRequiredFluidObjectProvider<any>>;\ndeclare function use_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(\n use: TypeOnly<old.AsyncRequiredFluidObjectProvider<any>>);\nuse_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(\n get_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DependencyContainer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_DependencyContainer():\n TypeOnly<old.DependencyContainer<any>>;\ndeclare function use_current_ClassDeclaration_DependencyContainer(\n use: TypeOnly<current.DependencyContainer<any>>);\nuse_current_ClassDeclaration_DependencyContainer(\n get_old_ClassDeclaration_DependencyContainer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DependencyContainer\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_DependencyContainer():\n TypeOnly<current.DependencyContainer<any>>;\ndeclare function use_old_ClassDeclaration_DependencyContainer(\n use: TypeOnly<old.DependencyContainer<any>>);\nuse_old_ClassDeclaration_DependencyContainer(\n get_current_ClassDeclaration_DependencyContainer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_FluidObjectProvider():\n TypeOnly<old.FluidObjectProvider<any>>;\ndeclare function use_current_TypeAliasDeclaration_FluidObjectProvider(\n use: TypeOnly<current.FluidObjectProvider<any>>);\nuse_current_TypeAliasDeclaration_FluidObjectProvider(\n get_old_TypeAliasDeclaration_FluidObjectProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_FluidObjectProvider():\n TypeOnly<current.FluidObjectProvider<any>>;\ndeclare function use_old_TypeAliasDeclaration_FluidObjectProvider(\n use: TypeOnly<old.FluidObjectProvider<any>>);\nuse_old_TypeAliasDeclaration_FluidObjectProvider(\n get_current_TypeAliasDeclaration_FluidObjectProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectSymbolProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_FluidObjectSymbolProvider():\n TypeOnly<old.FluidObjectSymbolProvider<any>>;\ndeclare function use_current_TypeAliasDeclaration_FluidObjectSymbolProvider(\n use: TypeOnly<current.FluidObjectSymbolProvider<any>>);\nuse_current_TypeAliasDeclaration_FluidObjectSymbolProvider(\n get_old_TypeAliasDeclaration_FluidObjectSymbolProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectSymbolProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_FluidObjectSymbolProvider():\n TypeOnly<current.FluidObjectSymbolProvider<any>>;\ndeclare function use_old_TypeAliasDeclaration_FluidObjectSymbolProvider(\n use: TypeOnly<old.FluidObjectSymbolProvider<any>>);\nuse_old_TypeAliasDeclaration_FluidObjectSymbolProvider(\n get_current_TypeAliasDeclaration_FluidObjectSymbolProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidDependencySynthesizer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidDependencySynthesizer():\n TypeOnly<typeof old.IFluidDependencySynthesizer>;\ndeclare function use_current_VariableDeclaration_IFluidDependencySynthesizer(\n use: TypeOnly<typeof current.IFluidDependencySynthesizer>);\nuse_current_VariableDeclaration_IFluidDependencySynthesizer(\n get_old_VariableDeclaration_IFluidDependencySynthesizer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidDependencySynthesizer\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidDependencySynthesizer():\n TypeOnly<typeof current.IFluidDependencySynthesizer>;\ndeclare function use_old_VariableDeclaration_IFluidDependencySynthesizer(\n use: TypeOnly<typeof old.IFluidDependencySynthesizer>);\nuse_old_VariableDeclaration_IFluidDependencySynthesizer(\n get_current_VariableDeclaration_IFluidDependencySynthesizer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidDependencySynthesizer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidDependencySynthesizer():\n TypeOnly<old.IFluidDependencySynthesizer>;\ndeclare function use_current_InterfaceDeclaration_IFluidDependencySynthesizer(\n use: TypeOnly<current.IFluidDependencySynthesizer>);\nuse_current_InterfaceDeclaration_IFluidDependencySynthesizer(\n get_old_InterfaceDeclaration_IFluidDependencySynthesizer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidDependencySynthesizer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidDependencySynthesizer():\n TypeOnly<current.IFluidDependencySynthesizer>;\ndeclare function use_old_InterfaceDeclaration_IFluidDependencySynthesizer(\n use: TypeOnly<old.IFluidDependencySynthesizer>);\nuse_old_InterfaceDeclaration_IFluidDependencySynthesizer(\n get_current_InterfaceDeclaration_IFluidDependencySynthesizer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidDependencySynthesizer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer():\n TypeOnly<old.IProvideFluidDependencySynthesizer>;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer(\n use: TypeOnly<current.IProvideFluidDependencySynthesizer>);\nuse_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer(\n get_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidDependencySynthesizer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer():\n TypeOnly<current.IProvideFluidDependencySynthesizer>;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer(\n use: TypeOnly<old.IProvideFluidDependencySynthesizer>);\nuse_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer(\n get_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer());\n"]}
|
|
1
|
+
{"version":3,"file":"validateSynthesizePrevious.generated.js","sourceRoot":"","sources":["../../../src/test/types/validateSynthesizePrevious.generated.ts"],"names":[],"mappings":";;AAgCA,yDAAyD,CACrD,qDAAqD,EAAE,CAAC,CAAC;AAW7D,qDAAqD,CACjD,yDAAyD,EAAE,CAAC,CAAC;AAWjE,iEAAiE,CAC7D,6DAA6D,EAAE,CAAC,CAAC;AAWrE,6DAA6D,CACzD,iEAAiE,EAAE,CAAC,CAAC;AAWzE,iEAAiE,CAC7D,6DAA6D,EAAE,CAAC,CAAC;AAWrE,6DAA6D,CACzD,iEAAiE,EAAE,CAAC,CAAC;AAWzE,gDAAgD,CAC5C,4CAA4C,EAAE,CAAC,CAAC;AAWpD,4CAA4C,CACxC,gDAAgD,EAAE,CAAC,CAAC;AAWxD,oDAAoD,CAChD,gDAAgD,EAAE,CAAC,CAAC;AAWxD,gDAAgD,CAC5C,oDAAoD,EAAE,CAAC,CAAC;AAW5D,0DAA0D,CACtD,sDAAsD,EAAE,CAAC,CAAC;AAW9D,sDAAsD,CAClD,0DAA0D,EAAE,CAAC,CAAC;AAWlE,2DAA2D,CACvD,uDAAuD,EAAE,CAAC,CAAC;AAW/D,uDAAuD,CACnD,2DAA2D,EAAE,CAAC,CAAC;AAWnE,4DAA4D,CACxD,wDAAwD,EAAE,CAAC,CAAC;AAWhE,wDAAwD,CACpD,4DAA4D,EAAE,CAAC,CAAC;AAWpE,mEAAmE,CAC/D,+DAA+D,EAAE,CAAC,CAAC;AAWvE,+DAA+D,CAC3D,mEAAmE,EAAE,CAAC,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n/*\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.\n * Generated by fluid-type-test-generator in @fluidframework/build-tools.\n */\nimport type * as old from \"@fluidframework/synthesize-previous\";\nimport type * as current from \"../../index\";\n\n\n// See 'build-tools/src/type-test-generator/compatibility.ts' for more information.\ntype TypeOnly<T> = T extends number\n\t? number\n\t: T extends string\n\t? string\n\t: T extends boolean | bigint | symbol\n\t? T\n\t: {\n\t\t\t[P in keyof T]: TypeOnly<T[P]>;\n\t };\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncFluidObjectProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_AsyncFluidObjectProvider():\n TypeOnly<old.AsyncFluidObjectProvider<any,any>>;\ndeclare function use_current_TypeAliasDeclaration_AsyncFluidObjectProvider(\n use: TypeOnly<current.AsyncFluidObjectProvider<any,any>>);\nuse_current_TypeAliasDeclaration_AsyncFluidObjectProvider(\n get_old_TypeAliasDeclaration_AsyncFluidObjectProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncFluidObjectProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_AsyncFluidObjectProvider():\n TypeOnly<current.AsyncFluidObjectProvider<any,any>>;\ndeclare function use_old_TypeAliasDeclaration_AsyncFluidObjectProvider(\n use: TypeOnly<old.AsyncFluidObjectProvider<any,any>>);\nuse_old_TypeAliasDeclaration_AsyncFluidObjectProvider(\n get_current_TypeAliasDeclaration_AsyncFluidObjectProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncOptionalFluidObjectProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider():\n TypeOnly<old.AsyncOptionalFluidObjectProvider<any>>;\ndeclare function use_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(\n use: TypeOnly<current.AsyncOptionalFluidObjectProvider<any>>);\nuse_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(\n get_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncOptionalFluidObjectProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider():\n TypeOnly<current.AsyncOptionalFluidObjectProvider<any>>;\ndeclare function use_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(\n use: TypeOnly<old.AsyncOptionalFluidObjectProvider<any>>);\nuse_old_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider(\n get_current_TypeAliasDeclaration_AsyncOptionalFluidObjectProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncRequiredFluidObjectProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider():\n TypeOnly<old.AsyncRequiredFluidObjectProvider<any>>;\ndeclare function use_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(\n use: TypeOnly<current.AsyncRequiredFluidObjectProvider<any>>);\nuse_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(\n get_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_AsyncRequiredFluidObjectProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider():\n TypeOnly<current.AsyncRequiredFluidObjectProvider<any>>;\ndeclare function use_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(\n use: TypeOnly<old.AsyncRequiredFluidObjectProvider<any>>);\nuse_old_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider(\n get_current_TypeAliasDeclaration_AsyncRequiredFluidObjectProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DependencyContainer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_ClassDeclaration_DependencyContainer():\n TypeOnly<old.DependencyContainer<any>>;\ndeclare function use_current_ClassDeclaration_DependencyContainer(\n use: TypeOnly<current.DependencyContainer<any>>);\nuse_current_ClassDeclaration_DependencyContainer(\n get_old_ClassDeclaration_DependencyContainer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"ClassDeclaration_DependencyContainer\": {\"backCompat\": false}\n*/\ndeclare function get_current_ClassDeclaration_DependencyContainer():\n TypeOnly<current.DependencyContainer<any>>;\ndeclare function use_old_ClassDeclaration_DependencyContainer(\n use: TypeOnly<old.DependencyContainer<any>>);\nuse_old_ClassDeclaration_DependencyContainer(\n get_current_ClassDeclaration_DependencyContainer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_FluidObjectProvider():\n TypeOnly<old.FluidObjectProvider<any>>;\ndeclare function use_current_TypeAliasDeclaration_FluidObjectProvider(\n use: TypeOnly<current.FluidObjectProvider<any>>);\nuse_current_TypeAliasDeclaration_FluidObjectProvider(\n get_old_TypeAliasDeclaration_FluidObjectProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_FluidObjectProvider():\n TypeOnly<current.FluidObjectProvider<any>>;\ndeclare function use_old_TypeAliasDeclaration_FluidObjectProvider(\n use: TypeOnly<old.FluidObjectProvider<any>>);\nuse_old_TypeAliasDeclaration_FluidObjectProvider(\n get_current_TypeAliasDeclaration_FluidObjectProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectSymbolProvider\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_TypeAliasDeclaration_FluidObjectSymbolProvider():\n TypeOnly<old.FluidObjectSymbolProvider<any>>;\ndeclare function use_current_TypeAliasDeclaration_FluidObjectSymbolProvider(\n use: TypeOnly<current.FluidObjectSymbolProvider<any>>);\nuse_current_TypeAliasDeclaration_FluidObjectSymbolProvider(\n get_old_TypeAliasDeclaration_FluidObjectSymbolProvider());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"TypeAliasDeclaration_FluidObjectSymbolProvider\": {\"backCompat\": false}\n*/\ndeclare function get_current_TypeAliasDeclaration_FluidObjectSymbolProvider():\n TypeOnly<current.FluidObjectSymbolProvider<any>>;\ndeclare function use_old_TypeAliasDeclaration_FluidObjectSymbolProvider(\n use: TypeOnly<old.FluidObjectSymbolProvider<any>>);\nuse_old_TypeAliasDeclaration_FluidObjectSymbolProvider(\n get_current_TypeAliasDeclaration_FluidObjectSymbolProvider());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidDependencySynthesizer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_VariableDeclaration_IFluidDependencySynthesizer():\n TypeOnly<typeof old.IFluidDependencySynthesizer>;\ndeclare function use_current_VariableDeclaration_IFluidDependencySynthesizer(\n use: TypeOnly<typeof current.IFluidDependencySynthesizer>);\nuse_current_VariableDeclaration_IFluidDependencySynthesizer(\n get_old_VariableDeclaration_IFluidDependencySynthesizer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"VariableDeclaration_IFluidDependencySynthesizer\": {\"backCompat\": false}\n*/\ndeclare function get_current_VariableDeclaration_IFluidDependencySynthesizer():\n TypeOnly<typeof current.IFluidDependencySynthesizer>;\ndeclare function use_old_VariableDeclaration_IFluidDependencySynthesizer(\n use: TypeOnly<typeof old.IFluidDependencySynthesizer>);\nuse_old_VariableDeclaration_IFluidDependencySynthesizer(\n get_current_VariableDeclaration_IFluidDependencySynthesizer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidDependencySynthesizer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IFluidDependencySynthesizer():\n TypeOnly<old.IFluidDependencySynthesizer>;\ndeclare function use_current_InterfaceDeclaration_IFluidDependencySynthesizer(\n use: TypeOnly<current.IFluidDependencySynthesizer>);\nuse_current_InterfaceDeclaration_IFluidDependencySynthesizer(\n get_old_InterfaceDeclaration_IFluidDependencySynthesizer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IFluidDependencySynthesizer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IFluidDependencySynthesizer():\n TypeOnly<current.IFluidDependencySynthesizer>;\ndeclare function use_old_InterfaceDeclaration_IFluidDependencySynthesizer(\n use: TypeOnly<old.IFluidDependencySynthesizer>);\nuse_old_InterfaceDeclaration_IFluidDependencySynthesizer(\n get_current_InterfaceDeclaration_IFluidDependencySynthesizer());\n\n/*\n* Validate forward compat by using old type in place of current type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidDependencySynthesizer\": {\"forwardCompat\": false}\n*/\ndeclare function get_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer():\n TypeOnly<old.IProvideFluidDependencySynthesizer>;\ndeclare function use_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer(\n use: TypeOnly<current.IProvideFluidDependencySynthesizer>);\nuse_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer(\n get_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer());\n\n/*\n* Validate back compat by using current type in place of old type\n* If breaking change required, add in package.json under typeValidation.broken:\n* \"InterfaceDeclaration_IProvideFluidDependencySynthesizer\": {\"backCompat\": false}\n*/\ndeclare function get_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer():\n TypeOnly<current.IProvideFluidDependencySynthesizer>;\ndeclare function use_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer(\n use: TypeOnly<old.IProvideFluidDependencySynthesizer>);\nuse_old_InterfaceDeclaration_IProvideFluidDependencySynthesizer(\n get_current_InterfaceDeclaration_IProvideFluidDependencySynthesizer());\n"]}
|
package/dist/tsdoc-metadata.json
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { IFluidDependencySynthesizer } from ".";
|
|
|
14
14
|
* { IFoo: "IFoo" }
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
|
-
export
|
|
17
|
+
export type FluidObjectSymbolProvider<T> = {
|
|
18
18
|
[P in keyof T]?: P;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
@@ -22,7 +22,7 @@ export declare type FluidObjectSymbolProvider<T> = {
|
|
|
22
22
|
* the FluidObject properties as its type mapped to an object that implements
|
|
23
23
|
* the property.
|
|
24
24
|
*/
|
|
25
|
-
export
|
|
25
|
+
export type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
26
26
|
[P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
@@ -30,15 +30,15 @@ export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ?
|
|
|
30
30
|
* the FluidObject properties as its type, mapped to an object that implements
|
|
31
31
|
* the property or undefined.
|
|
32
32
|
*/
|
|
33
|
-
export
|
|
33
|
+
export type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
34
34
|
[P in keyof T]?: Promise<T[P] | undefined>;
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
37
37
|
* Combined type for Optional and Required Async Fluid object Providers
|
|
38
38
|
*/
|
|
39
|
-
export
|
|
39
|
+
export type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
|
|
40
40
|
/**
|
|
41
41
|
* Multiple ways to provide a Fluid object.
|
|
42
42
|
*/
|
|
43
|
-
export
|
|
43
|
+
export type FluidObjectProvider<T> = NonNullable<T> | Promise<NonNullable<T>> | ((dependencyContainer: IFluidDependencySynthesizer) => NonNullable<T>) | ((dependencyContainer: IFluidDependencySynthesizer) => Promise<NonNullable<T>>);
|
|
44
44
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,2BAA2B,EAAE,MAAM,GAAG,CAAC;AAEhD;;;;;;;;;;GAUG;AACH,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,2BAA2B,EAAE,MAAM,GAAG,CAAC;AAEhD;;;;;;;;;;GAUG;AACH,MAAM,MAAM,yBAAyB,CAAC,CAAC,IAAI;KACzC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;CAClB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,gCAAgC,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAClE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACrB;KACC,CAAC,IAAI,MAAM,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC,CAAC,CAAC;CACpE,CAAC;AAEL;;;;GAIG;AACH,MAAM,MAAM,gCAAgC,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAClE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACrB;KACC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;CACzC,CAAC;AAEL;;GAEG;AACH,MAAM,MAAM,wBAAwB,CAAC,CAAC,EAAE,CAAC,GAAG,SAAS,IAAI,gCAAgC,CAAC,CAAC,CAAC,GAC3F,gCAAgC,CAAC,CAAC,CAAC,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAC9B,WAAW,CAAC,CAAC,CAAC,GACd,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACvB,CAAC,CAAC,mBAAmB,EAAE,2BAA2B,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,CAAC,mBAAmB,EAAE,2BAA2B,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -9,13 +9,13 @@ import { IFluidDependencySynthesizer } from "./IFluidDependencySynthesizer";
|
|
|
9
9
|
* synthesize an object based on them when requested.
|
|
10
10
|
*/
|
|
11
11
|
export class DependencyContainer {
|
|
12
|
+
get IFluidDependencySynthesizer() {
|
|
13
|
+
return this;
|
|
14
|
+
}
|
|
12
15
|
constructor(...parents) {
|
|
13
16
|
this.providers = new Map();
|
|
14
17
|
this.parents = parents.filter((v) => v !== undefined);
|
|
15
18
|
}
|
|
16
|
-
get IFluidDependencySynthesizer() {
|
|
17
|
-
return this;
|
|
18
|
-
}
|
|
19
19
|
/**
|
|
20
20
|
* Add a new provider
|
|
21
21
|
* @param type - Name of the Type T being provided
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dependencyContainer.js","sourceRoot":"","sources":["../src/dependencyContainer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAQzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E;;;GAGG;AACH,MAAM,OAAO,mBAAmB;IAO/B,YAAmB,GAAG,OAAoD;QANzD,cAAS,GAAG,IAAI,GAAG,EAAwC,CAAC;QAO5E,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAoC,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC;IACzF,CAAC;IAND,IAAW,2BAA2B;QACrC,OAAO,IAAI,CAAC;I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C,CAAC;qBACtB;gBACF,CAAC;aACD,CAAC;SACF;QACD,OAAO;YACN,GAAG;gBACF,IAAI,QAAQ,EAAE;oBACb,OAAO,IAAI,WAAW,CAAC,KAAK,IAAI,EAAE;wBACjC,OAAO,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;4BAC3C,IAAI,CAAC,EAAE;gCACN,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;6BACZ;wBACF,CAAC,CAAC,CAAC;oBACJ,CAAC,CAAC,CAAC;iBACH;YACF,CAAC;SACD,CAAC;IACH,CAAC;CACD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { LazyPromise } from \"@fluidframework/core-utils\";\nimport {\n\tAsyncFluidObjectProvider,\n\tFluidObjectSymbolProvider,\n\tFluidObjectProvider,\n\tAsyncOptionalFluidObjectProvider,\n\tAsyncRequiredFluidObjectProvider,\n} from \"./types\";\nimport { IFluidDependencySynthesizer } from \"./IFluidDependencySynthesizer\";\n\n/**\n * DependencyContainer is similar to a IoC Container. It takes providers and will\n * synthesize an object based on them when requested.\n */\nexport class DependencyContainer<TMap> implements IFluidDependencySynthesizer {\n\tprivate readonly providers = new Map<keyof TMap, FluidObjectProvider<any>>();\n\tprivate readonly parents: IFluidDependencySynthesizer[];\n\tpublic get IFluidDependencySynthesizer() {\n\t\treturn this;\n\t}\n\n\tpublic constructor(...parents: (IFluidDependencySynthesizer | undefined)[]) {\n\t\tthis.parents = parents.filter((v): v is IFluidDependencySynthesizer => v !== undefined);\n\t}\n\n\t/**\n\t * Add a new provider\n\t * @param type - Name of the Type T being provided\n\t * @param provider - A provider that will resolve the T correctly when asked\n\t * @throws - If passing a type that's already registered\n\t */\n\tpublic register<T extends keyof TMap = keyof TMap>(\n\t\ttype: T,\n\t\tprovider: FluidObjectProvider<Pick<TMap, T>>,\n\t): void {\n\t\tif (this.providers.has(type)) {\n\t\t\tthrow new Error(\n\t\t\t\t`Attempting to register a provider of type ${String(type)} that already exists`,\n\t\t\t);\n\t\t}\n\n\t\tthis.providers.set(type, provider);\n\t}\n\n\t/**\n\t * Remove a provider\n\t * @param type - Name of the provider to remove\n\t */\n\tpublic unregister(type: keyof TMap): void {\n\t\tif (this.providers.has(type)) {\n\t\t\tthis.providers.delete(type);\n\t\t}\n\t}\n\n\t/**\n\t * {@inheritDoc (IFluidDependencySynthesizer:interface).synthesize}\n\t */\n\tpublic synthesize<O, R = undefined | Record<string, never>>(\n\t\toptionalTypes: FluidObjectSymbolProvider<O>,\n\t\trequiredTypes: Required<FluidObjectSymbolProvider<R>>,\n\t): AsyncFluidObjectProvider<O, R> {\n\t\tconst base: AsyncFluidObjectProvider<O, R> = {} as any;\n\t\tthis.generateRequired<R>(base, requiredTypes);\n\t\tthis.generateOptional<O>(base, optionalTypes);\n\t\tObject.defineProperty(base, IFluidDependencySynthesizer, { get: () => this });\n\t\treturn base;\n\t}\n\n\t/**\n\t * {@inheritDoc (IFluidDependencySynthesizer:interface).has}\n\t * @param excludeParents - If true, exclude checking parent registries\n\t */\n\tpublic has(type: string, excludeParents?: boolean): boolean {\n\t\tif (this.providers.has(type as keyof TMap)) {\n\t\t\treturn true;\n\t\t}\n\t\tif (excludeParents !== true) {\n\t\t\treturn this.parents.some((p: IFluidDependencySynthesizer) => p.has(type));\n\t\t}\n\t\treturn false;\n\t}\n\t/**\n\t * @deprecated Needed for backwards compatability.\n\t */\n\tprivate getProvider(provider: string & keyof TMap) {\n\t\t// this was removed, but some partners have trouble with back compat where they\n\t\t// use invalid patterns with FluidObject and IFluidDependencySynthesizer\n\t\t// this is just for back compat until those are removed\n\t\tif (this.has(provider)) {\n\t\t\tif (this.providers.has(provider)) {\n\t\t\t\treturn this.providers.get(provider);\n\t\t\t}\n\t\t\tfor (const parent of this.parents) {\n\t\t\t\tif (parent instanceof DependencyContainer) {\n\t\t\t\t\treturn parent.getProvider(provider);\n\t\t\t\t} else {\n\t\t\t\t\t// older implementations of the IFluidDependencySynthesizer exposed getProvider\n\t\t\t\t\tconst maybeGetProvider: { getProvider?(provider: string & keyof TMap) } =\n\t\t\t\t\t\tparent as any;\n\t\t\t\t\tif (maybeGetProvider?.getProvider !== undefined) {\n\t\t\t\t\t\treturn maybeGetProvider.getProvider(provider);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate generateRequired<T>(\n\t\tbase: AsyncRequiredFluidObjectProvider<T>,\n\t\ttypes: Required<FluidObjectSymbolProvider<T>>,\n\t) {\n\t\tif (types === undefined) {\n\t\t\treturn;\n\t\t}\n\t\tfor (const key of Object.keys(types) as unknown as (keyof TMap)[]) {\n\t\t\tconst provider = this.resolveProvider(key);\n\t\t\tif (provider === undefined) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Object attempted to be created without registered required provider ${String(\n\t\t\t\t\t\tkey,\n\t\t\t\t\t)}`,\n\t\t\t\t);\n\t\t\t}\n\t\t\tObject.defineProperty(base, key, provider);\n\t\t}\n\t}\n\n\tprivate generateOptional<T>(\n\t\tbase: AsyncOptionalFluidObjectProvider<T>,\n\t\ttypes: FluidObjectSymbolProvider<T>,\n\t) {\n\t\tif (types === undefined) {\n\t\t\treturn;\n\t\t}\n\t\tfor (const key of Object.keys(types) as unknown as (keyof TMap)[]) {\n\t\t\t// back-compat: in 0.56 we allow undefined in the types, but we didn't before\n\t\t\t// this will keep runtime back compat, eventually we should support undefined properties\n\t\t\t// rather than properties that return promises that resolve to undefined\n\t\t\tconst provider = this.resolveProvider(key) ?? { get: async () => undefined };\n\t\t\tObject.defineProperty(base, key, provider);\n\t\t}\n\t}\n\n\tprivate resolveProvider<T extends keyof TMap>(t: T): PropertyDescriptor | undefined {\n\t\t// If we have the provider return it\n\t\tconst provider = this.providers.get(t);\n\t\tif (provider === undefined) {\n\t\t\tfor (const parent of this.parents) {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\t\t\tconst sp = { [t]: t } as FluidObjectSymbolProvider<Pick<TMap, T>>;\n\t\t\t\tconst syn = parent.synthesize<Pick<TMap, T>, Record<string, unknown>>(sp, {});\n\t\t\t\tconst descriptor = Object.getOwnPropertyDescriptor(syn, t);\n\t\t\t\tif (descriptor !== undefined) {\n\t\t\t\t\treturn descriptor;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn undefined;\n\t\t}\n\n\t\t// The double nested gets are required for lazy loading the provider resolution\n\t\tif (typeof provider === \"function\") {\n\t\t\treturn {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/promise-function-async\n\t\t\t\tget() {\n\t\t\t\t\tif (provider && typeof provider === \"function\") {\n\t\t\t\t\t\treturn Promise.resolve(this[IFluidDependencySynthesizer])\n\t\t\t\t\t\t\t.then(async (fds): Promise<any> => provider(fds))\n\t\t\t\t\t\t\t.then((p) => p?.[t]);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\t\treturn {\n\t\t\tget() {\n\t\t\t\tif (provider) {\n\t\t\t\t\treturn new LazyPromise(async () => {\n\t\t\t\t\t\treturn Promise.resolve(provider).then((p) => {\n\t\t\t\t\t\t\tif (p) {\n\t\t\t\t\t\t\t\treturn p[t];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t};\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"dependencyContainer.js","sourceRoot":"","sources":["../src/dependencyContainer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAQzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAE5E;;;GAGG;AACH,MAAM,OAAO,mBAAmB;IAG/B,IAAW,2BAA2B;QACrC,OAAO,IAAI,CAAC;IACb,CAAC;IAED,YAAmB,GAAG,OAAoD;QANzD,cAAS,GAAG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AAE,GAAG,EAAgB,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;6BAChD,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;qBACtB;gBACF,CAAC;aACD,CAAC;SACF;QACD,OAAO;YACN,GAAG;gBACF,IAAI,QAAQ,EAAE;oBACb,OAAO,IAAI,WAAW,CAAC,KAAK,IAAI,EAAE;wBACjC,OAAO,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;4BAC3C,IAAI,CAAC,EAAE;gCACN,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;6BACZ;wBACF,CAAC,CAAC,CAAC;oBACJ,CAAC,CAAC,CAAC;iBACH;YACF,CAAC;SACD,CAAC;IACH,CAAC;CACD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { LazyPromise } from \"@fluidframework/core-utils\";\nimport {\n\tAsyncFluidObjectProvider,\n\tFluidObjectSymbolProvider,\n\tFluidObjectProvider,\n\tAsyncOptionalFluidObjectProvider,\n\tAsyncRequiredFluidObjectProvider,\n} from \"./types\";\nimport { IFluidDependencySynthesizer } from \"./IFluidDependencySynthesizer\";\n\n/**\n * DependencyContainer is similar to a IoC Container. It takes providers and will\n * synthesize an object based on them when requested.\n */\nexport class DependencyContainer<TMap> implements IFluidDependencySynthesizer {\n\tprivate readonly providers = new Map<keyof TMap, FluidObjectProvider<any>>();\n\tprivate readonly parents: IFluidDependencySynthesizer[];\n\tpublic get IFluidDependencySynthesizer() {\n\t\treturn this;\n\t}\n\n\tpublic constructor(...parents: (IFluidDependencySynthesizer | undefined)[]) {\n\t\tthis.parents = parents.filter((v): v is IFluidDependencySynthesizer => v !== undefined);\n\t}\n\n\t/**\n\t * Add a new provider\n\t * @param type - Name of the Type T being provided\n\t * @param provider - A provider that will resolve the T correctly when asked\n\t * @throws - If passing a type that's already registered\n\t */\n\tpublic register<T extends keyof TMap = keyof TMap>(\n\t\ttype: T,\n\t\tprovider: FluidObjectProvider<Pick<TMap, T>>,\n\t): void {\n\t\tif (this.providers.has(type)) {\n\t\t\tthrow new Error(\n\t\t\t\t`Attempting to register a provider of type ${String(type)} that already exists`,\n\t\t\t);\n\t\t}\n\n\t\tthis.providers.set(type, provider);\n\t}\n\n\t/**\n\t * Remove a provider\n\t * @param type - Name of the provider to remove\n\t */\n\tpublic unregister(type: keyof TMap): void {\n\t\tif (this.providers.has(type)) {\n\t\t\tthis.providers.delete(type);\n\t\t}\n\t}\n\n\t/**\n\t * {@inheritDoc (IFluidDependencySynthesizer:interface).synthesize}\n\t */\n\tpublic synthesize<O, R = undefined | Record<string, never>>(\n\t\toptionalTypes: FluidObjectSymbolProvider<O>,\n\t\trequiredTypes: Required<FluidObjectSymbolProvider<R>>,\n\t): AsyncFluidObjectProvider<O, R> {\n\t\tconst base: AsyncFluidObjectProvider<O, R> = {} as any;\n\t\tthis.generateRequired<R>(base, requiredTypes);\n\t\tthis.generateOptional<O>(base, optionalTypes);\n\t\tObject.defineProperty(base, IFluidDependencySynthesizer, { get: () => this });\n\t\treturn base;\n\t}\n\n\t/**\n\t * {@inheritDoc (IFluidDependencySynthesizer:interface).has}\n\t * @param excludeParents - If true, exclude checking parent registries\n\t */\n\tpublic has(type: string, excludeParents?: boolean): boolean {\n\t\tif (this.providers.has(type as keyof TMap)) {\n\t\t\treturn true;\n\t\t}\n\t\tif (excludeParents !== true) {\n\t\t\treturn this.parents.some((p: IFluidDependencySynthesizer) => p.has(type));\n\t\t}\n\t\treturn false;\n\t}\n\t/**\n\t * @deprecated Needed for backwards compatability.\n\t */\n\tprivate getProvider(provider: string & keyof TMap) {\n\t\t// this was removed, but some partners have trouble with back compat where they\n\t\t// use invalid patterns with FluidObject and IFluidDependencySynthesizer\n\t\t// this is just for back compat until those are removed\n\t\tif (this.has(provider)) {\n\t\t\tif (this.providers.has(provider)) {\n\t\t\t\treturn this.providers.get(provider);\n\t\t\t}\n\t\t\tfor (const parent of this.parents) {\n\t\t\t\tif (parent instanceof DependencyContainer) {\n\t\t\t\t\treturn parent.getProvider(provider);\n\t\t\t\t} else {\n\t\t\t\t\t// older implementations of the IFluidDependencySynthesizer exposed getProvider\n\t\t\t\t\tconst maybeGetProvider: { getProvider?(provider: string & keyof TMap) } =\n\t\t\t\t\t\tparent as any;\n\t\t\t\t\tif (maybeGetProvider?.getProvider !== undefined) {\n\t\t\t\t\t\treturn maybeGetProvider.getProvider(provider);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate generateRequired<T>(\n\t\tbase: AsyncRequiredFluidObjectProvider<T>,\n\t\ttypes: Required<FluidObjectSymbolProvider<T>>,\n\t) {\n\t\tif (types === undefined) {\n\t\t\treturn;\n\t\t}\n\t\tfor (const key of Object.keys(types) as unknown as (keyof TMap)[]) {\n\t\t\tconst provider = this.resolveProvider(key);\n\t\t\tif (provider === undefined) {\n\t\t\t\tthrow new Error(\n\t\t\t\t\t`Object attempted to be created without registered required provider ${String(\n\t\t\t\t\t\tkey,\n\t\t\t\t\t)}`,\n\t\t\t\t);\n\t\t\t}\n\t\t\tObject.defineProperty(base, key, provider);\n\t\t}\n\t}\n\n\tprivate generateOptional<T>(\n\t\tbase: AsyncOptionalFluidObjectProvider<T>,\n\t\ttypes: FluidObjectSymbolProvider<T>,\n\t) {\n\t\tif (types === undefined) {\n\t\t\treturn;\n\t\t}\n\t\tfor (const key of Object.keys(types) as unknown as (keyof TMap)[]) {\n\t\t\t// back-compat: in 0.56 we allow undefined in the types, but we didn't before\n\t\t\t// this will keep runtime back compat, eventually we should support undefined properties\n\t\t\t// rather than properties that return promises that resolve to undefined\n\t\t\tconst provider = this.resolveProvider(key) ?? { get: async () => undefined };\n\t\t\tObject.defineProperty(base, key, provider);\n\t\t}\n\t}\n\n\tprivate resolveProvider<T extends keyof TMap>(t: T): PropertyDescriptor | undefined {\n\t\t// If we have the provider return it\n\t\tconst provider = this.providers.get(t);\n\t\tif (provider === undefined) {\n\t\t\tfor (const parent of this.parents) {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/consistent-type-assertions\n\t\t\t\tconst sp = { [t]: t } as FluidObjectSymbolProvider<Pick<TMap, T>>;\n\t\t\t\tconst syn = parent.synthesize<Pick<TMap, T>, Record<string, unknown>>(sp, {});\n\t\t\t\tconst descriptor = Object.getOwnPropertyDescriptor(syn, t);\n\t\t\t\tif (descriptor !== undefined) {\n\t\t\t\t\treturn descriptor;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn undefined;\n\t\t}\n\n\t\t// The double nested gets are required for lazy loading the provider resolution\n\t\tif (typeof provider === \"function\") {\n\t\t\treturn {\n\t\t\t\t// eslint-disable-next-line @typescript-eslint/promise-function-async\n\t\t\t\tget() {\n\t\t\t\t\tif (provider && typeof provider === \"function\") {\n\t\t\t\t\t\treturn Promise.resolve(this[IFluidDependencySynthesizer])\n\t\t\t\t\t\t\t.then(async (fds): Promise<any> => provider(fds))\n\t\t\t\t\t\t\t.then((p) => p?.[t]);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t};\n\t\t}\n\t\treturn {\n\t\t\tget() {\n\t\t\t\tif (provider) {\n\t\t\t\t\treturn new LazyPromise(async () => {\n\t\t\t\t\t\treturn Promise.resolve(provider).then((p) => {\n\t\t\t\t\t\t\tif (p) {\n\t\t\t\t\t\t\t\treturn p[t];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t},\n\t\t};\n\t}\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/synthesize",
|
|
3
|
-
"version": "2.0.0-dev.
|
|
3
|
+
"version": "2.0.0-dev.7.2.0.204906",
|
|
4
4
|
"description": "A library for synthesizing scope objects.",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -39,31 +39,30 @@
|
|
|
39
39
|
"temp-directory": "nyc/.nyc_output"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@fluidframework/core-utils": "2.0.0-dev.
|
|
42
|
+
"@fluidframework/core-utils": "2.0.0-dev.7.2.0.204906"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@fluid-tools/build-cli": "
|
|
46
|
-
"@fluidframework/build-common": "^2.0.
|
|
47
|
-
"@fluidframework/build-tools": "
|
|
48
|
-
"@fluidframework/core-interfaces": "2.0.0-dev.
|
|
49
|
-
"@fluidframework/datastore": "2.0.0-dev.
|
|
50
|
-
"@fluidframework/eslint-config-fluid": "^
|
|
51
|
-
"@fluidframework/mocha-test-setup": "2.0.0-dev.
|
|
52
|
-
"@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.0.0-internal.
|
|
53
|
-
"@microsoft/api-extractor": "^7.
|
|
45
|
+
"@fluid-tools/build-cli": "0.26.0-203096",
|
|
46
|
+
"@fluidframework/build-common": "^2.0.2",
|
|
47
|
+
"@fluidframework/build-tools": "0.26.0-203096",
|
|
48
|
+
"@fluidframework/core-interfaces": "2.0.0-dev.7.2.0.204906",
|
|
49
|
+
"@fluidframework/datastore": "2.0.0-dev.7.2.0.204906",
|
|
50
|
+
"@fluidframework/eslint-config-fluid": "^3.0.0",
|
|
51
|
+
"@fluidframework/mocha-test-setup": "2.0.0-dev.7.2.0.204906",
|
|
52
|
+
"@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.0.0-internal.7.1.0",
|
|
53
|
+
"@microsoft/api-extractor": "^7.37.0",
|
|
54
54
|
"@types/mocha": "^9.1.1",
|
|
55
55
|
"@types/node": "^16.18.38",
|
|
56
56
|
"c8": "^7.7.1",
|
|
57
|
-
"copyfiles": "^2.4.1",
|
|
58
57
|
"cross-env": "^7.0.3",
|
|
59
|
-
"eslint": "~8.
|
|
58
|
+
"eslint": "~8.50.0",
|
|
60
59
|
"mocha": "^10.2.0",
|
|
61
60
|
"mocha-json-output-reporter": "^2.0.1",
|
|
62
61
|
"mocha-multi-reporters": "^1.5.1",
|
|
63
62
|
"moment": "^2.21.0",
|
|
64
|
-
"prettier": "~
|
|
63
|
+
"prettier": "~3.0.3",
|
|
65
64
|
"rimraf": "^4.4.0",
|
|
66
|
-
"typescript": "~
|
|
65
|
+
"typescript": "~5.1.6"
|
|
67
66
|
},
|
|
68
67
|
"typeValidation": {
|
|
69
68
|
"broken": {}
|
|
@@ -72,10 +71,10 @@
|
|
|
72
71
|
"build": "fluid-build . --task build",
|
|
73
72
|
"build:commonjs": "fluid-build . --task commonjs",
|
|
74
73
|
"build:compile": "fluid-build . --task compile",
|
|
75
|
-
"build:docs": "api-extractor run --local
|
|
74
|
+
"build:docs": "api-extractor run --local",
|
|
76
75
|
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
77
76
|
"build:test": "tsc --project ./src/test/tsconfig.json",
|
|
78
|
-
"ci:build:docs": "api-extractor run
|
|
77
|
+
"ci:build:docs": "api-extractor run",
|
|
79
78
|
"clean": "rimraf --glob 'dist' 'lib' '*.tsbuildinfo' '*.build.log' '_api-extractor-temp' 'nyc'",
|
|
80
79
|
"eslint": "eslint --format stylish src",
|
|
81
80
|
"eslint:fix": "eslint --format stylish src --fix --fix-type problem,suggestion,layout",
|