chore: auto-commit (10 archivos)
- chat.log - db.go - frontend/src/App.tsx - frontend/src/api.ts - frontend/src/components/CardForm.tsx - frontend/src/components/Dashboard.tsx - frontend/src/components/KanbanCard.tsx - frontend/src/types.ts - handlers.go - metrics.go Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -68,6 +68,7 @@ export interface CreateCardInput {
|
||||
title: string;
|
||||
description?: string;
|
||||
assignee_id?: string | null;
|
||||
tags?: string[];
|
||||
}
|
||||
|
||||
export function createCard(input: CreateCardInput): Promise<Card> {
|
||||
@@ -81,6 +82,7 @@ export interface UpdateCardInput {
|
||||
color?: string;
|
||||
locked?: boolean;
|
||||
assignee_id?: string | null;
|
||||
tags?: string[];
|
||||
}
|
||||
|
||||
export function updateCard(id: string, patch: UpdateCardInput): Promise<void> {
|
||||
@@ -162,6 +164,14 @@ export function listUsers(): Promise<User[]> {
|
||||
return fetchJSON("/users");
|
||||
}
|
||||
|
||||
export function listTags(): Promise<string[]> {
|
||||
return fetchJSON("/tags");
|
||||
}
|
||||
|
||||
export function listRequesters(): Promise<string[]> {
|
||||
return fetchJSON("/requesters");
|
||||
}
|
||||
|
||||
export function getMetrics(f: MetricsFilter): Promise<Metrics> {
|
||||
const qs = new URLSearchParams();
|
||||
if (f.from) qs.set("from", f.from);
|
||||
|
||||
Reference in New Issue
Block a user