(client: DataSourceClient, account: string, container: string, filepath: string, write: boolean = false)
| 26 | }; |
| 27 | |
| 28 | const fetchSasToken = async (client: DataSourceClient, account: string, container: string, filepath: string, write: boolean = false) => { |
| 29 | const response = await client.getSasToken(account, container, filepath, write); |
| 30 | return response; |
| 31 | }; |
| 32 | |
| 33 | export const getDataSources = (type: string, enabled = true) => { |
| 34 | const { filesQuery, dataSourcesQuery } = useUserSettings(); |
no test coverage detected