Skip to content

Commit c491eb0

Browse files
committed
cleanup: move components and adapters, run format all
1 parent d9e560c commit c491eb0

File tree

153 files changed

+1961
-803
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+1961
-803
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ name: deploy
1111
on:
1212
push:
1313
branches: [main]
14-
pull_request:
15-
branches: [main]
1614

1715
jobs:
1816
deploy:

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
# SpeekVideo
42

53
This project was generated using [Nx](https://nx.dev).
@@ -87,11 +85,6 @@ Run `nx dep-graph` to see a diagram of the dependencies of your projects.
8785

8886
Visit the [Nx Documentation](https://nx.dev/angular) to learn more.
8987

90-
91-
92-
93-
94-
9588
## ☁ Nx Cloud
9689

9790
### Computation Memoization in the Cloud

ROADMAP.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,33 @@
11
# ROADMAP
22

33
### @ToDo
4-
- [] Tela Filtro de voz
5-
- [] Melorar design
6-
- [] Outros filtros
74

85
- [] Validar permissões de acesso
6+
97
- [] Áudio e vídeo
108
- [] Salvar localmente a permissão
119

10+
- [] Auth sem senha
11+
12+
- [] Enviar código por email
13+
- [] Enviar código por sms
14+
1215
- [] Compartilhar link da reunião em várias mídias
16+
1317
- [] Enviar link por email
1418
- [] Whatsapp
1519
- [] Telegram
1620
- [] Messenger
1721
- [] Contatos
22+
23+
- [] Recursos
24+
25+
- [] STUN TURN ([coturn](https://github.com/coturn/coturn))
26+
27+
- [] Integrações
28+
29+
- [] SIP ([asterisk](https://wiki.asterisk.org/wiki/display/AST/Configuring+Asterisk+for+WebRTC+Clients))
30+
31+
- [] Tela Filtro de voz
32+
- [] Melhorar design
33+
- [] Outros filtros

angular.json

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@
5151
"assets": ["apps/webapp/src/favicon.ico", "apps/webapp/src/assets"],
5252
"styles": ["apps/webapp/src/styles.scss"],
5353
"stylePreprocessorOptions": {
54-
"includePaths": [
55-
"libs/ui/stylesheets"
56-
]
54+
"includePaths": ["libs/ui/stylesheets"]
5755
},
5856
"allowedCommonJsDependencies": ["socket.io-client"],
5957
"scripts": []
@@ -314,6 +312,27 @@
314312
}
315313
}
316314
}
315+
},
316+
"core-adapter": {
317+
"root": "libs/core/adapter",
318+
"sourceRoot": "libs/core/adapter/src",
319+
"projectType": "library",
320+
"architect": {
321+
"lint": {
322+
"builder": "@nrwl/linter:eslint",
323+
"options": {
324+
"lintFilePatterns": ["libs/core/adapter/**/*.ts"]
325+
}
326+
},
327+
"test": {
328+
"builder": "@nrwl/jest:jest",
329+
"outputs": ["coverage/libs/core/adapter"],
330+
"options": {
331+
"jestConfig": "libs/core/adapter/jest.config.js",
332+
"passWithNoTests": true
333+
}
334+
}
335+
}
317336
}
318337
}
319338
}

apps/gateway/jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ module.exports = {
1111
},
1212
moduleFileExtensions: ['ts', 'js', 'html'],
1313
coverageDirectory: '../../coverage/apps/gateway',
14-
};
14+
}
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
import { Test, TestingModule } from '@nestjs/testing';
2-
import { AuthController } from './auth.controller';
3-
import { AuthService } from './auth.service';
1+
import { Test, TestingModule } from '@nestjs/testing'
2+
import { AuthController } from './auth.controller'
3+
import { AuthService } from './auth.service'
44

55
describe('AuthController', () => {
6-
let controller: AuthController;
6+
let controller: AuthController
77

88
beforeEach(async () => {
99
const module: TestingModule = await Test.createTestingModule({
1010
controllers: [AuthController],
1111
providers: [AuthService],
12-
}).compile();
12+
}).compile()
1313

14-
controller = module.get<AuthController>(AuthController);
15-
});
14+
controller = module.get<AuthController>(AuthController)
15+
})
1616

