Skip to content

Commit 5cff314

Browse files
committed
update query
1 parent 3efc2c4 commit 5cff314

File tree

1 file changed

+1
-17
lines changed
  • app/[locale]/dashboard/[entityType]/[entitySlug]/dataset/[id]/edit/resources

1 file changed

+1
-17
lines changed

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

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,13 @@
11
import { graphql } from '@/gql';
22

3-
export const getReourceDoc = graphql(`
3+
export const getResourceDoc = graphql(`
44
query getResources($filters: DatasetFilter) {
55
datasets(filters: $filters) {
66
resources {
77
id
88
dataset {
99
pk
1010
}
11-
previewData {
12-
columns
13-
rows
14-
}
15-
previewDetails {
16-
endEntry
17-
isAllEntries
18-
startEntry
19-
}
20-
previewEnabled
21-
schema {
22-
id
23-
fieldName
24-
format
25-
description
26-
}
2711
type
2812
name
2913
description

0 commit comments

Comments
 (0)