fix(client): drop TS parameter properties so tests run under Node strip-only
Some checks failed
Release package / package (macos-latest) (push) Has been cancelled
Release package / package (ubuntu-latest) (push) Has been cancelled
Release package / package (windows-latest) (push) Has been cancelled

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:
oliver 2026-10-16 23:39:45 +08:00
parent 05bfd97c6e
commit fb94c8a6a0
4 changed files with 15 additions and 9 deletions

View file

@ -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;