UploadMetadata: {
    creator?: string;
    description?: string;
    language?: string;
    license?: string;
    multiple?: boolean;
    ownwork?: boolean;
    source?: string;
    [key: `description-${string}`]: string;
    [key: `creator-${string}`]: string;
    [key: `source-${string}`]: string;
    [key: `license-${string}`]: string;
    [key: `language-${string}`]: string;
    [key: `ownwork-${string}`]: boolean;
}

Metadata for file uploads. For single uploads, fields are used directly. For multiple uploads, each field gets a -${filename} suffix.

Type declaration

  • [key: `description-${string}`]: string
  • [key: `creator-${string}`]: string
  • [key: `source-${string}`]: string
  • [key: `license-${string}`]: string
  • [key: `language-${string}`]: string
  • [key: `ownwork-${string}`]: boolean
  • Optionalcreator?: string
  • Optionaldescription?: string
  • Optionallanguage?: string
  • Optionallicense?: string
  • Optionalmultiple?: boolean
  • Optionalownwork?: boolean
  • Optionalsource?: string