Skip to content

fix(mixins): remove withAuthFinder from root export #78

fix(mixins): remove withAuthFinder from root export

fix(mixins): remove withAuthFinder from root export #78

Triggered via push March 13, 2024 08:30
Status Failure
Total duration 2m 31s
Artifacts

checks.yml

on: push
Matrix: test-mssql
Matrix: test-mysql
Matrix: test-postgres
Matrix: test-sqlite
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 7 warnings
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L18
Variable 'withAuthFinder' implicitly has type 'any' in some locations where its type cannot be determined.
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L30
Type 'unknown' is not a constructor function type.
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L32
Variable 'withAuthFinder' implicitly has an 'any' type.
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L51
Type '() => Promise<{ default: typeof User; }>' is not assignable to type '() => Promise<{ default: LucidAuthenticatable; }>'.
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L58
Type 'BasicAuthLucidUserProvider<typeof User>' does not satisfy the constraint '{ [PROVIDER_REAL_USER]: { password: "Expected: string, Actual: never"; fill: "Expected: never, Actual: function"; $columns: "Expected: never, Actual: undefined"; $attributes: { ...; }; ... 45 more ...; username: "Expected: string, Actual: never"; }; createUserForGuard: "Expected: function, Actual: function"; verifyC...'.
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L58
Type 'typeof User' does not satisfy the constraint 'LucidAuthenticatable'.
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L64
Type 'unknown' is not a constructor function type.
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L66
Variable 'withAuthFinder' implicitly has an 'any' type.
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L85
Type '() => Promise<{ default: typeof User; }>' is not assignable to type '() => Promise<{ default: LucidAuthenticatable; }>'.
typecheck / typecheck: tests/basic_auth/define_config.spec.ts#L103
Type 'BasicAuthGuard<BasicAuthLucidUserProvider<typeof User>>' does not satisfy the constraint '{ [GUARD_KNOWN_EVENTS]: { "basic_auth:authentication_failed": { error: { [toStringTag]: string; name: string; message: string; toString: () => string; help: string | undefined; code: string | undefined; status: number; stack: string | undefined; cause: unknown; }; ctx: { ...; }; guardName: string; }; "basic_auth:aut...'.
test-sqlite (sqlite, 20)
Process completed with exit code 1.
test-sqlite (sqlite, 21)
Process completed with exit code 1.
test-postgres (21, 11)
Process completed with exit code 1.
test-mssql (21)
Process completed with exit code 1.
test-mysql (8.0, mysql, 21)
Process completed with exit code 1.
typecheck / typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint / lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-sqlite (sqlite, 20)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-sqlite (sqlite, 21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-postgres (21, 11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-mssql (21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test-mysql (8.0, mysql, 21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.