Refactor de jwt y base de la bdd de pausas-cancelaciones
This commit is contained in:
@@ -3,10 +3,9 @@
|
||||
*/
|
||||
import { PoolClient, QueryResult, QueryResultRow } from "pg";
|
||||
import { CreateOrderDTO, ErrorOrderDTO, FinishOrderDTO, OrderTracking, UpdateOrderDTO } from "../domain/Order.js";
|
||||
import { Result } from "../domain/Result.js";
|
||||
import { Result, tryCatch } from "../domain/Result.js";
|
||||
import { PgClient } from "./PgClient.js";
|
||||
import assert from "node:assert";
|
||||
import { error } from "node:console";
|
||||
|
||||
/**
|
||||
* Agrupa todas las operaciones de *Order*.
|
||||
@@ -19,9 +18,8 @@ import { error } from "node:console";
|
||||
*/
|
||||
export class OrderRepository {
|
||||
constructor(
|
||||
private readonly pgClient: PgClient
|
||||
private readonly pgClient: PgClient,
|
||||
) {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,6 +55,8 @@ export class OrderRepository {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* El tipo <T> representa el contenido del mensaje de los order
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user