integreat
Version:
Node.js integration layer
13 lines (12 loc) • 364 B
TypeScript
import { SchemaDef, Shape, CastFn, Access, AccessDef } from './types.js';
export default class Schema {
id: string;
plural?: string;
service?: string;
internal: boolean;
shape: Shape;
access?: AccessDef;
castFn: CastFn;
constructor(def: SchemaDef, schemas?: Map<string, Schema>);
accessForAction(actionType?: string): Access;
}