@amsterdam/bmi-dms-upload
Version:
A document upload flow that can be implemented in any BMI React application. Documents are stored in DMS. Metadata can be added in the flow.
31 lines • 710 B
TypeScript
export type MetadataProperty = {
key: string;
label: string;
scope: string;
type: string;
'bmi-errorMessage'?: string;
'bmi-isNotEmpty'?: boolean;
'is-date-year'?: boolean;
customFormat?: 'creatable' | 'creatable-array' | 'multi-creatable';
default?: string[];
format?: string;
items?: {
type: string;
enum: string[];
};
minItems?: number;
oneOf?: {
const: string;
title: string;
}[] | OneOfDateType;
options?: {
format?: string;
};
uniqueItems?: boolean;
};
export type OneOfDateType = Array<{
maxLength: number;
} | {
format: string;
}>;
//# sourceMappingURL=MetadataPropertyType.d.ts.map