Props for TicketProvider.

interface Props {
    withQuery: IWithQuery<ZodOptional<ZodNullable<ZodAny>>, ZodOptional<ZodNullable<ZodObject<extendShape<{
        id: ZodString;
    }, {
        tokens: ZodArray<ZodString, "many">;
    }>, "strip", ZodTypeAny, {
        id: string;
        tokens: string[];
    }, {
        id: string;
        tokens: string[];
    }>>>>;
    interval?: number;
    empty?: FC;
}

Hierarchy

  • PropsWithChildren
    • Props

Properties

withQuery: IWithQuery<ZodOptional<ZodNullable<ZodAny>>, ZodOptional<ZodNullable<ZodObject<extendShape<{
    id: ZodString;
}, {
    tokens: ZodArray<ZodString, "many">;
}>, "strip", ZodTypeAny, {
    id: string;
    tokens: string[];
}, {
    id: string;
    tokens: string[];
}>>>>

Query to fetch ticket.

interval?: number

Interval to refetch ticket.

empty?: FC

Render, when there is no ticket.