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:
Vendored
+36
@@ -0,0 +1,36 @@
|
||||
import { PrismaService } from '../prisma/prisma.service';
|
||||
import { UpdateSettingsDto } from './dto/settings.dto';
|
||||
export declare class SettingsService {
|
||||
private readonly prisma;
|
||||
constructor(prisma: PrismaService);
|
||||
get(): Promise<{
|
||||
id: string;
|
||||
maxMeteragePerInvoice: number;
|
||||
cashInvoiceValidityHours: number;
|
||||
defaultSettlementCheck: boolean;
|
||||
defaultSettlementCash: boolean;
|
||||
smsOrderRegistered: boolean;
|
||||
smsPaymentReminder: boolean;
|
||||
smsCheckReview: boolean;
|
||||
smsShippingUpdate: boolean;
|
||||
supportPhone: string | null;
|
||||
supportEmail: string | null;
|
||||
updatedAt: string;
|
||||
}>;
|
||||
update(dto: UpdateSettingsDto): Promise<{
|
||||
id: string;
|
||||
maxMeteragePerInvoice: number;
|
||||
cashInvoiceValidityHours: number;
|
||||
defaultSettlementCheck: boolean;
|
||||
defaultSettlementCash: boolean;
|
||||
smsOrderRegistered: boolean;
|
||||
smsPaymentReminder: boolean;
|
||||
smsCheckReview: boolean;
|
||||
smsShippingUpdate: boolean;
|
||||
supportPhone: string | null;
|
||||
supportEmail: string | null;
|
||||
updatedAt: string;
|
||||
}>;
|
||||
private ensureDefaults;
|
||||
private map;
|
||||
}
|
||||
Reference in New Issue
Block a user