Class: GraphqlService
model/graphql/graphql.service.GraphqlService
Constructors
constructor
• new GraphqlService(internalApiEndpoint?
, internalApiToken?
)
Parameters
Name | Type | Default value |
---|---|---|
internalApiEndpoint | string | process.env.GROPIUS_INTERNAL_BACKEND_ENDPOINT |
internalApiToken | string | process.env.GROPIUS_INTERNAL_BACKEND_TOKEN |
Defined in
gropius-login-service/backend/src/model/graphql/graphql.service.ts:10
Properties
client
• Private
Readonly
client: GraphQLClient
Defined in
gropius-login-service/backend/src/model/graphql/graphql.service.ts:7
sdk
• Readonly
sdk: Object
Type declaration
Name | Type |
---|---|
checkUserIsAdmin | (variables : Exact <{ id : string }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <CheckUserIsAdminQuery > |
createNewImsUserInIms | (variables : Exact <{ input : CreateImsUserInput }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <CreateNewImsUserInImsMutation > |
createNewUser | (variables : Exact <{ input : CreateGropiusUserInput }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <CreateNewUserMutation > |
getAllGrpiusUsers | (variables? : Exact <{ [key: string] : never ; }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <GetAllGrpiusUsersQuery > |
getBasicGropiusUserData | (variables : Exact <{ id : string }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <GetBasicGropiusUserDataQuery > |
getBasicImsUserData | (variables : Exact <{ imsUserId : string }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <GetBasicImsUserDataQuery > |
getImsUserDetails | (variables : Exact <{ imsUserId : string }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <GetImsUserDetailsQuery > |
getImsUsersByTemplatedFieldValues | (variables : Exact <{ imsFilterInput : ImsFilterInput ; userFilterInput : ImsUserFilterInput }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <GetImsUsersByTemplatedFieldValuesQuery > |
getUserByName | (variables : Exact <{ username : string }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <GetUserByNameQuery > |
setImsUserLink | (variables : Exact <{ gropiusUserId : string ; imsUserId : string }>, requestHeaders? : GraphQLClientRequestHeaders ) => Promise <SetImsUserLinkMutation > |
Defined in
gropius-login-service/backend/src/model/graphql/graphql.service.ts:8