mirror of
https://github.com/hansjone/netxops.git
synced 2026-10-20 02:33:15 +08:00
fix(client): drop TS parameter properties so tests run under Node strip-only
form-transport and publication-form tests now load and pass. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
05bfd97c6e
commit
fb94c8a6a0
4 changed files with 15 additions and 9 deletions
|
|
@ -2286,7 +2286,6 @@ function booleanFieldPersistFalse(field) {
|
|||
}
|
||||
|
||||
class CardForm {
|
||||
scope;
|
||||
specs;
|
||||
secretSpecs;
|
||||
staged = new Map;
|
||||
|
|
@ -2294,6 +2293,7 @@ class CardForm {
|
|||
saving = false;
|
||||
failed = false;
|
||||
saveQueue = Promise.resolve();
|
||||
scope;
|
||||
constructor(scope, specs, secrets = []) {
|
||||
this.scope = scope;
|
||||
this.specs = new Map(specs.map((spec) => [spec.field, spec]));
|
||||
|
|
@ -2564,8 +2564,6 @@ var API_TOKEN_FIELD = "apiToken";
|
|||
var STATUS_POLL_MS = 2000;
|
||||
|
||||
class NetxopsCardController {
|
||||
scope;
|
||||
ctx;
|
||||
form;
|
||||
store;
|
||||
credential = {
|
||||
|
|
@ -2602,6 +2600,8 @@ class NetxopsCardController {
|
|||
catalogInFlight = false;
|
||||
exportStatusInFlight = false;
|
||||
exportInFlight;
|
||||
scope;
|
||||
ctx;
|
||||
constructor(scope, ctx) {
|
||||
this.scope = scope;
|
||||
this.ctx = ctx;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue