Add base transaction logic #5
Annotations
10 errors
build-lint
Property 'users' does not exist on type 'DecoratedProcedureRecord<{ balance: BuildProcedure<"query", { _config: RootConfig<{ ctx: { auth: SignedInAuthObject | SignedOutAuthObject; }; meta: object; errorShape: { data: { zodError: typeToFlattenedError<...> | null; code: "PARSE_ERROR" | ... 12 more ... | "CLIENT_CLOSED_REQUEST"; httpStatus: number; path?: str...'.
|
build-lint
Argument of type '{ title: string; amount: number; recipientClerkUserId: string; }' is not assignable to parameter of type '{ value: number; title: string; recipientUserId: string; }'.
|
build-lint
Parameter 'u' implicitly has an 'any' type.
|
build-lint
Parameter 'user' implicitly has an 'any' type.
|
build-lint
Property 'amount' does not exist on type '{ value: number; type: "INCOME" | "OUTGOING"; id: number; uuid: string | null; title: string; balance: number; senderUserId: string; recipientUserId: string; createdAt: Date | null; updatedAt: Date | null; }'.
|
build-lint
Property 'senderClerkUserId' does not exist on type '{ value: number; type: "INCOME" | "OUTGOING"; id: number; uuid: string | null; title: string; balance: number; senderUserId: string; recipientUserId: string; createdAt: Date | null; updatedAt: Date | null; }'. Did you mean 'senderUserId'?
|
build-lint
Property 'recipientClerkUserId' does not exist on type '{ value: number; type: "INCOME" | "OUTGOING"; id: number; uuid: string | null; title: string; balance: number; senderUserId: string; recipientUserId: string; createdAt: Date | null; updatedAt: Date | null; }'. Did you mean 'recipientUserId'?
|
build-lint
Module '"@bank-brew/db"' has no exported member 'db'.
|
build-lint
'"@bank-brew/db"' has no exported member named 'transactions'. Did you mean 'getTransactions'?
|
build-lint
Parameter 't' implicitly has an 'any' type.
|