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
+36
View File
@@ -0,0 +1,36 @@
import { BoardCreationResult, BoardPayload, Role } from '../types/index.js';
export declare class BoardService {
/**
* Create a new Kanban board with admin and member keys and standard agile columns with WIP limits.
*/
static createBoard(title?: string): Promise<BoardCreationResult>;
/**
* Authenticate a key against a board ID. Returns the role ('admin' | 'member') or null if invalid.
*/
static authenticateKey(boardId: string, key: string): Promise<{
role: Role;
board: any;
} | null>;
/**
* Fetch full board data with columns and tickets ordered properly.
*/
static getBoardDetails(boardId: string, role: Role): Promise<BoardPayload | null>;
/**
* Regenerate member key (Key Rotation). Only superadmin can perform this.
*/
static rotateMemberKey(boardId: string): Promise<{
newMemberKey: string;
memberUrlFragment: string;
}>;
/**
* Delete a board. Only superadmin can perform this.
*/
static deleteBoard(boardId: string): Promise<void>;
/**
* Update board title & settings.
*/
static updateBoard(boardId: string, updates: {
title?: string;
autoMoveStale?: boolean;
}): Promise<void>;
}