import { isObject } from '@emprespresso/pengueno'; export type JobArgT = Record; export interface Job { readonly type: string; readonly arguments: JobArgT; } export const isJob = (j: unknown): j is Job => !!(isObject(j) && 'arguments' in j && isObject(j.arguments) && 'type' in j && typeof j.type === 'string' && j); export * from './jobs.js';