Skip to content

Commit c171d9d

Browse files
committed
remove unused resetSchema mutation from query.ts
1 parent 360cc66 commit c171d9d

File tree

1 file changed

+0
-15
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/resources/components

1 file changed

+0
-15
lines changed

app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/resources/components/query.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,6 @@ export const updateResourceDoc: any = graphql(`
3535
}
3636
`);
3737

38-
export const resetSchema: any = graphql(`
39-
mutation resetFileResourceSchema($resourceId: UUID!) {
40-
resetFileResourceSchema(resourceId: $resourceId) {
41-
... on TypeResource {
42-
id
43-
schema {
44-
format
45-
description
46-
id
47-
fieldName
48-
}
49-
}
50-
}
51-
}
52-
`);
5338

5439
export const fetchSchema: any = graphql(`
5540
query datasetSchema($datasetId: UUID!) {

0 commit comments

Comments
 (0)