Files
payload/test/admin/payload-types.ts

93 lines
2.0 KiB
TypeScript

/* tslint:disable */
/**
* This file was automatically generated by Payload.
* 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;
'hidden-collection': HiddenCollection;
posts: Post;
'group-one-collection-ones': GroupOneCollectionOne;
'group-one-collection-twos': GroupOneCollectionTwo;
'group-two-collection-ones': GroupTwoCollectionOne;
'group-two-collection-twos': GroupTwoCollectionTwo;
};
globals: {
'hidden-global': HiddenGlobal;
global: Global;
'group-globals-one': GroupGlobalsOne;
'group-globals-two': GroupGlobalsTwo;
};
}
export interface User {
id: string;
createdAt: string;
updatedAt: string;
email?: string;
resetPasswordToken?: string;
resetPasswordExpiration?: string;
loginAttempts?: number;
lockUntil?: string;
password?: string;
}
export interface HiddenCollection {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
}
export interface Post {
id: string;
title?: string;
description?: string;
number?: number;
richText?: {
[k: string]: unknown;
}[];
createdAt: string;
updatedAt: string;
}
export interface GroupOneCollectionOne {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
}
export interface GroupOneCollectionTwo {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
}
export interface GroupTwoCollectionOne {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
}
export interface GroupTwoCollectionTwo {
id: string;
title?: string;
createdAt: string;
updatedAt: string;
}
export interface HiddenGlobal {
id: string;
title?: string;
}
export interface Global {
id: string;
title?: string;
}
export interface GroupGlobalsOne {
id: string;
title?: string;
}
export interface GroupGlobalsTwo {
id: string;
title?: string;
}