@fluidframework/synthesize 2.0.0-dev.7.4.0.217884 → 2.0.0-dev.7.4.0.221926

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.
@@ -6,7 +6,7 @@
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.IFluidDependencySynthesizer = void 0;
8
8
  /**
9
- * @internal
9
+ * @alpha
10
10
  */
11
11
  exports.IFluidDependencySynthesizer = "IFluidDependencySynthesizer";
12
12
  //# sourceMappingURL=IFluidDependencySynthesizer.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"IFluidDependencySynthesizer.cjs","sourceRoot":"","sources":["../src/IFluidDependencySynthesizer.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH;;GAEG;AACU,QAAA,2BAA2B,GACvC,6BAA6B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { AsyncFluidObjectProvider, FluidObjectSymbolProvider } from \"./types\";\n\n/**\n * @internal\n */\nexport const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer =\n\t\"IFluidDependencySynthesizer\";\n\n/**\n * @internal\n */\nexport interface IProvideFluidDependencySynthesizer {\n\tIFluidDependencySynthesizer: IFluidDependencySynthesizer;\n}\n\n/**\n * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.\n * It allow for registering providers and uses synthesize to generate a new object with the optional\n * and required types.\n * @internal\n */\nexport interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {\n\t/**\n\t * synthesize takes optional and required types and returns an object that will fulfill the\n\t * defined types based off objects that has been previously registered.\n\t *\n\t * @param optionalTypes - optional types to be in the Scope object\n\t * @param requiredTypes - required types that need to be in the Scope object\n\t */\n\tsynthesize<O, R = undefined | Record<string, never>>(\n\t\toptionalTypes: FluidObjectSymbolProvider<O>,\n\t\trequiredTypes: Required<FluidObjectSymbolProvider<R>>,\n\t): AsyncFluidObjectProvider<O, R>;\n\n\t/**\n\t * Check if a given type is registered\n\t * @param type - Type to check\n\t */\n\thas(type: string): boolean;\n}\n"]}
1
+ {"version":3,"file":"IFluidDependencySynthesizer.cjs","sourceRoot":"","sources":["../src/IFluidDependencySynthesizer.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH;;GAEG;AACU,QAAA,2BAA2B,GACvC,6BAA6B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { AsyncFluidObjectProvider, FluidObjectSymbolProvider } from \"./types\";\n\n/**\n * @alpha\n */\nexport const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer =\n\t\"IFluidDependencySynthesizer\";\n\n/**\n * @alpha\n */\nexport interface IProvideFluidDependencySynthesizer {\n\tIFluidDependencySynthesizer: IFluidDependencySynthesizer;\n}\n\n/**\n * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.\n * It allow for registering providers and uses synthesize to generate a new object with the optional\n * and required types.\n * @alpha\n */\nexport interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {\n\t/**\n\t * synthesize takes optional and required types and returns an object that will fulfill the\n\t * defined types based off objects that has been previously registered.\n\t *\n\t * @param optionalTypes - optional types to be in the Scope object\n\t * @param requiredTypes - required types that need to be in the Scope object\n\t */\n\tsynthesize<O, R = undefined | Record<string, never>>(\n\t\toptionalTypes: FluidObjectSymbolProvider<O>,\n\t\trequiredTypes: Required<FluidObjectSymbolProvider<R>>,\n\t): AsyncFluidObjectProvider<O, R>;\n\n\t/**\n\t * Check if a given type is registered\n\t * @param type - Type to check\n\t */\n\thas(type: string): boolean;\n}\n"]}
@@ -4,11 +4,11 @@
4
4
  */
5
5
  import { AsyncFluidObjectProvider, FluidObjectSymbolProvider } from "./types";
6
6
  /**
7
- * @internal
7
+ * @alpha
8
8
  */
9
9
  export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
10
10
  /**
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export interface IProvideFluidDependencySynthesizer {
14
14
  IFluidDependencySynthesizer: IFluidDependencySynthesizer;
@@ -17,7 +17,7 @@ export interface IProvideFluidDependencySynthesizer {
17
17
  * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
18
18
  * It allow for registering providers and uses synthesize to generate a new object with the optional
19
19
  * and required types.
20
- * @internal
20
+ * @alpha
21
21
  */
