epos 1.7.3 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/epos/epos.d.ts +7 -3
- package/package.json +1 -1
package/dist/epos/epos.d.ts
CHANGED
|
@@ -100,10 +100,14 @@ export interface Epos {
|
|
|
100
100
|
assets: {
|
|
101
101
|
/** Get asset URL. Asset must be loaded first. */
|
|
102
102
|
url(path: string): Promise<string>;
|
|
103
|
-
/** Load asset
|
|
104
|
-
load(path: string): Promise<
|
|
105
|
-
/**
|
|
103
|
+
/** Load asset by path. */
|
|
104
|
+
load(path: string): Promise<Blob>;
|
|
105
|
+
/** Load all assets. */
|
|
106
|
+
loadAll(): Promise<Blob[]>;
|
|
107
|
+
/** Unload asset from memory. */
|
|
106
108
|
unload(path: string): void;
|
|
109
|
+
/** Unload all assets from memory. */
|
|
110
|
+
unloadAll(): void;
|
|
107
111
|
/** Get list of all available asset paths. */
|
|
108
112
|
list(filter?: {
|
|
109
113
|
loaded?: boolean;
|