MCPcopy Create free account
hub / github.com/IQEngine/IQEngine / updateDataSourceMeta

Function updateDataSourceMeta

client/src/api/metadata/queries.ts:20–29  ·  view source on GitHub ↗
(
  client: MetadataClient,
  account: string,
  container: string,
  filePath: string,
  meta: SigMFMetadata
)

Source from the content-addressed store, hash-verified

18};
19
20const updateDataSourceMeta = async (
21 client: MetadataClient,
22 account: string,
23 container: string,
24 filePath: string,
25 meta: SigMFMetadata
26) => {
27 const response = await client.updateMeta(account, container, filePath, meta);
28 return response;
29};
30
31export const useQueryDataSourceMetaPaths = (type: string, account: string, container: string, enabled = true) => {
32 const { dataSourcesQuery, filesQuery } = useUserSettings();

Callers 1

useUpdateMetaFunction · 0.85

Calls 1

updateMetaMethod · 0.65

Tested by

no test coverage detected