|
|
|
@@ -149,7 +149,7 @@ export interface Config {
|
|
|
|
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
|
|
|
|
'payload-migrations': PayloadMigrationsSelect<false> | PayloadMigrationsSelect<true>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
db: {
|
|
|
|
db: {
|
|
|
|
defaultIDType: string;
|
|
|
|
defaultIDType: number;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
globals: {};
|
|
|
|
globals: {};
|
|
|
|
globalsSelect: {};
|
|
|
|
globalsSelect: {};
|
|
|
|
@@ -215,7 +215,7 @@ export interface LocalizedTextReference2 {
|
|
|
|
* via the `definition` "users".
|
|
|
|
* via the `definition` "users".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface User {
|
|
|
|
export interface User {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
canViewConditionalField?: boolean | null;
|
|
|
|
canViewConditionalField?: boolean | null;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
@@ -240,7 +240,7 @@ export interface User {
|
|
|
|
* via the `definition` "select-versions-fields".
|
|
|
|
* via the `definition` "select-versions-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface SelectVersionsField {
|
|
|
|
export interface SelectVersionsField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
hasMany?: ('a' | 'b' | 'c' | 'd')[] | null;
|
|
|
|
hasMany?: ('a' | 'b' | 'c' | 'd')[] | null;
|
|
|
|
array?:
|
|
|
|
array?:
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
@@ -265,7 +265,7 @@ export interface SelectVersionsField {
|
|
|
|
* via the `definition` "array-fields".
|
|
|
|
* via the `definition` "array-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface ArrayField {
|
|
|
|
export interface ArrayField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
title?: string | null;
|
|
|
|
title?: string | null;
|
|
|
|
items: {
|
|
|
|
items: {
|
|
|
|
text: string;
|
|
|
|
text: string;
|
|
|
|
@@ -369,7 +369,7 @@ export interface ArrayField {
|
|
|
|
* via the `definition` "block-fields".
|
|
|
|
* via the `definition` "block-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface BlockField {
|
|
|
|
export interface BlockField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
blocks: (ContentBlock | NoBlockname | NumberBlock | SubBlocksBlock | TabsBlock)[];
|
|
|
|
blocks: (ContentBlock | NoBlockname | NumberBlock | SubBlocksBlock | TabsBlock)[];
|
|
|
|
duplicate: (ContentBlock | NoBlockname | NumberBlock | SubBlocksBlock | TabsBlock)[];
|
|
|
|
duplicate: (ContentBlock | NoBlockname | NumberBlock | SubBlocksBlock | TabsBlock)[];
|
|
|
|
collapsedByDefaultBlocks: (
|
|
|
|
collapsedByDefaultBlocks: (
|
|
|
|
@@ -500,7 +500,7 @@ export interface BlockField {
|
|
|
|
| null;
|
|
|
|
| null;
|
|
|
|
relationshipBlocks?:
|
|
|
|
relationshipBlocks?:
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationship?: (string | null) | TextField;
|
|
|
|
relationship?: (number | null) | TextField;
|
|
|
|
id?: string | null;
|
|
|
|
id?: string | null;
|
|
|
|
blockName?: string | null;
|
|
|
|
blockName?: string | null;
|
|
|
|
blockType: 'relationships';
|
|
|
|
blockType: 'relationships';
|
|
|
|
@@ -697,7 +697,7 @@ export interface LocalizedTabsBlock {
|
|
|
|
* via the `definition` "text-fields".
|
|
|
|
* via the `definition` "text-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface TextField {
|
|
|
|
export interface TextField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text: string;
|
|
|
|
text: string;
|
|
|
|
hiddenTextField?: string | null;
|
|
|
|
hiddenTextField?: string | null;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@@ -749,7 +749,7 @@ export interface TextField {
|
|
|
|
* via the `definition` "checkbox-fields".
|
|
|
|
* via the `definition` "checkbox-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface CheckboxField {
|
|
|
|
export interface CheckboxField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
checkbox: boolean;
|
|
|
|
checkbox: boolean;
|
|
|
|
checkboxNotRequired?: boolean | null;
|
|
|
|
checkboxNotRequired?: boolean | null;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
@@ -760,7 +760,7 @@ export interface CheckboxField {
|
|
|
|
* via the `definition` "code-fields".
|
|
|
|
* via the `definition` "code-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface CodeField {
|
|
|
|
export interface CodeField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
javascript?: string | null;
|
|
|
|
javascript?: string | null;
|
|
|
|
typescript?: string | null;
|
|
|
|
typescript?: string | null;
|
|
|
|
json?: string | null;
|
|
|
|
json?: string | null;
|
|
|
|
@@ -775,7 +775,7 @@ export interface CodeField {
|
|
|
|
* via the `definition` "collapsible-fields".
|
|
|
|
* via the `definition` "collapsible-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface CollapsibleField {
|
|
|
|
export interface CollapsibleField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text: string;
|
|
|
|
text: string;
|
|
|
|
group: {
|
|
|
|
group: {
|
|
|
|
textWithinGroup?: string | null;
|
|
|
|
textWithinGroup?: string | null;
|
|
|
|
@@ -808,9 +808,10 @@ export interface CollapsibleField {
|
|
|
|
* via the `definition` "conditional-logic".
|
|
|
|
* via the `definition` "conditional-logic".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface ConditionalLogic {
|
|
|
|
export interface ConditionalLogic {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text: string;
|
|
|
|
text: string;
|
|
|
|
toggleField?: boolean | null;
|
|
|
|
toggleField?: boolean | null;
|
|
|
|
|
|
|
|
fieldWithDocIDCondition?: string | null;
|
|
|
|
fieldWithCondition?: string | null;
|
|
|
|
fieldWithCondition?: string | null;
|
|
|
|
fieldWithOperationCondition?: string | null;
|
|
|
|
fieldWithOperationCondition?: string | null;
|
|
|
|
customFieldWithField?: string | null;
|
|
|
|
customFieldWithField?: string | null;
|
|
|
|
@@ -921,7 +922,7 @@ export interface CustomRowId {
|
|
|
|
* via the `definition` "date-fields".
|
|
|
|
* via the `definition` "date-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface DateField {
|
|
|
|
export interface DateField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
default: string;
|
|
|
|
default: string;
|
|
|
|
timeOnly?: string | null;
|
|
|
|
timeOnly?: string | null;
|
|
|
|
timeOnlyWithMiliseconds?: string | null;
|
|
|
|
timeOnlyWithMiliseconds?: string | null;
|
|
|
|
@@ -966,7 +967,7 @@ export interface DateField {
|
|
|
|
* via the `definition` "email-fields".
|
|
|
|
* via the `definition` "email-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface EmailField {
|
|
|
|
export interface EmailField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
email: string;
|
|
|
|
email: string;
|
|
|
|
localizedEmail?: string | null;
|
|
|
|
localizedEmail?: string | null;
|
|
|
|
emailWithAutocomplete?: string | null;
|
|
|
|
emailWithAutocomplete?: string | null;
|
|
|
|
@@ -991,7 +992,7 @@ export interface EmailField {
|
|
|
|
* via the `definition` "radio-fields".
|
|
|
|
* via the `definition` "radio-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface RadioField {
|
|
|
|
export interface RadioField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
radio?: ('one' | 'two' | 'three') | null;
|
|
|
|
radio?: ('one' | 'two' | 'three') | null;
|
|
|
|
radioWithJsxLabelOption?: ('one' | 'two' | 'three') | null;
|
|
|
|
radioWithJsxLabelOption?: ('one' | 'two' | 'three') | null;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
@@ -1002,7 +1003,7 @@ export interface RadioField {
|
|
|
|
* via the `definition` "group-fields".
|
|
|
|
* via the `definition` "group-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface GroupField {
|
|
|
|
export interface GroupField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* This is a group.
|
|
|
|
* This is a group.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@@ -1084,22 +1085,22 @@ export interface GroupField {
|
|
|
|
select?: ('one' | 'two')[] | null;
|
|
|
|
select?: ('one' | 'two')[] | null;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
localizedGroupRel?: {
|
|
|
|
localizedGroupRel?: {
|
|
|
|
email?: (string | null) | EmailField;
|
|
|
|
email?: (number | null) | EmailField;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
localizedGroupManyRel?: {
|
|
|
|
localizedGroupManyRel?: {
|
|
|
|
email?: (string | EmailField)[] | null;
|
|
|
|
email?: (number | EmailField)[] | null;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
localizedGroupPolyRel?: {
|
|
|
|
localizedGroupPolyRel?: {
|
|
|
|
email?: {
|
|
|
|
email?: {
|
|
|
|
relationTo: 'email-fields';
|
|
|
|
relationTo: 'email-fields';
|
|
|
|
value: string | EmailField;
|
|
|
|
value: number | EmailField;
|
|
|
|
} | null;
|
|
|
|
} | null;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
localizedGroupPolyHasManyRel?: {
|
|
|
|
localizedGroupPolyHasManyRel?: {
|
|
|
|
email?:
|
|
|
|
email?:
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'email-fields';
|
|
|
|
relationTo: 'email-fields';
|
|
|
|
value: string | EmailField;
|
|
|
|
value: number | EmailField;
|
|
|
|
}[]
|
|
|
|
}[]
|
|
|
|
| null;
|
|
|
|
| null;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
@@ -1153,30 +1154,30 @@ export interface RowField {
|
|
|
|
* via the `definition` "indexed-fields".
|
|
|
|
* via the `definition` "indexed-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface IndexedField {
|
|
|
|
export interface IndexedField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text: string;
|
|
|
|
text: string;
|
|
|
|
uniqueText?: string | null;
|
|
|
|
uniqueText?: string | null;
|
|
|
|
uniqueRelationship?: (string | null) | TextField;
|
|
|
|
uniqueRelationship?: (number | null) | TextField;
|
|
|
|
uniqueHasManyRelationship?: (string | TextField)[] | null;
|
|
|
|
uniqueHasManyRelationship?: (number | TextField)[] | null;
|
|
|
|
uniqueHasManyRelationship_2?: (string | TextField)[] | null;
|
|
|
|
uniqueHasManyRelationship_2?: (number | TextField)[] | null;
|
|
|
|
uniquePolymorphicRelationship?: {
|
|
|
|
uniquePolymorphicRelationship?: {
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
} | null;
|
|
|
|
} | null;
|
|
|
|
uniquePolymorphicRelationship_2?: {
|
|
|
|
uniquePolymorphicRelationship_2?: {
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
} | null;
|
|
|
|
} | null;
|
|
|
|
uniqueHasManyPolymorphicRelationship?:
|
|
|
|
uniqueHasManyPolymorphicRelationship?:
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
}[]
|
|
|
|
}[]
|
|
|
|
| null;
|
|
|
|
| null;
|
|
|
|
uniqueHasManyPolymorphicRelationship_2?:
|
|
|
|
uniqueHasManyPolymorphicRelationship_2?:
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
}[]
|
|
|
|
}[]
|
|
|
|
| null;
|
|
|
|
| null;
|
|
|
|
uniqueRequiredText: string;
|
|
|
|
uniqueRequiredText: string;
|
|
|
|
@@ -1212,7 +1213,7 @@ export interface IndexedField {
|
|
|
|
* via the `definition` "json-fields".
|
|
|
|
* via the `definition` "json-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface JsonField {
|
|
|
|
export interface JsonField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
json?: {
|
|
|
|
json?: {
|
|
|
|
array?: {
|
|
|
|
array?: {
|
|
|
|
object?: {
|
|
|
|
object?: {
|
|
|
|
@@ -1253,7 +1254,7 @@ export interface JsonField {
|
|
|
|
* via the `definition` "number-fields".
|
|
|
|
* via the `definition` "number-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface NumberField {
|
|
|
|
export interface NumberField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
number?: number | null;
|
|
|
|
number?: number | null;
|
|
|
|
min?: number | null;
|
|
|
|
min?: number | null;
|
|
|
|
max?: number | null;
|
|
|
|
max?: number | null;
|
|
|
|
@@ -1288,7 +1289,7 @@ export interface NumberField {
|
|
|
|
* via the `definition` "point-fields".
|
|
|
|
* via the `definition` "point-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface PointField {
|
|
|
|
export interface PointField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @minItems 2
|
|
|
|
* @minItems 2
|
|
|
|
* @maxItems 2
|
|
|
|
* @maxItems 2
|
|
|
|
@@ -1319,83 +1320,83 @@ export interface PointField {
|
|
|
|
* via the `definition` "relationship-fields".
|
|
|
|
* via the `definition` "relationship-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface RelationshipField {
|
|
|
|
export interface RelationshipField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text?: string | null;
|
|
|
|
text?: string | null;
|
|
|
|
relationship:
|
|
|
|
relationship:
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
value: string | ArrayField;
|
|
|
|
value: number | ArrayField;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
relationHasManyPolymorphic?:
|
|
|
|
relationHasManyPolymorphic?:
|
|
|
|
| (
|
|
|
|
| (
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
value: string | ArrayField;
|
|
|
|
value: number | ArrayField;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)[]
|
|
|
|
)[]
|
|
|
|
| null;
|
|
|
|
| null;
|
|
|
|
relationToSelf?: (string | null) | RelationshipField;
|
|
|
|
relationToSelf?: (number | null) | RelationshipField;
|
|
|
|
relationToSelfSelectOnly?: (string | null) | RelationshipField;
|
|
|
|
relationToSelfSelectOnly?: (number | null) | RelationshipField;
|
|
|
|
relationWithAllowCreateToFalse?: (string | null) | User;
|
|
|
|
relationWithAllowCreateToFalse?: (number | null) | User;
|
|
|
|
relationWithAllowEditToFalse?: (string | null) | User;
|
|
|
|
relationWithAllowEditToFalse?: (number | null) | User;
|
|
|
|
relationWithDynamicDefault?: (string | null) | User;
|
|
|
|
relationWithDynamicDefault?: (number | null) | User;
|
|
|
|
relationHasManyWithDynamicDefault?: {
|
|
|
|
relationHasManyWithDynamicDefault?: {
|
|
|
|
relationTo: 'users';
|
|
|
|
relationTo: 'users';
|
|
|
|
value: string | User;
|
|
|
|
value: number | User;
|
|
|
|
} | null;
|
|
|
|
} | null;
|
|
|
|
relationshipWithMin?: (string | TextField)[] | null;
|
|
|
|
relationshipWithMin?: (number | TextField)[] | null;
|
|
|
|
relationshipWithMax?: (string | TextField)[] | null;
|
|
|
|
relationshipWithMax?: (number | TextField)[] | null;
|
|
|
|
relationshipHasMany?: (string | TextField)[] | null;
|
|
|
|
relationshipHasMany?: (number | TextField)[] | null;
|
|
|
|
array?:
|
|
|
|
array?:
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationship?: (string | null) | TextField;
|
|
|
|
relationship?: (number | null) | TextField;
|
|
|
|
id?: string | null;
|
|
|
|
id?: string | null;
|
|
|
|
}[]
|
|
|
|
}[]
|
|
|
|
| null;
|
|
|
|
| null;
|
|
|
|
relationshipWithMinRows?:
|
|
|
|
relationshipWithMinRows?:
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
}[]
|
|
|
|
}[]
|
|
|
|
| null;
|
|
|
|
| null;
|
|
|
|
relationToRow?: (string | null) | RowField;
|
|
|
|
relationToRow?: (string | null) | RowField;
|
|
|
|
relationToRowMany?: (string | RowField)[] | null;
|
|
|
|
relationToRowMany?: (string | RowField)[] | null;
|
|
|
|
relationshipDrawer?: (string | null) | TextField;
|
|
|
|
relationshipDrawer?: (number | null) | TextField;
|
|
|
|
relationshipDrawerReadOnly?: (string | null) | TextField;
|
|
|
|
relationshipDrawerReadOnly?: (number | null) | TextField;
|
|
|
|
polymorphicRelationshipDrawer?:
|
|
|
|
polymorphicRelationshipDrawer?:
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
value: string | ArrayField;
|
|
|
|
value: number | ArrayField;
|
|
|
|
} | null);
|
|
|
|
} | null);
|
|
|
|
relationshipDrawerHasMany?: (string | TextField)[] | null;
|
|
|
|
relationshipDrawerHasMany?: (number | TextField)[] | null;
|
|
|
|
relationshipDrawerHasManyPolymorphic?:
|
|
|
|
relationshipDrawerHasManyPolymorphic?:
|
|
|
|
| (
|
|
|
|
| (
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
value: string | ArrayField;
|
|
|
|
value: number | ArrayField;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)[]
|
|
|
|
)[]
|
|
|
|
| null;
|
|
|
|
| null;
|
|
|
|
relationshipDrawerWithAllowCreateFalse?: (string | null) | TextField;
|
|
|
|
relationshipDrawerWithAllowCreateFalse?: (number | null) | TextField;
|
|
|
|
relationshipDrawerWithFilterOptions?: {
|
|
|
|
relationshipDrawerWithFilterOptions?: {
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
} | null;
|
|
|
|
} | null;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
@@ -1405,7 +1406,7 @@ export interface RelationshipField {
|
|
|
|
* via the `definition` "select-fields".
|
|
|
|
* via the `definition` "select-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface SelectField {
|
|
|
|
export interface SelectField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
select?: ('one' | 'two' | 'three') | null;
|
|
|
|
select?: ('one' | 'two' | 'three') | null;
|
|
|
|
selectReadOnly?: ('one' | 'two' | 'three') | null;
|
|
|
|
selectReadOnly?: ('one' | 'two' | 'three') | null;
|
|
|
|
selectHasMany?: ('one' | 'two' | 'three' | 'four' | 'five' | 'six')[] | null;
|
|
|
|
selectHasMany?: ('one' | 'two' | 'three' | 'four' | 'five' | 'six')[] | null;
|
|
|
|
@@ -1435,7 +1436,7 @@ export interface SelectField {
|
|
|
|
* via the `definition` "tabs-fields-2".
|
|
|
|
* via the `definition` "tabs-fields-2".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface TabsFields2 {
|
|
|
|
export interface TabsFields2 {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
tabsInArray?:
|
|
|
|
tabsInArray?:
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
text?: string | null;
|
|
|
|
text?: string | null;
|
|
|
|
@@ -1453,7 +1454,7 @@ export interface TabsFields2 {
|
|
|
|
* via the `definition` "tabs-fields".
|
|
|
|
* via the `definition` "tabs-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface TabsField {
|
|
|
|
export interface TabsField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* This should not collapse despite there being many tabs pushing the main fields open.
|
|
|
|
* This should not collapse despite there being many tabs pushing the main fields open.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@@ -1555,9 +1556,9 @@ export interface TabWithName {
|
|
|
|
* via the `definition` "uploads".
|
|
|
|
* via the `definition` "uploads".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface Upload {
|
|
|
|
export interface Upload {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text?: string | null;
|
|
|
|
text?: string | null;
|
|
|
|
media?: (string | null) | Upload;
|
|
|
|
media?: (number | null) | Upload;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
url?: string | null;
|
|
|
|
url?: string | null;
|
|
|
|
@@ -1575,9 +1576,9 @@ export interface Upload {
|
|
|
|
* via the `definition` "uploads2".
|
|
|
|
* via the `definition` "uploads2".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface Uploads2 {
|
|
|
|
export interface Uploads2 {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text?: string | null;
|
|
|
|
text?: string | null;
|
|
|
|
media?: (string | null) | Uploads2;
|
|
|
|
media?: (number | null) | Uploads2;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
url?: string | null;
|
|
|
|
url?: string | null;
|
|
|
|
@@ -1595,8 +1596,8 @@ export interface Uploads2 {
|
|
|
|
* via the `definition` "uploads3".
|
|
|
|
* via the `definition` "uploads3".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface Uploads3 {
|
|
|
|
export interface Uploads3 {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
media?: (string | null) | Uploads3;
|
|
|
|
media?: (number | null) | Uploads3;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
url?: string | null;
|
|
|
|
url?: string | null;
|
|
|
|
@@ -1614,9 +1615,9 @@ export interface Uploads3 {
|
|
|
|
* via the `definition` "uploads-multi".
|
|
|
|
* via the `definition` "uploads-multi".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface UploadsMulti {
|
|
|
|
export interface UploadsMulti {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text?: string | null;
|
|
|
|
text?: string | null;
|
|
|
|
media?: (string | Upload)[] | null;
|
|
|
|
media?: (number | Upload)[] | null;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@@ -1625,16 +1626,16 @@ export interface UploadsMulti {
|
|
|
|
* via the `definition` "uploads-poly".
|
|
|
|
* via the `definition` "uploads-poly".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface UploadsPoly {
|
|
|
|
export interface UploadsPoly {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text?: string | null;
|
|
|
|
text?: string | null;
|
|
|
|
media?:
|
|
|
|
media?:
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'uploads';
|
|
|
|
relationTo: 'uploads';
|
|
|
|
value: string | Upload;
|
|
|
|
value: number | Upload;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'uploads2';
|
|
|
|
relationTo: 'uploads2';
|
|
|
|
value: string | Uploads2;
|
|
|
|
value: number | Uploads2;
|
|
|
|
} | null);
|
|
|
|
} | null);
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
@@ -1644,17 +1645,17 @@ export interface UploadsPoly {
|
|
|
|
* via the `definition` "uploads-multi-poly".
|
|
|
|
* via the `definition` "uploads-multi-poly".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface UploadsMultiPoly {
|
|
|
|
export interface UploadsMultiPoly {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text?: string | null;
|
|
|
|
text?: string | null;
|
|
|
|
media?:
|
|
|
|
media?:
|
|
|
|
| (
|
|
|
|
| (
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'uploads';
|
|
|
|
relationTo: 'uploads';
|
|
|
|
value: string | Upload;
|
|
|
|
value: number | Upload;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
| {
|
|
|
|
| {
|
|
|
|
relationTo: 'uploads2';
|
|
|
|
relationTo: 'uploads2';
|
|
|
|
value: string | Uploads2;
|
|
|
|
value: number | Uploads2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)[]
|
|
|
|
)[]
|
|
|
|
| null;
|
|
|
|
| null;
|
|
|
|
@@ -1666,11 +1667,11 @@ export interface UploadsMultiPoly {
|
|
|
|
* via the `definition` "uploads-restricted".
|
|
|
|
* via the `definition` "uploads-restricted".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface UploadsRestricted {
|
|
|
|
export interface UploadsRestricted {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text?: string | null;
|
|
|
|
text?: string | null;
|
|
|
|
uploadWithoutRestriction?: (string | null) | Upload;
|
|
|
|
uploadWithoutRestriction?: (number | null) | Upload;
|
|
|
|
uploadWithAllowCreateFalse?: (string | null) | Upload;
|
|
|
|
uploadWithAllowCreateFalse?: (number | null) | Upload;
|
|
|
|
uploadMultipleWithAllowCreateFalse?: (string | Upload)[] | null;
|
|
|
|
uploadMultipleWithAllowCreateFalse?: (number | Upload)[] | null;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@@ -1679,7 +1680,7 @@ export interface UploadsRestricted {
|
|
|
|
* via the `definition` "ui-fields".
|
|
|
|
* via the `definition` "ui-fields".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface UiField {
|
|
|
|
export interface UiField {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
text: string;
|
|
|
|
text: string;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
@@ -1689,39 +1690,39 @@ export interface UiField {
|
|
|
|
* via the `definition` "payload-locked-documents".
|
|
|
|
* via the `definition` "payload-locked-documents".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface PayloadLockedDocument {
|
|
|
|
export interface PayloadLockedDocument {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
document?:
|
|
|
|
document?:
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'users';
|
|
|
|
relationTo: 'users';
|
|
|
|
value: string | User;
|
|
|
|
value: number | User;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'select-versions-fields';
|
|
|
|
relationTo: 'select-versions-fields';
|
|
|
|
value: string | SelectVersionsField;
|
|
|
|
value: number | SelectVersionsField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
relationTo: 'array-fields';
|
|
|
|
value: string | ArrayField;
|
|
|
|
value: number | ArrayField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'block-fields';
|
|
|
|
relationTo: 'block-fields';
|
|
|
|
value: string | BlockField;
|
|
|
|
value: number | BlockField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'checkbox-fields';
|
|
|
|
relationTo: 'checkbox-fields';
|
|
|
|
value: string | CheckboxField;
|
|
|
|
value: number | CheckboxField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'code-fields';
|
|
|
|
relationTo: 'code-fields';
|
|
|
|
value: string | CodeField;
|
|
|
|
value: number | CodeField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'collapsible-fields';
|
|
|
|
relationTo: 'collapsible-fields';
|
|
|
|
value: string | CollapsibleField;
|
|
|
|
value: number | CollapsibleField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'conditional-logic';
|
|
|
|
relationTo: 'conditional-logic';
|
|
|
|
value: string | ConditionalLogic;
|
|
|
|
value: number | ConditionalLogic;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'custom-id';
|
|
|
|
relationTo: 'custom-id';
|
|
|
|
@@ -1729,27 +1730,27 @@ export interface PayloadLockedDocument {
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'custom-tab-id';
|
|
|
|
relationTo: 'custom-tab-id';
|
|
|
|
value: string | CustomTabId;
|
|
|
|
value: number | CustomTabId;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'custom-row-id';
|
|
|
|
relationTo: 'custom-row-id';
|
|
|
|
value: string | CustomRowId;
|
|
|
|
value: number | CustomRowId;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'date-fields';
|
|
|
|
relationTo: 'date-fields';
|
|
|
|
value: string | DateField;
|
|
|
|
value: number | DateField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'email-fields';
|
|
|
|
relationTo: 'email-fields';
|
|
|
|
value: string | EmailField;
|
|
|
|
value: number | EmailField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'radio-fields';
|
|
|
|
relationTo: 'radio-fields';
|
|
|
|
value: string | RadioField;
|
|
|
|
value: number | RadioField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'group-fields';
|
|
|
|
relationTo: 'group-fields';
|
|
|
|
value: string | GroupField;
|
|
|
|
value: number | GroupField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'row-fields';
|
|
|
|
relationTo: 'row-fields';
|
|
|
|
@@ -1757,76 +1758,76 @@ export interface PayloadLockedDocument {
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'indexed-fields';
|
|
|
|
relationTo: 'indexed-fields';
|
|
|
|
value: string | IndexedField;
|
|
|
|
value: number | IndexedField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'json-fields';
|
|
|
|
relationTo: 'json-fields';
|
|
|
|
value: string | JsonField;
|
|
|
|
value: number | JsonField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'number-fields';
|
|
|
|
relationTo: 'number-fields';
|
|
|
|
value: string | NumberField;
|
|
|
|
value: number | NumberField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'point-fields';
|
|
|
|
relationTo: 'point-fields';
|
|
|
|
value: string | PointField;
|
|
|
|
value: number | PointField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'relationship-fields';
|
|
|
|
relationTo: 'relationship-fields';
|
|
|
|
value: string | RelationshipField;
|
|
|
|
value: number | RelationshipField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'select-fields';
|
|
|
|
relationTo: 'select-fields';
|
|
|
|
value: string | SelectField;
|
|
|
|
value: number | SelectField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'tabs-fields-2';
|
|
|
|
relationTo: 'tabs-fields-2';
|
|
|
|
value: string | TabsFields2;
|
|
|
|
value: number | TabsFields2;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'tabs-fields';
|
|
|
|
relationTo: 'tabs-fields';
|
|
|
|
value: string | TabsField;
|
|
|
|
value: number | TabsField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
relationTo: 'text-fields';
|
|
|
|
value: string | TextField;
|
|
|
|
value: number | TextField;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'uploads';
|
|
|
|
relationTo: 'uploads';
|
|
|
|
value: string | Upload;
|
|
|
|
value: number | Upload;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'uploads2';
|
|
|
|
relationTo: 'uploads2';
|
|
|
|
value: string | Uploads2;
|
|
|
|
value: number | Uploads2;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'uploads3';
|
|
|
|
relationTo: 'uploads3';
|
|
|
|
value: string | Uploads3;
|
|
|
|
value: number | Uploads3;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'uploads-multi';
|
|
|
|
relationTo: 'uploads-multi';
|
|
|
|
value: string | UploadsMulti;
|
|
|
|
value: number | UploadsMulti;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'uploads-poly';
|
|
|
|
relationTo: 'uploads-poly';
|
|
|
|
value: string | UploadsPoly;
|
|
|
|
value: number | UploadsPoly;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'uploads-multi-poly';
|
|
|
|
relationTo: 'uploads-multi-poly';
|
|
|
|
value: string | UploadsMultiPoly;
|
|
|
|
value: number | UploadsMultiPoly;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'uploads-restricted';
|
|
|
|
relationTo: 'uploads-restricted';
|
|
|
|
value: string | UploadsRestricted;
|
|
|
|
value: number | UploadsRestricted;
|
|
|
|
} | null)
|
|
|
|
} | null)
|
|
|
|
| ({
|
|
|
|
| ({
|
|
|
|
relationTo: 'ui-fields';
|
|
|
|
relationTo: 'ui-fields';
|
|
|
|
value: string | UiField;
|
|
|
|
value: number | UiField;
|
|
|
|
} | null);
|
|
|
|
} | null);
|
|
|
|
globalSlug?: string | null;
|
|
|
|
globalSlug?: string | null;
|
|
|
|
user: {
|
|
|
|
user: {
|
|
|
|
relationTo: 'users';
|
|
|
|
relationTo: 'users';
|
|
|
|
value: string | User;
|
|
|
|
value: number | User;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
createdAt: string;
|
|
|
|
@@ -1836,10 +1837,10 @@ export interface PayloadLockedDocument {
|
|
|
|
* via the `definition` "payload-preferences".
|
|
|
|
* via the `definition` "payload-preferences".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface PayloadPreference {
|
|
|
|
export interface PayloadPreference {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
user: {
|
|
|
|
user: {
|
|
|
|
relationTo: 'users';
|
|
|
|
relationTo: 'users';
|
|
|
|
value: string | User;
|
|
|
|
value: number | User;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
key?: string | null;
|
|
|
|
key?: string | null;
|
|
|
|
value?:
|
|
|
|
value?:
|
|
|
|
@@ -1859,7 +1860,7 @@ export interface PayloadPreference {
|
|
|
|
* via the `definition` "payload-migrations".
|
|
|
|
* via the `definition` "payload-migrations".
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export interface PayloadMigration {
|
|
|
|
export interface PayloadMigration {
|
|
|
|
id: string;
|
|
|
|
id: number;
|
|
|
|
name?: string | null;
|
|
|
|
name?: string | null;
|
|
|
|
batch?: number | null;
|
|
|
|
batch?: number | null;
|
|
|
|
updatedAt: string;
|
|
|
|
updatedAt: string;
|
|
|
|
@@ -2452,6 +2453,7 @@ export interface CollapsibleFieldsSelect<T extends boolean = true> {
|
|
|
|
export interface ConditionalLogicSelect<T extends boolean = true> {
|
|
|
|
export interface ConditionalLogicSelect<T extends boolean = true> {
|
|
|
|
text?: T;
|
|
|
|
text?: T;
|
|
|
|
toggleField?: T;
|
|
|
|
toggleField?: T;
|
|
|
|
|
|
|
|
fieldWithDocIDCondition?: T;
|
|
|
|
fieldWithCondition?: T;
|
|
|
|
fieldWithCondition?: T;
|
|
|
|
fieldWithOperationCondition?: T;
|
|
|
|
fieldWithOperationCondition?: T;
|
|
|
|
customFieldWithField?: T;
|
|
|
|
customFieldWithField?: T;
|
|
|
|
|