import { FormSchema } from "./FormSchema"; export interface ActionDefaultsSchema { handler: string[]; method: string[]; priority: number; name: string; title: string; } export interface ActionInfoSchema extends Record { name: string; title: string; description: string; priority: number; defaults: ActionDefaultsSchema; } export interface ActionSchema extends ActionInfoSchema { _id?: string; settingsForm: Partial; access?: { handler: boolean; method: boolean; }; }