chore: hoists tests out of payload package

This commit is contained in:
James
2023-09-01 14:45:41 -04:00
parent 893ca87225
commit 0f3b364e46
215 changed files with 254 additions and 257 deletions

View File

@@ -0,0 +1,3 @@
import { buildConfigWithDefaults } from '../buildConfigWithDefaults'
export default buildConfigWithDefaults({})

View 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
}