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
+71
View File
@@ -0,0 +1,71 @@
import { CatalogsService } from './catalogs.service';
import { CreateCatalogDto, SetCatalogActiveDto, UpdateCatalogDto } from './dto/catalog.dto';
export declare class CatalogsController {
private readonly catalogsService;
constructor(catalogsService: CatalogsService);
findAll(companyId?: string, activeOnly?: string): Promise<{
id: string;
companyId: string;
companyName: string;
name: string;
code: string;
description: string | undefined;
displayOrder: number;
isActive: boolean;
productCount: number;
createdAt: string;
updatedAt: string;
}[]>;
findOne(id: string): Promise<{
id: string;
companyId: string;
companyName: string;
name: string;
code: string;
description: string | undefined;
displayOrder: number;
isActive: boolean;
productCount: number;
createdAt: string;
updatedAt: string;
}>;
create(dto: CreateCatalogDto): Promise<{
id: string;
companyId: string;
companyName: string;
name: string;
code: string;
description: string | undefined;
displayOrder: number;
isActive: boolean;
productCount: number;
createdAt: string;
updatedAt: string;
}>;
update(id: string, dto: UpdateCatalogDto): Promise<{
id: string;
companyId: string;
companyName: string;
name: string;
code: string;
description: string | undefined;
displayOrder: number;
isActive: boolean;
productCount: number;
createdAt: string;
updatedAt: string;
}>;
setActive(id: string, dto: SetCatalogActiveDto): Promise<{
id: string;
companyId: string;
companyName: string;
name: string;
code: string;
description: string | undefined;
displayOrder: number;
isActive: boolean;
productCount: number;
createdAt: string;
updatedAt: string;
}>;
}