chore: hoists tests out of payload package
This commit is contained in:
3
test/migrations-cli/config.ts
Normal file
3
test/migrations-cli/config.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { buildConfigWithDefaults } from '../buildConfigWithDefaults'
|
||||
|
||||
export default buildConfigWithDefaults({})
|
||||
48
test/migrations-cli/payload-types.ts
Normal file
48
test/migrations-cli/payload-types.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
/* 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
|
||||
}
|
||||
Reference in New Issue
Block a user