UNPKG

1.67 kBJavaScriptView Raw
1"use strict";
2function __export(m) {
3 for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4}
5Object.defineProperty(exports, "__esModule", { value: true });
6__export(require("./builder"));
7__export(require("./service"));
8// import {
9// ConfigNode,
10// ConfigNodeArgs,
11// ConfigPropertyNodeFactoryArgs,
12// ProfilesConfigNode,
13// ProfilesFileConfigNode,
14// ConfigNodePropertyFactory,
15// } from './service';
16// (async () => {
17// // tslint:disable-next-line: no-shadowed-variable
18// const fact = async (args: ConfigPropertyNodeFactoryArgs) => {
19// debugger;
20// return ProfilesConfigNode.create(args);
21// };
22// const base0 = {
23// c: {
24// c2: 3,
25// },
26// };
27// const base1 = {
28// a: 3,
29// b: 3,
30// c: {
31// c1: 1,
32// },
33// d: {
34// e: {
35// f: 1,
36// },
37// },
38// };
39// const args0: ConfigNodeArgs = {
40// initialValue: base0,
41// propertyNodeFactories: [
42// {
43// factory: fact,
44// propertyPath: ['c'],
45// },
46// ],
47// };
48// const base0Node = await ConfigNode.create(args0);
49// const args: ConfigNodeArgs = {
50// inheritedNodes: base0Node,
51// initialValue: base1,
52// propertyNodeFactories: [
53// {
54// factory: fact,
55// propertyPath: ['d', 'e'],
56// },
57// ],
58// };
59// const base1Node = await ConfigNode.create(args, base0Node);
60// debugger;
61// })();
62//# sourceMappingURL=index.js.map
\No newline at end of file