Skip to content

refactor(service): users/auth: extract common enrollment function to … #413

refactor(service): users/auth: extract common enrollment function to …

refactor(service): users/auth: extract common enrollment function to … #413

Triggered via push October 31, 2024 21:54
Status Failure
Total duration 42s
Artifacts
build mage service
27s
build mage service
Matrix: test mage service
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build mage service
Module '"../models/user"' has no exported member 'UserDocument'.
build mage service
Module '"../models/user"' has no exported member 'UserDocument'.
build mage service
Property 'id' does not exist on type 'MageEventAttrs | MageEventDocument'.
build mage service
Module '"../models/user"' has no exported member 'UserDocument'.
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
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/