Deploy via committed dist: local Nest build, server runs with .env

Build on the developer machine without Docker, commit dist/, and run on the server with Dockerfile.dist plus compose env_file.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-05 21:35:22 +03:30
co-authored by Cursor
parent 67cfc17079
commit cbcea58e94
199 changed files with 10895 additions and 4 deletions
+78
View File
@@ -0,0 +1,78 @@
import { ShipmentStatus } from '@prisma/client';
import { ShipmentsService } from './shipments.service';
import type { AuthPrincipal } from '../common/decorators/current-user.decorator';
import { AdvanceShipmentStatusDto, CreateShipmentDto, UpdateShipmentDto } from './dto/shipment.dto';
export declare class ShipmentsController {
private readonly shipmentsService;
constructor(shipmentsService: ShipmentsService);
findAll(status?: ShipmentStatus): Promise<{
id: string;
orderId: string;
orderNumber: string;
customerName: string;
carrier: string;
trackingNumber: string;
meterage: number;
status: import("@prisma/client").$Enums.ShipmentStatus;
shippedAt: string | null;
deliveredAt: string | null;
createdAt: string;
updatedAt: string;
}[]>;
findOne(id: string): Promise<{
id: string;
orderId: string;
orderNumber: string;
customerName: string;
carrier: string;
trackingNumber: string;
meterage: number;
status: import("@prisma/client").$Enums.ShipmentStatus;
shippedAt: string | null;
deliveredAt: string | null;
createdAt: string;
updatedAt: string;
}>;
create(user: AuthPrincipal, dto: CreateShipmentDto): Promise<{
id: string;
orderId: string;
orderNumber: string;
customerName: string;
carrier: string;
trackingNumber: string;
meterage: number;
status: import("@prisma/client").$Enums.ShipmentStatus;
shippedAt: string | null;
deliveredAt: string | null;
createdAt: string;
updatedAt: string;
}>;
update(id: string, dto: UpdateShipmentDto): Promise<{
id: string;
orderId: string;
orderNumber: string;
customerName: string;
carrier: string;
trackingNumber: string;
meterage: number;
status: import("@prisma/client").$Enums.ShipmentStatus;
shippedAt: string | null;
deliveredAt: string | null;
createdAt: string;
updatedAt: string;
}>;
advanceStatus(user: AuthPrincipal, id: string, dto: AdvanceShipmentStatusDto): Promise<{
id: string;
orderId: string;
orderNumber: string;
customerName: string;
carrier: string;
trackingNumber: string;
meterage: number;
status: import("@prisma/client").$Enums.ShipmentStatus;
shippedAt: string | null;
deliveredAt: string | null;
createdAt: string;
updatedAt: string;
}>;
}