AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0
MetadataAPI
Metadata API - extended API for metadata providers
extends PluginAPI
Signature
interface MetadataAPI extends PluginAPI {
readFile(path: string): Promise<Uint8Array>;
readTextFile(path: string): Promise<string>;
}Members
| Name | Type | Required | Description |
|---|---|---|---|
readFile | (path: string) => Promise<Uint8Array> | yes | Read file content as bytes |
readTextFile | (path: string) => Promise<string> | yes | Read text file content |