Allow customisation of the session object through new getSession
config
#1133
tests_ci.yml
on: pull_request
Linting
7m 20s
Package Unit Tests
8m 24s
Annotations
6 errors
Linting:
examples/custom-session-invalidation/keystone.ts#L60
Type '{ get({ context }: { context: Context; }): Promise<Session | undefined>; start({ context, data }: { context: Context; data: Session; }): Promise<unknown>; data: string; end: (args: { ...; }) => Promise<...>; }' is not assignable to type 'SessionStrategy<any, never>'.
|
Linting:
packages/auth/src/schema.ts#L1
Module '"@keystone-6/core/types"' has no exported member 'ExtendGraphqlSchema'.
|
Linting:
packages/auth/src/session/index.ts#L143
Type '({ context }: { context: KeystoneContext; }) => Promise<JSONValue | undefined>' is not assignable to type '(args: { context: KeystoneContext; }) => Promise<Session | undefined>'.
|
Linting:
tests/api-tests/access-control/schema.test.ts#L3
Module '"@keystone-6/core"' has no exported member 'ListSchemaConfig'.
|
Linting:
tests/api-tests/access-control/utils.ts#L2
Module '"@keystone-6/core"' has no exported member 'ListSchemaConfig'.
|
Linting
Process completed with exit code 1.
|