first init

This commit is contained in:
Power BI Dev
2026-08-17 10:52:09 +07:00
commit 88c7c653c2
9281 changed files with 2156575 additions and 0 deletions
+79
View File
@@ -0,0 +1,79 @@
export type Role = 'admin' | 'member';
export type Priority = 'LOW' | 'MEDIUM' | 'HIGH' | 'URGENT';
export interface Subtask {
id: string;
title: string;
completed: boolean;
}
export interface ActivityLogPayload {
id: string;
boardId: string;
ticketId?: string | null;
ticketTitle: string;
action: 'MOVED' | 'CREATED' | 'BLOCKED' | 'UNBLOCKED' | 'DELETED';
fromColumnTitle?: string | null;
toColumnTitle?: string | null;
userName: string;
details?: string | null;
createdAt: string;
}
export interface BoardCreationResult {
id: string;
title: string;
adminKey: string;
memberKey: string;
adminUrlFragment: string;
memberUrlFragment: string;
createdAt: string;
}
export interface BoardPayload {
id: string;
title: string;
role: Role;
autoMoveStale: boolean;
columns: ColumnPayload[];
createdAt: string;
updatedAt: string;
}
export interface ColumnPayload {
id: string;
boardId: string;
title: string;
order: number;
maxWipLimit: number;
autoStaleHours: number;
tickets: TicketPayload[];
createdAt: string;
updatedAt: string;
}
export interface TicketPayload {
id: string;
columnId: string;
title: string;
description: string;
order: number;
priority: Priority;
tags: string[];
subtasks: Subtask[];
dueDate?: string | null;
isBlocked?: boolean;
blockedReason?: string | null;
assignee?: string | null;
movedAt: string;
createdAt: string;
updatedAt: string;
}
export interface FieldLockInfo {
ticketId: string;
field: 'title' | 'description';
socketId: string;
userId: string;
userName: string;
lockedAt: number;
}
export interface SocketAuthData {
boardId: string;
key: string;
userName?: string;
userId?: string;
}
+1
View File
@@ -0,0 +1 @@
export {};