res-pareto-build 0.15.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api.generated.d.ts +19 -19
- package/dist/glossary/index.d.ts +94 -2
- package/dist/glossary/index.js +0 -16
- package/dist/implementations/buildArray.native.d.ts +2 -2
- package/dist/implementations/buildArray.native.js +17 -7
- package/dist/implementations/buildSafeDictionary.native.d.ts +2 -2
- package/dist/implementations/buildSafeDictionary.native.js +17 -7
- package/dist/implementations/buildUnsafeDictionary.native.d.ts +2 -2
- package/dist/implementations/buildUnsafeDictionary.native.js +17 -7
- package/dist/implementations/createArrayBuilder.native.d.ts +2 -2
- package/dist/implementations/createArrayBuilder.native.js +17 -7
- package/dist/implementations/createSafeDictionaryBuilder.native.d.ts +2 -2
- package/dist/implementations/createSafeDictionaryBuilder.native.js +17 -7
- package/dist/implementations/createStringBuilder.native.d.ts +2 -2
- package/dist/implementations/createUnsafeDictionaryBuilder.native.d.ts +2 -2
- package/dist/implementations/createUnsafeDictionaryBuilder.native.js +17 -7
- package/package.json +5 -5
- package/dist/glossary/algorithmtypes.generated.d.ts +0 -73
- package/dist/glossary/algorithmtypes.generated.js +0 -2
- package/dist/glossary/datatypes.generated.d.ts +0 -43
- package/dist/glossary/datatypes.generated.js +0 -2
package/dist/api.generated.d.ts
CHANGED
@@ -1,24 +1,24 @@
|
|
1
1
|
import * as g_common from "glo-pareto-common";
|
2
|
-
import * as
|
3
|
-
export declare namespace
|
2
|
+
import * as g__lthis from "./glossary";
|
3
|
+
export declare namespace DEP {
|
4
4
|
}
|
5
|
-
export declare namespace
|
6
|
-
type buildArray = () =>
|
7
|
-
type buildSafeDictionary = ($:
|
8
|
-
readonly 'onDuplicate': g_common.
|
9
|
-
}) =>
|
10
|
-
type buildUnsafeDictionary = () =>
|
11
|
-
type createArrayBuilder = () =>
|
12
|
-
type createSafeDictionaryBuilder = ($:
|
13
|
-
type createStringBuilder = ($: g_common.
|
14
|
-
type createUnsafeDictionaryBuilder = () =>
|
5
|
+
export declare namespace API {
|
6
|
+
type buildArray = () => g__lthis.A.BuildArray;
|
7
|
+
type buildSafeDictionary = ($: g__lthis.D.DictionaryBuildStrategy, $se: {
|
8
|
+
readonly 'onDuplicate': g_common.I.String;
|
9
|
+
}) => g__lthis.A.BuildSafeDictionary;
|
10
|
+
type buildUnsafeDictionary = () => g__lthis.A.BuildUnsafeDictionary;
|
11
|
+
type createArrayBuilder = () => g__lthis.A.CreateArrayBuilder;
|
12
|
+
type createSafeDictionaryBuilder = ($: g__lthis.D.DictionaryBuildStrategy) => g__lthis.A.CreateSafeDictionaryBuilder;
|
13
|
+
type createStringBuilder = ($: g_common.D.String) => g__lthis.A.CreateStringBuilder;
|
14
|
+
type createUnsafeDictionaryBuilder = () => g__lthis.A.CreateUnsafeDictionaryBuilder;
|
15
15
|
}
|
16
16
|
export type API = {
|
17
|
-
readonly 'buildArray':
|
18
|
-
readonly 'buildSafeDictionary':
|
19
|
-
readonly 'buildUnsafeDictionary':
|
20
|
-
readonly 'createArrayBuilder':
|
21
|
-
readonly 'createSafeDictionaryBuilder':
|
22
|
-
readonly 'createStringBuilder':
|
23
|
-
readonly 'createUnsafeDictionaryBuilder':
|
17
|
+
readonly 'buildArray': API.buildArray;
|
18
|
+
readonly 'buildSafeDictionary': API.buildSafeDictionary;
|
19
|
+
readonly 'buildUnsafeDictionary': API.buildUnsafeDictionary;
|
20
|
+
readonly 'createArrayBuilder': API.createArrayBuilder;
|
21
|
+
readonly 'createSafeDictionaryBuilder': API.createSafeDictionaryBuilder;
|
22
|
+
readonly 'createStringBuilder': API.createStringBuilder;
|
23
|
+
readonly 'createUnsafeDictionaryBuilder': API.createUnsafeDictionaryBuilder;
|
24
24
|
};
|
package/dist/glossary/index.d.ts
CHANGED
@@ -1,2 +1,94 @@
|
|
1
|
-
|
2
|
-
export
|
1
|
+
import * as g_common from "glo-pareto-common";
|
2
|
+
export declare namespace N { }
|
3
|
+
export declare namespace D {
|
4
|
+
namespace Array {
|
5
|
+
type array<TEndType, TType> = g_common.D.Array<TType>;
|
6
|
+
type end<TEndType, TType> = TEndType;
|
7
|
+
}
|
8
|
+
type Array<TEndType, TType> = {
|
9
|
+
readonly 'array': g_common.D.Array<TType>;
|
10
|
+
readonly 'end': TEndType;
|
11
|
+
};
|
12
|
+
namespace Dictionary {
|
13
|
+
type dictionary<TEndType, TType> = g_common.D.Dictionary<TType>;
|
14
|
+
type end<TEndType, TType> = TEndType;
|
15
|
+
}
|
16
|
+
type Dictionary<TEndType, TType> = {
|
17
|
+
readonly 'dictionary': g_common.D.Dictionary<TType>;
|
18
|
+
readonly 'end': TEndType;
|
19
|
+
};
|
20
|
+
namespace DictionaryBuildStrategy {
|
21
|
+
namespace ignore { }
|
22
|
+
type ignore = null;
|
23
|
+
namespace overwrite { }
|
24
|
+
type overwrite = null;
|
25
|
+
}
|
26
|
+
type DictionaryBuildStrategy = ['ignore', null] | ['overwrite', null];
|
27
|
+
namespace KeyValuePair {
|
28
|
+
type key<TType> = string;
|
29
|
+
type value<TType> = TType;
|
30
|
+
}
|
31
|
+
type KeyValuePair<TType> = {
|
32
|
+
readonly 'key': string;
|
33
|
+
readonly 'value': TType;
|
34
|
+
};
|
35
|
+
namespace String {
|
36
|
+
type end<TEndType> = TEndType;
|
37
|
+
type _lstring<TEndType> = string;
|
38
|
+
}
|
39
|
+
type String<TEndType> = {
|
40
|
+
readonly 'end': TEndType;
|
41
|
+
readonly 'string': string;
|
42
|
+
};
|
43
|
+
}
|
44
|
+
export declare namespace I {
|
45
|
+
type Array<TEndType, TType> = ($: D.Array<TEndType, TType>) => void;
|
46
|
+
type Dictionary<TEndType, TType> = ($: D.Dictionary<TEndType, TType>) => void;
|
47
|
+
type DuplicatesHandler = {
|
48
|
+
'data': ($: g_common.D.String) => void;
|
49
|
+
'end': () => void;
|
50
|
+
};
|
51
|
+
type Elements<TEndType, TType> = {
|
52
|
+
'data': ($: TType) => void;
|
53
|
+
'end': ($: TEndType) => void;
|
54
|
+
};
|
55
|
+
type Entries<TEndType, TType> = {
|
56
|
+
'data': ($: D.KeyValuePair<TType>) => void;
|
57
|
+
'end': ($: TEndType) => void;
|
58
|
+
};
|
59
|
+
type StringConsumer<TEndType> = ($: D.String<TEndType>) => void;
|
60
|
+
type StringStreamConsumer<TEndType> = {
|
61
|
+
'data': ($: g_common.D.String) => void;
|
62
|
+
'end': ($: TEndType) => void;
|
63
|
+
};
|
64
|
+
}
|
65
|
+
export declare namespace I {
|
66
|
+
type Add<TType> = ($: D.KeyValuePair<TType>) => void;
|
67
|
+
type Push<TType> = ($: TType) => void;
|
68
|
+
}
|
69
|
+
export declare namespace A {
|
70
|
+
type BuildArray = <TType>($c: ($i: I.Push<TType>) => void) => g_common.D.Array<TType>;
|
71
|
+
type BuildSafeDictionary = <TType>($c: ($i: I.Add<TType>) => void) => g_common.D.Dictionary<TType>;
|
72
|
+
type BuildUnsafeDictionary = <TType>($c: ($i: I.Add<TType>) => void) => g_common.D.Dictionary<TType>;
|
73
|
+
type CreateArrayBuilder = {
|
74
|
+
'construct': <TEndType, TType>($is: {
|
75
|
+
readonly 'handler': I.Array<TEndType, TType>;
|
76
|
+
}) => I.Elements<TEndType, TType>;
|
77
|
+
};
|
78
|
+
type CreateSafeDictionaryBuilder = {
|
79
|
+
'construct': <TEndType, TType>($is: {
|
80
|
+
readonly 'duplicatesHandler': I.DuplicatesHandler;
|
81
|
+
readonly 'handler': I.Dictionary<TEndType, TType>;
|
82
|
+
}) => I.Entries<TEndType, TType>;
|
83
|
+
};
|
84
|
+
type CreateStringBuilder = {
|
85
|
+
'construct': <TEndType>($is: {
|
86
|
+
readonly 'handler': I.StringConsumer<TEndType>;
|
87
|
+
}) => I.StringStreamConsumer<TEndType>;
|
88
|
+
};
|
89
|
+
type CreateUnsafeDictionaryBuilder = {
|
90
|
+
'construct': <TEndType, TType>($is: {
|
91
|
+
readonly 'handler': I.Dictionary<TEndType, TType>;
|
92
|
+
}) => I.Entries<TEndType, TType>;
|
93
|
+
};
|
94
|
+
}
|
package/dist/glossary/index.js
CHANGED
@@ -1,18 +1,2 @@
|
|
1
1
|
"use strict";
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
-
if (k2 === undefined) k2 = k;
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
-
}
|
8
|
-
Object.defineProperty(o, k2, desc);
|
9
|
-
}) : (function(o, m, k, k2) {
|
10
|
-
if (k2 === undefined) k2 = k;
|
11
|
-
o[k2] = m[k];
|
12
|
-
}));
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
-
};
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./datatypes.generated"), exports);
|
18
|
-
__exportStar(require("./algorithmtypes.generated"), exports);
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const $$:
|
1
|
+
import { API } from "../api.generated";
|
2
|
+
export declare const $$: API.buildArray;
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
15
15
|
}) : function(o, v) {
|
16
16
|
o["default"] = v;
|
17
17
|
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
};
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
19
|
+
var ownKeys = function(o) {
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
21
|
+
var ar = [];
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
23
|
+
return ar;
|
24
|
+
};
|
25
|
+
return ownKeys(o);
|
26
|
+
};
|
27
|
+
return function (mod) {
|
28
|
+
if (mod && mod.__esModule) return mod;
|
29
|
+
var result = {};
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
31
|
+
__setModuleDefault(result, mod);
|
32
|
+
return result;
|
33
|
+
};
|
34
|
+
})();
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
36
|
exports.$$ = void 0;
|
27
37
|
const pi = __importStar(require("pareto-core-internals"));
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const $$:
|
1
|
+
import { API } from "../api.generated";
|
2
|
+
export declare const $$: API.buildSafeDictionary;
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
15
15
|
}) : function(o, v) {
|
16
16
|
o["default"] = v;
|
17
17
|
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
};
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
19
|
+
var ownKeys = function(o) {
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
21
|
+
var ar = [];
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
23
|
+
return ar;
|
24
|
+
};
|
25
|
+
return ownKeys(o);
|
26
|
+
};
|
27
|
+
return function (mod) {
|
28
|
+
if (mod && mod.__esModule) return mod;
|
29
|
+
var result = {};
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
31
|
+
__setModuleDefault(result, mod);
|
32
|
+
return result;
|
33
|
+
};
|
34
|
+
})();
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
36
|
exports.$$ = void 0;
|
27
37
|
const pi = __importStar(require("pareto-core-internals"));
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const $$:
|
1
|
+
import { API } from "../api.generated";
|
2
|
+
export declare const $$: API.buildUnsafeDictionary;
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
15
15
|
}) : function(o, v) {
|
16
16
|
o["default"] = v;
|
17
17
|
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
};
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
19
|
+
var ownKeys = function(o) {
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
21
|
+
var ar = [];
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
23
|
+
return ar;
|
24
|
+
};
|
25
|
+
return ownKeys(o);
|
26
|
+
};
|
27
|
+
return function (mod) {
|
28
|
+
if (mod && mod.__esModule) return mod;
|
29
|
+
var result = {};
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
31
|
+
__setModuleDefault(result, mod);
|
32
|
+
return result;
|
33
|
+
};
|
34
|
+
})();
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
36
|
exports.$$ = void 0;
|
27
37
|
const pi = __importStar(require("pareto-core-internals"));
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const $$:
|
1
|
+
import { API } from "../api.generated";
|
2
|
+
export declare const $$: API.createArrayBuilder;
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
15
15
|
}) : function(o, v) {
|
16
16
|
o["default"] = v;
|
17
17
|
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
};
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
19
|
+
var ownKeys = function(o) {
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
21
|
+
var ar = [];
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
23
|
+
return ar;
|
24
|
+
};
|
25
|
+
return ownKeys(o);
|
26
|
+
};
|
27
|
+
return function (mod) {
|
28
|
+
if (mod && mod.__esModule) return mod;
|
29
|
+
var result = {};
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
31
|
+
__setModuleDefault(result, mod);
|
32
|
+
return result;
|
33
|
+
};
|
34
|
+
})();
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
36
|
exports.$$ = void 0;
|
27
37
|
const pi = __importStar(require("pareto-core-internals"));
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const $$:
|
1
|
+
import { API } from "../api.generated";
|
2
|
+
export declare const $$: API.createSafeDictionaryBuilder;
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
15
15
|
}) : function(o, v) {
|
16
16
|
o["default"] = v;
|
17
17
|
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
};
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
19
|
+
var ownKeys = function(o) {
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
21
|
+
var ar = [];
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
23
|
+
return ar;
|
24
|
+
};
|
25
|
+
return ownKeys(o);
|
26
|
+
};
|
27
|
+
return function (mod) {
|
28
|
+
if (mod && mod.__esModule) return mod;
|
29
|
+
var result = {};
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
31
|
+
__setModuleDefault(result, mod);
|
32
|
+
return result;
|
33
|
+
};
|
34
|
+
})();
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
36
|
exports.$$ = void 0;
|
27
37
|
const pi = __importStar(require("pareto-core-internals"));
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const $$:
|
1
|
+
import { API } from "../api.generated";
|
2
|
+
export declare const $$: API.createStringBuilder;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import {
|
2
|
-
export declare const $$:
|
1
|
+
import { API } from "../api.generated";
|
2
|
+
export declare const $$: API.createUnsafeDictionaryBuilder;
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
15
15
|
}) : function(o, v) {
|
16
16
|
o["default"] = v;
|
17
17
|
});
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
};
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
19
|
+
var ownKeys = function(o) {
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
21
|
+
var ar = [];
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
23
|
+
return ar;
|
24
|
+
};
|
25
|
+
return ownKeys(o);
|
26
|
+
};
|
27
|
+
return function (mod) {
|
28
|
+
if (mod && mod.__esModule) return mod;
|
29
|
+
var result = {};
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
31
|
+
__setModuleDefault(result, mod);
|
32
|
+
return result;
|
33
|
+
};
|
34
|
+
})();
|
25
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
36
|
exports.$$ = void 0;
|
27
37
|
const pi = __importStar(require("pareto-core-internals"));
|
package/package.json
CHANGED
@@ -3,19 +3,19 @@
|
|
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.
|
7
|
-
"pareto-core-internals": "^0.
|
6
|
+
"glo-pareto-common": "^0.36.0",
|
7
|
+
"pareto-core-internals": "^0.22.2"
|
8
8
|
},
|
9
9
|
"files": [
|
10
10
|
"dist"
|
11
11
|
],
|
12
12
|
"repository": {
|
13
13
|
"type": "git",
|
14
|
-
"url": "
|
14
|
+
"url": "git+ssh://git@github.com/corno/res-pareto-build.git"
|
15
15
|
},
|
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.17.0",
|
20
|
+
"content-fingerprint": "fc4dcb7c66b61d107ea66fd9c7d501640cb287a2"
|
21
21
|
}
|
@@ -1,73 +0,0 @@
|
|
1
|
-
import { T } from "./datatypes.generated";
|
2
|
-
import * as g_common from "glo-pareto-common";
|
3
|
-
export declare namespace ASYNC {
|
4
|
-
namespace I {
|
5
|
-
type Array<TEndType, TType> = ($: T.Array<TEndType, TType>) => void;
|
6
|
-
type Dictionary<TEndType, TType> = ($: T.Dictionary<TEndType, TType>) => void;
|
7
|
-
type DuplicatesHandler = {
|
8
|
-
'data': ($: g_common.T.String) => void;
|
9
|
-
'end': () => void;
|
10
|
-
};
|
11
|
-
type Elements<TEndType, TType> = {
|
12
|
-
'data': ($: TType) => void;
|
13
|
-
'end': ($: TEndType) => void;
|
14
|
-
};
|
15
|
-
type Entries<TEndType, TType> = {
|
16
|
-
'data': ($: T.KeyValuePair<TType>) => void;
|
17
|
-
'end': ($: TEndType) => void;
|
18
|
-
};
|
19
|
-
type StringConsumer<TEndType> = ($: T.String<TEndType>) => void;
|
20
|
-
type StringStreamConsumer<TEndType> = {
|
21
|
-
'data': ($: g_common.T.String) => void;
|
22
|
-
'end': ($: TEndType) => void;
|
23
|
-
};
|
24
|
-
}
|
25
|
-
namespace A {
|
26
|
-
namespace C {
|
27
|
-
type CreateArrayBuilder = {
|
28
|
-
'construct': <TEndType, TType>($is: {
|
29
|
-
readonly 'handler': ASYNC.I.Array<TEndType, TType>;
|
30
|
-
}) => ASYNC.I.Elements<TEndType, TType>;
|
31
|
-
};
|
32
|
-
}
|
33
|
-
namespace C {
|
34
|
-
type CreateSafeDictionaryBuilder = {
|
35
|
-
'construct': <TEndType, TType>($is: {
|
36
|
-
readonly 'duplicatesHandler': ASYNC.I.DuplicatesHandler;
|
37
|
-
readonly 'handler': ASYNC.I.Dictionary<TEndType, TType>;
|
38
|
-
}) => ASYNC.I.Entries<TEndType, TType>;
|
39
|
-
};
|
40
|
-
}
|
41
|
-
namespace C {
|
42
|
-
type CreateStringBuilder = {
|
43
|
-
'construct': <TEndType>($is: {
|
44
|
-
readonly 'handler': ASYNC.I.StringConsumer<TEndType>;
|
45
|
-
}) => ASYNC.I.StringStreamConsumer<TEndType>;
|
46
|
-
};
|
47
|
-
}
|
48
|
-
namespace C {
|
49
|
-
type CreateUnsafeDictionaryBuilder = {
|
50
|
-
'construct': <TEndType, TType>($is: {
|
51
|
-
readonly 'handler': ASYNC.I.Dictionary<TEndType, TType>;
|
52
|
-
}) => ASYNC.I.Entries<TEndType, TType>;
|
53
|
-
};
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
export declare namespace SYNC {
|
58
|
-
namespace I {
|
59
|
-
type Add<TType> = ($: T.KeyValuePair<TType>) => void;
|
60
|
-
type Push<TType> = ($: TType) => void;
|
61
|
-
}
|
62
|
-
namespace A {
|
63
|
-
namespace F {
|
64
|
-
type BuildArray = <TType>($c: ($i: SYNC.I.Push<TType>) => void) => g_common.T.Array<TType>;
|
65
|
-
}
|
66
|
-
namespace F {
|
67
|
-
type BuildSafeDictionary = <TType>($c: ($i: SYNC.I.Add<TType>) => void) => g_common.T.Dictionary<TType>;
|
68
|
-
}
|
69
|
-
namespace F {
|
70
|
-
type BuildUnsafeDictionary = <TType>($c: ($i: SYNC.I.Add<TType>) => void) => g_common.T.Dictionary<TType>;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
import * as g_common from "glo-pareto-common";
|
2
|
-
export declare namespace N { }
|
3
|
-
export declare namespace T {
|
4
|
-
namespace Array {
|
5
|
-
type array<TEndType, TType> = g_common.T.Array<TType>;
|
6
|
-
type end<TEndType, TType> = TEndType;
|
7
|
-
}
|
8
|
-
type Array<TEndType, TType> = {
|
9
|
-
readonly 'array': g_common.T.Array<TType>;
|
10
|
-
readonly 'end': TEndType;
|
11
|
-
};
|
12
|
-
namespace Dictionary {
|
13
|
-
type dictionary<TEndType, TType> = g_common.T.Dictionary<TType>;
|
14
|
-
type end<TEndType, TType> = TEndType;
|
15
|
-
}
|
16
|
-
type Dictionary<TEndType, TType> = {
|
17
|
-
readonly 'dictionary': g_common.T.Dictionary<TType>;
|
18
|
-
readonly 'end': TEndType;
|
19
|
-
};
|
20
|
-
namespace DictionaryBuildStrategy {
|
21
|
-
namespace ignore { }
|
22
|
-
type ignore = null;
|
23
|
-
namespace overwrite { }
|
24
|
-
type overwrite = null;
|
25
|
-
}
|
26
|
-
type DictionaryBuildStrategy = ['ignore', null] | ['overwrite', null];
|
27
|
-
namespace KeyValuePair {
|
28
|
-
type key<TType> = string;
|
29
|
-
type value<TType> = TType;
|
30
|
-
}
|
31
|
-
type KeyValuePair<TType> = {
|
32
|
-
readonly 'key': string;
|
33
|
-
readonly 'value': TType;
|
34
|
-
};
|
35
|
-
namespace String {
|
36
|
-
type end<TEndType> = TEndType;
|
37
|
-
type _lstring<TEndType> = string;
|
38
|
-
}
|
39
|
-
type String<TEndType> = {
|
40
|
-
readonly 'end': TEndType;
|
41
|
-
readonly 'string': string;
|
42
|
-
};
|
43
|
-
}
|