Skip to content

Commit faedbd9

Browse files
authored
Develop (#183)
2 parents 5099dfa + 3a8112f commit faedbd9

82 files changed

Lines changed: 4674 additions & 354 deletions

File tree

Some content is hidden

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

.cspell/custom-dictionary-workspace.txt

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ abordagem
44
aborta
55
abra
66
abre
7+
abreviações
78
Abrir
89
absoluta
910
Absolutas
@@ -62,6 +63,7 @@ ajustar
6263
Ajustes
6364
AKVGSK
6465
aleatório
66+
alegre
6567
além
6668
Alemanha
6769
alemania
@@ -100,6 +102,8 @@ andybalholm
100102
anexar
101103
Ângela
102104
angelacao
105+
anos
106+
Anos
103107
Anotações
104108
anteriores
105109
antigas
@@ -123,6 +127,7 @@ aplicar
123127
aplicável
124128
apontando
125129
aponte
130+
aprendiz
126131
Apresentação
127132
apresentável
128133
apresentou
@@ -140,6 +145,7 @@ asar
140145
Assinaturas
141146
assíncrona
142147
assíncrono
148+
assistente
143149
associados
144150
ataque
145151
ataques
@@ -195,6 +201,7 @@ básica
195201
Básicas
196202
bater
197203
Beene
204+
belo
198205
Benefícios
199206
benetesla
200207
Benevanio
@@ -241,6 +248,7 @@ Cancela
241248
cancelado
242249
cancelamento
243250
Cand
251+
canddate
244252
CANDIDATADAS
245253
Candidatar
246254
candidatura
@@ -259,9 +267,11 @@ carreira
259267
cascadia
260268
casos
261269
catálogo
270+
catarina
262271
CAUSA
263272
causar
264273
causava
274+
ceara
265275
Centraliza
266276
centralizado
267277
Centralizamos
@@ -359,6 +369,7 @@ conflito
359369
conhece
360370
conhecer
361371
conhecidas
372+
conhecido
362373
conjunto
363374
Conseguir
364375
considere
@@ -391,6 +402,8 @@ Controles
391402
conversão
392403
Converte
393404
convites
405+
cooperado
406+
cooperativa
394407
coreia
395408
coroutinelib
396409
corpo
@@ -486,6 +499,7 @@ destruir
486499
detalhada
487500
detalhadas
488501
detalhado
502+
Detalhe
489503
detecção
490504
detecta
491505
detectadas
@@ -525,6 +539,7 @@ disponível
525539
disso
526540
distinguir
527541
distribui
542+
distrito
528543
diversas
529544
documentação
530545
documentadas
@@ -546,7 +561,9 @@ ecossistema
546561
edita
547562
editadas
548563
editados
564+
efeito
549565
efetivamente
566+
efetivo
550567
eficiência
551568
egito
552569
elas
@@ -616,6 +633,7 @@ españa
616633
espanha
617634
Espanha
618635
especiais
636+
especialista
619637
específica
620638
especificação
621639
especificadas
@@ -634,6 +652,7 @@ esqueci
634652
essa
635653
estados
636654
Estados
655+
estagiario
637656
estágio
638657
estar
639658
Estas
@@ -725,6 +744,7 @@ falhar
725744
falhas
726745
falhe
727746
falhou
747+
falso
728748
falsos
729749
falta
730750
fazem
@@ -741,6 +761,7 @@ FINALIZADO
741761
fintech
742762
flexibilidade
743763
flexíveis
764+
florianopolis
744765
fluído
745766
flutuação
746767
fluxo
@@ -760,6 +781,7 @@ fornecidos
760781
fpconv
761782
frança
762783
França
784+
freela
763785
frequentemente
764786
fulano
765787
Fulano
@@ -813,6 +835,7 @@ hintrc
813835
Histórico
814836
hoje
815837
holanda
838+
horizonte
816839
hotjar
817840
hscan
818841
HSTS
@@ -880,6 +903,7 @@ individuais
880903
individualmente
881904
inesperado
882905
inexistente
906+
inferência
883907
inferidos
884908
infinito
885909
inflar
@@ -959,14 +983,18 @@ isolar
959983
isso
960984
iterações
961985
janela
986+
joana
962987
joaosilva
963988
jobsglobal
964989
jobsglobalscraper
965990
jobstore
966991
jooble
967992
Jooble
968993
julho
994+
juridica
969995
KHTML
996+
kimi
997+
Kimi
970998
klarna
971999
Krsj
9721000
kvstore
@@ -994,6 +1022,7 @@ linha
9941022
linhas
9951023
linit
9961024
listagem
1025+
listas
9971026
loadlib
9981027
localidade
9991028
localiza
@@ -1027,6 +1056,7 @@ marca
10271056
marcado
10281057
marcar
10291058
margem
1059+
mariaclara
10301060
marrocos
10311061
mastigada
10321062
mathlib
@@ -1049,8 +1079,10 @@ memória
10491079
menos
10501080
mensagem
10511081
mensagens
1082+
mensais
10521083
mensuráveis
10531084
mentores
1085+
Mentorias
10541086
mescladas
10551087
mesma
10561088
mesmas
@@ -1091,6 +1123,7 @@ monitorado
10911123
Monitorar
10921124
montá
10931125
montar
1126+
moonshotai
10941127
Mostrando
10951128
Mostrar
10961129
motivo
@@ -1127,6 +1160,7 @@ normalizado
11271160
normalizados
11281161
normalizar
11291162
Notas
1163+
notificação
11301164
Notificações
11311165
notificou
11321166
novamente
@@ -1149,6 +1183,7 @@ observáveis
11491183
obtém
11501184
obter
11511185
ocasionais
1186+
ocorre
11521187
omitido
11531188
onde
11541189
Opção
@@ -1245,6 +1280,7 @@ persistir
12451280
pesquisa
12461281
pesquisadas
12471282
Pesquisem
1283+
pessoa
12481284
Pessoas
12491285
piechart
12501286
pior
@@ -1271,6 +1307,7 @@ portas
12711307
portfólio
12721308
posicionamento
12731309
posições
1310+
positivo
12741311
positivos
12751312
possível
12761313
possivelmente
@@ -1383,10 +1420,13 @@ recentemente
13831420
recoloca
13841421
Recomenda
13851422
Recomendações
1423+
recomendada
13861424
recomendadas
13871425
recomendado
13881426
recomendados
1427+
reconcilia
13891428
reconecta
1429+
reconhece
13901430
recorre
13911431
Recrutadores
13921432
recrutamento
@@ -1404,6 +1444,7 @@ referência
14041444
registrado
14051445
registro
14061446
registros
1447+
regra
14071448
regras
14081449
Regressão
14091450
reindexação
@@ -1558,6 +1599,7 @@ sinal
15581599
sincronização
15591600
Sincronizado
15601601
Sincronizar
1602+
síncrono
15611603
Singapura
15621604
singleflight
15631605
SISMEMBER

backend/bruno/Auth/Login.bru

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ post {
1212

1313
body:json {
1414
{
15-
"email":"hudsontavares@gmail.com",
16-
"password":"tavares10"
15+
"email":"teste.criptografia.001@example.com",
16+
"password":"SenhaForte123"
1717
}
1818
}
1919

backend/bruno/Jobs/SearchJobs.bru

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ meta {
55
}
66

77
get {
8-
url: {{base_url}}/jobs/search?location=&keywords=node.js
8+
url: {{base_url}}/jobs/search?location=Brasil&level=Junior
99
body: none
1010
auth: inherit
1111
}
1212

1313
params:query {
14-
location:
15-
keywords: node.js
14+
location: Brasil
15+
level: Junior
16+
~keywords:
1617
}
1718

1819
headers {
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE "users" ADD COLUMN "technology_experiences_encrypted" text;--> statement-breakpoint
2+
ALTER TABLE "user_preferences" ADD COLUMN "career_checklist" jsonb DEFAULT '[]'::jsonb;
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
CREATE TYPE "notification_channel" AS ENUM ('notification', 'message');--> statement-breakpoint
2+
CREATE TYPE "notification_type" AS ENUM ('job_saved', 'job_applied', 'job_status_changed', 'high_match', 'mentor', 'system');--> statement-breakpoint
3+
CREATE TABLE "user_notifications" (
4+
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
5+
"user_id" uuid NOT NULL,
6+
"channel" "notification_channel" DEFAULT 'notification' NOT NULL,
7+
"type" "notification_type" NOT NULL,
8+
"title" text NOT NULL,
9+
"message" text NOT NULL,
10+
"entity_type" varchar(50),
11+
"entity_id" text,
12+
"metadata" jsonb DEFAULT '{}'::jsonb,
13+
"read_at" timestamp,
14+
"created_at" timestamp DEFAULT now() NOT NULL
15+
);
16+
--> statement-breakpoint
17+
ALTER TABLE "user_notifications" ADD CONSTRAINT "user_notifications_user_id_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
18+
CREATE INDEX "user_notifications_user_created_at_idx" ON "user_notifications" USING btree ("user_id","created_at");--> statement-breakpoint
19+
CREATE INDEX "user_notifications_user_read_at_idx" ON "user_notifications" USING btree ("user_id","read_at");

backend/drizzle/meta/_journal.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,20 @@
7171
"when": 1784121210863,
7272
"tag": "0009_encrypt_remaining_profile_fields",
7373
"breakpoints": true
74+
},
75+
{
76+
"idx": 10,
77+
"version": "7",
78+
"when": 1784207610863,
79+
"tag": "0010_profile_skill_experience_and_career_checklist",
80+
"breakpoints": true
81+
},
82+
{
83+
"idx": 11,
84+
"version": "7",
85+
"when": 1784294010863,
86+
"tag": "0011_user_notifications",
87+
"breakpoints": true
7488
}
7589
]
7690
}

