@ubercode/channelvault 0.3.0-rc.4 → 0.3.0-rc.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.
- package/CHANGELOG.md +18 -0
- package/README.md +6 -4
- package/dist/cli.js +421 -165
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -161,6 +161,7 @@ interface MirthClientExt extends MirthClient {
|
|
|
161
161
|
putCodeTemplateLibraries(libraries: Record<string, unknown>[]): Promise<void>;
|
|
162
162
|
/** PUT /server/globalScripts, from the `globalScripts` value of a server configuration. */
|
|
163
163
|
putGlobalScripts(globalScripts: unknown): Promise<void>;
|
|
164
|
+
putConfigurationMap(map: unknown): Promise<void>;
|
|
164
165
|
/** POST /channels/{id}/_deploy; throws if deployment fails. */
|
|
165
166
|
deployChannel(id: string): Promise<void>;
|
|
166
167
|
/** Ids of the channels currently deployed (GET /channels/statuses). */
|
package/dist/index.js
CHANGED
|
@@ -1363,6 +1363,10 @@ var MirthClientImpl = class {
|
|
|
1363
1363
|
async putCodeTemplateLibraries(libraries) {
|
|
1364
1364
|
await this.sendJson("PUT", "/codeTemplateLibraries", { list: { codeTemplateLibrary: libraries } }, { override: true });
|
|
1365
1365
|
}
|
|
1366
|
+
/** PUT /server/configurationMap: replaces the whole map. */
|
|
1367
|
+
async putConfigurationMap(map) {
|
|
1368
|
+
await this.sendJson("PUT", "/server/configurationMap", { map });
|
|
1369
|
+
}
|
|
1366
1370
|
async putGlobalScripts(globalScripts) {
|
|
1367
1371
|
await this.sendJson("PUT", "/server/globalScripts", { map: globalScripts });
|
|
1368
1372
|
}
|