22
22
  export interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
23
23
  /**
@@ -1,17 +1,81 @@
1
- /* Excluded from this release type: AsyncFluidObjectProvider */
1
+ /**
2
+ * Combined type for Optional and Required Async Fluid object Providers
3
+ * @alpha
4
+ */
5
+ export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
2
6
 
3
- /* Excluded from this release type: AsyncOptionalFluidObjectProvider */
7
+ /**
8
+ * This is a condensed version of Record that requires the object has all
9
+ * the FluidObject properties as its type, mapped to an object that implements
10
+ * the property or undefined.
11
+ * @alpha
12
+ */
13
+ export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
14
+ [P in keyof T]?: Promise<T[P] | undefined>;
15
+ };
4
16
 
5
- /* Excluded from this release type: AsyncRequiredFluidObjectProvider */
17
+ /**
18
+ * This is a condensed version of Record that requires the object has all
19
+ * the FluidObject properties as its type mapped to an object that implements
20
+ * the property.
21
+ * @alpha
22
+ */
23
+ export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
24
+ [P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
25
+ };
6
26
 
7
27
  /* Excluded from this release type: DependencyContainer */
8
28
 
9
29
  /* Excluded from this release type: FluidObjectProvider */
10
30
 
11
- /* Excluded from this release type: FluidObjectSymbolProvider */
31
+ /**
32
+ * This is a condensed version of Record that requires the object has all
33
+ * the FluidObject properties as its type mapped to a string representation
34
+ * of that property.
35
+ *
36
+ * @example
37
+ *
38
+ * ```typescript
39
+ * { IFoo: "IFoo" }
40
+ * ```
41
+ * @alpha
42
+ */
43
+ export declare type FluidObjectSymbolProvider<T> = {
44
+ [P in keyof T]?: P;
45
+ };
12
46
 
13
- /* Excluded from this release type: IFluidDependencySynthesizer */
47
+ /**
48
+ * @alpha
49
+ */
50
+ export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
14
51
 
15
- /* Excluded from this release type: IProvideFluidDependencySynthesizer */
52
+ /**
53
+ * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
54
+ * It allow for registering providers and uses synthesize to generate a new object with the optional
55
+ * and required types.
56
+ * @alpha
57
+ */
58
+ export declare interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
59
+ /**
60
+ * synthesize takes optional and required types and returns an object that will fulfill the
61
+ * defined types based off objects that has been previously registered.
62
+ *
63
+ * @param optionalTypes - optional types to be in the Scope object
64
+ * @param requiredTypes - required types that need to be in the Scope object
65
+ */
66
+ synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
67
+ /**
68
+ * Check if a given type is registered
69
+ * @param type - Type to check
70
+ */
71
+ has(type: string): boolean;
72
+ }
73
+
74
+ /**
75
+ * @alpha
76
+ */
77
+ export declare interface IProvideFluidDependencySynthesizer {
78
+ IFluidDependencySynthesizer: IFluidDependencySynthesizer;
79
+ }
16
80
 
17
81
  export { }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Combined type for Optional and Required Async Fluid object Providers
3
- * @internal
3
+ * @alpha
4
4
  */
5
5
  export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
6
6
 
@@ -8,7 +8,7 @@ export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFl
8
8
  * This is a condensed version of Record that requires the object has all
9
9
  * the FluidObject properties as its type, mapped to an object that implements
10
10
  * the property or undefined.
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
14
14
  [P in keyof T]?: Promise<T[P] | undefined>;
@@ -18,7 +18,7 @@ export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ?
18
18
  * This is a condensed version of Record that requires the object has all
19
19
  * the FluidObject properties as its type mapped to an object that implements
20
20
  * the property.
21
- * @internal
21
+ * @alpha
22
22
  */
23
23
  export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
