exupery-core-internals 0.3.3 → 0.3.5
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,6 +6,7 @@ export type Procedural_Dictionary_Builder<Entry> = {
|
|
|
6
6
|
export declare const create_procedural_dictionary_builder: <Entry>() => Procedural_Dictionary_Builder<Entry>;
|
|
7
7
|
export type Procedural_List_Builder<Item> = {
|
|
8
8
|
'add item': (item: Item) => void;
|
|
9
|
+
'add list': (list: _et.Array<Item>) => void;
|
|
9
10
|
'get list': () => _et.Array<Item>;
|
|
10
11
|
};
|
|
11
12
|
export declare const create_procedural_list_builder: <Item>() => Procedural_List_Builder<Item>;
|
|
@@ -21,6 +21,11 @@ const create_procedural_list_builder = () => {
|
|
|
21
21
|
'add item': (item) => {
|
|
22
22
|
items.push(item);
|
|
23
23
|
},
|
|
24
|
+
'add list': (list) => {
|
|
25
|
+
list.__for_each(($) => {
|
|
26
|
+
items.push($);
|
|
27
|
+
});
|
|
28
|
+
},
|
|
24
29
|
'get list': () => {
|
|
25
30
|
return (0, array_literal_1.array_literal)(items);
|
|
26
31
|
},
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export * from "./imp/public/dictionary_literal";
|
|
2
1
|
export * from "./imp/public/array_literal";
|
|
3
|
-
export * from "./imp/public/panic";
|
|
4
2
|
export * from "./imp/public/assert_unreachable";
|
|
5
|
-
export * from "./imp/public/change_context";
|
|
6
3
|
export * from "./imp/public/block";
|
|
7
|
-
export * from "./imp/public/
|
|
8
|
-
export * from "./imp/public/
|
|
4
|
+
export * from "./imp/public/change_context";
|
|
5
|
+
export * from "./imp/public/dictionary_literal";
|
|
9
6
|
export * from "./imp/public/not_set";
|
|
7
|
+
export * from "./imp/public/panic";
|
|
8
|
+
export * from "./imp/public/procedural_builder";
|
|
9
|
+
export * from "./imp/public/set";
|
|
10
|
+
export * from "./imp/public/switch_state";
|
|
10
11
|
export * from "./refinement";
|
package/dist/index.js
CHANGED
|
@@ -14,13 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./imp/public/dictionary_literal"), exports);
|
|
18
17
|
__exportStar(require("./imp/public/array_literal"), exports);
|
|
19
|
-
__exportStar(require("./imp/public/panic"), exports);
|
|
20
18
|
__exportStar(require("./imp/public/assert_unreachable"), exports);
|
|
21
|
-
__exportStar(require("./imp/public/change_context"), exports);
|
|
22
19
|
__exportStar(require("./imp/public/block"), exports);
|
|
23
|
-
__exportStar(require("./imp/public/
|
|
24
|
-
__exportStar(require("./imp/public/
|
|
20
|
+
__exportStar(require("./imp/public/change_context"), exports);
|
|
21
|
+
__exportStar(require("./imp/public/dictionary_literal"), exports);
|
|
25
22
|
__exportStar(require("./imp/public/not_set"), exports);
|
|
23
|
+
__exportStar(require("./imp/public/panic"), exports);
|
|
24
|
+
__exportStar(require("./imp/public/procedural_builder"), exports);
|
|
25
|
+
__exportStar(require("./imp/public/set"), exports);
|
|
26
|
+
__exportStar(require("./imp/public/switch_state"), exports);
|
|
26
27
|
__exportStar(require("./refinement"), exports);
|