integreat
Version:
Node.js integration layer
6 lines (5 loc) • 342 B
TypeScript
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;