Skip to content

refactor(service): users/auth: fix type errors in export routes #424

refactor(service): users/auth: fix type errors in export routes

refactor(service): users/auth: fix type errors in export routes #424

Triggered via push November 22, 2024 18:45
Status Failure
Total duration 43s
Artifacts
build mage service
25s
build mage service
Matrix: test mage service
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build mage service
Cannot find module '../../entities/authentication/entities.authentication' or its corresponding type declarations.
build mage service
Type '{ type: { type: StringConstructor; enum: string[]; default: string; }; text: { type: StringConstructor; }; color: { type: StringConstructor; }; contentType: { ...; }; size: { ...; }; relativePath: { ...; }; }' is not assignable to type 'SchemaDefinitionProperty<UserIcon> | undefined'.
build mage service
Property 'authenticationId' does not exist on type 'HydratedDocument<ResolveTimestamps<ObtainDocumentType<any, EnforcedDocType, TSchemaOptions>, TSchemaOptions>, {}, {}>'.
build mage service
Property 'username' does not exist on type '(Document<unknown, any, EnforcedDocType> & Omit<Require_id<EnforcedDocType>, never>) | (Document<any, any, any> & { ...; }) | (Document<...> & Omit<...>) | (Document<...> & ... 1 more ... & { ...; }) | (Document<...> & ... 1 more ... & Required<...>) | (Document<...> & Omit<...>)'.
build mage service
Property 'username' does not exist on type '(Document<unknown, any, EnforcedDocType> & Omit<Require_id<EnforcedDocType>, never>) | (Document<any, any, any> & { ...; }) | (Document<...> & Omit<...>) | (Document<...> & ... 1 more ... & { ...; }) | (Document<...> & ... 1 more ... & Required<...>) | (Document<...> & Omit<...>)'.
build mage service
Property 'model' does not exist on type 'HydratedDocument<ResolveTimestamps<ObtainDocumentType<any, EnforcedDocType, TSchemaOptions>, TSchemaOptions>, {}, {}>'. Did you mean '$model'?
build mage service
Property 'username' does not exist on type '(Document<unknown, any, EnforcedDocType> & Omit<Require_id<EnforcedDocType>, never>) | (Document<any, any, any> & { ...; }) | (Document<...> & Omit<...>) | (Document<...> & ... 1 more ... & { ...; }) | (Document<...> & ... 1 more ... & Required<...>) | (Document<...> & Omit<...>)'.
build mage service
Parameter 'err' implicitly has an 'any' type.
build mage service
Parameter 'possibleDuplicate' implicitly has an 'any' type.
build mage service
Property 'status' does not exist on type 'Error'.
build mage service
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/