@xwiki/cristal-electron-settings-renderer 0.21.1 → 0.23.0
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.
- package/CHANGELOG.md +19 -4
- package/api-extractor.json +4 -0
- package/dist/defaultSettingsStorage.d.ts +1 -0
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/etc/cristal-electron-settings-renderer.api.md +16 -0
- package/package.json +14 -12
- package/src/defaultSettingsStorage.ts +1 -0
- package/src/index.ts +3 -0
- package/vitest.config.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,28 @@
|
|
|
1
1
|
# @xwiki/cristal-electron-settings-renderer
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.23.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Cristal 0.23 Release
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @xwiki/cristal-api@0.23.0
|
|
13
|
+
- @xwiki/cristal-settings-api@0.23.0
|
|
14
|
+
|
|
15
|
+
## 0.22.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- Cristal 0.22 Release
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
6
22
|
|
|
7
|
-
- Cristal 0.21.1 Release
|
|
8
23
|
- Updated dependencies
|
|
9
|
-
- @xwiki/cristal-api@0.
|
|
10
|
-
- @xwiki/cristal-settings-api@0.
|
|
24
|
+
- @xwiki/cristal-api@0.22.0
|
|
25
|
+
- @xwiki/cristal-settings-api@0.22.0
|
|
11
26
|
|
|
12
27
|
## 0.21.0
|
|
13
28
|
|
|
@@ -3,6 +3,7 @@ import { SettingsManager, SettingsStorage } from '@xwiki/cristal-settings-api';
|
|
|
3
3
|
* Default implementation for {@link SettingsStorage} on Electron.
|
|
4
4
|
* It stores and retrieves settings as JSON from Electron storage.
|
|
5
5
|
* @since 0.18
|
|
6
|
+
* @beta
|
|
6
7
|
*/
|
|
7
8
|
export declare class DefaultSettingsStorage implements SettingsStorage {
|
|
8
9
|
save(settingsManager: SettingsManager): Promise<void>;
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../src/defaultSettingsStorage.ts","../src/index.ts"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { injectable } from \"inversify\";\nimport type {\n SettingsManager,\n SettingsStorage,\n} from \"@xwiki/cristal-settings-api\";\n\ninterface SettingsWindow extends Window {\n settings: {\n save(settings: string): Promise<void>;\n\n load(): Promise<string>;\n };\n}\ndeclare const window: SettingsWindow;\n\n/**\n * Default implementation for {@link SettingsStorage} on Electron.\n * It stores and retrieves settings as JSON from Electron storage.\n * @since 0.18\n */\n@injectable()\nexport class DefaultSettingsStorage implements SettingsStorage {\n async save(settingsManager: SettingsManager): Promise<void> {\n await window.settings.save(settingsManager.toJSON());\n }\n\n async load(settingsManager: SettingsManager): Promise<void> {\n settingsManager.fromJSON((await window.settings.load()) ?? \"[]\");\n }\n}\n","/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { DefaultSettingsStorage } from \"./defaultSettingsStorage\";\nimport { Container } from \"inversify\";\nimport type { SettingsStorage } from \"@xwiki/cristal-settings-api\";\n\nexport class ComponentInit {\n constructor(container: Container) {\n container\n .bind<SettingsStorage>(\"SettingsStorage\")\n .to(DefaultSettingsStorage)\n .inSingletonScope();\n }\n}\n"],"names":["DefaultSettingsStorage","settingsManager","__decorateClass","injectable","ComponentInit","container"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../src/defaultSettingsStorage.ts","../src/index.ts"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { injectable } from \"inversify\";\nimport type {\n SettingsManager,\n SettingsStorage,\n} from \"@xwiki/cristal-settings-api\";\n\ninterface SettingsWindow extends Window {\n settings: {\n save(settings: string): Promise<void>;\n\n load(): Promise<string>;\n };\n}\ndeclare const window: SettingsWindow;\n\n/**\n * Default implementation for {@link SettingsStorage} on Electron.\n * It stores and retrieves settings as JSON from Electron storage.\n * @since 0.18\n * @beta\n */\n@injectable()\nexport class DefaultSettingsStorage implements SettingsStorage {\n async save(settingsManager: SettingsManager): Promise<void> {\n await window.settings.save(settingsManager.toJSON());\n }\n\n async load(settingsManager: SettingsManager): Promise<void> {\n settingsManager.fromJSON((await window.settings.load()) ?? \"[]\");\n }\n}\n","/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { DefaultSettingsStorage } from \"./defaultSettingsStorage\";\nimport { Container } from \"inversify\";\nimport type { SettingsStorage } from \"@xwiki/cristal-settings-api\";\n\n/**\n * @beta\n */\nexport class ComponentInit {\n constructor(container: Container) {\n container\n .bind<SettingsStorage>(\"SettingsStorage\")\n .to(DefaultSettingsStorage)\n .inSingletonScope();\n }\n}\n"],"names":["DefaultSettingsStorage","settingsManager","__decorateClass","injectable","ComponentInit","container"],"mappings":";;;;;;AA0CO,IAAMA,IAAN,MAAwD;AAAA,EAC7D,MAAM,KAAKC,GAAiD;AAC1D,UAAM,OAAO,SAAS,KAAKA,EAAgB,QAAQ;AAAA,EACrD;AAAA,EAEA,MAAM,KAAKA,GAAiD;AAC1D,IAAAA,EAAgB,SAAU,MAAM,OAAO,SAAS,KAAA,KAAW,IAAI;AAAA,EACjE;AACF;AARaD,IAANE,EAAA;AAAA,EADNC,EAAA;AAAW,GACCH,CAAA;ACfN,MAAMI,EAAc;AAAA,EACzB,YAAYC,GAAsB;AAChC,IAAAA,EACG,KAAsB,iBAAiB,EACvC,GAAGL,CAAsB,EACzB,iBAAA;AAAA,EACL;AACF;"}
|
package/dist/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("inversify")):typeof define=="function"&&define.amd?define(["exports","inversify"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e["cristal_settings-renderer"]={},e.inversify))})(this,function(e,n){"use strict";var d=Object.getOwnPropertyDescriptor,c=(t,i,u,a)=>{for(var s=a>1?void 0:a?d(i,u):i,r=t.length-1,f;r>=0;r--)(f=t[r])&&(s=f(s)||s);return s};let o=class{async save(t){await window.settings.save(t.toJSON())}async load(t){t.fromJSON(await window.settings.load()??"[]")}};o=c([n.injectable()],o);class l{constructor(i){i.bind("SettingsStorage").to(o).inSingletonScope()}}e.ComponentInit=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(e,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("inversify")):typeof define=="function"&&define.amd?define(["exports","inversify"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e["cristal_settings-renderer"]={},e.inversify))})(this,(function(e,n){"use strict";var d=Object.getOwnPropertyDescriptor,c=(t,i,u,a)=>{for(var s=a>1?void 0:a?d(i,u):i,r=t.length-1,f;r>=0;r--)(f=t[r])&&(s=f(s)||s);return s};let o=class{async save(t){await window.settings.save(t.toJSON())}async load(t){t.fromJSON(await window.settings.load()??"[]")}};o=c([n.injectable()],o);class l{constructor(i){i.bind("SettingsStorage").to(o).inSingletonScope()}}e.ComponentInit=l,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|
|
2
2
|
//# sourceMappingURL=index.umd.js.map
|
package/dist/index.umd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../src/defaultSettingsStorage.ts","../src/index.ts"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { injectable } from \"inversify\";\nimport type {\n SettingsManager,\n SettingsStorage,\n} from \"@xwiki/cristal-settings-api\";\n\ninterface SettingsWindow extends Window {\n settings: {\n save(settings: string): Promise<void>;\n\n load(): Promise<string>;\n };\n}\ndeclare const window: SettingsWindow;\n\n/**\n * Default implementation for {@link SettingsStorage} on Electron.\n * It stores and retrieves settings as JSON from Electron storage.\n * @since 0.18\n */\n@injectable()\nexport class DefaultSettingsStorage implements SettingsStorage {\n async save(settingsManager: SettingsManager): Promise<void> {\n await window.settings.save(settingsManager.toJSON());\n }\n\n async load(settingsManager: SettingsManager): Promise<void> {\n settingsManager.fromJSON((await window.settings.load()) ?? \"[]\");\n }\n}\n","/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { DefaultSettingsStorage } from \"./defaultSettingsStorage\";\nimport { Container } from \"inversify\";\nimport type { SettingsStorage } from \"@xwiki/cristal-settings-api\";\n\nexport class ComponentInit {\n constructor(container: Container) {\n container\n .bind<SettingsStorage>(\"SettingsStorage\")\n .to(DefaultSettingsStorage)\n .inSingletonScope();\n }\n}\n"],"names":["DefaultSettingsStorage","settingsManager","__decorateClass","injectable","ComponentInit","container"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/defaultSettingsStorage.ts","../src/index.ts"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { injectable } from \"inversify\";\nimport type {\n SettingsManager,\n SettingsStorage,\n} from \"@xwiki/cristal-settings-api\";\n\ninterface SettingsWindow extends Window {\n settings: {\n save(settings: string): Promise<void>;\n\n load(): Promise<string>;\n };\n}\ndeclare const window: SettingsWindow;\n\n/**\n * Default implementation for {@link SettingsStorage} on Electron.\n * It stores and retrieves settings as JSON from Electron storage.\n * @since 0.18\n * @beta\n */\n@injectable()\nexport class DefaultSettingsStorage implements SettingsStorage {\n async save(settingsManager: SettingsManager): Promise<void> {\n await window.settings.save(settingsManager.toJSON());\n }\n\n async load(settingsManager: SettingsManager): Promise<void> {\n settingsManager.fromJSON((await window.settings.load()) ?? \"[]\");\n }\n}\n","/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport { DefaultSettingsStorage } from \"./defaultSettingsStorage\";\nimport { Container } from \"inversify\";\nimport type { SettingsStorage } from \"@xwiki/cristal-settings-api\";\n\n/**\n * @beta\n */\nexport class ComponentInit {\n constructor(container: Container) {\n container\n .bind<SettingsStorage>(\"SettingsStorage\")\n .to(DefaultSettingsStorage)\n .inSingletonScope();\n }\n}\n"],"names":["DefaultSettingsStorage","settingsManager","__decorateClass","injectable","ComponentInit","container"],"mappings":"gbA0CO,IAAMA,EAAN,KAAwD,CAC7D,MAAM,KAAKC,EAAiD,CAC1D,MAAM,OAAO,SAAS,KAAKA,EAAgB,QAAQ,CACrD,CAEA,MAAM,KAAKA,EAAiD,CAC1DA,EAAgB,SAAU,MAAM,OAAO,SAAS,KAAA,GAAW,IAAI,CACjE,CACF,EARaD,EAANE,EAAA,CADNC,EAAAA,WAAA,CAAW,EACCH,CAAA,ECfN,MAAMI,CAAc,CACzB,YAAYC,EAAsB,CAChCA,EACG,KAAsB,iBAAiB,EACvC,GAAGL,CAAsB,EACzB,iBAAA,CACL,CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
## API Report File for "@xwiki/cristal-electron-settings-renderer"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { Container } from 'inversify';
|
|
8
|
+
|
|
9
|
+
// @beta (undocumented)
|
|
10
|
+
export class ComponentInit {
|
|
11
|
+
constructor(container: Container);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// (No @packageDocumentation comment for this package)
|
|
15
|
+
|
|
16
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xwiki/cristal-electron-settings-renderer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"license": "LGPL 2.1",
|
|
5
5
|
"author": "XWiki Org Community <contact@xwiki.org>",
|
|
6
6
|
"homepage": "https://cristal.xwiki.org/",
|
|
@@ -26,25 +26,27 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"main": "./dist/index.es.js",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
29
30
|
"dependencies": {
|
|
30
|
-
"@xwiki/cristal-api": "0.
|
|
31
|
-
"@xwiki/cristal-settings-api": "0.
|
|
31
|
+
"@xwiki/cristal-api": "0.23.0",
|
|
32
|
+
"@xwiki/cristal-settings-api": "0.23.0"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|
|
34
35
|
"inversify": "7.x"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
|
-
"inversify": "7.
|
|
38
|
-
"typescript": "5.9.
|
|
39
|
-
"vite": "7.
|
|
40
|
-
"@xwiki/cristal-dev-config": "0.
|
|
41
|
-
"@xwiki/cristal-dsapi": "0.
|
|
38
|
+
"inversify": "7.10.2",
|
|
39
|
+
"typescript": "5.9.3",
|
|
40
|
+
"vite": "7.1.9",
|
|
41
|
+
"@xwiki/cristal-dev-config": "0.23.0",
|
|
42
|
+
"@xwiki/cristal-dsapi": "0.23.0"
|
|
42
43
|
},
|
|
43
44
|
"scripts": {
|
|
44
|
-
"
|
|
45
|
+
"api-extractor:local": "api-extractor run --local",
|
|
46
|
+
"build": "vite build",
|
|
45
47
|
"clean": "rimraf dist",
|
|
46
48
|
"lint": "eslint \"./src/**/*.{ts,tsx,vue}\" --max-warnings=0",
|
|
47
|
-
"test": "vitest --run"
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
"test": "vitest --run",
|
|
50
|
+
"typecheck": "tsc"
|
|
51
|
+
}
|
|
50
52
|
}
|
|
@@ -37,6 +37,7 @@ declare const window: SettingsWindow;
|
|
|
37
37
|
* Default implementation for {@link SettingsStorage} on Electron.
|
|
38
38
|
* It stores and retrieves settings as JSON from Electron storage.
|
|
39
39
|
* @since 0.18
|
|
40
|
+
* @beta
|
|
40
41
|
*/
|
|
41
42
|
@injectable()
|
|
42
43
|
export class DefaultSettingsStorage implements SettingsStorage {
|
package/src/index.ts
CHANGED
|
@@ -22,6 +22,9 @@ import { DefaultSettingsStorage } from "./defaultSettingsStorage";
|
|
|
22
22
|
import { Container } from "inversify";
|
|
23
23
|
import type { SettingsStorage } from "@xwiki/cristal-settings-api";
|
|
24
24
|
|
|
25
|
+
/**
|
|
26
|
+
* @beta
|
|
27
|
+
*/
|
|
25
28
|
export class ComponentInit {
|
|
26
29
|
constructor(container: Container) {
|
|
27
30
|
container
|
package/vitest.config.ts
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
21
|
import localConfig from "./vite.config";
|
|
22
|
+
import { vitestVue as defaultConfig } from "@xwiki/cristal-dev-config";
|
|
22
23
|
import { mergeConfig } from "vitest/config";
|
|
23
|
-
import defaultConfig from "@xwiki/cristal-dev-config/vitest-vue.config";
|
|
24
24
|
|
|
25
25
|
export default mergeConfig(defaultConfig, localConfig);
|