MCPcopy Create free account
hub / github.com/antvis/AVA / validateDSL

Method validateDSL

src/query/javascript.ts:90–93  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

88 }
89
90 async validateDSL(code: string): Promise<string> {
91 if (!code.trim()) throw new Error('JavaScript query must contain code');
92 return code;
93 }
94}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected