UNPKG

@prismicio/mock

Version:

Generate mock Prismic documents, fields, Slices, and models for development and testing environments

12 lines (11 loc) 698 B
import { MockModelConfig } from "../types.js"; import * as prismic from "@prismicio/client"; //#region src/model/contentRelationship.d.ts type MockContentRelationshipModelConfig<CustomTypeIDs extends string = string, Tags extends string = string> = { customTypeIDs?: readonly CustomTypeIDs[]; tags?: readonly Tags[]; } & MockModelConfig; declare const contentRelationship: <CustomTypeIDs extends string, Tags extends string>(config: MockContentRelationshipModelConfig<CustomTypeIDs, Tags>) => prismic.CustomTypeModelContentRelationshipField<CustomTypeIDs, Tags>; //#endregion export { MockContentRelationshipModelConfig, contentRelationship }; //# sourceMappingURL=contentRelationship.d.ts.map