EmbeddedAsset
Type Stability: stable
Definition
TypeScript
import type { EmbeddedAsset } from '@aionbuilders/nabu';TypeScript
interface EmbeddedAsset {
data?: string;
mime: string;
name: string;
omitted?: boolean;
size: number;
}Properties
| Property | Type | Description |
|---|---|---|
dataoptional | string | base64 (absent when |
mime | string | n/a |
name | string | n/a |
omittedoptional | boolean | n/a |
size | number | byte length |
Source: src/lib/files/files.svelte.js:26