- 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
61 lines
1.5 KiB
TypeScript
Executable File
61 lines
1.5 KiB
TypeScript
Executable File
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 {};
|