95 lines
2.3 KiB
TypeScript
95 lines
2.3 KiB
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 {}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "posts".
|
|
*/
|
|
export interface Post {
|
|
id: string;
|
|
title?: string;
|
|
description?: string;
|
|
number?: number;
|
|
relationField?: string | Relation;
|
|
defaultAccessRelation?: string | StrictAccess;
|
|
chainedRelation?: string | ChainedRelation;
|
|
maxDepthRelation?: string | Relation;
|
|
customIdRelation?: string | CustomIdRelation;
|
|
customIdNumberRelation?: number | CustomIdNumberRelation;
|
|
filteredRelation?: string | Relation;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "relation".
|
|
*/
|
|
export interface Relation {
|
|
id: string;
|
|
name?: string;
|
|
disableRelation: boolean;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "strict-access".
|
|
*/
|
|
export interface StrictAccess {
|
|
id: string;
|
|
name?: string;
|
|
disableRelation: boolean;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "chained-relation".
|
|
*/
|
|
export interface ChainedRelation {
|
|
id: string;
|
|
name?: string;
|
|
relation?: string | ChainedRelation;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "custom-id-relation".
|
|
*/
|
|
export interface CustomIdRelation {
|
|
id: string;
|
|
name?: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "custom-id-number-relation".
|
|
*/
|
|
export interface CustomIdNumberRelation {
|
|
id: number;
|
|
name?: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "users".
|
|
*/
|
|
export interface User {
|
|
id: string;
|
|
email?: string;
|
|
resetPasswordToken?: string;
|
|
resetPasswordExpiration?: string;
|
|
loginAttempts?: number;
|
|
lockUntil?: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|