Feat: Add an update button to the graph page of the dataset. (#17571)

### Summary

Feat: Add an update button to the graph page of the dataset.
This commit is contained in:
balibabu
2026-07-30 18:40:29 +08:00
committed by GitHub
parent 3f8a3dfcff
commit 5ac8d92d2e
23 changed files with 355 additions and 252 deletions

View File

@@ -1,3 +1,4 @@
import { ProcessingType } from '@/constants/knowledge';
import { IRenameTag } from '@/interfaces/database/dataset';
import {
IFetchArtifactGraphRequestParams,
@@ -7,7 +8,6 @@ import {
IFetchKnowledgeListRequestParams,
IUpdateArtifactPageRequestBody,
} from '@/interfaces/request/knowledge';
import { ProcessingType } from '@/pages/dataset/dataset-overview/dataset-common';
import api from '@/utils/api';
import nextRequest from '@/utils/next-request';
import registerServer from '@/utils/register-server';
@@ -419,8 +419,8 @@ export const getArtifactGraph = (
params?: IFetchArtifactGraphRequestParams,
) => request.get(api.getArtifactGraph(datasetId), { params });
export const getArtifactsAlteration = (datasetId: string) =>
request.get(api.artifactsAlteration(datasetId));
export const getArtifactsAlteration = (datasetId: string, kind: string) =>
request.get(api.artifactsAlteration(datasetId), { params: { kind } });
export const getArtifactsStructure = (
datasetId: string,