24
24
  [P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
@@ -80,14 +80,14 @@ export declare type FluidObjectProvider<T> = NonNullable<T> | Promise<NonNullabl
80
80
  * ```typescript
81
81
  * { IFoo: "IFoo" }
82
82
  * ```
83
- * @internal
83
+ * @alpha
84
84
  */
85
85
  export declare type FluidObjectSymbolProvider<T> = {
86
86
  [P in keyof T]?: P;
87
87
  };
88
88
 
89
89
  /**
90
- * @internal
90
+ * @alpha
91
91
  */
92
92
  export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
93
93
 
@@ -95,7 +95,7 @@ export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencyS
95
95
  * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
96
96
  * It allow for registering providers and uses synthesize to generate a new object with the optional
97
97
  * and required types.
98
- * @internal
98
+ * @alpha
99
99
  */
100
100
  export declare interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
101
101
  /**
@@ -114,7 +114,7 @@ export declare interface IFluidDependencySynthesizer extends IProvideFluidDepend
114
114
  }
115
115
 
116
116
  /**
117
- * @internal
117
+ * @alpha
118
118
  */
119
119
  export declare interface IProvideFluidDependencySynthesizer {
120
120
  IFluidDependencySynthesizer: IFluidDependencySynthesizer;
@@ -1 +1 @@
1
- {"version":3,"file":"types.cjs","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 * @internal\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 * @internal\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 * @internal\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 * @internal\n */\nexport type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> &\n\tAsyncRequiredFluidObjectProvider<R>;\n\n/**\n * Multiple ways to provide a Fluid object.\n * @internal\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"]}
1
+ {"version":3,"file":"types.cjs","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 * @alpha\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 * @alpha\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 * @alpha\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 * @alpha\n */\nexport type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> &\n\tAsyncRequiredFluidObjectProvider<R>;\n\n/**\n * Multiple ways to provide a Fluid object.\n * @internal\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/dist/types.d.ts CHANGED
@@ -13,7 +13,7 @@ import { IFluidDependencySynthesizer } from ".";
13
13
  * ```typescript
14
14
  * { IFoo: "IFoo" }
15
15
  * ```
16
- * @internal
16
+ * @alpha
17
17
  */
18
18
  export type FluidObjectSymbolProvider<T> = {
19
19
  [P in keyof T]?: P;
@@ -22,7 +22,7 @@ export type FluidObjectSymbolProvider<T> = {
22
22
  * This is a condensed version of Record that requires the object has all
23
23
  * the FluidObject properties as its type mapped to an object that implements
24
24
  * the property.
25
- * @internal
25
+ * @alpha
26
26
  */
27
27
  export type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
28
28
  [P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
@@ -31,14 +31,14 @@ export type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<s
31
31
  * This is a condensed version of Record that requires the object has all
32
32
  * the FluidObject properties as its type, mapped to an object that implements
33
33
  * the property or undefined.
34
- * @internal
34
+ * @alpha
35
35
  */
36
36
  export type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
37
37
  [P in keyof T]?: Promise<T[P] | undefined>;
38
38
  };
39
39
  /**
40
40
  * Combined type for Optional and Required Async Fluid object Providers
41
- * @internal
41
+ * @alpha
42
42
  */
43
43
  export type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
44
44
  /**
@@ -0,0 +1,37 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+ import { AsyncFluidObjectProvider, FluidObjectSymbolProvider } from "./types.mjs";
6
+ /**
7
+ * @alpha
8
+ */
9
+ export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
10
+ /**
11
+ * @alpha
12
+ */
13
+ export interface IProvideFluidDependencySynthesizer {
14
+ IFluidDependencySynthesizer: IFluidDependencySynthesizer;
15
+ }
16
+ /**
17
+ * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
18
+ * It allow for registering providers and uses synthesize to generate a new object with the optional
19
+ * and required types.
20
+ * @alpha
21
+ */
22
+ export interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
23
+ /**
24
+ * synthesize takes optional and required types and returns an object that will fulfill the
25
+ * defined types based off objects that has been previously registered.
26
+ *
27
+ * @param optionalTypes - optional types to be in the Scope object
28
+ * @param requiredTypes - required types that need to be in the Scope object
29
+ */
30
+ synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
31
+ /**
32
+ * Check if a given type is registered
33
+ * @param type - Type to check
34
+ */
35
+ has(type: string): boolean;
36
+ }
37
+ //# sourceMappingURL=IFluidDependencySynthesizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IFluidDependencySynthesizer.d.ts","sourceRoot":"","sources":["../src/IFluidDependencySynthesizer.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAEI,EAAE,wBAAwB,EAAE,yBAAyB,EAAE;AAE9D;;GAEG;AACH,eAAO,MAAM,2BAA2B,EAAE,MAAM,kCAClB,CAAC;AAE/B;;GAEG;AACH,MAAM,WAAW,kCAAkC;IAClD,2BAA2B,EAAE,2BAA2B,CAAC;CACzD;AAED;;;;;GAKG;AACH,MAAM,WAAW,2BAA4B,SAAQ,kCAAkC;IACtF;;;;;;OAMG;IACH,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAClD,aAAa,EAAE,yBAAyB,CAAC,CAAC,CAAC,EAC3C,aAAa,EAAE,QAAQ,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,GACnD,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAElC;;;OAGG;IACH,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;CAC3B"}
@@ -3,7 +3,7 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
  /**
6
- * @internal
6
+ * @alpha
7
7
  */
8
8
  export const IFluidDependencySynthesizer = "IFluidDependencySynthesizer";
9
9
  //# sourceMappingURL=IFluidDependencySynthesizer.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"IFluidDependencySynthesizer.mjs","sourceRoot":"","sources":["../src/IFluidDependencySynthesizer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GACvC,6BAA6B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { AsyncFluidObjectProvider, FluidObjectSymbolProvider } from \"./types\";\n\n/**\n * @internal\n */\nexport const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer =\n\t\"IFluidDependencySynthesizer\";\n\n/**\n * @internal\n */\nexport interface IProvideFluidDependencySynthesizer {\n\tIFluidDependencySynthesizer: IFluidDependencySynthesizer;\n}\n\n/**\n * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.\n * It allow for registering providers and uses synthesize to generate a new object with the optional\n * and required types.\n * @internal\n */\nexport interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {\n\t/**\n\t * synthesize takes optional and required types and returns an object that will fulfill the\n\t * defined types based off objects that has been previously registered.\n\t *\n\t * @param optionalTypes - optional types to be in the Scope object\n\t * @param requiredTypes - required types that need to be in the Scope object\n\t */\n\tsynthesize<O, R = undefined | Record<string, never>>(\n\t\toptionalTypes: FluidObjectSymbolProvider<O>,\n\t\trequiredTypes: Required<FluidObjectSymbolProvider<R>>,\n\t): AsyncFluidObjectProvider<O, R>;\n\n\t/**\n\t * Check if a given type is registered\n\t * @param type - Type to check\n\t */\n\thas(type: string): boolean;\n}\n"]}
1
+ {"version":3,"file":"IFluidDependencySynthesizer.mjs","sourceRoot":"","sources":["../src/IFluidDependencySynthesizer.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GACvC,6BAA6B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { AsyncFluidObjectProvider, FluidObjectSymbolProvider } from \"./types\";\n\n/**\n * @alpha\n */\nexport const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer =\n\t\"IFluidDependencySynthesizer\";\n\n/**\n * @alpha\n */\nexport interface IProvideFluidDependencySynthesizer {\n\tIFluidDependencySynthesizer: IFluidDependencySynthesizer;\n}\n\n/**\n * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.\n * It allow for registering providers and uses synthesize to generate a new object with the optional\n * and required types.\n * @alpha\n */\nexport interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {\n\t/**\n\t * synthesize takes optional and required types and returns an object that will fulfill the\n\t * defined types based off objects that has been previously registered.\n\t *\n\t * @param optionalTypes - optional types to be in the Scope object\n\t * @param requiredTypes - required types that need to be in the Scope object\n\t */\n\tsynthesize<O, R = undefined | Record<string, never>>(\n\t\toptionalTypes: FluidObjectSymbolProvider<O>,\n\t\trequiredTypes: Required<FluidObjectSymbolProvider<R>>,\n\t): AsyncFluidObjectProvider<O, R>;\n\n\t/**\n\t * Check if a given type is registered\n\t * @param type - Type to check\n\t */\n\thas(type: string): boolean;\n}\n"]}
@@ -0,0 +1,46 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+ import { AsyncFluidObjectProvider, FluidObjectSymbolProvider, FluidObjectProvider } from "./types.mjs";
6
+ import { IFluidDependencySynthesizer } from "./IFluidDependencySynthesizer.mjs";
7
+ /**
8
+ * DependencyContainer is similar to a IoC Container. It takes providers and will
9
+ * synthesize an object based on them when requested.
10
+ * @internal
11
+ */
12
+ export declare class DependencyContainer<TMap> implements IFluidDependencySynthesizer {
13
+ private readonly providers;
14
+ private readonly parents;
15
+ get IFluidDependencySynthesizer(): this;
16
+ constructor(...parents: (IFluidDependencySynthesizer | undefined)[]);
17
+ /**
18
+ * Add a new provider
19
+ * @param type - Name of the Type T being provided
20
+ * @param provider - A provider that will resolve the T correctly when asked
21
+ * @throws - If passing a type that's already registered
22
+ */
23
+ register<T extends keyof TMap = keyof TMap>(type: T, provider: FluidObjectProvider<Pick<TMap, T>>): void;
24
+ /**
25
+ * Remove a provider
26
+ * @param type - Name of the provider to remove
27
+ */
28
+ unregister(type: keyof TMap): void;
29
+ /**
30
+ * {@inheritDoc (IFluidDependencySynthesizer:interface).synthesize}
31
+ */
32
+ synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
33
+ /**
34
+ * {@inheritDoc (IFluidDependencySynthesizer:interface).has}
35
+ * @param excludeParents - If true, exclude checking parent registries
36
+ */
37
+ has(type: string, excludeParents?: boolean): boolean;
38
+ /**
39
+ * @deprecated Needed for backwards compatability.
40
+ */
41
+ private getProvider;
42
+ private generateRequired;
43
+ private generateOptional;
44
+ private resolveProvider;
45
+ }
46
+ //# sourceMappingURL=dependencyContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dependencyContainer.d.ts","sourceRoot":"","sources":["../src/dependencyContainer.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAGI,EACN,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EAGnB;OACM,EAAE,2BAA2B,EAAE;AAEtC;;;;GAIG;AACH,qBAAa,mBAAmB,CAAC,IAAI,CAAE,YAAW,2BAA2B;IAC5E,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmD;IAC7E,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgC;IACxD,IAAW,2BAA2B,SAErC;gBAEkB,GAAG,OAAO,EAAE,CAAC,2BAA2B,GAAG,SAAS,CAAC,EAAE;IAI1E;;;;;OAKG;IACI,QAAQ,CAAC,CAAC,SAAS,MAAM,IAAI,GAAG,MAAM,IAAI,EAChD,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,mBAAmB,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,GAC1C,IAAI;IAUP;;;OAGG;IACI,UAAU,CAAC,IAAI,EAAE,MAAM,IAAI,GAAG,IAAI;IAMzC;;OAEG;IACI,UAAU,CAAC,CAAC,EAAE,CAAC,GAAG,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EACzD,aAAa,EAAE,yBAAyB,CAAC,CAAC,CAAC,EAC3C,aAAa,EAAE,QAAQ,CAAC,yBAAyB,CAAC,CAAC,CAAC,CAAC,GACnD,wBAAwB,CAAC,CAAC,EAAE,CAAC,CAAC;IAQjC;;;OAGG;IACI,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO;IAS3D;;OAEG;IACH,OAAO,CAAC,WAAW;IAuBnB,OAAO,CAAC,gBAAgB;IAoBxB,OAAO,CAAC,gBAAgB;IAgBxB,OAAO,CAAC,eAAe;CA2CvB"}
package/lib/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ /*!
2
+ * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
+ * Licensed under the MIT License.
4
+ */
5
+ export { DependencyContainer } from "./dependencyContainer.mjs";
6
+ export { IFluidDependencySynthesizer, IProvideFluidDependencySynthesizer, } from "./IFluidDependencySynthesizer.mjs";
7
+ export { AsyncFluidObjectProvider, AsyncOptionalFluidObjectProvider, AsyncRequiredFluidObjectProvider, FluidObjectProvider, FluidObjectSymbolProvider, } from "./types.mjs";
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAEI,EAAE,mBAAmB,EAAE;OACvB,EACN,2BAA2B,EAC3B,kCAAkC,GAClC;OACM,EACN,wBAAwB,EACxB,gCAAgC,EAChC,gCAAgC,EAChC,mBAAmB,EACnB,yBAAyB,GACzB"}
@@ -1,17 +1,81 @@
1
- /* Excluded from this release type: AsyncFluidObjectProvider */
1
+ /**
2
+ * Combined type for Optional and Required Async Fluid object Providers
3
+ * @alpha
4
+ */
5
+ export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
2
6
 
3
- /* Excluded from this release type: AsyncOptionalFluidObjectProvider */
7
+ /**
8
+ * This is a condensed version of Record that requires the object has all
9
+ * the FluidObject properties as its type, mapped to an object that implements
10
+ * the property or undefined.
11
+ * @alpha
12
+ */
13
+ export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
14
+ [P in keyof T]?: Promise<T[P] | undefined>;
15
+ };
4
16
 
5
- /* Excluded from this release type: AsyncRequiredFluidObjectProvider */
17
+ /**
18
+ * This is a condensed version of Record that requires the object has all
19
+ * the FluidObject properties as its type mapped to an object that implements
20
+ * the property.
21
+ * @alpha
22
+ */
23
+ export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
24
+ [P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
25
+ };
6
26
 
7
27
  /* Excluded from this release type: DependencyContainer */
8
28
 
9
29
  /* Excluded from this release type: FluidObjectProvider */
10
30
 
11
- /* Excluded from this release type: FluidObjectSymbolProvider */
31
+ /**
32
+ * This is a condensed version of Record that requires the object has all
33
+ * the FluidObject properties as its type mapped to a string representation
34
+ * of that property.
35
+ *
36
+ * @example
37
+ *
38
+ * ```typescript
39
+ * { IFoo: "IFoo" }
40
+ * ```
41
+ * @alpha
42
+ */
43
+ export declare type FluidObjectSymbolProvider<T> = {
44
+ [P in keyof T]?: P;
45
+ };
12
46
 
13
- /* Excluded from this release type: IFluidDependencySynthesizer */
47
+ /**
48
+ * @alpha
49
+ */
50
+ export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
14
51
 
15
- /* Excluded from this release type: IProvideFluidDependencySynthesizer */
52
+ /**
53
+ * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
54
+ * It allow for registering providers and uses synthesize to generate a new object with the optional
55
+ * and required types.
56
+ * @alpha
57
+ */
58
+ export declare interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
59
+ /**
60
+ * synthesize takes optional and required types and returns an object that will fulfill the
61
+ * defined types based off objects that has been previously registered.
62
+ *
63
+ * @param optionalTypes - optional types to be in the Scope object
64
+ * @param requiredTypes - required types that need to be in the Scope object
65
+ */
66
+ synthesize<O, R = undefined | Record<string, never>>(optionalTypes: FluidObjectSymbolProvider<O>, requiredTypes: Required<FluidObjectSymbolProvider<R>>): AsyncFluidObjectProvider<O, R>;
67
+ /**
68
+ * Check if a given type is registered
69
+ * @param type - Type to check
70
+ */
71
+ has(type: string): boolean;
72
+ }
73
+
74
+ /**
75
+ * @alpha
76
+ */
77
+ export declare interface IProvideFluidDependencySynthesizer {
78
+ IFluidDependencySynthesizer: IFluidDependencySynthesizer;
79
+ }
16
80
 
17
81
  export { }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Combined type for Optional and Required Async Fluid object Providers
3
- * @internal
3
+ * @alpha
4
4
  */
5
5
  export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
6
6
 
@@ -8,7 +8,7 @@ export declare type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFl
8
8
  * This is a condensed version of Record that requires the object has all
9
9
  * the FluidObject properties as its type, mapped to an object that implements
10
10
  * the property or undefined.
11
- * @internal
11
+ * @alpha
12
12
  */
13
13
  export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
14
14
  [P in keyof T]?: Promise<T[P] | undefined>;
@@ -18,7 +18,7 @@ export declare type AsyncOptionalFluidObjectProvider<T> = T extends undefined ?
18
18
  * This is a condensed version of Record that requires the object has all
19
19
  * the FluidObject properties as its type mapped to an object that implements
20
20
  * the property.
21
- * @internal
21
+ * @alpha
22
22
  */
23
23
  export declare type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
24
24
  [P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
@@ -80,14 +80,14 @@ export declare type FluidObjectProvider<T> = NonNullable<T> | Promise<NonNullabl
80
80
  * ```typescript
81
81
  * { IFoo: "IFoo" }
82
82
  * ```
83
- * @internal
83
+ * @alpha
84
84
  */
85
85
  export declare type FluidObjectSymbolProvider<T> = {
86
86
  [P in keyof T]?: P;
87
87
  };
88
88
 
89
89
  /**
90
- * @internal
90
+ * @alpha
91
91
  */
92
92
  export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencySynthesizer;
93
93
 
@@ -95,7 +95,7 @@ export declare const IFluidDependencySynthesizer: keyof IProvideFluidDependencyS
95
95
  * IFluidDependencySynthesizer can generate FluidObjects based on the IProvideFluidObject pattern.
96
96
  * It allow for registering providers and uses synthesize to generate a new object with the optional
97
97
  * and required types.
98
- * @internal
98
+ * @alpha
99
99
  */
100
100
  export declare interface IFluidDependencySynthesizer extends IProvideFluidDependencySynthesizer {
101
101
  /**
@@ -114,7 +114,7 @@ export declare interface IFluidDependencySynthesizer extends IProvideFluidDepend
114
114
  }
115
115
 
116
116
  /**
117
- * @internal
117
+ * @alpha
118
118
  */
119
119
  export declare interface IProvideFluidDependencySynthesizer {
120
120
  IFluidDependencySynthesizer: IFluidDependencySynthesizer;
package/lib/types.d.ts ADDED
@@ -0,0 +1,45 @@
1
+ import { IFluidDependencySynthesizer } from ".";
2
+ /**
3
+ * This is a condensed version of Record that requires the object has all
4
+ * the FluidObject properties as its type mapped to a string representation
5
+ * of that property.
6
+ *
7
+ * @example
8
+ *
9
+ * ```typescript
10
+ * { IFoo: "IFoo" }
11
+ * ```
12
+ * @alpha
13
+ */
14
+ export type FluidObjectSymbolProvider<T> = {
15
+ [P in keyof T]?: P;
16
+ };
17
+ /**
18
+ * This is a condensed version of Record that requires the object has all
19
+ * the FluidObject properties as its type mapped to an object that implements
20
+ * the property.
21
+ * @alpha
22
+ */
23
+ export type AsyncRequiredFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
24
+ [P in keyof T]: Promise<NonNullable<Exclude<T[P], undefined | null>>>;
25
+ };
26
+ /**
27
+ * This is a condensed version of Record that requires the object has all
28
+ * the FluidObject properties as its type, mapped to an object that implements
29
+ * the property or undefined.
30
+ * @alpha
31
+ */
32
+ export type AsyncOptionalFluidObjectProvider<T> = T extends undefined ? Record<string, never> : {
33
+ [P in keyof T]?: Promise<T[P] | undefined>;
34
+ };
35
+ /**
36
+ * Combined type for Optional and Required Async Fluid object Providers
37
+ * @alpha
38
+ */
39
+ export type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> & AsyncRequiredFluidObjectProvider<R>;
40
+ /**
41
+ * Multiple ways to provide a Fluid object.
42
+ * @internal
43
+ */
44
+ export type FluidObjectProvider<T> = NonNullable<T> | Promise<NonNullable<T>> | ((dependencyContainer: IFluidDependencySynthesizer) => NonNullable<T>) | ((dependencyContainer: IFluidDependencySynthesizer) => Promise<NonNullable<T>>);
45
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"OAIO,EAAE,2BAA2B,EAAE,MAAM,GAAG;AAE/C;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,yBAAyB,CAAC,CAAC,IAAI;KACzC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;CAClB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,gCAAgC,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAClE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACrB;KACC,CAAC,IAAI,MAAM,CAAC,GAAG,OAAO,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC,CAAC,CAAC;CACpE,CAAC;AAEL;;;;;GAKG;AACH,MAAM,MAAM,gCAAgC,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAClE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,GACrB;KACC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;CACzC,CAAC;AAEL;;;GAGG;AACH,MAAM,MAAM,wBAAwB,CAAC,CAAC,EAAE,CAAC,GAAG,SAAS,IAAI,gCAAgC,CAAC,CAAC,CAAC,GAC3F,gCAAgC,CAAC,CAAC,CAAC,CAAC;AAErC;;;GAGG;AACH,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAC9B,WAAW,CAAC,CAAC,CAAC,GACd,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACvB,CAAC,CAAC,mBAAmB,EAAE,2BAA2B,KAAK,WAAW,CAAC,CAAC,CAAC,CAAC,GACtE,CAAC,CAAC,mBAAmB,EAAE,2BAA2B,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
package/lib/types.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"types.mjs","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 * @internal\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 * @internal\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 * @internal\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 * @internal\n */\nexport type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> &\n\tAsyncRequiredFluidObjectProvider<R>;\n\n/**\n * Multiple ways to provide a Fluid object.\n * @internal\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"]}
1
+ {"version":3,"file":"types.mjs","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 * @alpha\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 * @alpha\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 * @alpha\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 * @alpha\n */\nexport type AsyncFluidObjectProvider<O, R = undefined> = AsyncOptionalFluidObjectProvider<O> &\n\tAsyncRequiredFluidObjectProvider<R>;\n\n/**\n * Multiple ways to provide a Fluid object.\n * @internal\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-dev.7.4.0.217884",
3
+ "version": "2.0.0-dev.7.4.0.221926",
4
4
  "description": "A library for synthesizing scope objects.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -11,18 +11,6 @@
11
11
  "license": "MIT",
12
12
  "author": "Microsoft and contributors",
13
13
  "sideEffects": false,
14
- "exports": {
15
- ".": {
16
- "import": {
17
- "types": "./lib/index.d.ts",
18
- "default": "./lib/index.mjs"
19
- },
20
- "require": {
21
- "types": "./dist/index.d.ts",
22
- "default": "./dist/index.cjs"
23
- }
24
- }
25
- },
26
14
  "main": "dist/index.cjs",
27
15
  "module": "lib/index.mjs",
28
16
  "types": "dist/index.d.ts",
@@ -51,16 +39,17 @@
51
39
  "temp-directory": "nyc/.nyc_output"
52
40
  },
53
41
  "dependencies": {
54
- "@fluidframework/core-utils": "2.0.0-dev.7.4.0.217884"
42
+ "@fluidframework/core-utils": "2.0.0-dev.7.4.0.221926"
55
43
  },
56
44
  "devDependencies": {
45
+ "@arethetypeswrong/cli": "^0.13.3",
57
46
  "@fluid-tools/build-cli": "^0.28.0",
58
47
  "@fluidframework/build-common": "^2.0.3",
59
48
  "@fluidframework/build-tools": "^0.28.0",
60
- "@fluidframework/core-interfaces": "2.0.0-dev.7.4.0.217884",
61
- "@fluidframework/datastore": "2.0.0-dev.7.4.0.217884",
49
+ "@fluidframework/core-interfaces": "2.0.0-dev.7.4.0.221926",
50
+ "@fluidframework/datastore": "2.0.0-dev.7.4.0.221926",
62
51
  "@fluidframework/eslint-config-fluid": "^3.1.0",
63
- "@fluidframework/mocha-test-setup": "2.0.0-dev.7.4.0.217884",
52
+ "@fluidframework/mocha-test-setup": "2.0.0-dev.7.4.0.221926",
64
53
  "@fluidframework/synthesize-previous": "npm:@fluidframework/synthesize@2.0.0-internal.7.2.0",
65
54
  "@microsoft/api-extractor": "^7.38.3",
66
55
  "@types/mocha": "^9.1.1",
@@ -103,6 +92,7 @@
103
92
  "build:docs": "fluid-build . --task api",
104
93
  "build:esnext": "tsc-multi --config ../../../common/build/build-common/tsc-multi.esm.json",
105
94
  "build:test": "tsc-multi --config ./tsc-multi.test.json",
95
+ "check:are-the-types-wrong": "attw --pack",
106
96
  "check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
107
97
  "ci:build:docs": "api-extractor run",
108
98
  "clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",