@@ -73,6 +73,7 @@ export interface Config {
7373 'food-menu' : FoodMenu ;
7474 'autosave-global' : AutosaveGlobal ;
7575 relationships : Relationship ;
76+ notTenanted : NotTenanted ;
7677 'payload-kv' : PayloadKv ;
7778 'payload-locked-documents' : PayloadLockedDocument ;
7879 'payload-preferences' : PayloadPreference ;
@@ -90,6 +91,7 @@ export interface Config {
9091 'food-menu' : FoodMenuSelect < false > | FoodMenuSelect < true > ;
9192 'autosave-global' : AutosaveGlobalSelect < false > | AutosaveGlobalSelect < true > ;
9293 relationships : RelationshipsSelect < false > | RelationshipsSelect < true > ;
94+ notTenanted : NotTenantedSelect < false > | NotTenantedSelect < true > ;
9395 'payload-kv' : PayloadKvSelect < false > | PayloadKvSelect < true > ;
9496 'payload-locked-documents' : PayloadLockedDocumentsSelect < false > | PayloadLockedDocumentsSelect < true > ;
9597 'payload-preferences' : PayloadPreferencesSelect < false > | PayloadPreferencesSelect < true > ;
@@ -201,6 +203,41 @@ export interface FoodItem {
201203 } ;
202204 [ k : string ] : unknown ;
203205 } | null ;
206+ polymorphicRelationship ?:
207+ | ( {
208+ relationTo : 'relationships' ;
209+ value : string | Relationship ;
210+ } | null )
211+ | ( {
212+ relationTo : 'food-items' ;
213+ value : string | FoodItem ;
214+ } | null )
215+ | ( {
216+ relationTo : 'notTenanted' ;
217+ value : string | NotTenanted ;
218+ } | null ) ;
219+ updatedAt : string ;
220+ createdAt : string ;
221+ }
222+ /**
223+ * This interface was referenced by `Config`'s JSON-Schema
224+ * via the `definition` "relationships".
225+ */
226+ export interface Relationship {
227+ id : string ;
228+ tenant ?: ( string | null ) | Tenant ;
229+ title : string ;
230+ relationship ?: ( string | null ) | Relationship ;
231+ updatedAt : string ;
232+ createdAt : string ;
233+ }
234+ /**
235+ * This interface was referenced by `Config`'s JSON-Schema
236+ * via the `definition` "notTenanted".
237+ */
238+ export interface NotTenanted {
239+ id : string ;
240+ name ?: string | null ;
204241 updatedAt : string ;
205242 createdAt : string ;
206243}
@@ -239,18 +276,6 @@ export interface AutosaveGlobal {
239276 createdAt : string ;
240277 _status ?: ( 'draft' | 'published' ) | null ;
241278}
242- /**
243- * This interface was referenced by `Config`'s JSON-Schema
244- * via the `definition` "relationships".
245- */
246- export interface Relationship {
247- id : string ;
248- tenant ?: ( string | null ) | Tenant ;
249- title : string ;
250- relationship ?: ( string | null ) | Relationship ;
251- updatedAt : string ;
252- createdAt : string ;
253- }
254279/**
255280 * This interface was referenced by `Config`'s JSON-Schema
256281 * via the `definition` "payload-kv".
@@ -298,6 +323,10 @@ export interface PayloadLockedDocument {
298323 | ( {
299324 relationTo : 'relationships' ;
300325 value : string | Relationship ;
326+ } | null )
327+ | ( {
328+ relationTo : 'notTenanted' ;
329+ value : string | NotTenanted ;
301330 } | null ) ;
302331 globalSlug ?: string | null ;
303332 user : {
@@ -392,6 +421,7 @@ export interface FoodItemsSelect<T extends boolean = true> {
392421 name ?: T ;
393422 localizedName ?: T ;
394423 content ?: T ;
424+ polymorphicRelationship ?: T ;
395425 updatedAt ?: T ;
396426 createdAt ?: T ;
397427}
@@ -436,6 +466,15 @@ export interface RelationshipsSelect<T extends boolean = true> {
436466 updatedAt ?: T ;
437467 createdAt ?: T ;
438468}
469+ /**
470+ * This interface was referenced by `Config`'s JSON-Schema
471+ * via the `definition` "notTenanted_select".
472+ */
473+ export interface NotTenantedSelect < T extends boolean = true > {
474+ name ?: T ;
475+ updatedAt ?: T ;
476+ createdAt ?: T ;
477+ }
439478/**
440479 * This interface was referenced by `Config`'s JSON-Schema
441480 * via the `definition` "payload-kv_select".
0 commit comments