542 lines
11 KiB
TypeScript
542 lines
11 KiB
TypeScript
// auto-generated by payload
|
|
|
|
export interface Config {}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "navigation-array".
|
|
*/
|
|
export interface NavigationArray {
|
|
array?: {
|
|
text?: string;
|
|
id?: string;
|
|
}[];
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "global-with-access".
|
|
*/
|
|
export interface GlobalWithStrictAccess {
|
|
title: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "blocks-global".
|
|
*/
|
|
export interface BlocksGlobal {
|
|
blocks?: (
|
|
| {
|
|
color: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'quote';
|
|
}
|
|
| {
|
|
label: string;
|
|
url: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'cta';
|
|
}
|
|
)[];
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "admins".
|
|
*/
|
|
export interface Admin {
|
|
email?: string;
|
|
resetPasswordToken?: string;
|
|
apiKey?: string;
|
|
apiKeyIndex?: string;
|
|
loginAttempts?: number;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "all-fields".
|
|
*/
|
|
export interface AllFields {
|
|
text: string;
|
|
descriptionText?: string;
|
|
descriptionFunction?: string;
|
|
email?: string;
|
|
number?: number;
|
|
group?: {
|
|
nestedText1?: string;
|
|
nestedText2?: string;
|
|
};
|
|
array?: {
|
|
arrayText1: string;
|
|
arrayText2: string;
|
|
arrayText3?: string;
|
|
id?: string;
|
|
}[];
|
|
blocks: (
|
|
| {
|
|
testEmail: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'email';
|
|
}
|
|
| {
|
|
testNumber: number;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'number';
|
|
}
|
|
| {
|
|
color: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'quote';
|
|
}
|
|
| {
|
|
label: string;
|
|
url: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'cta';
|
|
}
|
|
)[];
|
|
slug: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "auto-label".
|
|
*/
|
|
export interface AutoLabel {
|
|
autoLabelField?: string;
|
|
noLabel?: string;
|
|
labelOverride?: string;
|
|
specialBlock?: {
|
|
testNumber?: number;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'number';
|
|
}[];
|
|
noLabelBlock?: {
|
|
testNumber?: number;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'number';
|
|
}[];
|
|
items?: {
|
|
itemName?: string;
|
|
id?: string;
|
|
}[];
|
|
noLabelArray?: {
|
|
textField?: string;
|
|
id?: string;
|
|
}[];
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "code".
|
|
*/
|
|
export interface Code {}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "conditions".
|
|
*/
|
|
export interface Conditions {
|
|
title: string;
|
|
number?: number;
|
|
simpleCondition: string;
|
|
orCondition: string;
|
|
nestedConditions?: string;
|
|
blocks: (
|
|
| {
|
|
testEmail: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'email';
|
|
}
|
|
| {
|
|
testNumber: number;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'number';
|
|
}
|
|
| {
|
|
color: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'quote';
|
|
}
|
|
| {
|
|
label: string;
|
|
url: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'cta';
|
|
}
|
|
)[];
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "custom-components".
|
|
*/
|
|
export interface CustomComponent {
|
|
title: string;
|
|
componentDescription?: string;
|
|
array?: {
|
|
nestedArrayCustomField?: string;
|
|
id?: string;
|
|
}[];
|
|
group?: {
|
|
nestedGroupCustomField?: string;
|
|
};
|
|
nestedText1?: string;
|
|
nestedText2?: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "custom-id".
|
|
*/
|
|
export interface CustomID {
|
|
id?: number;
|
|
name: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "files".
|
|
*/
|
|
export interface File {
|
|
url?: string;
|
|
filename?: string;
|
|
mimeType?: string;
|
|
filesize?: number;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "default-values".
|
|
*/
|
|
export interface DefaultValueTest {
|
|
text?: string;
|
|
email?: string;
|
|
number?: number;
|
|
group?: {
|
|
nestedText1?: string;
|
|
nestedText2?: string;
|
|
};
|
|
array?: {
|
|
arrayText1?: string;
|
|
arrayText2?: string;
|
|
arrayText3?: string;
|
|
id?: string;
|
|
}[];
|
|
blocks?: (
|
|
| {
|
|
testEmail: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'email';
|
|
}
|
|
| {
|
|
testNumber: number;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'number';
|
|
}
|
|
| {
|
|
color: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'quote';
|
|
}
|
|
| {
|
|
label: string;
|
|
url: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'cta';
|
|
}
|
|
)[];
|
|
slug?: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "blocks".
|
|
*/
|
|
export interface Blocks {
|
|
layout: (
|
|
| {
|
|
testEmail: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'email';
|
|
}
|
|
| {
|
|
testNumber: number;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'number';
|
|
}
|
|
| {
|
|
color: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'quote';
|
|
}
|
|
| {
|
|
label: string;
|
|
url: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'cta';
|
|
}
|
|
)[];
|
|
nonLocalizedLayout: (
|
|
| {
|
|
testEmail: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'email';
|
|
}
|
|
| {
|
|
testNumber: number;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'number';
|
|
}
|
|
| {
|
|
color: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'quote';
|
|
}
|
|
| {
|
|
label: string;
|
|
url: string;
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'cta';
|
|
}
|
|
)[];
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "hidden-fields".
|
|
*/
|
|
export interface HiddenFields {
|
|
title: string;
|
|
hiddenAdmin: string;
|
|
hiddenAPI: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "hooks".
|
|
*/
|
|
export interface Hook {
|
|
title: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "localized-posts".
|
|
*/
|
|
export interface LocalizedPost {
|
|
title: string;
|
|
summary?: string;
|
|
priority: number;
|
|
localizedGroup?: {
|
|
text?: string;
|
|
};
|
|
nonLocalizedGroup?: {
|
|
text?: string;
|
|
};
|
|
nonLocalizedArray?: {
|
|
localizedEmbeddedText?: string;
|
|
id?: string;
|
|
}[];
|
|
richTextBlocks?: {
|
|
id?: string;
|
|
blockName?: string;
|
|
blockType: 'richTextBlock';
|
|
}[];
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "localized-arrays".
|
|
*/
|
|
export interface LocalizedArray {
|
|
array: {
|
|
arrayText1: string;
|
|
arrayText2: string;
|
|
arrayText3?: string;
|
|
id?: string;
|
|
}[];
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "local-operations".
|
|
*/
|
|
export interface LocalOperation {
|
|
title: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "media".
|
|
*/
|
|
export interface Media {
|
|
url?: string;
|
|
filename?: string;
|
|
mimeType?: string;
|
|
filesize?: number;
|
|
width?: number;
|
|
height?: number;
|
|
sizes?: {
|
|
maintainedAspectRatio?: {
|
|
url?: string;
|
|
width?: number;
|
|
height?: number;
|
|
mimeType?: string;
|
|
filesize?: number;
|
|
filename?: string;
|
|
};
|
|
tablet?: {
|
|
url?: string;
|
|
width?: number;
|
|
height?: number;
|
|
mimeType?: string;
|
|
filesize?: number;
|
|
filename?: string;
|
|
};
|
|
mobile?: {
|
|
url?: string;
|
|
width?: number;
|
|
height?: number;
|
|
mimeType?: string;
|
|
filesize?: number;
|
|
filename?: string;
|
|
};
|
|
icon?: {
|
|
url?: string;
|
|
width?: number;
|
|
height?: number;
|
|
mimeType?: string;
|
|
filesize?: number;
|
|
filename?: string;
|
|
};
|
|
};
|
|
alt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "nested-arrays".
|
|
*/
|
|
export interface NestedArray {
|
|
array: {
|
|
parentIdentifier: string;
|
|
nestedArray: {
|
|
childIdentifier: string;
|
|
deeplyNestedArray: {
|
|
grandchildIdentifier?: string;
|
|
id?: string;
|
|
}[];
|
|
id?: string;
|
|
}[];
|
|
id?: string;
|
|
}[];
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "previewable-post".
|
|
*/
|
|
export interface PreviewablePost {
|
|
title: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "public-users".
|
|
*/
|
|
export interface PublicUser {
|
|
email?: string;
|
|
resetPasswordToken?: string;
|
|
_verificationToken?: string;
|
|
loginAttempts?: number;
|
|
adminOnly?: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "relationship-a".
|
|
*/
|
|
export interface RelationshipA {}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "relationship-b".
|
|
*/
|
|
export interface RelationshipB {
|
|
title?: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "rich-text".
|
|
*/
|
|
export interface RichText {}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "select".
|
|
*/
|
|
export interface Select {}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "strict-access".
|
|
*/
|
|
export interface StrictAccess {
|
|
address: string;
|
|
city: string;
|
|
state: string;
|
|
zip: number;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "validations".
|
|
*/
|
|
export interface Validation {
|
|
text: string;
|
|
lessThan10: number;
|
|
greaterThan10LessThan50: number;
|
|
atLeast3Rows: {
|
|
greaterThan30: number;
|
|
id?: string;
|
|
}[];
|
|
array: {
|
|
lessThan20: number;
|
|
id?: string;
|
|
}[];
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "uniques".
|
|
*/
|
|
export interface Unique {
|
|
title: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "unstored-media".
|
|
*/
|
|
export interface UnstoredMedia {
|
|
url?: string;
|
|
filename?: string;
|
|
mimeType?: string;
|
|
filesize?: number;
|
|
width?: number;
|
|
height?: number;
|
|
sizes?: {
|
|
tablet?: {
|
|
url?: string;
|
|
width?: number;
|
|
height?: number;
|
|
mimeType?: string;
|
|
filesize?: number;
|
|
filename?: string;
|
|
};
|
|
};
|
|
alt: string;
|
|
}
|
|
/**
|
|
* This interface was referenced by `Config`'s JSON-Schema
|
|
* via the `definition` "geolocation".
|
|
*/
|
|
export interface Geolocation {}
|