Skip to content

Update Claim component #726

Update Claim component

Update Claim component #726

Triggered via push February 12, 2026 16:44
Status Failure
Total duration 44s
Artifacts

main.yml

on: push
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

9 errors
build-and-test (20.x)
Process completed with exit code 2.
build-and-test (20.x): src/common/models/User.ts#L322
Argument of type 'string' is not assignable to parameter of type 'number'.
build-and-test (20.x): src/common/models/User.ts#L166
Type 'Document<unknown, BeAnObject, User, DefaultIdVirtual, DefaultSchemaOptions> & Omit<User & { _id: ObjectId; } & { ...; }, "id" | "typegooseName"> & DefaultIdVirtual & IObjectWithTypegooseFunction' is not assignable to type 'DocumentType<User> | null'.
build-and-test (20.x): src/common/helpers/telegram.ts#L118
Argument of type 'string' is not assignable to parameter of type 'number'.
build-and-test (20.x): src/bot/middlewares/attach-user.ts#L15
Type 'Document<unknown, BeAnObject, User, DefaultIdVirtual, DefaultSchemaOptions> & Omit<User & { _id: ObjectId; } & { ...; }, "id" | "typegooseName"> & DefaultIdVirtual & IObjectWithTypegooseFunction' is not assignable to type 'DocumentType<User>'.
build-and-test (20.x): src/bot/keyboards/queue-menu.ts#L121
Argument of type '(Document<unknown, BeAnObject, User, DefaultIdVirtual, DefaultSchemaOptions> & Omit<User & { _id: ObjectId; } & { ...; }, "id" | "typegooseName"> & DefaultIdVirtual & IObjectWithTypegooseFunction) | DocumentType<...>' is not assignable to parameter of type 'DocumentType<User>'.
build-and-test (20.x): src/bot/keyboards/queue-menu.ts#L110
Argument of type 'string | number' is not assignable to parameter of type 'number'.
build-and-test (20.x): src/bot/features/admin/addresses.ts#L26
Argument of type 'string' is not assignable to parameter of type 'number'.
build-and-test (20.x): src/bot/features/admin/addresses.ts#L22
Argument of type 'string' is not assignable to parameter of type 'number'.