UNPKG

@adguard/agtree

Version:
32 lines (31 loc) 819 B
/** * @file Schema for scriptlet data. */ import zod from 'zod'; /** * Zod schema for scriptlet data. */ export declare const scriptletDataSchema: zod.ZodEffects<zod.ZodTypeAny, { name: string; description: string | null; aliases: string[] | null; docs: string | null; versionAdded: string | null; versionRemoved: string | null; deprecated: boolean; deprecationMessage: string | null; removed: boolean; removalMessage: string | null; parameters?: { name: string; debug: boolean; pattern: string | null; description: string | null; default: string | null; required: boolean; }[] | undefined; }, any>; /** * Type of the scriptlet data schema. */ export type ScriptletDataSchema = zod.infer<typeof scriptletDataSchema>;