chore: passing tests

This commit is contained in:
James
2023-07-31 18:12:09 -04:00
parent af302e19ee
commit 3a5851d28a
21 changed files with 246 additions and 89 deletions

View File

@@ -1,4 +1,5 @@
/* tslint:disable */
/* eslint-disable */
/**
* This file was automatically generated by Payload.
* DO NOT MODIFY IT BY HAND. Instead, modify your source Payload config,
@@ -14,6 +15,8 @@ export interface Config {
'group-one-collection-twos': GroupOneCollectionTwo;
'group-two-collection-ones': GroupTwoCollectionOne;
'group-two-collection-twos': GroupTwoCollectionTwo;
'payload-preferences': PayloadPreference;
'payload-migrations': PayloadMigration;
};
globals: {
'hidden-global': HiddenGlobal;
@@ -24,11 +27,13 @@ export interface Config {
}
export interface User {
id: string;
createdAt: string;
updatedAt: string;
email?: string;
createdAt: string;
email: string;
resetPasswordToken?: string;
resetPasswordExpiration?: string;
salt?: string;
hash?: string;
loginAttempts?: number;
lockUntil?: string;
password?: string;
@@ -36,8 +41,8 @@ export interface User {
export interface HiddenCollection {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
createdAt: string;
}
export interface Post {
id: string;
@@ -47,46 +52,89 @@ export interface Post {
richText?: {
[k: string]: unknown;
}[];
createdAt: string;
updatedAt: string;
createdAt: string;
}
export interface GroupOneCollectionOne {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
createdAt: string;
}
export interface GroupOneCollectionTwo {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
createdAt: string;
}
export interface GroupTwoCollectionOne {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
createdAt: string;
}
export interface GroupTwoCollectionTwo {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
createdAt: 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;
}
export interface PayloadMigration {
id: string;
name?: string;
batch?: number;
schema?:
| {
[k: string]: unknown;
}
| unknown[]
| string
| number
| boolean
| null;
updatedAt: string;
createdAt: string;
}
export interface HiddenGlobal {
id: string;
title?: string;
updatedAt?: string;
createdAt?: string;
}
export interface Global {
id: string;
title?: string;
updatedAt?: string;
createdAt?: string;
}
export interface GroupGlobalsOne {
id: string;
title?: string;
updatedAt?: string;
createdAt?: string;
}
export interface GroupGlobalsTwo {
id: string;
title?: string;
updatedAt?: string;
createdAt?: string;
}