feat: remove OTP gate from transactions, fix categories auth, add implementation plan
- Remove OtpGateGuard from transactions controller (OTP verified at login) - Fix categories controller to use authenticated user instead of TEMP_USER_ID - Add comprehensive implementation plan document - Update .env.example with WEB_APP_URL - Prepare for admin dashboard development
This commit is contained in:
9
apps/api/dist/wallets/wallets.service.d.ts
vendored
9
apps/api/dist/wallets/wallets.service.d.ts
vendored
@@ -2,8 +2,7 @@ import { PrismaService } from '../prisma/prisma.service';
|
||||
export declare class WalletsService {
|
||||
private prisma;
|
||||
constructor(prisma: PrismaService);
|
||||
private userId;
|
||||
list(): import("@prisma/client").Prisma.PrismaPromise<{
|
||||
list(userId: string): import("@prisma/client").Prisma.PrismaPromise<{
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
@@ -16,7 +15,7 @@ export declare class WalletsService {
|
||||
pricePerUnit: import("@prisma/client/runtime/library").Decimal | null;
|
||||
deletedAt: Date | null;
|
||||
}[]>;
|
||||
create(input: {
|
||||
create(userId: string, input: {
|
||||
name: string;
|
||||
currency?: string;
|
||||
kind?: 'money' | 'asset';
|
||||
@@ -36,7 +35,7 @@ export declare class WalletsService {
|
||||
pricePerUnit: import("@prisma/client/runtime/library").Decimal | null;
|
||||
deletedAt: Date | null;
|
||||
}, never, import("@prisma/client/runtime/library").DefaultArgs, import("@prisma/client").Prisma.PrismaClientOptions>;
|
||||
update(id: string, input: {
|
||||
update(userId: string, id: string, input: {
|
||||
name?: string;
|
||||
currency?: string;
|
||||
kind?: 'money' | 'asset';
|
||||
@@ -56,7 +55,7 @@ export declare class WalletsService {
|
||||
pricePerUnit: import("@prisma/client/runtime/library").Decimal | null;
|
||||
deletedAt: Date | null;
|
||||
}, never, import("@prisma/client/runtime/library").DefaultArgs, import("@prisma/client").Prisma.PrismaClientOptions>;
|
||||
delete(id: string): import("@prisma/client").Prisma.Prisma__WalletClient<{
|
||||
delete(userId: string, id: string): import("@prisma/client").Prisma.Prisma__WalletClient<{
|
||||
id: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
|
||||
Reference in New Issue
Block a user