Partial input data for creating a new task with a preset

interface PartialInputTask {
    enabled?: boolean;
    extends?: string;
    name: string;
    namespace?: string;
    nextRun?: Date;
    recurrence?: DAILY | WEEKLY | MONTHLY | QUARTERLY | BIENNIAL | YEARLY;
    targets: string[];
    template: Pick<{
        fetchOptions?: {
            dateField?: string;
            filters?: Record<string, any>;
            index: string;
        };
        inserts?: (Layout & {
            at: number;
        })[];
    }, "fetchOptions">;
}

Hierarchy

  • Pick<InputTask, "targets" | "name" | "namespace">
  • Partial<Omit<InputTask, "targets" | "name" | "namespace" | "template">>
    • PartialInputTask

Properties

enabled?: boolean
extends?: string
name: string
namespace?: string
nextRun?: Date
recurrence?: DAILY | WEEKLY | MONTHLY | QUARTERLY | BIENNIAL | YEARLY
targets: string[]
template: Pick<{
    fetchOptions?: {
        dateField?: string;
        filters?: Record<string, any>;
        index: string;
    };
    inserts?: (Layout & {
        at: number;
    })[];
}, "fetchOptions">

Type declaration

  • Optional fetchOptions?: {
        dateField?: string;
        filters?: Record<string, any>;
        index: string;
    }
    • Optional dateField?: string
    • Optional filters?: Record<string, any>
    • index: string
  • Optional inserts?: (Layout & {
        at: number;
    })[]

Generated using TypeDoc