theprogrammablemind_4wp 9.1.1-beta.0 → 9.1.1-beta.1
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/package.json +1 -1
- package/src/config.js +15 -0
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -1839,6 +1839,17 @@ class Config {
|
|
1839
1839
|
}
|
1840
1840
|
}
|
1841
1841
|
|
1842
|
+
get kms () {
|
1843
|
+
const kms = {}
|
1844
|
+
kms[this.name] = this
|
1845
|
+
for (const config of this.configs) {
|
1846
|
+
if (config.config instanceof Config) {
|
1847
|
+
kms[config.config.name] = config.config
|
1848
|
+
}
|
1849
|
+
}
|
1850
|
+
return kms
|
1851
|
+
}
|
1852
|
+
|
1842
1853
|
removeDevelopmentElements (config) {
|
1843
1854
|
if (!config) {
|
1844
1855
|
return
|
@@ -2069,6 +2080,10 @@ class Config {
|
|
2069
2080
|
}
|
2070
2081
|
}
|
2071
2082
|
|
2083
|
+
set api (api) {
|
2084
|
+
this._api = api
|
2085
|
+
}
|
2086
|
+
|
2072
2087
|
async addAPI (api) {
|
2073
2088
|
// console.trace()
|
2074
2089
|
// throw "addAPI"
|