api-extensions.ts 416 B

12345678910111213141516171819
  1. import gql from 'graphql-tag';
  2. export const shopApiExtensions = gql`
  3. input CreateSellerInput {
  4. firstName: String!
  5. lastName: String!
  6. emailAddress: String!
  7. password: String!
  8. }
  9. input RegisterSellerInput {
  10. shopName: String!
  11. seller: CreateSellerInput!
  12. }
  13. extend type Mutation {
  14. registerNewSeller(input: RegisterSellerInput!): Channel
  15. }
  16. `;