File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 11import { config } from '@keystone-6/core'
22import { fixPrismaPath } from '../example-utils'
33import { lists } from './schema'
4+ import type { TypeInfo } from '.keystone/types'
45
5- export default config ( {
6+ export default config < TypeInfo > ( {
67 db : {
78 provider : 'sqlite' ,
89 url : process . env . DATABASE_URL || 'file:./keystone-example.db' ,
Original file line number Diff line number Diff line change 11import { config } from '@keystone-6/core'
22import { fixPrismaPath } from '../example-utils'
33import { lists } from './schema'
4+ import type { TypeInfo } from '.keystone/types'
45
5- export default config ( {
6+ export default config < TypeInfo > ( {
67 db : {
78 provider : 'sqlite' ,
89 url : process . env . DATABASE_URL || 'file:./keystone-example.db' ,
Original file line number Diff line number Diff line change 11import { config } from '@keystone-6/core'
22import { fixPrismaPath } from '../example-utils'
33import { lists } from './schema'
4+ import type { TypeInfo } from '.keystone/types'
45
5- export default config ( {
6+ export default config < TypeInfo > ( {
67 db : {
78 provider : 'sqlite' ,
89 url : process . env . DATABASE_URL || 'file:./keystone-example.db' ,
Original file line number Diff line number Diff line change 11import { config } from '@keystone-6/core'
22import { fixPrismaPath } from '../example-utils'
33import { lists } from './schema'
4- import { type TypeInfo } from '.keystone/types'
4+ import type { TypeInfo } from '.keystone/types'
55
66export default config < TypeInfo > ( {
77 db : {
Original file line number Diff line number Diff line change 11import { config } from '@keystone-6/core'
22import { fixPrismaPath } from '../example-utils'
33import { lists } from './schema'
4+ import type { TypeInfo } from '.keystone/types'
45
5- export default config ( {
6+ export default config < TypeInfo > ( {
67 db : {
78 provider : 'sqlite' ,
89 url : process . env . DATABASE_URL || 'file:./keystone-example.db' ,
You can’t perform that action at this time.
0 commit comments