Fetch a list of model collections.
(key: IntegrationTaskKey)
| 24 | |
| 25 | /** Fetch a list of model collections. */ |
| 26 | list(key: IntegrationTaskKey): ReplicateReturnType<Page<Collection>> { |
| 27 | return this.runTask( |
| 28 | key, |
| 29 | (client) => { |
| 30 | return client.collections.list(); |
| 31 | }, |
| 32 | { |
| 33 | name: "List Collections", |
| 34 | } |
| 35 | ); |
| 36 | } |
| 37 | } |