Metreeca Keep
    Preparing search index...

    Variable collectionsConst

    collections: {
        categories: readonly State<typeof Category>[];
        vendors: readonly State<typeof Vendor>[];
        products: readonly State<typeof Product>[];
        images: readonly State<typeof Image>[];
        videos: readonly State<typeof Video>[];
    } = ...

    Resource collections from the toys sample dataset, validated with value scope.

    Each getter resolves lazily on first access, so importing this object runs no validation at module load — eager evaluation would re-enter toys.ts before its toys namespace constant is initialised, since the shape factories read toys.<class> at materialisation time. The validated set is built once on first access and shared across every getter.

    Type Declaration

    • Readonlycategories: readonly State<typeof Category>[]
    • Readonlyvendors: readonly State<typeof Vendor>[]
    • Readonlyproducts: readonly State<typeof Product>[]
    • Readonlyimages: readonly State<typeof Image>[]
    • Readonlyvideos: readonly State<typeof Video>[]