@@ -88,6 +88,8 @@ export interface Config {
8888 'restrict-file-types' : RestrictFileType ;
8989 'no-restrict-file-types' : NoRestrictFileType ;
9090 'no-restrict-file-mime-types' : NoRestrictFileMimeType ;
91+ 'pdf-only' : PdfOnly ;
92+ 'restricted-mime-types' : RestrictedMimeType ;
9193 'animated-type-media' : AnimatedTypeMedia ;
9294 enlarge : Enlarge ;
9395 'without-enlarge' : WithoutEnlarge ;
@@ -122,6 +124,7 @@ export interface Config {
122124 'svg-only' : SvgOnly ;
123125 'media-without-delete-access' : MediaWithoutDeleteAccess ;
124126 'media-with-image-size-admin-props' : MediaWithImageSizeAdminProp ;
127+ 'payload-kv' : PayloadKv ;
125128 users : User ;
126129 'payload-locked-documents' : PayloadLockedDocument ;
127130 'payload-preferences' : PayloadPreference ;
@@ -150,6 +153,8 @@ export interface Config {
150153 'restrict-file-types' : RestrictFileTypesSelect < false > | RestrictFileTypesSelect < true > ;
151154 'no-restrict-file-types' : NoRestrictFileTypesSelect < false > | NoRestrictFileTypesSelect < true > ;
152155 'no-restrict-file-mime-types' : NoRestrictFileMimeTypesSelect < false > | NoRestrictFileMimeTypesSelect < true > ;
156+ 'pdf-only' : PdfOnlySelect < false > | PdfOnlySelect < true > ;
157+ 'restricted-mime-types' : RestrictedMimeTypesSelect < false > | RestrictedMimeTypesSelect < true > ;
153158 'animated-type-media' : AnimatedTypeMediaSelect < false > | AnimatedTypeMediaSelect < true > ;
154159 enlarge : EnlargeSelect < false > | EnlargeSelect < true > ;
155160 'without-enlarge' : WithoutEnlargeSelect < false > | WithoutEnlargeSelect < true > ;
@@ -184,6 +189,7 @@ export interface Config {
184189 'svg-only' : SvgOnlySelect < false > | SvgOnlySelect < true > ;
185190 'media-without-delete-access' : MediaWithoutDeleteAccessSelect < false > | MediaWithoutDeleteAccessSelect < true > ;
186191 'media-with-image-size-admin-props' : MediaWithImageSizeAdminPropsSelect < false > | MediaWithImageSizeAdminPropsSelect < true > ;
192+ 'payload-kv' : PayloadKvSelect < false > | PayloadKvSelect < true > ;
187193 users : UsersSelect < false > | UsersSelect < true > ;
188194 'payload-locked-documents' : PayloadLockedDocumentsSelect < false > | PayloadLockedDocumentsSelect < true > ;
189195 'payload-preferences' : PayloadPreferencesSelect < false > | PayloadPreferencesSelect < true > ;
@@ -940,6 +946,42 @@ export interface NoRestrictFileMimeType {
940946 focalX ?: number | null ;
941947 focalY ?: number | null ;
942948}
949+ /**
950+ * This interface was referenced by `Config`'s JSON-Schema
951+ * via the `definition` "pdf-only".
952+ */
953+ export interface PdfOnly {
954+ id : string ;
955+ updatedAt : string ;
956+ createdAt : string ;
957+ url ?: string | null ;
958+ thumbnailURL ?: string | null ;
959+ filename ?: string | null ;
960+ mimeType ?: string | null ;
961+ filesize ?: number | null ;
962+ width ?: number | null ;
963+ height ?: number | null ;
964+ focalX ?: number | null ;
965+ focalY ?: number | null ;
966+ }
967+ /**
968+ * This interface was referenced by `Config`'s JSON-Schema
969+ * via the `definition` "restricted-mime-types".
970+ */
971+ export interface RestrictedMimeType {
972+ id : string ;
973+ updatedAt : string ;
974+ createdAt : string ;
975+ url ?: string | null ;
976+ thumbnailURL ?: string | null ;
977+ filename ?: string | null ;
978+ mimeType ?: string | null ;
979+ filesize ?: number | null ;
980+ width ?: number | null ;
981+ height ?: number | null ;
982+ focalX ?: number | null ;
983+ focalY ?: number | null ;
984+ }
943985/**
944986 * This interface was referenced by `Config`'s JSON-Schema
945987 * via the `definition` "animated-type-media".
@@ -1729,6 +1771,23 @@ export interface MediaWithImageSizeAdminProp {
17291771 } ;
17301772 } ;
17311773}
1774+ /**
1775+ * This interface was referenced by `Config`'s JSON-Schema
1776+ * via the `definition` "payload-kv".
1777+ */
1778+ export interface PayloadKv {
1779+ id : string ;
1780+ key : string ;
1781+ data :
1782+ | {
1783+ [ k : string ] : unknown ;
1784+ }
1785+ | unknown [ ]
1786+ | string
1787+ | number
1788+ | boolean
1789+ | null ;
1790+ }
17321791/**
17331792 * This interface was referenced by `Config`'s JSON-Schema
17341793 * via the `definition` "users".
@@ -1844,6 +1903,14 @@ export interface PayloadLockedDocument {
18441903 relationTo : 'no-restrict-file-mime-types' ;
18451904 value : string | NoRestrictFileMimeType ;
18461905 } | null )
1906+ | ( {
1907+ relationTo : 'pdf-only' ;
1908+ value : string | PdfOnly ;
1909+ } | null )
1910+ | ( {
1911+ relationTo : 'restricted-mime-types' ;
1912+ value : string | RestrictedMimeType ;
1913+ } | null )
18471914 | ( {
18481915 relationTo : 'animated-type-media' ;
18491916 value : string | AnimatedTypeMedia ;
@@ -2775,6 +2842,40 @@ export interface NoRestrictFileMimeTypesSelect<T extends boolean = true> {
27752842 focalX ?: T ;
27762843 focalY ?: T ;
27772844}
2845+ /**
2846+ * This interface was referenced by `Config`'s JSON-Schema
2847+ * via the `definition` "pdf-only_select".
2848+ */
2849+ export interface PdfOnlySelect < T extends boolean = true > {
2850+ updatedAt ?: T ;
2851+ createdAt ?: T ;
2852+ url ?: T ;
2853+ thumbnailURL ?: T ;
2854+ filename ?: T ;
2855+ mimeType ?: T ;
2856+ filesize ?: T ;
2857+ width ?: T ;
2858+ height ?: T ;
2859+ focalX ?: T ;
2860+ focalY ?: T ;
2861+ }
2862+ /**
2863+ * This interface was referenced by `Config`'s JSON-Schema
2864+ * via the `definition` "restricted-mime-types_select".
2865+ */
2866+ export interface RestrictedMimeTypesSelect < T extends boolean = true > {
2867+ updatedAt ?: T ;
2868+ createdAt ?: T ;
2869+ url ?: T ;
2870+ thumbnailURL ?: T ;
2871+ filename ?: T ;
2872+ mimeType ?: T ;
2873+ filesize ?: T ;
2874+ width ?: T ;
2875+ height ?: T ;
2876+ focalX ?: T ;
2877+ focalY ?: T ;
2878+ }
27782879/**
27792880 * This interface was referenced by `Config`'s JSON-Schema
27802881 * via the `definition` "animated-type-media_select".
@@ -3614,6 +3715,14 @@ export interface MediaWithImageSizeAdminPropsSelect<T extends boolean = true> {
36143715 } ;
36153716 } ;
36163717}
3718+ /**
3719+ * This interface was referenced by `Config`'s JSON-Schema
3720+ * via the `definition` "payload-kv_select".
3721+ */
3722+ export interface PayloadKvSelect < T extends boolean = true > {
3723+ key ?: T ;
3724+ data ?: T ;
3725+ }
36173726/**
36183727 * This interface was referenced by `Config`'s JSON-Schema
36193728 * via the `definition` "users_select".
@@ -3678,6 +3787,6 @@ export interface Auth {
36783787
36793788
36803789declare module 'payload' {
3681- // @ts -ignore
3790+ // @ts -ignore
36823791 export interface GeneratedTypes extends Config { }
3683- }
3792+ }
0 commit comments