Files
tabungin/apps/api/dist/admin/admin-config.service.d.ts
Dwindi Ramadhana 6a6e74562c checkpoint: goals feature, wallet balance, and goals/wallet detail UI
- Add goals feature (models, migrations, API, web pages)
- Add reserved/centralized wallet balance service
- Add wallet detail page and overview components
- Add new UI components (progress, multi-select, FAB)
- Remove stray empty -H/-d files from working tree
2026-06-17 20:40:00 +07:00

55 lines
1.4 KiB
TypeScript
Executable File

import { PrismaService } from '../prisma/prisma.service';
export declare class AdminConfigService {
private readonly prisma;
constructor(prisma: PrismaService);
findAll(category?: string): Promise<{
category: string;
id: string;
updatedAt: Date;
type: string;
value: string;
description: string | null;
key: string;
label: string;
isSecret: boolean;
updatedBy: string | null;
}[]>;
findOne(key: string): Promise<{
category: string;
id: string;
updatedAt: Date;
type: string;
value: string;
description: string | null;
key: string;
label: string;
isSecret: boolean;
updatedBy: string | null;
} | null>;
upsert(key: string, data: any, updatedBy: string): Promise<{
category: string;
id: string;
updatedAt: Date;
type: string;
value: string;
description: string | null;
key: string;
label: string;
isSecret: boolean;
updatedBy: string | null;
}>;
delete(key: string): Promise<{
category: string;
id: string;
updatedAt: Date;
type: string;
value: string;
description: string | null;
key: string;
label: string;
isSecret: boolean;
updatedBy: string | null;
}>;
getByCategory(): Promise<Record<string, any[]>>;
}