Skip to content

InstrumentDef

InstrumentDef<TKind, TLanguage, TSchema>: Omit<DiscriminatedInstrument<TKind, TLanguage, z.TypeOf<TSchema>>, "__runtimeVersion" | "kind" | "language" | "validationSchema"> & object

Defined in: packages/runtime-core/lib/define.d.ts:8

Type declaration

kind

kind: TKind

language

language: TLanguage

validationSchema

validationSchema: TSchema

Type Parameters

TKind extends InstrumentKind

TLanguage extends InstrumentLanguage

TSchema extends z.ZodTypeAny