For development:
pnpm install
pnpm run dev
pnpm run build
First add to the version in dockflow.json
pnpm run docker:publish
rut(string): Lawyer's RUT (National ID)*nombre(string): Lawyer's nameapellido(string): Lawyer's last namemail(string): Lawyer's email addresstelefono(string): Lawyer's phone number*(string): Needs to be removedhorario_at_dias_hab*(string): Needs to be removedhorario_at_horas_habnivel_coincidencia(Integer): Lawyer's matching level with the search criteriaregion(string): Lawyer's regioncomuna(string): Lawyer's communeverificado*(string): Lawyer's verification status"activo": Lawyer is VERIFIED"no activo": Lawyer is NOT VERIFIED
fecha_vigencia(Timestamp/string): Lawyer's subscription expiration date- (New!)
fecha_registro(Timestamp): Lawyer's registration date
id_ambito(Integer): Area of expertise IDdesc_ambito(string): Area of expertise namedesc_grupo(string): Group name of the area of expertise
cut(Integer): Commune codecomuna(string): Commune nameprovincia(string): Province nameregion(string): Region namelatitud(float): Latitude of the communelongitud(float): Longitude of the commune
id_rut_ambito(string): Lawyer's RUT + Area of expertise IDrut(string): Lawyer's RUT (National ID)id_ambito(Integer): Area of expertise ID
id_solicitud(UUID): Request IDrut(string): Lawyer's RUT (National ID)nombres(string): Requester's first nameapellidos(string): Requester's last namemail(string): Requester's email addressregion(string): Requester's regioncomuna(string): Requester's communecaso(string): Requester's case description(string): Need to be removedtipo_costo(string): Need to be removedtipo_requerimiento(string): Need to be removedantecedentes_penales(string): Need to be removedantecedentes_comerciales- (NEW!)
fecha_registro(Timestamp): Request registration date - (New!)
telefono(string): Requester's phone number
id_envio(UUID): Match ID (Refer to ft_solicitudes: id_solicitud)id_operacion(UUID): Request IDenvio(string): Lawyer's RUT (National ID)fecha_envio(Timestamp): Match date
id_caso_perdido(UUID): Unsuccessful match ID (Refer to ft_solicitudes: id_solicitud)id_operacion(UUID): Request IDenvio(string): Lawyer's RUT (National ID)fecha_envio(Timestamp): Unsuccessful match date
[ vigencia:set ] will set the subscription expiration date to THE CURRENT DATE + X MONTHS.
While [ vigencia:add ] will add or subtract X MONTHS from the current expiration date.
pnpm vigencia:set 1 "12.345.567-8" # Sets expiration date to 1 month from NOW
pnpm vigencia:add -2 "12345678-9" # subtract 2 months from current value
pnpm vigencia:check "12345678-9" # check the last date of a lawyer's subscription
pnpm verificado:set 0 "12345678-9" # flag 0 → "no activo", flag 1 → "activo"
pnpm verificado:check "12345678-9" # check if a lawyer is verified or not
pnpm --filter "./server" run dataTest -- tableName