ParserPlugin
Interface ParserPlugin
interface ParserPlugin<Options extends ZFOptions>Properties
actions
(ctx: ZugferdContext) => { parse: { (input: string | ArrayBuffer | Uint8Array<ArrayBufferLike>): Promise<{ data: Record<string, any>; profile: ZugferdProfile }>; (profile: ProfileId, input: string | ArrayBuffer | Uint8Array<ArrayBufferLike>): Promise<{ data: ParserData<SchemaOutput<Extract<(...)[(...)][number], { id: ProfileId }>["schema"]>>; profile: Extract<Options["profiles"][number], { id: ProfileId }> }> } }Defined in packages/parser/src/index.ts:431
id
"parser"Defined in packages/parser/src/index.ts:429
version
stringDefined in packages/parser/src/index.ts:430
Defined in packages/parser/src/index.ts:428