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)
This commit is contained in:
@@ -5,11 +5,24 @@
|
||||
* and re-run `payload generate:types` to regenerate this file.
|
||||
*/
|
||||
|
||||
export interface Config {}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "transforms".
|
||||
*/
|
||||
export interface Config {
|
||||
collections: {
|
||||
afterOperation: AfterOperation;
|
||||
transforms: Transform;
|
||||
hooks: Hook;
|
||||
'nested-after-read-hooks': NestedAfterReadHook;
|
||||
'chaining-hooks': ChainingHook;
|
||||
relations: Relation;
|
||||
'hooks-users': HooksUser;
|
||||
};
|
||||
globals: {};
|
||||
}
|
||||
export interface AfterOperation {
|
||||
id: string;
|
||||
title: string;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
export interface Transform {
|
||||
id: string;
|
||||
/**
|
||||
@@ -22,13 +35,9 @@ export interface Transform {
|
||||
* @maxItems 2
|
||||
*/
|
||||
localizedTransform?: [number, number];
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "hooks".
|
||||
*/
|
||||
export interface Hook {
|
||||
id: string;
|
||||
fieldBeforeValidate?: boolean;
|
||||
@@ -40,53 +49,48 @@ export interface Hook {
|
||||
collectionAfterChange?: boolean;
|
||||
collectionBeforeRead?: boolean;
|
||||
collectionAfterRead?: boolean;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "nested-after-read-hooks".
|
||||
*/
|
||||
export interface NestedAfterReadHook {
|
||||
id: string;
|
||||
text?: string;
|
||||
group: {
|
||||
array: {
|
||||
group?: {
|
||||
array?: {
|
||||
input?: string;
|
||||
afterRead?: string;
|
||||
shouldPopulate?: string | Relation;
|
||||
id?: string;
|
||||
}[];
|
||||
subGroup: {
|
||||
subGroup?: {
|
||||
afterRead?: string;
|
||||
shouldPopulate?: string | Relation;
|
||||
};
|
||||
};
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "relations".
|
||||
*/
|
||||
export interface Relation {
|
||||
id: string;
|
||||
title: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
export interface ChainingHook {
|
||||
id: string;
|
||||
text?: string;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
/**
|
||||
* This interface was referenced by `Config`'s JSON-Schema
|
||||
* via the `definition` "hooks-users".
|
||||
*/
|
||||
export interface HooksUser {
|
||||
id: string;
|
||||
roles: ('admin' | 'user')[];
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
email?: string;
|
||||
resetPasswordToken?: string;
|
||||
resetPasswordExpiration?: string;
|
||||
loginAttempts?: number;
|
||||
lockUntil?: string;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
password?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user