UNPKG

integreat

Version:
6 lines (5 loc) 342 B
import type { Action } from '../../types.js'; import type Schema from '../../schema/Schema.js'; export type AuthorizeDataFn = (action: Action, allowRaw?: boolean) => Action; export declare const fromService: (schemas: Map<string, Schema>) => AuthorizeDataFn; export declare const toService: (schemas: Map<string, Schema>) => AuthorizeDataFn;