api-extensions.ts 285 B

123456789101112
  1. import gql from 'graphql-tag';
  2. export const adminApiExtensions = gql`
  3. input RegisterSellerInput {
  4. shopName: String!
  5. administrator: CreateAdministratorInput!
  6. }
  7. extend type Mutation {
  8. registerNewSeller(input: RegisterSellerInput!): Channel
  9. }
  10. `;