The current uploadTable function needs to be updated to use S3FF JS client. Here's the function currently:
|
public async uploadTable( |
|
workspace: string, table: string, options: FileUploadOptionsSpec, config?: AxiosRequestConfig |
|
): Promise<Array<{}>> { |
|
return (await this.axios.uploadTable(workspace, table, options, config)).data; |
|
} |
I think the structure of uploads need to be reworked anyway (for example, why is uploadTable also used for networks??), but for now, I think focusing on just allowing CSV uploads through that function is fine.
The current
uploadTablefunction needs to be updated to use S3FF JS client. Here's the function currently:multinetjs/src/index.ts
Lines 193 to 197 in cf77c8a
I think the structure of uploads need to be reworked anyway (for example, why is
uploadTablealso used for networks??), but for now, I think focusing on just allowing CSV uploads through that function is fine.