Skip to content

Commit

Permalink
Remove outdated stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed Jul 25, 2022
1 parent 514e7bd commit 011f3d7
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions examples-staging/ecommerce/types.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -21,8 +16,6 @@ export type Session = {
};
};

export type ListsAPI = KeystoneListsAPI<any /* KeystoneListsTypeInfo */>;

export type AccessArgs = {
session?: Session;
item?: any;
Expand Down

0 comments on commit 011f3d7

Please sign in to comment.