561aa6891f
Big bang migration to Deno 🤯
11 lines
408 B
TypeScript
11 lines
408 B
TypeScript
import { SysCallMapping } from "../../plugos/system.ts";
|
|
import { proxySyscalls } from "../../plugos/syscalls/transport.ts";
|
|
import { Space } from "../../common/spaces/space.ts";
|
|
|
|
export function fulltextSyscalls(space: Space): SysCallMapping {
|
|
return proxySyscalls(
|
|
["fulltext.search", "fulltext.delete", "fulltext.index"],
|
|
(ctx, name, ...args) => space.proxySyscall(ctx.plug, name, args),
|
|
);
|
|
}
|