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)
97 lines
2.0 KiB
TypeScript
97 lines
2.0 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: {
|
|
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;
|
|
/**
|
|
* @minItems 2
|
|
* @maxItems 2
|
|
*/
|
|
transform?: [number, number];
|
|
/**
|
|
* @minItems 2
|
|
* @maxItems 2
|
|
*/
|
|
localizedTransform?: [number, number];
|
|
updatedAt: string;
|
|
createdAt: string;
|
|
}
|
|
export interface Hook {
|
|
id: string;
|
|
fieldBeforeValidate?: boolean;
|
|
fieldBeforeChange?: boolean;
|
|
fieldAfterChange?: boolean;
|
|
fieldAfterRead?: boolean;
|
|
collectionBeforeValidate?: boolean;
|
|
collectionBeforeChange?: boolean;
|
|
collectionAfterChange?: boolean;
|
|
collectionBeforeRead?: boolean;
|
|
collectionAfterRead?: boolean;
|
|
updatedAt: string;
|
|
createdAt: string;
|
|
}
|
|
export interface NestedAfterReadHook {
|
|
id: string;
|
|
text?: string;
|
|
group?: {
|
|
array?: {
|
|
input?: string;
|
|
afterRead?: string;
|
|
shouldPopulate?: string | Relation;
|
|
id?: string;
|
|
}[];
|
|
subGroup?: {
|
|
afterRead?: string;
|
|
shouldPopulate?: string | Relation;
|
|
};
|
|
};
|
|
updatedAt: string;
|
|
createdAt: string;
|
|
}
|
|
export interface Relation {
|
|
id: string;
|
|
title: string;
|
|
updatedAt: string;
|
|
createdAt: string;
|
|
}
|
|
export interface ChainingHook {
|
|
id: string;
|
|
text?: string;
|
|
updatedAt: string;
|
|
createdAt: string;
|
|
}
|
|
export interface HooksUser {
|
|
id: string;
|
|
roles: ('admin' | 'user')[];
|
|
updatedAt: string;
|
|
createdAt: string;
|
|
email?: string;
|
|
resetPasswordToken?: string;
|
|
resetPasswordExpiration?: string;
|
|
loginAttempts?: number;
|
|
lockUntil?: string;
|
|
password?: string;
|
|
}
|