Files
payloadcms/test/relationships/payload-types.ts
Alessio Gravili 9467074fb9 chore: update 2.0 branch from master (#3207)
Co-authored-by: Jacob Fletcher <jacobsfletch@gmail.com>
Co-authored-by: Alessio Gravili <alessio@gravili.de>
Co-authored-by: PatrikKozak <patrik@trbl.design>
Co-authored-by: Lucas Blancas <lablancas@gmail.com>
Co-authored-by: Stef Gootzen <37367280+stefgootzen@users.noreply.github.com>
Co-authored-by: Jarrod Flesch <30633324+JarrodMFlesch@users.noreply.github.com>
Co-authored-by: Jessica Chowdhury <67977755+JessChowdhury@users.noreply.github.com>
Co-authored-by: PatrikKozak <35232443+PatrikKozak@users.noreply.github.com>
Co-authored-by: Greg Willard <Wickett06@gmail.com>
Co-authored-by: James Mikrut <james@payloadcms.com>
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com>
Co-authored-by: Elliot DeNolf <denolfe@gmail.com>
fix: WhereBuilder component does not accept all valid Where queries (#3087)
fix: passes in height to resizeOptions upload option to allow height resize (#3171)
2023-08-22 16:04:50 -04:00

103 lines
2.3 KiB
TypeScript

/* tslint:disable */
/**
* This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
* and re-run `payload generate:types` to regenerate this file.
*/
export interface Config {
collections: {
posts: Post;
relation: Relation;
'strict-access': StrictAccess;
'chained-relation': ChainedRelation;
'custom-id-relation': CustomIdRelation;
'custom-id-number-relation': CustomIdNumberRelation;
screenings: Screening;
movies: Movie;
directors: Director;
users: User;
};
globals: {};
}
export interface Post {
id: string;
title?: string;
description?: string;
number?: number;
relationField?: string | Relation;
defaultAccessRelation?: string | StrictAccess;
chainedRelation?: string | ChainedRelation;
maxDepthRelation?: string | Relation;
customIdRelation?: string | CustomIdRelation;
customIdNumberRelation?: number | CustomIdNumberRelation;
filteredRelation?: string | Relation;
updatedAt: string;
createdAt: string;
}
export interface Relation {
id: string;
name?: string;
disableRelation: boolean;
updatedAt: string;
createdAt: string;
}
export interface StrictAccess {
id: string;
name?: string;
disableRelation: boolean;
updatedAt: string;
createdAt: string;
}
export interface ChainedRelation {
id: string;
name?: string;
relation?: string | ChainedRelation;
updatedAt: string;
createdAt: string;
}
export interface CustomIdRelation {
id: string;
name?: string;
updatedAt: string;
createdAt: string;
}
export interface CustomIdNumberRelation {
id: number;
name?: string;
updatedAt: string;
createdAt: string;
}
export interface Screening {
id: string;
name?: string;
movie?: string | Movie;
updatedAt: string;
createdAt: string;
}
export interface Movie {
id: string;
name?: string;
director?: string | Director;
updatedAt: string;
createdAt: string;
}
export interface Director {
id: string;
name?: string;
movies?: Array<string | Movie>;
updatedAt: string;
createdAt: string;
}
export interface User {
id: string;
updatedAt: string;
createdAt: string;
email?: string;
resetPasswordToken?: string;
resetPasswordExpiration?: string;
loginAttempts?: number;
lockUntil?: string;
password?: string;
}