MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / normalize

Function normalize

static/js/utils.js:510–518  ·  view source on GitHub ↗
(filters = {})

Source from the content-addressed store, hash-verified

508 },
509
510 normalize(filters = {}) {
511 const result = {};
512 Object.entries(filters || {}).forEach(([key, raw]) => {
513 const value = this.normalizeValue(raw);
514 if (value === null) return;
515 result[key] = value;
516 });
517 return result;
518 },
519
520 toQuery(filters = {}, mapping = {}) {
521 const normalized = this.normalize(filters);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected