Private
Public Access
1
0
Files
Kanban/src/app.d.ts
T
Catherine Renelle 8c41b33313 Add 17 features: My Work view, card copy/numbering, calendar, bulk ops, custom fields, automations, webhooks, invites, import/export, and more
Features implemented across 6 batches:
- Batch A: Fix ColorPicker gradient sync, tenant custom logo, unarchive cards, board backgrounds
- Batch B: My Work view, card copy/duplicate, card numbering (BOARD-123)
- Batch C: Due date reminders (cron), card watching with notifications
- Batch D: Bulk card operations, column sorting, calendar view
- Batch E: Invite by link, board import/export (Pounce + Trello JSON)
- Batch F: Webhooks with HMAC signing, custom fields, automation rules engine

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 08:50:15 -05:00

80 lines
1.9 KiB
TypeScript

// See https://svelte.dev/docs/kit/types#app.d.ts
import type { PrismaClient } from '@prisma/client';
export interface TenantThemeData {
lightPageBg?: string | null;
lightPageBgImage?: string | null;
lightNavBg?: string | null;
lightNavBgImage?: string | null;
lightColumnBg?: string | null;
lightColumnBorder?: string | null;
lightColumnText?: string | null;
lightColumnOpacity?: number | null;
lightCardBg?: string | null;
lightCardBorder?: string | null;
lightCardText?: string | null;
lightCardOpacity?: number | null;
lightCardRadius?: string | null;
lightPrimary?: string | null;
lightPrimaryHover?: string | null;
lightDanger?: string | null;
lightDangerHover?: string | null;
lightSuccess?: string | null;
lightWarning?: string | null;
darkPageBg?: string | null;
darkPageBgImage?: string | null;
darkNavBg?: string | null;
darkNavBgImage?: string | null;
darkColumnBg?: string | null;
darkColumnBorder?: string | null;
darkColumnText?: string | null;
darkColumnOpacity?: number | null;
darkCardBg?: string | null;
darkCardBorder?: string | null;
darkCardText?: string | null;
darkCardOpacity?: number | null;
darkCardRadius?: string | null;
darkPrimary?: string | null;
darkPrimaryHover?: string | null;
darkDanger?: string | null;
darkDangerHover?: string | null;
darkSuccess?: string | null;
darkWarning?: string | null;
}
declare global {
namespace App {
interface Error {
message: string;
code?: string;
}
interface Locals {
tenant: {
id: string;
name: string;
slug: string;
logoUrl?: string | null;
logoText?: string | null;
theme?: TenantThemeData | null;
} | null;
user: {
id: string;
email: string;
name: string;
globalRole: string;
tenantRole: string | null;
avatarUrl: string | null;
} | null;
session: {
id: string;
} | null;
theme?: string;
}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};