chore: better names block image types

This commit is contained in:
James
2020-12-31 09:30:25 -05:00
parent 0f7046b98e
commit ffa0ea4756
3 changed files with 7 additions and 8 deletions

View File

@@ -44,7 +44,6 @@ export type Option = OptionObject | string
export interface FieldBase {
name?: string;
label?: string;
slug?: string;
required?: boolean;
unique?: boolean;
index?: boolean;
@@ -203,8 +202,8 @@ export type Block = {
slug: string,
labels: Labels
fields: Field[],
blockImage?: string
blockImageAltText?: string
imageURL?: string
imageAltText?: string
}
export type BlockField = FieldBase & {