# Provider Mutations

These are the mutations defined under the provider gql module, used for setting up what the user what's to follow

# addProvider

    addProvider(provider: IProvider) : Provider
1

Mutation to add a provider item for a user

# addProvider

    addProviderList(providers: [IProvider]) : Boolean
1

Mutation to add a provider item list for a user

# removeProvider

    removeProvider(provider: IProvider) : Boolean
1

Mutation to remove a provider item from providers list of a user

# updateProvider

    updateProvider(provider: String! , source: String!, update: IProvider) : Provider
1

Mutation to update a single provider item from providers list of a user

# cleanUpdateProviderList

    cleanUpdateProviderList(providers: [IProvider]!) : Boolean
1

Mutation to clean update a provider item list for a user after deleting all previously defined providers

# Graphql Schema

gql schema for this model goes

extend type Mutation {
    addProvider(provider: IProvider) : Provider
    addProviderList(providers: [IProvider]) : Boolean
    removeProvider(provider: IProvider) : Boolean
    updateProvider(provider: String! , source: String!, update: IProvider) : Provider
    cleanUpdateProviderList(providers: [IProvider]!) : Boolean
}
1
2
3
4
5
6
7