@@ -135,11 +135,13 @@ type ResolvedPostUpdateInput = {
135135 publishDate ?: import ( './node_modules/myprisma' ) . Prisma . PostUpdateInput [ 'publishDate' ]
136136}
137137
138+ export interface Session { }
139+
138140export declare namespace Lists {
139- export type Post < Session = any > = import ( '@keystone-6/core/types' ) . ListConfig < Lists . Post . TypeInfo < Session > >
141+ export type Post = import ( '@keystone-6/core/types' ) . ListConfig < Lists . Post . TypeInfo >
140142 namespace Post {
141143 export type Item = import ( './node_modules/myprisma' ) . Post
142- export type TypeInfo < Session = any > = {
144+ export type TypeInfo = {
143145 key : 'Post'
144146 isSingleton : false
145147 fields : 'id' | 'title' | 'content' | 'publishDate'
@@ -156,25 +158,25 @@ export declare namespace Lists {
156158 create : ResolvedPostCreateInput
157159 update : ResolvedPostUpdateInput
158160 }
159- all : __TypeInfo < Session >
161+ all : __TypeInfo
160162 }
161163 }
162164}
163- export type Context < Session = any > = import ( '@keystone-6/core/types' ) . KeystoneContext < TypeInfo < Session > >
164- export type Config < Session = any > = import ( '@keystone-6/core/types' ) . KeystoneConfig < TypeInfo < Session > >
165+ export type Context = import ( '@keystone-6/core/types' ) . KeystoneContext < TypeInfo >
166+ export type Config = import ( '@keystone-6/core/types' ) . KeystoneConfig < TypeInfo >
165167
166- export type TypeInfo < Session = any > = {
168+ export type TypeInfo = {
167169 lists : {
168- readonly Post : Lists . Post . TypeInfo < Session >
170+ readonly Post : Lists . Post . TypeInfo
169171 }
170172 prisma : import ( './node_modules/myprisma' ) . PrismaClient
171173 session : Session
172174}
173175
174- type __TypeInfo < Session = any > = TypeInfo < Session >
176+ type __TypeInfo = TypeInfo
175177
176- export type Lists < Session = any > = {
177- [ Key in keyof TypeInfo [ 'lists' ] ] ?: import ( '@keystone-6/core/types' ) . ListConfig < TypeInfo < Session > [ 'lists' ] [ Key ] >
178+ export type Lists = {
179+ [ Key in keyof TypeInfo [ 'lists' ] ] ?: import ( '@keystone-6/core/types' ) . ListConfig < TypeInfo [ 'lists' ] [ Key ] >
178180} & Record < string , import ( '@keystone-6/core/types' ) . ListConfig < any > >
179181
180182export { }
0 commit comments