(slug: string)
| 83 | } |
| 84 | |
| 85 | async downloadMapCollection(slug: string): Promise<{ |
| 86 | message: string |
| 87 | slug: string |
| 88 | resources: string[] | null |
| 89 | }> { |
| 90 | return catchInternal(async () => { |
| 91 | const response = await this.client.post('/maps/download-collection', { slug }) |
| 92 | return response.data |
| 93 | })() |
| 94 | } |
| 95 | |
| 96 | async downloadModel(model: string): Promise<{ success: boolean; message: string }> { |
| 97 | return catchInternal(async () => { |
no test coverage detected