@noormdev/sdk 1.0.0-alpha.30 → 1.0.0-alpha.32
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/dist/index.d.ts +4 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1055,6 +1055,10 @@ export interface SettingsEvents {
|
|
|
1055
1055
|
"settings:logging-updated": {
|
|
1056
1056
|
logging: LoggingConfig;
|
|
1057
1057
|
};
|
|
1058
|
+
/** Teardown config updated */
|
|
1059
|
+
"settings:teardown-updated": {
|
|
1060
|
+
teardown: TeardownConfig;
|
|
1061
|
+
};
|
|
1058
1062
|
/** Secret added (universal or stage-scoped) */
|
|
1059
1063
|
"settings:secret-added": {
|
|
1060
1064
|
secret: StageSecret;
|
package/dist/index.js
CHANGED
|
@@ -15492,6 +15492,15 @@ var SettingsManager = class {
|
|
|
15492
15492
|
await this.save();
|
|
15493
15493
|
observer.emit("settings:logging-updated", { logging });
|
|
15494
15494
|
}
|
|
15495
|
+
/**
|
|
15496
|
+
* Update teardown configuration.
|
|
15497
|
+
*/
|
|
15498
|
+
async setTeardown(teardown) {
|
|
15499
|
+
this.#assertLoaded();
|
|
15500
|
+
this.#settings.teardown = teardown;
|
|
15501
|
+
await this.save();
|
|
15502
|
+
observer.emit("settings:teardown-updated", { teardown });
|
|
15503
|
+
}
|
|
15495
15504
|
// ─────────────────────────────────────────────────────────────
|
|
15496
15505
|
// Universal Secrets
|
|
15497
15506
|
// ─────────────────────────────────────────────────────────────
|