refactor(service): users/auth: pass only user id vs user instance to … #416
Annotations
10 errors and 1 warning
build
Cannot find module '../../entities/authentication/entities.authentication' or its corresponding type declarations.
|
build
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
Property 'authenticationId' does not exist on type 'HydratedDocument<ResolveTimestamps<ObtainDocumentType<any, EnforcedDocType, TSchemaOptions>, TSchemaOptions>, {}, {}>'.
|
build
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
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
Property 'model' does not exist on type 'HydratedDocument<ResolveTimestamps<ObtainDocumentType<any, EnforcedDocType, TSchemaOptions>, TSchemaOptions>, {}, {}>'. Did you mean '$model'?
|
build
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
Parameter 'err' implicitly has an 'any' type.
|
build
Parameter 'possibleDuplicate' implicitly has an 'any' type.
|
build
Property 'status' does not exist on type 'Error'.
|
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/
|
Loading