argumentsSchema
argumentsSchema(
job,spec):ZodObject<{[key:string]:ZodType<unknown,unknown,$ZodTypeInternals<unknown,unknown>>; },$strict>
Defined in: packages/schema/src/job-arguments.ts:77
The schema a job’s payload is checked with, from its declared arguments: an object of exactly those arguments, each
checked as a field of its type. A Standard Schema, as defineJob’s payload takes. Throws on an unknown type or an
option its type needs, such as a decimal without precision, naming the job and the argument.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”ZodObject<{[key: string]: ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>; }, $strict>