Skip to content

Commit

Permalink
remove itemQueryName, listQueryName from AdminMeta, add hideNavigation
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Aug 20, 2024
1 parent 0d13c63 commit e74d573
Show file tree
Hide file tree
Showing 60 changed files with 175 additions and 128 deletions.
5 changes: 5 additions & 0 deletions .changeset/admin-meta-rename.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@keystone-6/core": minor
---

Renames `isHidden` to `hideNavigation` on the AdminMeta list GraphQL type, `isHidden` is now deprecated and will be removed in a breaking change
5 changes: 3 additions & 2 deletions examples/assets-local/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -174,6 +172,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/assets-s3/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -174,6 +172,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/auth/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -139,6 +137,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/cloudinary/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -189,6 +187,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-admin-ui-logo/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -258,6 +256,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-admin-ui-navigation/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -258,6 +256,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-admin-ui-pages/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -258,6 +256,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-esbuild/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -135,6 +133,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-field-view/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -261,6 +259,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-field/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -153,6 +151,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-id/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -419,6 +417,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-output-paths/my-graphql.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -153,6 +151,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-session-invalidation/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -135,6 +133,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-session-jwt/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -190,6 +188,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-session-next-auth/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -224,6 +222,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-session-passport/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -224,6 +222,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-session-redis/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -129,6 +127,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/custom-session/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -190,6 +188,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
5 changes: 3 additions & 2 deletions examples/default-values/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -277,6 +275,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,6 @@ type KeystoneAdminUIListMeta {
key: String!
itemQueryName: String!
listQueryName: String!
hideCreate: Boolean!
hideDelete: Boolean!
path: String!
label: String!
singular: String!
Expand All @@ -249,6 +247,9 @@ type KeystoneAdminUIListMeta {
initialSort: KeystoneAdminUISort
isHidden: Boolean!
isSingleton: Boolean!
hideNavigation: Boolean!
hideCreate: Boolean!
hideDelete: Boolean!
}

type KeystoneAdminUIFieldMeta {
Expand Down
Loading

0 comments on commit e74d573

Please sign in to comment.