Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type User {
- id: ID!
- name: String!
- email: String!
- password: String!
- stripeId: String
- userToPurchase: [Purchase]
- cardDetails: CardDetails
- }
- type CardDetails {
- id: ID!
- cardToken: String!
- cardToUser: [User]
- }
- type Purchase {
- id: ID!
- description: String!
- amount: Int!
- isPaid: Boolean!
- purchaseToUser: [User]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement