@typedly/configurable-data 2.0.0 → 3.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/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DataSettings, DataShape, InferAsync } from '@typedly/data';
|
|
1
|
+
import { DataSettings, DataShape, DataConfig, InferAsync } from '@typedly/data';
|
|
2
2
|
import { Configurable } from '@typedly/data-traits';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -6,11 +6,12 @@ import { Configurable } from '@typedly/data-traits';
|
|
|
6
6
|
* @export
|
|
7
7
|
* @interface ConfigurableDataShape
|
|
8
8
|
* @template {DataSettings<R> | undefined} C The settings to configure the data shape.
|
|
9
|
-
* @template
|
|
10
|
-
* @template {boolean} [R=
|
|
9
|
+
* @template [T=any] The value type.
|
|
10
|
+
* @template {boolean} [R=InferConfigurableAsync<C>] The async flag inferred from the settings.
|
|
11
11
|
* @extends {DataShape<T, R>} The base data shape with value type `T` and async flag `R`.
|
|
12
|
+
* @extends {Configurable<DataConfig<C, R>>} The configurable interface with data configuration `C` and async flag `R`.
|
|
12
13
|
*/
|
|
13
|
-
interface ConfigurableDataShape<C extends DataSettings<R> | undefined, T = any, R extends boolean = InferConfigurableAsync<C>> extends DataShape<T, R>, Configurable<C
|
|
14
|
+
interface ConfigurableDataShape<C extends DataSettings<R> | undefined, T = any, R extends boolean = InferConfigurableAsync<C>> extends DataShape<T, R>, Configurable<DataConfig<C, R>> {
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
/**
|