Enforce LinuxCNC WASM XYZAC command authority
This commit is contained in:
2
web/react/src/legacy.d.ts
vendored
2
web/react/src/legacy.d.ts
vendored
@@ -9,8 +9,6 @@ declare module "*.mjs" {
|
||||
execute(kind: string, payload?: Record<string, unknown>, options?: { state?: unknown; action?: string | null; gate?: boolean }): Promise<{ operationId: string; response: unknown; gate: { enabled: boolean; reason: string } }>;
|
||||
exportTrace(): Array<Record<string, unknown>>;
|
||||
}
|
||||
export class AxisGateError extends Error { code: string; gate: { enabled: boolean; reason: string }; }
|
||||
export function axisGate(action: string, input?: unknown): { enabled: boolean; reason: string; action: string; taskState?: string; interpState?: string };
|
||||
}
|
||||
|
||||
declare module "*.js" { const createModule: (options?: unknown) => Promise<unknown>; export default createModule; }
|
||||
|
||||
Reference in New Issue
Block a user