refactor/perf(backend): provide metadata statically (#14601)
* wip * Update ReactionService.ts * Update ApiCallService.ts * Update timeline.ts * Update GlobalModule.ts * Update GlobalModule.ts * Update NoteEntityService.ts * wip * wip * wip * Update ApPersonService.ts * wip * Update GlobalModule.ts * Update mock-resolver.ts * Update RoleService.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * Update activitypub.ts * clean up * Update utils.ts * Update UtilityService.ts * Revert "Update utils.ts" This reverts commita27d4be764. * Revert "Update UtilityService.ts" This reverts commite5fd9e004c. * vuwa- * Revert "vuwa-" This reverts commit0c3bd12472. * Update entry.ts * Update entry.ts * Update entry.ts * Update entry.ts * Update jest.setup.ts
This commit is contained in:
parent
3ad5c753fa
commit
023fa30280
55 changed files with 499 additions and 487 deletions
|
|
@ -17,6 +17,7 @@ import type { UtilityService } from '@/core/UtilityService.js';
|
|||
import { bindThis } from '@/decorators.js';
|
||||
import type {
|
||||
FollowRequestsRepository,
|
||||
MiMeta,
|
||||
NoteReactionsRepository,
|
||||
NotesRepository,
|
||||
PollsRepository,
|
||||
|
|
@ -35,6 +36,7 @@ export class MockResolver extends Resolver {
|
|||
constructor(loggerService: LoggerService) {
|
||||
super(
|
||||
{} as Config,
|
||||
{} as MiMeta,
|
||||
{} as UsersRepository,
|
||||
{} as NotesRepository,
|
||||
{} as PollsRepository,
|
||||
|
|
@ -42,7 +44,6 @@ export class MockResolver extends Resolver {
|
|||
{} as FollowRequestsRepository,
|
||||
{} as UtilityService,
|
||||
{} as InstanceActorService,
|
||||
{} as MetaService,
|
||||
{} as ApRequestService,
|
||||
{} as HttpRequestService,
|
||||
{} as ApRendererService,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue