From 3d8f0d8b9dc4d4f956e468995dbbba7572cb3562 Mon Sep 17 00:00:00 2001 From: Gautam Singh <5769869+gautamsi@users.noreply.github.com> Date: Tue, 25 Jun 2024 00:43:50 -0500 Subject: [PATCH] Fix config and update graphql schema for test/example projects --- examples/assets-local/schema.graphql | 1 + examples/assets-s3/schema.graphql | 1 + examples/auth/schema.graphql | 1 + examples/cloudinary/schema.graphql | 1 + examples/custom-admin-ui-logo/schema.graphql | 1 + examples/custom-admin-ui-navigation/schema.graphql | 1 + examples/custom-admin-ui-pages/schema.graphql | 1 + examples/custom-field-view/schema.graphql | 1 + examples/custom-field/schema.graphql | 1 + examples/custom-id/schema.graphql | 1 + examples/custom-output-paths/my-graphql.graphql | 1 + examples/custom-session-invalidation/schema.graphql | 1 + examples/custom-session-jwt/schema.graphql | 1 + examples/custom-session-next-auth/schema.graphql | 1 + examples/custom-session-redis/schema.graphql | 1 + examples/custom-session/schema.graphql | 1 + examples/default-values/schema.graphql | 1 + .../document-field-customisation/keystone-server/schema.graphql | 1 + examples/document-field/schema.graphql | 1 + examples/extend-express-app/schema.graphql | 1 + examples/extend-graphql-schema-graphql-tools/schema.graphql | 1 + examples/extend-graphql-schema-graphql-ts/schema.graphql | 1 + examples/extend-graphql-schema-nexus/schema.graphql | 1 + examples/extend-graphql-subscriptions/schema.graphql | 1 + examples/extend-prisma-schema/schema.graphql | 1 + examples/field-groups/schema.graphql | 1 + examples/framework-astro/schema.graphql | 1 + examples/framework-nextjs-app-directory/schema.graphql | 1 + examples/framework-nextjs-pages-directory/schema.graphql | 1 + .../framework-nextjs-two-servers/keystone-server/schema.graphql | 1 + examples/framework-remix/schema.graphql | 1 + examples/graphql-ts-gql/schema.graphql | 1 + examples/hooks/schema.graphql | 1 + examples/limits/schema.graphql | 1 + examples/omit/schema.graphql | 1 + examples/reuse/schema.graphql | 1 + examples/script/schema.graphql | 1 + examples/singleton/schema.graphql | 1 + examples/testing/schema.graphql | 1 + examples/transactions/schema.graphql | 1 + examples/usecase-blog-moderated/schema.graphql | 1 + examples/usecase-blog/schema.graphql | 1 + examples/usecase-relationship-union/schema.graphql | 1 + examples/usecase-roles/schema.graphql | 1 + examples/usecase-todo/schema.graphql | 1 + examples/usecase-versioning/schema.graphql | 1 + examples/virtual-field/schema.graphql | 1 + packages/core/src/types/config/index.ts | 2 +- tests/sandbox/schema.graphql | 1 + tests/test-projects/crud-notifications/schema.graphql | 1 + tests/test-projects/live-reloading/schema.graphql | 1 + 51 files changed, 51 insertions(+), 1 deletion(-) diff --git a/examples/assets-local/schema.graphql b/examples/assets-local/schema.graphql index aa2c66202d4..937ee97223a 100644 --- a/examples/assets-local/schema.graphql +++ b/examples/assets-local/schema.graphql @@ -150,6 +150,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/assets-s3/schema.graphql b/examples/assets-s3/schema.graphql index aa2c66202d4..937ee97223a 100644 --- a/examples/assets-s3/schema.graphql +++ b/examples/assets-s3/schema.graphql @@ -150,6 +150,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/auth/schema.graphql b/examples/auth/schema.graphql index 3bbe083ed5c..8d98e2621a2 100644 --- a/examples/auth/schema.graphql +++ b/examples/auth/schema.graphql @@ -115,6 +115,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/cloudinary/schema.graphql b/examples/cloudinary/schema.graphql index 3f72e019b47..4098c411bc6 100644 --- a/examples/cloudinary/schema.graphql +++ b/examples/cloudinary/schema.graphql @@ -165,6 +165,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-admin-ui-logo/schema.graphql b/examples/custom-admin-ui-logo/schema.graphql index bfe08296c8c..39e5b5777c1 100644 --- a/examples/custom-admin-ui-logo/schema.graphql +++ b/examples/custom-admin-ui-logo/schema.graphql @@ -234,6 +234,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-admin-ui-navigation/schema.graphql b/examples/custom-admin-ui-navigation/schema.graphql index bfe08296c8c..39e5b5777c1 100644 --- a/examples/custom-admin-ui-navigation/schema.graphql +++ b/examples/custom-admin-ui-navigation/schema.graphql @@ -234,6 +234,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-admin-ui-pages/schema.graphql b/examples/custom-admin-ui-pages/schema.graphql index bfe08296c8c..39e5b5777c1 100644 --- a/examples/custom-admin-ui-pages/schema.graphql +++ b/examples/custom-admin-ui-pages/schema.graphql @@ -234,6 +234,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-field-view/schema.graphql b/examples/custom-field-view/schema.graphql index 27d0a6f5ba3..79e6e8a1edc 100644 --- a/examples/custom-field-view/schema.graphql +++ b/examples/custom-field-view/schema.graphql @@ -237,6 +237,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-field/schema.graphql b/examples/custom-field/schema.graphql index 7f23d54c25e..34b15a75c0f 100644 --- a/examples/custom-field/schema.graphql +++ b/examples/custom-field/schema.graphql @@ -129,6 +129,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-id/schema.graphql b/examples/custom-id/schema.graphql index 9fc7bc6af82..8528810946b 100644 --- a/examples/custom-id/schema.graphql +++ b/examples/custom-id/schema.graphql @@ -395,6 +395,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-output-paths/my-graphql.graphql b/examples/custom-output-paths/my-graphql.graphql index fc3788e549e..22473c8edbb 100644 --- a/examples/custom-output-paths/my-graphql.graphql +++ b/examples/custom-output-paths/my-graphql.graphql @@ -129,6 +129,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-session-invalidation/schema.graphql b/examples/custom-session-invalidation/schema.graphql index 0d14c689015..6d94471c77d 100644 --- a/examples/custom-session-invalidation/schema.graphql +++ b/examples/custom-session-invalidation/schema.graphql @@ -111,6 +111,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-session-jwt/schema.graphql b/examples/custom-session-jwt/schema.graphql index 70a5505dc80..9c3132d208e 100644 --- a/examples/custom-session-jwt/schema.graphql +++ b/examples/custom-session-jwt/schema.graphql @@ -166,6 +166,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-session-next-auth/schema.graphql b/examples/custom-session-next-auth/schema.graphql index 48ffae3a67b..d5e7c70c4bf 100644 --- a/examples/custom-session-next-auth/schema.graphql +++ b/examples/custom-session-next-auth/schema.graphql @@ -200,6 +200,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-session-redis/schema.graphql b/examples/custom-session-redis/schema.graphql index c2b13378f9c..fd971c2746f 100644 --- a/examples/custom-session-redis/schema.graphql +++ b/examples/custom-session-redis/schema.graphql @@ -105,6 +105,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/custom-session/schema.graphql b/examples/custom-session/schema.graphql index 70a5505dc80..9c3132d208e 100644 --- a/examples/custom-session/schema.graphql +++ b/examples/custom-session/schema.graphql @@ -166,6 +166,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/default-values/schema.graphql b/examples/default-values/schema.graphql index 8cebb817bb7..53849b9a219 100644 --- a/examples/default-values/schema.graphql +++ b/examples/default-values/schema.graphql @@ -253,6 +253,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/document-field-customisation/keystone-server/schema.graphql b/examples/document-field-customisation/keystone-server/schema.graphql index aebb622ed7c..01b8cecc914 100644 --- a/examples/document-field-customisation/keystone-server/schema.graphql +++ b/examples/document-field-customisation/keystone-server/schema.graphql @@ -225,6 +225,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/document-field/schema.graphql b/examples/document-field/schema.graphql index f67f010e7fa..b8f34501466 100644 --- a/examples/document-field/schema.graphql +++ b/examples/document-field/schema.graphql @@ -249,6 +249,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/extend-express-app/schema.graphql b/examples/extend-express-app/schema.graphql index 5dfe53d71cc..aef6b1ee747 100644 --- a/examples/extend-express-app/schema.graphql +++ b/examples/extend-express-app/schema.graphql @@ -121,6 +121,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/extend-graphql-schema-graphql-tools/schema.graphql b/examples/extend-graphql-schema-graphql-tools/schema.graphql index 739f80a8508..ede1545ec05 100644 --- a/examples/extend-graphql-schema-graphql-tools/schema.graphql +++ b/examples/extend-graphql-schema-graphql-tools/schema.graphql @@ -246,6 +246,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/extend-graphql-schema-graphql-ts/schema.graphql b/examples/extend-graphql-schema-graphql-ts/schema.graphql index 1a005548cd0..f515043e463 100644 --- a/examples/extend-graphql-schema-graphql-ts/schema.graphql +++ b/examples/extend-graphql-schema-graphql-ts/schema.graphql @@ -244,6 +244,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/extend-graphql-schema-nexus/schema.graphql b/examples/extend-graphql-schema-nexus/schema.graphql index 5108ae391dd..da85aa78ecd 100644 --- a/examples/extend-graphql-schema-nexus/schema.graphql +++ b/examples/extend-graphql-schema-nexus/schema.graphql @@ -230,6 +230,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/extend-graphql-subscriptions/schema.graphql b/examples/extend-graphql-subscriptions/schema.graphql index 32a0bea129d..a5e65a54787 100644 --- a/examples/extend-graphql-subscriptions/schema.graphql +++ b/examples/extend-graphql-subscriptions/schema.graphql @@ -237,6 +237,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/extend-prisma-schema/schema.graphql b/examples/extend-prisma-schema/schema.graphql index 1cb96a88099..30991570fb4 100644 --- a/examples/extend-prisma-schema/schema.graphql +++ b/examples/extend-prisma-schema/schema.graphql @@ -257,6 +257,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/field-groups/schema.graphql b/examples/field-groups/schema.graphql index b071d3c2619..017f3cb9a4a 100644 --- a/examples/field-groups/schema.graphql +++ b/examples/field-groups/schema.graphql @@ -130,6 +130,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/framework-astro/schema.graphql b/examples/framework-astro/schema.graphql index 59c42dfe410..b86a8df407a 100644 --- a/examples/framework-astro/schema.graphql +++ b/examples/framework-astro/schema.graphql @@ -111,6 +111,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/framework-nextjs-app-directory/schema.graphql b/examples/framework-nextjs-app-directory/schema.graphql index ca5648cc601..64fcbac4e4f 100644 --- a/examples/framework-nextjs-app-directory/schema.graphql +++ b/examples/framework-nextjs-app-directory/schema.graphql @@ -131,6 +131,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/framework-nextjs-pages-directory/schema.graphql b/examples/framework-nextjs-pages-directory/schema.graphql index ba3afafd528..ff8d77fc38e 100644 --- a/examples/framework-nextjs-pages-directory/schema.graphql +++ b/examples/framework-nextjs-pages-directory/schema.graphql @@ -129,6 +129,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/framework-nextjs-two-servers/keystone-server/schema.graphql b/examples/framework-nextjs-two-servers/keystone-server/schema.graphql index aebb622ed7c..01b8cecc914 100644 --- a/examples/framework-nextjs-two-servers/keystone-server/schema.graphql +++ b/examples/framework-nextjs-two-servers/keystone-server/schema.graphql @@ -225,6 +225,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/framework-remix/schema.graphql b/examples/framework-remix/schema.graphql index e530b0f0f15..6f8ed02759b 100644 --- a/examples/framework-remix/schema.graphql +++ b/examples/framework-remix/schema.graphql @@ -111,6 +111,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/graphql-ts-gql/schema.graphql b/examples/graphql-ts-gql/schema.graphql index 883055ca943..e6b1f608a38 100644 --- a/examples/graphql-ts-gql/schema.graphql +++ b/examples/graphql-ts-gql/schema.graphql @@ -245,6 +245,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/hooks/schema.graphql b/examples/hooks/schema.graphql index 49335e243c1..1e916066b53 100644 --- a/examples/hooks/schema.graphql +++ b/examples/hooks/schema.graphql @@ -150,6 +150,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/limits/schema.graphql b/examples/limits/schema.graphql index 7e53eff22da..f7c79704748 100644 --- a/examples/limits/schema.graphql +++ b/examples/limits/schema.graphql @@ -106,6 +106,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/omit/schema.graphql b/examples/omit/schema.graphql index b186aa35151..839300e8c90 100644 --- a/examples/omit/schema.graphql +++ b/examples/omit/schema.graphql @@ -166,6 +166,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/reuse/schema.graphql b/examples/reuse/schema.graphql index a0038899353..83e5df12c6f 100644 --- a/examples/reuse/schema.graphql +++ b/examples/reuse/schema.graphql @@ -246,6 +246,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/script/schema.graphql b/examples/script/schema.graphql index 20d1647cce6..188132fd630 100644 --- a/examples/script/schema.graphql +++ b/examples/script/schema.graphql @@ -124,6 +124,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/singleton/schema.graphql b/examples/singleton/schema.graphql index b96987fac29..fec3f97c89b 100644 --- a/examples/singleton/schema.graphql +++ b/examples/singleton/schema.graphql @@ -201,6 +201,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/testing/schema.graphql b/examples/testing/schema.graphql index 3f6eac5c130..eda4c4c0bb6 100644 --- a/examples/testing/schema.graphql +++ b/examples/testing/schema.graphql @@ -264,6 +264,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/transactions/schema.graphql b/examples/transactions/schema.graphql index 3d39d847a3d..0596393e597 100644 --- a/examples/transactions/schema.graphql +++ b/examples/transactions/schema.graphql @@ -288,6 +288,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/usecase-blog-moderated/schema.graphql b/examples/usecase-blog-moderated/schema.graphql index 31b1086239d..666ba7efb66 100644 --- a/examples/usecase-blog-moderated/schema.graphql +++ b/examples/usecase-blog-moderated/schema.graphql @@ -348,6 +348,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/usecase-blog/schema.graphql b/examples/usecase-blog/schema.graphql index 34a2e018932..a442ae1aed3 100644 --- a/examples/usecase-blog/schema.graphql +++ b/examples/usecase-blog/schema.graphql @@ -291,6 +291,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/usecase-relationship-union/schema.graphql b/examples/usecase-relationship-union/schema.graphql index 54ea2fbb059..14b92df74b7 100644 --- a/examples/usecase-relationship-union/schema.graphql +++ b/examples/usecase-relationship-union/schema.graphql @@ -235,6 +235,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/usecase-roles/schema.graphql b/examples/usecase-roles/schema.graphql index fd2f1122126..e15c792d667 100644 --- a/examples/usecase-roles/schema.graphql +++ b/examples/usecase-roles/schema.graphql @@ -347,6 +347,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/usecase-todo/schema.graphql b/examples/usecase-todo/schema.graphql index b9130c3383f..19fa2436c9c 100644 --- a/examples/usecase-todo/schema.graphql +++ b/examples/usecase-todo/schema.graphql @@ -235,6 +235,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/usecase-versioning/schema.graphql b/examples/usecase-versioning/schema.graphql index 9a6339e4ca5..f4b983017a3 100644 --- a/examples/usecase-versioning/schema.graphql +++ b/examples/usecase-versioning/schema.graphql @@ -127,6 +127,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/examples/virtual-field/schema.graphql b/examples/virtual-field/schema.graphql index c859efc58e9..fb2ffa8b4f0 100644 --- a/examples/virtual-field/schema.graphql +++ b/examples/virtual-field/schema.graphql @@ -136,6 +136,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/packages/core/src/types/config/index.ts b/packages/core/src/types/config/index.ts index e17ea81f592..d390b1c531d 100644 --- a/packages/core/src/types/config/index.ts +++ b/packages/core/src/types/config/index.ts @@ -249,7 +249,7 @@ export type KeystoneConfig MaybePromise<{ kind: 'redirect', to: string } | void> /** Generate .tsx files instead of .js */ - tsx: boolean + tsx?: boolean } } diff --git a/tests/sandbox/schema.graphql b/tests/sandbox/schema.graphql index 6bf41715e93..6ab60a0ec92 100644 --- a/tests/sandbox/schema.graphql +++ b/tests/sandbox/schema.graphql @@ -676,6 +676,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/tests/test-projects/crud-notifications/schema.graphql b/tests/test-projects/crud-notifications/schema.graphql index bfe08296c8c..39e5b5777c1 100644 --- a/tests/test-projects/crud-notifications/schema.graphql +++ b/tests/test-projects/crud-notifications/schema.graphql @@ -234,6 +234,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta } diff --git a/tests/test-projects/live-reloading/schema.graphql b/tests/test-projects/live-reloading/schema.graphql index d8cee91c5ed..bc5542ff0ec 100644 --- a/tests/test-projects/live-reloading/schema.graphql +++ b/tests/test-projects/live-reloading/schema.graphql @@ -107,6 +107,7 @@ type KeystoneMeta { } type KeystoneAdminMeta { + routePrefix: String! lists: [KeystoneAdminUIListMeta!]! list(key: String!): KeystoneAdminUIListMeta }