Files
payload/test/migrations-cli/payload-types.ts
2023-09-01 14:45:41 -04:00

49 lines
937 B
TypeScript

/* tslint:disable */
/**
* This file was automatically generated by Payload CMS.
* 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: {
users: User
'payload-preferences': PayloadPreference
}
globals: {}
}
export interface User {
id: string
custom?: string
checkbox?: boolean
updatedAt: string
createdAt: string
email: string
resetPasswordToken?: string
resetPasswordExpiration?: string
salt?: string
hash?: string
loginAttempts?: number
lockUntil?: string
password?: string
}
export interface PayloadPreference {
id: string
user: {
value: string | User
relationTo: 'users'
}
key?: string
value?:
| {
[k: string]: unknown
}
| unknown[]
| string
| number
| boolean
| null
updatedAt: string
createdAt: string
}