From 011f3d756719f8fbec24c934a22a5759218539c1 Mon Sep 17 00:00:00 2001 From: mitchellhamilton Date: Mon, 25 Jul 2022 13:45:39 +1000 Subject: [PATCH] Remove outdated stuff --- examples-staging/ecommerce/types.ts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/examples-staging/ecommerce/types.ts b/examples-staging/ecommerce/types.ts index 8331d0cd53c..7d9dfb89419 100644 --- a/examples-staging/ecommerce/types.ts +++ b/examples-staging/ecommerce/types.ts @@ -1,11 +1,6 @@ -import { KeystoneListsAPI } from '@keystone-6/core/types'; - -// NOTE -- these types are commented out in main because they aren't generated by the build (yet) -// To get full List and GraphQL API type support, uncomment them here and use them below -// import type { KeystoneListsTypeInfo } from '.keystone'; - import type { Permission } from './schemas/fields'; -export type { Permission } from './schemas/fields'; + +export type { Permission }; export type Session = { itemId: string; @@ -21,8 +16,6 @@ export type Session = { }; }; -export type ListsAPI = KeystoneListsAPI; - export type AccessArgs = { session?: Session; item?: any;