feat: Integrate Data Connect and Implement Staff List View Directory
This commit is contained in:
20
apps/web/dataconnect/schema/account.gql
Normal file
20
apps/web/dataconnect/schema/account.gql
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
enum AccountType {
|
||||
CHECKING
|
||||
SAVINGS
|
||||
}
|
||||
|
||||
type Account @table(name: "accounts") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
bank: String!
|
||||
type: AccountType!
|
||||
last4: String!
|
||||
isPrimary: Boolean
|
||||
accountNumber: String
|
||||
routeNumber: String
|
||||
ownerId: UUID! #staff/business
|
||||
expiryTime: Timestamp
|
||||
createdAt: Timestamp @default(expr: "request.time")
|
||||
updatedAt: Timestamp @default(expr: "request.time")
|
||||
createdBy: String
|
||||
}
|
||||
Reference in New Issue
Block a user