Files
ry.kazcloud.dev/node_modules/astro/dist/content/loaders/file.d.ts
Ryan Kazokas d181f77fb2
All checks were successful
Build and Push / build (push) Successful in 55s
Updates dockerfile
2026-02-16 15:09:37 -05:00

8 lines
402 B
TypeScript

import type { Loader } from './types.js';
/**
* Loads entries from a JSON file. The file must contain an array of objects that contain unique `id` fields, or an object with string keys.
* @todo Add support for other file types, such as YAML, CSV etc.
* @param fileName The path to the JSON file to load, relative to the content directory.
*/
export declare function file(fileName: string): Loader;