feat: reduce package size and amount of dependencies by upgrading json-schema-to-typescript (#7938)

Closes https://github.com/payloadcms/payload/issues/7934
This commit is contained in:
Alessio Gravili
2024-08-28 17:59:32 -04:00
committed by GitHub
parent 12fb691e4f
commit dc12047723
39 changed files with 397 additions and 313 deletions

View File

@@ -21,6 +21,9 @@ export interface Config {
'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration;
};
db: {
defaultIDType: string;
};
globals: {};
locale: null;
user: User & {
@@ -30,15 +33,20 @@ export interface Config {
export interface UserAuthOperations {
forgotPassword: {
email: string;
password: string;
};
login: {
password: string;
email: string;
password: string;
};
registerFirstUser: {
email: string;
password: string;
};
unlock: {
email: string;
password: string;
};
}
/**
* This interface was referenced by `Config`'s JSON-Schema