types/payload.types.ts

types/payload.types.ts is a file in Bane's Lab Build Scripts. 7 lines of code and 3 definitions.

import type { Discovery } from "#types/site.types";

export type DiscoverySource = () => Promise<Discovery>;

export type CatalogSource = () => Promise<ReadonlyMap<string, string>>;

export interface PayloadAddress {
    readonly page: string;
    readonly tab: string | null;
}