119 lines
2.8 KiB
TypeScript
119 lines
2.8 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` "fields-relationship".
|
|
*/
|
|
export interface FieldsRelationship {
|
|
id: string;
|
|
relationship?: string | RelationOne;
|
|
relationshipHasMany?: (string | RelationOne)[];
|
|
relationshipMultiple?:
|
|
| {
|
|
value: string | RelationOne;
|
|
relationTo: 'relation-one';
|
|
}
|
|
| {
|
|
value: string | RelationTwo;
|
|
relationTo: 'relation-two';
|
|
};
|
|
relationshipHasManyMultiple?: (
|
|
| {
|
|
value: string | RelationOne;
|
|
relationTo: 'relation-one';
|
|
}
|
|
| {
|
|
value: string | RelationTwo;
|
|
relationTo: 'relation-two';
|
|
}
|
|
)[];
|
|
relationshipRestricted?: string | RelationRestricted;
|
|
relationshipWithTitle?: string | RelationWithTitle;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "relation-one".
|
|
*/
|
|
export interface RelationOne {
|
|
id: string;
|
|
name?: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "relation-two".
|
|
*/
|
|
export interface RelationTwo {
|
|
id: string;
|
|
name?: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "relation-restricted".
|
|
*/
|
|
export interface RelationRestricted {
|
|
id: string;
|
|
name?: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "relation-with-title".
|
|
*/
|
|
export interface RelationWithTitle {
|
|
id: string;
|
|
name?: string;
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "group-nested-relation-with-title".
|
|
*/
|
|
export interface GroupNestedRelationWithTitle {
|
|
id: string;
|
|
group?: {
|
|
relation?: string | NestedRelationWithTitle;
|
|
};
|
|
createdAt: string;
|
|
updatedAt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "nested-relation-with-title".
|
|
*/
|
|
export interface NestedRelationWithTitle {
|
|
id: string;
|
|
group?: {
|
|
relation?: string | RelationWithTitle;
|
|
};
|
|
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;
|
|
}
|