UNPKG

@appsemble/types

Version:

TypeScript definitions reused within Appsemble internally

27 lines (26 loc) 534 B
export interface Asset { /** * The unique ID of the asset. */ id: string; /** * The mime type of the asset. */ mime: string; /** * The filename of the asset as it was uploaded. */ filename?: string; /** * A custom name that was given to the asset. */ name?: string; /** * The ID of the resource the asset is linked to. */ resourceId?: number; /** * The type of the resource the asset is linked to. */ resourceType?: number; }