Skip to content

Commit

Permalink
fix: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrunton committed Aug 25, 2024
1 parent 672500c commit a208798
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion services/api/src/app/users/users.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { RoomsRepository } from '@entities/rooms.repository';
import { User, systemUser } from '@entities/users';
import { UsersRepository } from '@entities/users';
import { Injectable } from '@nestjs/common';
import { filter, map, prop, pipe } from 'remeda';

@Injectable()
export class UsersService {
Expand Down
2 changes: 1 addition & 1 deletion services/api/src/domain/usecases/memberships/invite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { MembershipsRepository } from '@entities/memberships.repository';
import { RoomsRepository } from '@entities/rooms.repository';
import { User, UsersRepository } from '@entities/users';
import { Injectable } from '@nestjs/common';
import { Dispatcher, DraftMessage } from '@entities/messages/message';
import { Dispatcher, DraftMessage } from '@entities/messages';

export type InviteParams = {
roomId: string;
Expand Down
2 changes: 1 addition & 1 deletion services/api/src/domain/usecases/memberships/join.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MembershipsRepository } from '@entities/memberships.repository';
import { RoomsRepository } from '@entities/rooms.repository';
import { User } from '@entities/users';
import { Injectable } from '@nestjs/common';
import { Dispatcher, DraftMessage } from '@entities/messages/message';
import { Dispatcher, DraftMessage } from '@entities/messages';
import { JoinPolicy } from '@entities/room.entity';

@Injectable()
Expand Down
6 changes: 1 addition & 5 deletions services/api/src/domain/usecases/memberships/leave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ import { MembershipsRepository } from '@entities/memberships.repository';
import { RoomsRepository } from '@entities/rooms.repository';
import { User } from '@entities/users';
import { Injectable } from '@nestjs/common';
import {
Dispatcher,
DraftMessage,
UpdatedEntity,
} from '@entities/messages/message';
import { Dispatcher, DraftMessage, UpdatedEntity } from '@entities/messages';

export type LeaveRoomParams = {
roomId: string;
Expand Down

0 comments on commit a208798

Please sign in to comment.