res-pareto-build 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
package/dist/api.generated.d.ts
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
import * as g_common from "glo-pareto-common";
|
2
2
|
import * as g_this from "./glossary";
|
3
3
|
export declare namespace A {
|
4
|
-
type buildArray = g_this.SYNC.F.BuildArray;
|
5
|
-
type createAsyncArrayBuilder = g_this.ASYNC.C.CreateArrayBuilder;
|
6
|
-
type createAsyncIgnoringDictionaryBuilder = g_this.ASYNC.C.CreateSafeDictionaryBuilder;
|
7
|
-
type createAsyncOverwritingDictionaryBuilder = g_this.ASYNC.C.CreateSafeDictionaryBuilder;
|
4
|
+
type buildArray = g_this.SYNC.A.F.BuildArray;
|
5
|
+
type createAsyncArrayBuilder = g_this.ASYNC.A.C.CreateArrayBuilder;
|
6
|
+
type createAsyncIgnoringDictionaryBuilder = g_this.ASYNC.A.C.CreateSafeDictionaryBuilder;
|
7
|
+
type createAsyncOverwritingDictionaryBuilder = g_this.ASYNC.A.C.CreateSafeDictionaryBuilder;
|
8
8
|
type createSyncIgnoringDictionaryBuilder = ($d: {}, $se: {
|
9
9
|
readonly 'onDuplicate': g_common.SYNC.I.String;
|
10
|
-
}) => g_this.SYNC.F.BuildDictionary;
|
10
|
+
}) => g_this.SYNC.A.F.BuildDictionary;
|
11
11
|
type createSyncOverwritingDictionaryBuilder = ($d: {}, $se: {
|
12
12
|
readonly 'onDuplicate': g_common.SYNC.I.String;
|
13
|
-
}) => g_this.SYNC.F.BuildDictionary;
|
14
|
-
type createUnsafeAsyncDictionaryBuilder = g_this.ASYNC.C.CreateUnsafeDictionaryBuilder;
|
15
|
-
type unsafeSyncBuildDictionary = g_this.SYNC.F.BuildDictionary;
|
13
|
+
}) => g_this.SYNC.A.F.BuildDictionary;
|
14
|
+
type createUnsafeAsyncDictionaryBuilder = g_this.ASYNC.A.C.CreateUnsafeDictionaryBuilder;
|
15
|
+
type unsafeSyncBuildDictionary = g_this.SYNC.A.F.BuildDictionary;
|
16
16
|
}
|
17
17
|
export type API = {
|
18
18
|
buildArray: A.buildArray;
|
@@ -17,38 +17,40 @@ export declare namespace ASYNC {
|
|
17
17
|
'end': () => void;
|
18
18
|
};
|
19
19
|
}
|
20
|
-
namespace
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
20
|
+
namespace A {
|
21
|
+
namespace C {
|
22
|
+
type CreateArrayBuilder = <GType>($is: {
|
23
|
+
'handler': ASYNC.I.Array<GType>;
|
24
|
+
}) => ASYNC.I.Elements<GType>;
|
25
|
+
}
|
26
|
+
namespace C {
|
27
|
+
type CreateSafeDictionaryBuilder = <GType>($is: {
|
28
|
+
'duplicatesHandler': ASYNC.I.DuplicatesHandler<GType>;
|
29
|
+
'handler': ASYNC.I.Dictionary<GType>;
|
30
|
+
}) => ASYNC.I.Entries<GType>;
|
31
|
+
}
|
32
|
+
namespace C {
|
33
|
+
type CreateUnsafeDictionaryBuilder = <GType>($is: {
|
34
|
+
'handler': ASYNC.I.Dictionary<GType>;
|
35
|
+
}) => ASYNC.I.Entries<GType>;
|
36
|
+
}
|
31
37
|
}
|
32
|
-
namespace F { }
|
33
38
|
}
|
34
39
|
export declare namespace SYNC {
|
35
40
|
namespace I {
|
36
41
|
type Add<GType> = ($: T.KeyValuePair<GType>) => void;
|
37
42
|
type Push<GType> = ($: T.Type<GType>) => void;
|
38
43
|
}
|
39
|
-
namespace
|
40
|
-
type Add<GType> = ($b: I.Add<GType>) => void;
|
41
|
-
type Push<GType> = ($b: I.Push<GType>) => void;
|
44
|
+
namespace IW {
|
45
|
+
type Add<GType> = ($c: ($b: I.Add<GType>) => void) => void;
|
46
|
+
type Push<GType> = ($c: ($b: I.Push<GType>) => void) => void;
|
42
47
|
}
|
43
|
-
namespace
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
namespace F {
|
51
|
-
type BuildArray = <GType>($c: ($b: I.Push<GType>) => void) => T.Array<GType>;
|
52
|
-
type BuildDictionary = <GType>($c: ($b: I.Add<GType>) => void) => T.Dictionary<GType>;
|
48
|
+
namespace A {
|
49
|
+
namespace F {
|
50
|
+
type BuildArray = <GType>($c: ($b: SYNC.I.Push<GType>) => void) => T.Array<GType>;
|
51
|
+
}
|
52
|
+
namespace F {
|
53
|
+
type BuildDictionary = <GType>($c: ($b: SYNC.I.Add<GType>) => void) => T.Dictionary<GType>;
|
54
|
+
}
|
53
55
|
}
|
54
56
|
}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"license": "TBD",
|
4
4
|
"description": "this library provides functions to build arrays and dictionaries by adding entries/elements one by one",
|
5
5
|
"dependencies": {
|
6
|
-
"glo-pareto-common": "^0.
|
6
|
+
"glo-pareto-common": "^0.23.0",
|
7
7
|
"pareto-core-internals": "^0.13.2"
|
8
8
|
},
|
9
9
|
"files": [
|
@@ -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.9.0",
|
20
|
+
"content-fingerprint": "cbd5ea1268bca538a30032e1e752e895c73223f4"
|
21
21
|
}
|