import { CustomTypeModelLinkSelectType } from "./link.js"; import { CustomTypeModelFieldType } from "./types.js"; //#region src/types/model/contentRelationship.d.ts /** @internal */ type CustomTypeModelFetchGroupLevel2 = { id: string; fields: ReadonlyArray; }; /** @internal */ type CustomTypeModelFetchCustomTypeLevel2 = { id: string; fields: ReadonlyArray; }; /** @internal */ type CustomTypeModelFetchGroupLevel1 = { id: string; fields: ReadonlyArray; }; /** @internal */ type CustomTypeModelFetchContentRelationshipLevel1 = { id: string; customtypes: ReadonlyArray; }; /** @internal */ type CustomTypeModelFetchCustomTypeLevel1 = { id: string; fields: ReadonlyArray; }; /** * A content relationship custom type field. * * More details: {@link https://prismic.io/docs/content-relationship} */ interface CustomTypeModelContentRelationshipField { type: typeof CustomTypeModelFieldType.Link; fieldset?: string | null; config?: { label?: string | null; placeholder?: string; select: typeof CustomTypeModelLinkSelectType.Document; customtypes?: readonly CustomTypes[]; tags?: readonly Tags[]; }; } //#endregion export { CustomTypeModelContentRelationshipField, CustomTypeModelFetchContentRelationshipLevel1, CustomTypeModelFetchCustomTypeLevel1, CustomTypeModelFetchCustomTypeLevel2, CustomTypeModelFetchGroupLevel1, CustomTypeModelFetchGroupLevel2 }; //# sourceMappingURL=contentRelationship.d.ts.map