| 80 | } |
| 81 | |
| 82 | class InternalInGameEditorOnlySvgManager implements gdjs.ResourceManager { |
| 83 | async loadResource(resourceName: string): Promise<void> { |
| 84 | // Nothing to do. |
| 85 | } |
| 86 | |
| 87 | async processResource(resourceName: string): Promise<void> { |
| 88 | // Nothing to do. |
| 89 | } |
| 90 | |
| 91 | getResourceKinds(): Array<ResourceKind> { |
| 92 | return ['internal-in-game-editor-only-svg']; |
| 93 | } |
| 94 | |
| 95 | unloadResource(resourceData: ResourceData): void { |
| 96 | // Nothing to do. |
| 97 | } |
| 98 | |
| 99 | dispose(): void { |
| 100 | // Nothing to do. |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | type PromiseError<T> = { item: T; error: Error }; |
| 105 |
nothing calls this directly
no outgoing calls
no test coverage detected