1717
it('should be defined', () => {
18-
expect(controller).toBeDefined();
19-
});
20-
});
18+
expect(controller).toBeDefined()
19+
})
20+
})
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
import { Controller, Get, Post, Body, Put, Param, Delete } from '@nestjs/common';
2-
import { AuthService } from './auth.service';
3-
import { CreateAuthDto } from './dto/create-auth.dto';
4-
import { UpdateAuthDto } from './dto/update-auth.dto';
1+
import { Controller, Get, Post, Body, Put, Param, Delete } from '@nestjs/common'
2+
import { AuthService } from './auth.service'
3+
import { CreateAuthDto } from './dto/create-auth.dto'
4+
import { UpdateAuthDto } from './dto/update-auth.dto'
55

66
@Controller('auth')
77
export class AuthController {
88
constructor(private readonly authService: AuthService) {}
99

1010
@Post()
1111
create(@Body() createAuthDto: CreateAuthDto) {
12-
return this.authService.create(createAuthDto);
12+
return this.authService.create(createAuthDto)
1313
}
1414

1515
@Get()
1616
findAll() {
17-
return this.authService.findAll();
17+
return this.authService.findAll()
1818
}
1919

2020
@Get(':id')
2121
findOne(@Param('id') id: string) {
22-
return this.authService.findOne(+id);
22+
return this.authService.findOne(+id)
2323
}
2424

2525
@Put(':id')
2626
update(@Param('id') id: string, @Body() updateAuthDto: UpdateAuthDto) {
27-
return this.authService.update(+id, updateAuthDto);
27+
return this.authService.update(+id, updateAuthDto)
2828
}
2929

3030
@Delete(':id')
3131
remove(@Param('id') id: string) {
32-
return this.authService.remove(+id);
32+
return this.authService.remove(+id)
3333
}
3434
}

apps/gateway/src/auth/auth.module.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { Module } from '@nestjs/common';
2-
import { AuthService } from './auth.service';
3-
import { AuthController } from './auth.controller';
1+
import { Module } from '@nestjs/common'
2+
import { AuthService } from './auth.service'
3+
import { AuthController } from './auth.controller'
44

55
@Module({
66
controllers: [AuthController],
7-
providers: [AuthService]
7+
providers: [AuthService],
88
})
99
export class AuthModule {}
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import { Test, TestingModule } from '@nestjs/testing';
2-
import { AuthService } from './auth.service';
1+
import { Test, TestingModule } from '@nestjs/testing'
2+
import { AuthService } from './auth.service'
33

44
describe('AuthService', () => {
5-
let service: AuthService;
5+
let service: AuthService
66

77
beforeEach(async () => {
88
const module: TestingModule = await Test.createTestingModule({
99
providers: [AuthService],
10-
}).compile();
10+
}).compile()
1111

12-
service = module.get<AuthService>(AuthService);
13-
});
12+
service = module.get<AuthService>(AuthService)
13+
})
1414

1515
it('should be defined', () => {
16-
expect(service).toBeDefined();
17-
});
18-
});
16+
expect(service).toBeDefined()
17+
})
18+
})

apps/gateway/src/auth/auth.service.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { Injectable } from '@nestjs/common';
2-
import { CreateAuthDto } from './dto/create-auth.dto';
3-
import { UpdateAuthDto } from './dto/update-auth.dto';
1+
import { Injectable } from '@nestjs/common'
2+
import { CreateAuthDto } from './dto/create-auth.dto'
3+
import { UpdateAuthDto } from './dto/update-auth.dto'
44

55
@Injectable()
66
export class AuthService {
@@ -28,22 +28,22 @@ export class AuthService {
2828
}
2929

3030
create(createAuthDto: CreateAuthDto) {
31-
return 'This action adds a new auth';
31+
return 'This action adds a new auth'
3232
}
3333

3434
findAll() {
35-
return `This action returns all auth`;
35+
return `This action returns all auth`
3636
}
3737

3838
findOne(id: number) {
39-
return `This action returns a #${id} auth`;
39+
return `This action returns a #${id} auth`
4040
}
4141

4242
update(id: number, updateAuthDto: UpdateAuthDto) {
43-
return `This action updates a #${id} auth`;
43+
return `This action updates a #${id} auth`
4444
}
4545

4646
remove(id: number) {
47-
return `This action removes a #${id} auth`;
47+
return `This action removes a #${id} auth`
4848
}
4949
}

0 commit comments

Comments
 (0)