@fluidframework/synthesize 2.0.0-internal.6.3.3 → 2.0.0-internal.7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dependencyContainer.js +3 -3
- package/dist/dependencyContainer.js.map +1 -1
- 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 +10 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/lib/dependencyContainer.js +3 -3
- package/lib/dependencyContainer.js.map +1 -1
- package/lib/types.js.map +1 -1
- package/package.json +10 -10
|
@@ -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,KA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D,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;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AI,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 +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.1/node_modules/@fluidframework/synthesize/dist/types.d.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.6.3.1/node_modules/@fluidframework/synthesize/dist/IFluidDependencySynthesizer.d.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.6.3.1/node_modules/@fluidframework/synthesize/dist/dependencyContainer.d.ts","../../../../../node_modules/.pnpm/@fluidframework+synthesize@2.0.0-internal.6.3.1/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","5ebb384730f72d8dd8e417f48af044e3ae60089c3187941489fa60b386b1b554","766d8c595f94c9fe9dbb779b60d7a4d6d7a6526ef22090ccedbc658c2d8c77e0","707aadb03a4afa529146ec26b4c77e7976d5dfb34316caff3eda89d86007c2a7","42f35378f00626bd70026a9d977901214a00c43c67477d3a53fa6bbf5979d153","8692a1ed3a979fa000b62e01f8d33cf940e030b7af50945176428f9cdd4dca80","4426d86955701c6eb4c29141a9f95bb38506be1430fca5c468367bd9f605b13c","b02a21f4246834a23a48220a152092b3ab9a62b466a7fd7a36ee12113101b1ce","66824e3d15fc78a3801cd65e9c0c6d1b49829d4ad4b95d0cbe188fd1ab073cc0","470866668f63e372951091f09b059c8c3e93d2683db5ce81ae3aba6babb85b2f","7112c0d71827b4364af0b1eff05155cc5cf6deb097db154fee91a655333d9cf1","076b6366d3b47a8a8ee77466bdc03b275275bd74683b4c39185b50dd6b1ea004","400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935","6e935c98f94ea50e785203e05a61167ce4b49adc0a246c39ba7fc08603faf2df","088a3c9629bc5ebef938497adcd19eb477052700e8fa558d814d022632dc6281","91602994163b37d5804c17c40877465759d9893a5c86e6a53084aa1a9cd1b206","05b814bab9876451056940d9eac0e0e797c97d1af7f0ddebaaaea6b9aafe03ed","768154060c6e7683db7ee5ca06adcc8e0f7ed246c785843835ae006345876033","b0a1d2a01909faf47e60e66d8c11591fc09952882336fe6f179157c94e99e40f","cbc30ee9638dfc01433d6744616e943a08ea49e612641a9d32cb591540f3b745","273cafb90b9f1761407cb4a0e767458abec0045fc8c75048c724195954e0409b","16a6622b04269b445d26f79e1cfe294dbce606ab89ac031dfc5d897400c2a05c","cd907bda2734ba460eaf34446b8c6fb3a557c64fc1ef71bd2d4d969b3df466bc","173b80dafcefbeac9a023b545811698f9fff3d0bfd923e71949630c6662dc5c5","fabf53b6038fb84d618fe396f864979f8f6b26b18bd25d9cb01f153b07309047","3492be117d889e6ed80e99603f4fc105b533ee66853587e8a6affdb335cda68a","05c1168ca40f233c585515704176e9fff50bd696c6a704592db948fa15587a71","145a2f2032abdf710a7da87db76147469c9187f8326ff36013bb310bf7983280","4132fa047e6af739d2ce3d3b705ee7a748fb9aa1e7ae39d0df76afdd1ef3aa4a","f7594c36bb7e4a4936df3ba1e078f39009a0f3a39bc76899a075d1c690752002","d1d4798b6250562da877604a7271fda733d7b3e7b6bf9ea312b187bc5064ec5b","2e7c388cc40b7abe4d9f2fc6c3d76585e6b6df5cadac7a0cfaa03735377e10db","2be3c7c8992a2bc2f211671695e5f2521c1cfbebbdfa1c3c1d6c6d37b7f72a5f","23f042b465e90e3c6815a5b4a40fbdf33b6c975c6ecb140d773990cbbcc7a216","19f5106dcc5d662da6dcd203b17047fb1b93257485a798a2ac8f1fd7c5a17dff","7da49d6be542ee6f7f8810a19ffe351a93562ea99ac68a93d0a701f344389b05","c21365787186bd17f0ed204809bdfd0b50130494593fd1c0657b5b1a2d87afcc","3e429571f8c1d2355f0c105b706308a24d39b8949ca5868173cf0f75f8e40f49","739e7da9825029dead52b83a8e58525f8ecc5881ed25eb09744c9cad3ad90233","471510298742cdd3a5613a7eb84efd472abc2ef8bae510a767ac0bff05d3ae9d","d2de12ae0f86d9dae881b4c1534063fce79b19035c1b507954b11b062ece6dc7","910acae3ceaba3aba35fb52656476aca547b1585f4a10cc272acb50bb08692a6","0f75868c59fb4a2a90c582e505f1430589b7b1e104717bb8e815b20be65d6aa2","7c3f74377e2f69f3af629df55db463ac4925387856002def14fe1315b8d510f3","0cddcb7ba04b5b29e94625569b51a617c4c9cab53aef766a5e81525462e713c7","66489d246ba00e82db76453f7be5be7cd675c142889b72a1ff55ca0217eb1d79","57c96478eedfdd3475a42d496d9657d8630923f67f948ecbb778c6b648816fb8","3688605c5b12fec84e5df13f5c929eb7587ec78ff0d24c66b5aa5d9efb0e3bcc","a52c6afbe0ec23184e76be73d8ca1bcb49eba8a365ba14edc5a65f029ee70f13","1e1d138e69649922c821f854eb00ba9810589aebef9b4750ca0da9b245aa5854","aed2635e02adec91ce142ee599b4fdef2f1be7dcf453f3257243bad8017dfca6","15c1facca408116f02bd56703edcec13f9cf7f6019d26efbab3f082d11222eb5","677ba5fd1949f8c18ba733b2262bfe587b8e1dede172eece6f4dacc6382899aa","af2fe8cab34966d4b4dd31313654569bdc012e286dcc8d554b3d468ca6065d8b","4d9865a4442693fa12e6e77fa03c79c1ecdd29ea7853ac51de21d6c260c52949","3061ae5102975780a960039017f83cda8699f21bc335144cb59dcb8555093839","c988137eb41d93423ba0cfcf1158c80e91697cd1cf806aabc2e7fb6140036f82","a5abf69f7817f5dc8e4c3001991c95c77ebc111f0ec527de36164caa6246713e","4235efd3136ce2441c583051d084420c44aa5b7d4783be076ab4bf30429d9936","2287516880a0280744219b68424c854dcd8017fe77f6106f8a2a62bb0fe11880","cb27f3438ec2c402ff58011057550a766d232106b8c34660bf2b9abb85846c14","62cccb71cc5f41ae03c8167140da03f442a7cd816a0a987136419fbb87d89227","58387e8de574c692d78eaa4dfc42889e8e454f616eedff84419ab6726f752f88","b7cf610e8c794ad23f19212c6038eb3b08eda1d55ed49eba4fc1349e3cf7196e","09fce7d86f377bdd2c4753c26b44034bec2ae51dd8239e538d601028b3a0cc1c","297bf92969564b1501ce6b9bb7a46783e4c6a12423832bf487cf8d4b26927d66","f0a2d0180d3d7bd9ac60187fb379e3ea1ce58a99cab4f40bea720a2df9025424","7d4f2764bec71a8a6d0705b9238c0330a97861626a2b0ea5ee1ede79863ee7ed","6fa203eef3a9e4543c41c97216011d72091a0aa02c7be4eadc34699169eb9e5d","f791fa974acb24c34324e79810db90643e82c13b32e41674f25582e44e7e4e72","01f0bc80d65d62ee27cb9b32e12f60b2cc14371dfc52fe6bc15d84eb83f2a571","8023ac345236d4f16563d8dee36b7db6a3b58d2d478c2de674cbd70ce0249737","00be64709b17ccb0c9a515df9c53f253b7973cde619f8b07bdfa2026c3d38365","749a73fd7df5476b352b56f3e28f0349ac5b21bb45230c84b47fdefff1d62262","5b2debe8985bcff53d529e829cd163fc3dbfd172eab26eba2836efc4d093e198","bcb2b5ec9bb438a4a2ec0b66e7c623ed32784dedc3ef49b6ef48c700085dd803","679b5b0c89d9f3dc3b64bbb73ac7172b8ca05b9e26ef502f52a71c3411c84723","9f60552d7e485c84c18e4b6456500b291e91467fb998efd27ff65b9a5443b6c1","159e48a2b2e5e45a9902696f1f0871cb883db2b33b34558a31848432abd53cea","c194b78640eb0e427056ecf3bbe5e9703f08b281ead442354bcf1f6b7994e72c","331f38ebbf6919a32a355451bb5c64f453e77b47c4be2ae6993e5e3eba4c707b","a5b0987fcf322b1ed52c73640609c84c58be8c1a14812d3428b704812d24bc17","cec0fc2dc35982e8b1ac694faa6c689675a4f7a6114a42e0c19e1fe57f09d8a7","089e4f73ebd2e9c924dc844fe576340b544282f2aa5a958cc44934b14da08341","4094d791534eff678c749e986b5d242ac665ebdf8b845f371caff7de6a6634ee","a0635207a75a2c2698a18216b082429eef17c7c890501c530a7f5125b6a3c44a","6bc535080ef2e81c2003929a4c053b5a6f03468386d8c7fe116d0c53a360ac95","f2f75931453414c93a462e16d1c8705792402836c8337616de10260a7740606e","496a23c2c808f70a0e7421f9d115fbd91ac62765e21cfdbc05b20e9b8f112eeb","edd2e4391e7e6aa33d6eb96a8c907da90df9cc16fc187a3099541ec012122977","829c10c3b482cb6b308f1b4c38a650f08e81cad6eb92218d0ba269b2f525c412","4875b165a1ebddf149079cce60a3146443e6f6798e094c2dc5f3c109e2ecf14b","89113d949c98774f47f96209bd076d6b53085b1b908fb86f694633873ddb8ca1","b4b33eb1725bf4b411b5b631515d1d66d2f2555c00c0022dd0d14ee0dc01e943","ad9d4046f9283edf3f803118d70afd0736bd4b0bd0d3d5e4e06d8a9df121cfc8","0019f06f88e66fa5371d8eebb0e81dc749e54a8f65f8ec9b59760c77e759e46e","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.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@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.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/assert.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/assert/strict.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/globals.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/async_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/buffer.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/child_process.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/cluster.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/console.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/constants.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/crypto.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/dgram.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/diagnostics_channel.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/dns.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/dns/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/domain.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/events.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/fs.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/fs/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/http.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/http2.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/https.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/inspector.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/module.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/net.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/os.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/path.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/perf_hooks.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/process.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/punycode.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/querystring.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/readline.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/repl.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/stream.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/stream/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/stream/consumers.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/stream/web.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/string_decoder.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/test.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/timers.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/timers/promises.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/tls.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/trace_events.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/tty.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/url.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/util.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/v8.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/vm.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/wasi.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/worker_threads.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/zlib.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/node_modules/@types/node/globals.global.d.ts","../../../../../node_modules/.pnpm/@types+node@16.18.38/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","36b15a2a6aa0554939984c687a2001d0415cfddef2c717444a7852a7ae70d3a6","2b7b0fc69b43ebf1018625a38f700f523d2d2fdb01a711712ba67ef21489c7fb","0ede0fc53ccb95e107efc8fecd1456b5b713cf75cc9c5928a1398b6bd086bcee","21c16ed4d94993bf4af1a45f30acb182e04a810e27e88388a4f295d5dfa8e082","d7b2f41a6aec8f093838ef4b5ff0e484833e915f1963a25581a0ef22dcd826c9","532719326056cc0c0e48c1a9994a89ccf52a1b664169a198d2b4a3dacb30baf8","f0026b1e7410d238ea1670a127714337052cc11b84835e8a70bfbe249ae5de96","daedb101a8bd560b64268726b95b577cc50206121eb65c74e95700cbf4f17bcb","de9deabbfcf24effca243284bbc6c8fc27747258680d65cddb3ab1a4ad0bd548","0e4500a2232798b9e881269e21a25e6851e406e1e4b52115af73716e1bab3174","b6e4b2df38794096aba6944a0941accf45da9b97d2da719dd8a95d883b0fc7b1","023683fdc80a7f5c8dc1426427f328373aa309bf28be20bb7ff9b5fe1a3010c3","400db42c3a46984118bff14260d60cec580057dc1ab4c2d7310beb643e4f5935","c650b77495b9647c323764638608138df08a74ea6c0e7615e8d89e616eda1848","a27604fa55f98434d3243c5ae96842cc93df7d432e476a94c15a05ca3c6ebe02","8e19ab1cad076ffb9360750c8d1d3e236f88ed9f32af62e5afaa3debe9a66a0b","9dcebbc6c3ba0e08658aa8ac54a9d605e252185b7c227a1cec09a52cdb736e1d","c833d70472f361988cb4024fb5913701d0d02bbf0ff8248184d997ecbde98204","81e61854639e7a8747819f007a0e7fe0e3450462b64a4eb4eae25a5b8205ea41","e3783f1ac89a7d3af510c74b1d14b57e605b452c36520e16f3e558b7f272dc00","5fa5ca164fea16db2c611d502b3f5c82c1f02417507de0c4debeaf924f771a7a","c777a1cf10ad3a701a58fd92828d6609544f827d2ff2c2aa7445f5ec9c7dee55","d60dba2661e9f2bd4fe7a9809adcbb747621f49b6e03f15f9dbe6d43472fadd0","e10c973ec26b46831495a1af51d0d6c4462979c61c186756d55a6d5d360686a1","d64f562c3fed0a66fdd056ea82116aaf830937881da32a416c0b170f03212995","fc3ee942ccfa94e440de2663e97aca895561c69003b5fc958f3c42e7a62662f6","0d8c4c4ba4a8382bf5dbdd47f7724a7e33527dc01567ff2acd7c5856c7551158","ee8c1209ca159350b60feb7863345893cf04c719237f52df2485f001ae98d881","57c2b4231032db0401a8e0ca4e892e5cfab94beac5dfb7362b6c446b06ef31a7","58c02f2f290c32783532d9fbc0e52323df30b3e51d954b9ea7a029646aa9690f","bcc0645f473134fb8fcf6c1b9bbe785bce16832415408445582fb23413a5d663","b3e9a7d4905609e07b8ae61b9f7d262240ef28797185b073d218f04486067e6b","7e42fa194f3d508121eebf2f128e1e57eee3964a4981ba8064f927a324b11b55","525750fb10f6abeb4d94c8a396164b97ed5cb7951aaadcd4543a5c3b23324783","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","352bde81b50de181c384d256b2b029a3bf0d35a83b7544ae1c25c175542fd8d9","63a97e54ea32975e96a34a3d84f0bb7d6395038b2b0f0e6e91e7f55625baa61c","546018de5ac814ff07e9d9588d5cb562226d04c8073bd02fc5b84e81b71b11cd","02a0aa817e8d19eb996dfd2febe7e99448b857b5091fefee0c5ea946373de5f1","a3f30094a9a791de4878d5cea607ba1b084c99fb06caf66bf9f9ed137dd0b1a4","766ff9201eb426d1986f5720958a7c049cbc60db259aa51175b87b1649be6e77","9e9b6bd4e2b7393be04c26225c5d20c21f584fbef49ce1d6162b0df1fb9f9ecc","d6ab33d33ba3195b43189cbeeaa9499f7cf8b55b6a871365fbdd9c810e193485","a74b8f008dee8c60869db2a25bde16e8e75d38778eaa5edd5a879b88f1b0b2e2","d95c46b8642d63715c39e7c2ac9388b9a31d9f131ee2d42685d6f24a481eeb21","4dc6df644b229def5a02b1467e26622863c5b5e198466ed87b4b31e3bd0a46f9","76dde7306d8071e707616886f2219082b97cb4a6df074036c93d04112d928f34","dabb3947067df6cf15397e98a72b5e5f36e89022de2148417cca24ce9f55bcf0","43db7b8779baf2ddf46a6f97cfdc1ab2e4cf237390722c6f203394cd125a5d71","19ef9dc59c1ad49ebfeeb71a88c6c9af62763741f7d685afff719a2949bfb4b3","1b1021e202f7230713b6e88e6cafcad9154ad36ba9e45bdad09704525ffd847e","e99b808e76808f5fda4a5c2e6a9a0f51cd50a4ab1b256c5f14cff6eaa00edae5","0da56df94295c71a82e9b0f473e9bbf49e5a817f61f02683f05e9dd91bba8182","3cac966cb78f2469bf3e26ab1741dc1c38aefcf4b09a5a6057948e67c6dc69fc","2372e08546bb0952594b2ee851e9e5e08bd5dfbab8d48e766e8835972315709c","ea8f5c5e8497f3e43b184360732e63ca9fbb52d76522c6a051c4778dfa93e68a","3baa26522a8e3c8d811b2099e23aa3fcfa5e1c91ff8d8f1ae517d635c1099fcf","f4e356bfb32e80da857bfab80bd4bac01ed71c473d89af98d4172ab5b3a9dce4","7d2f55cdcd462ef67afabc2c348760248b0053e18eb904888aa7ceb21bb8198b","432016f68ec23f0ecf7662a685ae11ac54bf4e24fc3721fd9749e221b85497b6","41733f47743117314d8669ef99cca9f20b1076da2415bb4b5869c6bdda1c49f9","661c6f220933d3f8c7295d9b296c83526e47320ec8181a836f197c7fc6b2e714","a64f8c4e5271ceb2965ca578915a1847d199aaea9e0ce64f54398097c43cc64a","f6d09fbf18eb8cdac162fc7e5fe20a9c1db31e6f807f338726b0fc2720ced205","b340b43d33e2e04098fbf4502115f57642cc76195a82f56026b9fb797cc047bd","06a160b8e9f807195306d2969dd6babb6ef382b44d2536463c0b0cb97ff88317","1f6106a67ec369fd6ec808b5e06552f29b6e549ecbf861da0979b3bbc402c521","e16db4422330827915ba6a4a92528c3b49fd7962840bd97acf93b0468d9dc04e","37eab960a4e495bee9d427be3c346792a892b65b8614b739538d53847e08cbc7","eb360e096cc414424c50ae7a016d4c5939d8a4d7eb9ee42be2d82060fa98c529","2035c5afc65e2225b0b3162c546d042ece92f4bde48d7a11a98d4faff9b0638e","cbded31857cbb129bfa37e39c9f03b503bae85d132a70b4fb4c2054a6d120aa0","12b5b402669658288a3c717a4bf566fd67cbefe499158c0ed738249d6f028f35","fd135bc8415c1f2cdb30a6769f2e885f62f9d667406d201cec158b86ac864070","b3d328c10e306a4c037274ec16489c6fdeae9fc4d2487d76b309d8d2289b2de1","ff32ff7b4cd23c94876e916295b3b16dd9f9591ece804ac9da6a1cc161c12b4f","55f59aa27f3d60ddf1a5ad51964d5eb27182c3e441068c894560acfad1ed8d50","12b5b402669658288a3c717a4bf566fd67cbefe499158c0ed738249d6f028f35","fd135bc8415c1f2cdb30a6769f2e885f62f9d667406d201cec158b86ac864070","b3d328c10e306a4c037274ec16489c6fdeae9fc4d2487d76b309d8d2289b2de1","4ef8feb47276e1dabec5eb8d4f82aa1db2a4e1831a835de932cb7cd0697e4808","d655233b800bf949a46bdf90c9830d1aa4e3017864e2f18ec25ad4c3511e891e","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"b934b72617b1474639ef1886668032537a2ed5dcc875c303dc33f207c64daac1","affectsGlobalScope":true},"56d13f223ab40f71840795f5bef2552a397a70666ee60878222407f3893fb8d0",{"version":"ad0d1ec49330f9155698108dcd923031626500d80006e94cc07102c7be907ec8","affectsGlobalScope":true},"fa9257e0d44930c1c6765fec51133a65721a8cdfc385d92926b64f78c662b7bb","6816b69b0921d55c3fe01e614a11af57e87209b8ef96b73c09bcce827a71d7d7",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","f0b2fdef21dda3803b6e59e1060a9f420a7b3a3d59082c403be4364292ebd941","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","73e88763806a21b32aff5a66d4930124606bc5e77f796ea3ff8b6878ff787fa8","ac4b69257d71eee424b839167dda625a771f0d20276beaf822b5e49368539df7","888ec73828164f7a89bf11a173f2e6721e777571c606f03b625956cce2365cf6","06ccebc2c2db57d6bdbca63b71c4ae5e6ddc42d972fd8f122d4c1a28aa111b25",{"version":"81e8508d1e82278f5d3fee936f267e00c308af36219bfcee2631f9513c9c4017","affectsGlobalScope":true},"0218d6df259111a1a4c6bc76cd538932c6c051fd2ae5754f6cb189fbbd0bb6fc","58e6ce808ad556f72c4b882546b7cd023c7f5804c854edf77b6a8a6b59b68644","8e2dd46692f03737289f1b23fc90ad329d726a8b234f756a1453d61a39587356","0034f55fd438f31ba1f0b340dceef3b77d9a89f5218e5875a990b4eff2a5714d","288dd0c774a5c6e3964084c7a2bc8cc6b746d70f44a9892d028d04f915cf7ebc","d61c7c41eb1960b1285e242fd102c162b65c0522985b839fadda59874308a170",{"version":"e630e5528e899219ae319e83bef54bf3bcb91b01d76861ecf881e8e614b167f0","affectsGlobalScope":true},"f7011a8d17a06e60dc591fd89b7bf40507d36a5a4d5913fa0eff4e18da001759","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","fb0989383c6109f20281b3d31265293daefdd76d0d30551782c1654e93704f48","a4210a84a82b3e7a8cec5b2f3616e46d523f4f10cc1576d8f2fb89d0987b341e",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","22d48bfb37261136423ac687f1fa7bd4dda3083f767416d409a8260cf92bc8fc","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","77f7b6094b3422cc09eb2e919493287ed02380cff73d0452e17149d40dbf157d","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},"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],[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],[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,68]],"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,68]],"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
|
@@ -8,9 +8,13 @@ import { IFluidDependencySynthesizer } from ".";
|
|
|
8
8
|
* the FluidObject properties as its type mapped to a string representation
|
|
9
9
|
* of that property.
|
|
10
10
|
*
|
|
11
|
-
* @example
|
|
11
|
+
* @example
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* { IFoo: "IFoo" }
|
|
15
|
+
* ```
|
|
12
16
|
*/
|
|
13
|
-
export
|
|
17
|
+
export type FluidObjectSymbolProvider<T> = {
|
|
14
18
|
[P in keyof T]?: P;
|
|
15
19
|
};
|
|
16
20
|
/**
|
|
@@ -18,7 +22,7 @@ export declare type FluidObjectSymbolProvider<T> = {
|
|
|
18
22
|
* the FluidObject properties as its type mapped to an object that implements
|
|
19
23
|
* the property.
|
|
20
24
|
*/
|
|
21
|
-
export
|
|
25
|
+
export type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
22
26
|
[P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
|
|
23
27
|
};
|
|
24
28
|
/**
|
|
@@ -26,15 +30,15 @@ export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ?
|
|
|
26
30
|
* the FluidObject properties as its type, mapped to an object that implements
|
|
27
31
|
* the property or undefined.
|
|
28
32
|
*/
|
|
29
|
-
export
|
|
33
|
+
export type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
|
|
30
34
|
[P in keyof T]?: Promise<T[P] | undefined>;
|
|
31
35
|
};
|
|
32
36
|
/**
|
|
33
37
|
* Combined type for Optional and Required Async Fluid object Providers
|
|
34
38
|
*/
|
|
35
|
-
export
|
|
39
|
+
export type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
|
|
36
40
|
/**
|
|
37
41
|
* Multiple ways to provide a Fluid object.
|
|
38
42
|
*/
|
|
39
|
-
export
|
|
43
|
+
export type FluidObjectProvider<T> = NonNullable<T> | Promise<NonNullable<T>> | ((dependencyContainer: IFluidDependencySynthesizer) => NonNullable<T>) | ((dependencyContainer: IFluidDependencySynthesizer) => Promise<NonNullable<T>>);
|
|
40
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;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,2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names":[],"mappings":"","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\nimport { IFluidDependencySynthesizer } from \".\";\n/**\n * This is a condensed version of Record that requires the object has all\n * the FluidObject properties as its type mapped to a string representation\n * of that property.\n *\n * @example
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\nimport { IFluidDependencySynthesizer } from \".\";\n\n/**\n * This is a condensed version of Record that requires the object has all\n * the FluidObject properties as its type mapped to a string representation\n * of that property.\n *\n * @example\n *\n * ```typescript\n * { IFoo: \"IFoo\" }\n * ```\n */\nexport type FluidObjectSymbolProvider<T> = {\n\t[P in keyof T]?: P;\n};\n\n/**\n * This is a condensed version of Record that requires the object has all\n * the FluidObject properties as its type mapped to an object that implements\n * the property.\n */\nexport type AsyncRequiredFluidObjectProvider<T> = T extends undefined\n\t? Record<string, never>\n\t: {\n\t\t\t[P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;\n\t };\n\n/**\n * This is a condensed version of Record that requires the object has all\n * the FluidObject properties as its type, mapped to an object that implements\n * the property or undefined.\n */\nexport type AsyncOptionalFluidObjectProvider<T> = T extends undefined\n\t? Record<string, never>\n\t: {\n\t\t\t[P in keyof T]?: Promise<T[P] | undefined>;\n\t };\n\n/**\n * Combined type for Optional and Required Async Fluid object Providers\n */\nexport type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> &\n\tAsyncRequiredFluidObjectProvider<R>;\n\n/**\n * Multiple ways to provide a Fluid object.\n */\nexport type FluidObjectProvider<T> =\n\t| NonNullable<T>\n\t| Promise<NonNullable<T>>\n\t| ((dependencyContainer: IFluidDependencySynthesizer) => NonNullable<T>)\n\t| ((dependencyContainer: IFluidDependencySynthesizer) => Promise<NonNullable<T>>);\n"]}
|
|
@@ -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;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;IAC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,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,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,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AO,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/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\nimport { IFluidDependencySynthesizer } from \".\";\n/**\n * This is a condensed version of Record that requires the object has all\n * the FluidObject properties as its type mapped to a string representation\n * of that property.\n *\n * @example
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\nimport { IFluidDependencySynthesizer } from \".\";\n\n/**\n * This is a condensed version of Record that requires the object has all\n * the FluidObject properties as its type mapped to a string representation\n * of that property.\n *\n * @example\n *\n * ```typescript\n * { IFoo: \"IFoo\" }\n * ```\n */\nexport type FluidObjectSymbolProvider<T> = {\n\t[P in keyof T]?: P;\n};\n\n/**\n * This is a condensed version of Record that requires the object has all\n * the FluidObject properties as its type mapped to an object that implements\n * the property.\n */\nexport type AsyncRequiredFluidObjectProvider<T> = T extends undefined\n\t? Record<string, never>\n\t: {\n\t\t\t[P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;\n\t };\n\n/**\n * This is a condensed version of Record that requires the object has all\n * the FluidObject properties as its type, mapped to an object that implements\n * the property or undefined.\n */\nexport type AsyncOptionalFluidObjectProvider<T> = T extends undefined\n\t? Record<string, never>\n\t: {\n\t\t\t[P in keyof T]?: Promise<T[P] | undefined>;\n\t };\n\n/**\n * Combined type for Optional and Required Async Fluid object Providers\n */\nexport type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> &\n\tAsyncRequiredFluidObjectProvider<R>;\n\n/**\n * Multiple ways to provide a Fluid object.\n */\nexport type FluidObjectProvider<T> =\n\t| NonNullable<T>\n\t| Promise<NonNullable<T>>\n\t| ((dependencyContainer: IFluidDependencySynthesizer) => NonNullable<T>)\n\t| ((dependencyContainer: IFluidDependencySynthesizer) => Promise<NonNullable<T>>);\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/synthesize",
|
|
3
|
-
"version": "2.0.0-internal.
|
|
3
|
+
"version": "2.0.0-internal.7.0.0",
|
|
4
4
|
"description": "A library for synthesizing scope objects.",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
"temp-directory": "nyc/.nyc_output"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@fluidframework/core-utils": ">=2.0.0-internal.
|
|
42
|
+
"@fluidframework/core-utils": ">=2.0.0-internal.7.0.0 <2.0.0-internal.7.1.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@fluid-tools/build-cli": "^0.
|
|
45
|
+
"@fluid-tools/build-cli": "^0.24.0",
|
|
46
46
|
"@fluidframework/build-common": "^2.0.0",
|
|
47
|
-
"@fluidframework/build-tools": "^0.
|
|
48
|
-
"@fluidframework/core-interfaces": ">=2.0.0-internal.
|
|
49
|
-
"@fluidframework/datastore": ">=2.0.0-internal.
|
|
47
|
+
"@fluidframework/build-tools": "^0.24.0",
|
|
48
|
+
"@fluidframework/core-interfaces": ">=2.0.0-internal.7.0.0 <2.0.0-internal.7.1.0",
|
|
49
|
+
"@fluidframework/datastore": ">=2.0.0-internal.7.0.0 <2.0.0-internal.7.1.0",
|
|
50
50
|
"@fluidframework/eslint-config-fluid": "^2.1.0",
|
|
51
|
-
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.
|
|
52
|
-
"@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.0.0-internal.6.3.
|
|
53
|
-
"@microsoft/api-extractor": "^7.
|
|
51
|
+
"@fluidframework/mocha-test-setup": ">=2.0.0-internal.7.0.0 <2.0.0-internal.7.1.0",
|
|
52
|
+
"@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.0.0-internal.6.3.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",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"moment": "^2.21.0",
|
|
64
64
|
"prettier": "~2.6.2",
|
|
65
65
|
"rimraf": "^4.4.0",
|
|
66
|
-
"typescript": "~
|
|
66
|
+
"typescript": "~5.1.6"
|
|
67
67
|
},
|
|
68
68
|
"typeValidation": {
|
|
69
69
|
"broken": {}
|