import { CollectionFieldTypeName, CollectionFieldPlacement } from "./../graphqlEntities"; export interface CollectionTypeFragment_editor { __typename: "CollectionEditor"; hidden: boolean | null; id: string; } export interface CollectionTypeFragment_project { __typename: "Data"; id: string; } export interface CollectionTypeFragment_settings { __typename: "CollectionTypeSettings"; hidden: boolean; icon: string | null; titleSingular: string | null; titlePlural: string | null; } export interface CollectionTypeFragment_fields_CollectionTypeFieldPassword { __typename: "CollectionTypeFieldPassword" | "CollectionTypeFieldPhone" | "CollectionTypeFieldVideoLink"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; } export interface CollectionTypeFragment_fields_CollectionTypeFieldCheck_checkSettings_choices { __typename: "CollectionTypeFieldCheckSettingsChoice"; title: string; value: string; } export interface CollectionTypeFragment_fields_CollectionTypeFieldCheck_checkSettings { __typename: "CollectionTypeFieldCheckSettings"; choices: CollectionTypeFragment_fields_CollectionTypeFieldCheck_checkSettings_choices[]; } export interface CollectionTypeFragment_fields_CollectionTypeFieldCheck { __typename: "CollectionTypeFieldCheck"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; checkSettings: CollectionTypeFragment_fields_CollectionTypeFieldCheck_checkSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldColor { __typename: "CollectionTypeFieldColor"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; settings: CollectionTypeFieldSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldDateTime { __typename: "CollectionTypeFieldDateTime"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; settings: CollectionTypeFieldSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldEmail_emailSettings { __typename: "CollectionTypeFieldEmailSettings"; placeholder: string | null; } export interface CollectionTypeFragment_fields_CollectionTypeFieldEmail { __typename: "CollectionTypeFieldEmail"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; emailSettings: CollectionTypeFragment_fields_CollectionTypeFieldEmail_emailSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldFile { __typename: "CollectionTypeFieldFile"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; settings: CollectionTypeFieldSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldGallery { __typename: "CollectionTypeFieldGallery"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; settings: CollectionTypeFieldSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldImage { __typename: "CollectionTypeFieldImage"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; settings: CollectionTypeFieldSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldMap { __typename: "CollectionTypeFieldMap"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; settings: CollectionTypeFieldSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldMultiReference_multiReferenceSettings_collectionType { __typename: "CollectionTypeReference"; id: string; title: string; } export interface CollectionTypeFragment_fields_CollectionTypeFieldMultiReference_multiReferenceSettings { __typename: "CollectionTypeFieldMultiReferenceSettings"; collectionType: CollectionTypeFragment_fields_CollectionTypeFieldMultiReference_multiReferenceSettings_collectionType; } export interface CollectionTypeFragment_fields_CollectionTypeFieldMultiReference { __typename: "CollectionTypeFieldMultiReference"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; multiReferenceSettings: CollectionTypeFragment_fields_CollectionTypeFieldMultiReference_multiReferenceSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldNumber_numberSettings { __typename: "CollectionTypeFieldNumberSettings"; min: number | null; max: number | null; step: number | null; placeholder: string | null; } export interface CollectionTypeFragment_fields_CollectionTypeFieldNumber { __typename: "CollectionTypeFieldNumber"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; numberSettings: CollectionTypeFragment_fields_CollectionTypeFieldNumber_numberSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldReference_referenceSettings_collectionType { __typename: "CollectionTypeReference"; id: string; title: string; } export interface CollectionTypeFragment_fields_CollectionTypeFieldReference_referenceSettings { __typename: "CollectionTypeFieldReferenceSettings"; collectionType: CollectionTypeFragment_fields_CollectionTypeFieldReference_referenceSettings_collectionType; } export interface CollectionTypeFragment_fields_CollectionTypeFieldReference { __typename: "CollectionTypeFieldReference"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; referenceSettings: CollectionTypeFragment_fields_CollectionTypeFieldReference_referenceSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldRichText_richTextSettings { __typename: "CollectionTypeFieldRichTextSettings"; minLength: number | null; maxLength: number | null; placeholder: string | null; } export interface CollectionTypeFragment_fields_CollectionTypeFieldRichText { __typename: "CollectionTypeFieldRichText"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; richTextSettings: CollectionTypeFragment_fields_CollectionTypeFieldRichText_richTextSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldSelect_selectSettings_choices { __typename: "CollectionTypeFieldSelectSettingsChoice"; title: string; value: string; } export interface CollectionTypeFragment_fields_CollectionTypeFieldSelect_selectSettings { __typename: "CollectionTypeFieldSelectSettings"; choices: CollectionTypeFragment_fields_CollectionTypeFieldSelect_selectSettings_choices[]; placeholder: string | null; } export interface CollectionTypeFragment_fields_CollectionTypeFieldSelect { __typename: "CollectionTypeFieldSelect"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; selectSettings: CollectionTypeFragment_fields_CollectionTypeFieldSelect_selectSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldSwitch { __typename: "CollectionTypeFieldSwitch"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; settings: CollectionTypeFieldSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldLink_linkSettings { __typename: "CollectionTypeFieldLinkSettings"; placeholder: string | null; } export interface CollectionTypeFragment_fields_CollectionTypeFieldLink { __typename: "CollectionTypeFieldLink"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; linkSettings: CollectionTypeFragment_fields_CollectionTypeFieldLink_linkSettings; } export interface CollectionTypeFragment_fields_CollectionTypeFieldText_textSettings { __typename: "CollectionTypeFieldTextSettings"; minLength: number | null; maxLength: number | null; placeholder: string | null; } export interface CollectionTypeFragment_fields_CollectionTypeFieldText { __typename: "CollectionTypeFieldText"; id: string; slug: string | null; label: string; type: CollectionFieldTypeName; hidden: boolean; priority: number; required: boolean; description: string | null; placement: CollectionFieldPlacement; textSettings: CollectionTypeFragment_fields_CollectionTypeFieldText_textSettings; } export declare type CollectionTypeFragment_fields = CollectionTypeFragment_fields_CollectionTypeFieldPassword | CollectionTypeFragment_fields_CollectionTypeFieldCheck | CollectionTypeFragment_fields_CollectionTypeFieldColor | CollectionTypeFragment_fields_CollectionTypeFieldDateTime | CollectionTypeFragment_fields_CollectionTypeFieldEmail | CollectionTypeFragment_fields_CollectionTypeFieldFile | CollectionTypeFragment_fields_CollectionTypeFieldGallery | CollectionTypeFragment_fields_CollectionTypeFieldImage | CollectionTypeFragment_fields_CollectionTypeFieldMap | CollectionTypeFragment_fields_CollectionTypeFieldMultiReference | CollectionTypeFragment_fields_CollectionTypeFieldNumber | CollectionTypeFragment_fields_CollectionTypeFieldReference | CollectionTypeFragment_fields_CollectionTypeFieldRichText | CollectionTypeFragment_fields_CollectionTypeFieldSelect | CollectionTypeFragment_fields_CollectionTypeFieldSwitch | CollectionTypeFragment_fields_CollectionTypeFieldLink | CollectionTypeFragment_fields_CollectionTypeFieldText; export interface CollectionTypeFragment { __typename: "CollectionType"; id: string; title: string; priority: number; slug: string; editor: CollectionTypeFragment_editor; project: CollectionTypeFragment_project; settings: CollectionTypeFragment_settings; /** * fixme: must be `[CollectionTypeFieldInterface!]!`. */ fields: CollectionTypeFragment_fields[] | null; }