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
+5
@@ -0,0 +1,5 @@
|
||||
import { CheckStatus } from '@prisma/client';
|
||||
export declare class UpdateCheckStatusDto {
|
||||
status: CheckStatus;
|
||||
note?: string;
|
||||
}
|
||||
Vendored
+29
@@ -0,0 +1,29 @@
|
||||
"use strict";
|
||||
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
||||
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
||||
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
||||
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
||||
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
||||
};
|
||||
var __metadata = (this && this.__metadata) || function (k, v) {
|
||||
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.UpdateCheckStatusDto = void 0;
|
||||
const class_validator_1 = require("class-validator");
|
||||
const client_1 = require("@prisma/client");
|
||||
class UpdateCheckStatusDto {
|
||||
status;
|
||||
note;
|
||||
}
|
||||
exports.UpdateCheckStatusDto = UpdateCheckStatusDto;
|
||||
__decorate([
|
||||
(0, class_validator_1.IsEnum)(client_1.CheckStatus),
|
||||
__metadata("design:type", String)
|
||||
], UpdateCheckStatusDto.prototype, "status", void 0);
|
||||
__decorate([
|
||||
(0, class_validator_1.IsOptional)(),
|
||||
(0, class_validator_1.IsString)(),
|
||||
__metadata("design:type", String)
|
||||
], UpdateCheckStatusDto.prototype, "note", void 0);
|
||||
//# sourceMappingURL=check.dto.js.map
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"check.dto.js","sourceRoot":"","sources":["../../../src/checks/dto/check.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,2CAA6C;AAE7C,MAAa,oBAAoB;IAE/B,MAAM,CAAe;IAIrB,IAAI,CAAU;CACf;AAPD,oDAOC;AALC;IADC,IAAA,wBAAM,EAAC,oBAAW,CAAC;;oDACC;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACG"}
|
||||
Reference in New Issue
Block a user