Skip to content

refactor(service): users/auth: remove unused types #411

refactor(service): users/auth: remove unused types

refactor(service): users/auth: remove unused types #411

Triggered via push October 29, 2024 16:49
Status Failure
Total duration 50s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention
build mage service
29s
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/