please
Some checks failed
Lint / pnpm_install (pull_request) Successful in 27s
Test (misskey.js) / test (22.x) (pull_request) Successful in 45s
Test (frontend) / vitest (22.x) (pull_request) Failing after 1m22s
Test (production install and build) / production (22.x) (pull_request) Successful in 1m2s
Lint / lint (backend) (pull_request) Successful in 1m0s
Test (backend) / unit (22.x) (pull_request) Successful in 2m27s
Test (backend) / validate-api-json (22.x) (pull_request) Successful in 1m23s
Lint / lint (sw) (pull_request) Successful in 29s
Lint / lint (misskey-js) (pull_request) Successful in 34s
Lint / typecheck (misskey-js) (pull_request) Successful in 30s
API report (misskey.js) / report (pull_request) Successful in 3m47s
Lint / typecheck (backend) (pull_request) Successful in 1m23s
Test (backend) / e2e (22.x) (pull_request) Failing after 6m23s
Lint / lint (frontend) (pull_request) Successful in 7m31s

This commit is contained in:
Leah 2025-02-04 15:40:45 +01:00
parent 5de77871ec
commit 0c7922edbc

View file

@ -18,6 +18,7 @@ import type { MiLocalUser, MiPartialLocalUser, MiPartialRemoteUser, MiRemoteUser
import { import {
birthdaySchema, birthdaySchema,
descriptionSchema, descriptionSchema,
listenbrainzSchema,
localUsernameSchema, localUsernameSchema,
locationSchema, locationSchema,
nameSchema, nameSchema,
@ -156,6 +157,7 @@ export class UserEntityService implements OnModuleInit {
public validateDescription = ajv.compile(descriptionSchema); public validateDescription = ajv.compile(descriptionSchema);
public validateLocation = ajv.compile(locationSchema); public validateLocation = ajv.compile(locationSchema);
public validateBirthday = ajv.compile(birthdaySchema); public validateBirthday = ajv.compile(birthdaySchema);
public validateListenBrainz = ajv.compile(listenbrainzSchema);
//#endregion //#endregion
public isLocalUser = isLocalUser; public isLocalUser = isLocalUser;