UNPKG

@anoki/fse-common

Version:

Common types for FSE

21 lines (20 loc) 581 B
import { AssetType } from './asset-type'; import { Upload } from './upload-file'; import { WithBasicFields } from './with-basic-fields'; export type DocumentTranslations = { name: string; description: string; accessibilityTitle?: string; altText?: string; extendedDescription?: string; transcription?: string; functionalLabel?: string; }; export type Document = WithBasicFields<{ name: string; description: string; file?: Upload; isDecorative?: boolean; documentType?: AssetType; mainLanguage?: string; }, DocumentTranslations>;