690325:2132 Fixing Naming convention missunderstand #01
CI / CD Pipeline / build (push) Failing after 38m8s
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
2026-03-25 21:32:47 +07:00
parent 509fe7b597
commit d36d4b0bf4
32 changed files with 648 additions and 527 deletions
+4 -4
View File
@@ -2,13 +2,13 @@
export interface CreateTagDto {
/** ID โครงการ (NULL = Global) */
project_id?: number | null;
projectId?: number | null;
/** ชื่อ Tag (เช่น 'URGENT') */
tag_name: string;
tagName: string;
/** รหัสสี หรือชื่อคลาสสำหรับ UI */
color_code?: string;
colorCode?: string;
/** คำอธิบาย */
description?: string;
@@ -18,7 +18,7 @@ export type UpdateTagDto = Partial<CreateTagDto>;
export interface SearchTagDto {
/** ID โครงการ (ใช้กรอง Tag ของแต่ละโปรเจกต์) */
project_id?: number;
projectId?: number;
/** คำค้นหา (ชื่อ Tag หรือ คำอธิบาย) */
search?: string;
@@ -7,13 +7,13 @@ export interface WorkflowDsl {
/** Allow extra properties for different DSL formats */
[key: string]: unknown;
states?: Record<string, WorkflowState>;
initial_state?: string;
initialState?: string;
}
export interface WorkflowState {
transitions?: WorkflowTransition[];
on_enter?: string[];
on_exit?: string[];
onEnter?: string[];
onExit?: string[];
}
export interface WorkflowTransition {
@@ -26,13 +26,13 @@ export interface WorkflowTransition {
// --- Create Definition ---
export interface CreateWorkflowDefinitionDto {
/** รหัสของ Workflow (เช่น 'RFA', 'CORRESPONDENCE') */
workflow_code: string;
workflowCode: string;
/** นิยาม Workflow (DSL JSON Object) */
dsl: WorkflowDsl;
/** เปิดใช้งานทันทีหรือไม่ (Default: true) */
is_active?: boolean;
isActive?: boolean;
}
// --- Update Definition ---
@@ -41,10 +41,10 @@ export type UpdateWorkflowDefinitionDto = Partial<CreateWorkflowDefinitionDto>;
// --- Evaluate (ประมวลผล/ตรวจสอบ State) ---
export interface EvaluateWorkflowDto {
/** รหัส Workflow */
workflow_code: string;
workflowCode: string;
/** สถานะปัจจุบัน */
current_state: string;
currentState: string;
/** Action ที่ต้องการทำ (เช่น 'SUBMIT', 'APPROVE') */
action: string;
@@ -56,8 +56,8 @@ export interface EvaluateWorkflowDto {
// --- Get Available Actions ---
export interface GetAvailableActionsDto {
/** รหัส Workflow */
workflow_code: string;
workflowCode: string;
/** สถานะปัจจุบัน */
current_state: string;
currentState: string;
}