Files
tabungin/apps/api/dist/admin/admin-config.controller.d.ts
dwindown 1c28e51b53 docs: update implementation plan and add backend completion summary
- Mark backend as complete in IMPLEMENTATION_PLAN.md
- Create ADMIN_BACKEND_COMPLETE.md with full documentation
- Document all API endpoints
- Add testing instructions
- Add deployment notes
2025-10-11 14:37:18 +07:00

61 lines
1.5 KiB
TypeScript

import { AdminConfigService } from './admin-config.service';
interface RequestWithUser {
user: {
userId: string;
};
}
export declare class AdminConfigController {
private readonly service;
constructor(service: AdminConfigService);
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;
}[]>;
getByCategory(): Promise<Record<string, any[]>>;
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, req: RequestWithUser): 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;
}>;
}
export {};