res-pareto-build 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
|
|
1
|
-
import * as
|
2
|
-
export type CbuildArray =
|
3
|
-
export type CbuildDictionary =
|
4
|
-
export type CunsafeBuildDictionary =
|
1
|
+
import * as gglo from "./glossary";
|
2
|
+
export type CbuildArray = gglo.FBuildArray;
|
3
|
+
export type CbuildDictionary = gglo.FBuildDictionary;
|
4
|
+
export type CunsafeBuildDictionary = gglo.FUnsafeBuildDictionary;
|
5
5
|
export type API = {
|
6
6
|
buildArray: CbuildArray;
|
7
7
|
buildDictionary: CbuildDictionary;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import { T } from './types.generated';
|
2
|
-
import * as
|
2
|
+
import * as gcommon from "glo-pareto-common";
|
3
3
|
export type IAdd<GPType> = ($: T.KeyValuePair<GPType>) => void;
|
4
|
-
export type IOnDuplicate<GPType> = ($:
|
4
|
+
export type IOnDuplicate<GPType> = ($: gcommon.T.String) => void;
|
5
5
|
export type IPush<GPType> = ($: T.Type<GPType>) => void;
|
6
|
-
export type FBuildArray = <GPType>($:
|
6
|
+
export type FBuildArray = <GPType>($: gcommon.T.Null, $c: ($i: IPush<GPType>) => void) => T.Array<GPType>;
|
7
7
|
export type FBuildDictionary = <GPType>($: T.DictionaryBuildStrategy<GPType>, $c: ($i: IAdd<GPType>) => void, $i: IOnDuplicate<GPType>) => T.Dictionary<GPType>;
|
8
|
-
export type FUnsafeBuildDictionary = <GPType>($:
|
8
|
+
export type FUnsafeBuildDictionary = <GPType>($: gcommon.T.Null, $c: ($i: IAdd<GPType>) => void) => T.Dictionary<GPType>;
|
package/package.json
CHANGED
@@ -16,6 +16,6 @@
|
|
16
16
|
"main": "dist/index.js",
|
17
17
|
"types": "dist/index.d.ts",
|
18
18
|
"name": "res-pareto-build",
|
19
|
-
"version": "0.
|
20
|
-
"content-fingerprint": "
|
19
|
+
"version": "0.3.0",
|
20
|
+
"content-fingerprint": "8d6bd7e9c4fbc2ab5096b645592b0329b2bc3620"
|
21
21
|
}
|