backend/src/app.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { authRoutes } from "./routes/auth.routes";
1212
import adminRoutes from "./routes/admin.routes";
1313
import { jobsRoutes } from "./routes/jobs.routes";
1414
import { keywordsRoutes } from "./routes/keywords.routes";
15+
import { notificationsRoutes } from "./routes/notifications.routes";
1516
import { savedJobsRoutes } from "./routes/savedJobs.routes";
1617
import superAdminRoutes from "./routes/superAdmin.routes";
1718
import supportRoutes from "./routes/support.routes";
@@ -40,6 +41,7 @@ export function createJobsApiApp() {
4041
app.use("/users", withSession, requireAuth, userRoutes);
4142
app.use("/jobs", withSession, requireAuth, jobsRoutes);
4243
app.use("/keywords", withSession, requireAuth, keywordsRoutes);
44+
app.use("/notifications", withSession, requireAuth, notificationsRoutes);
4345
app.use("/saved-jobs", withSession, requireAuth, savedJobsRoutes);
4446
app.use("/admin", withSession, supportRoutes);
4547
app.use("/admin", withSession, adminRoutes);

backend/src/db/schema/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ export * from "./credentials";
44
export * from "./keywords";
55
export * from "./permissionRules";
66
export * from "./savedJobs";
7+
export * from "./userNotifications";
78
export * from "./userPreferences";
89
export * from "./users";

0 commit comments

Comments
 (0)