@sprocketbot/gql-client
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -9,2 +9,4 @@ "use strict"; | ||
UserAuthenticationAccountType: "enum", | ||
ScrimMode: "enum", | ||
ScrimStatus: "enum", | ||
Query: { | ||
@@ -70,2 +72,84 @@ getSprocketConfiguration: { | ||
} | ||
}, | ||
createScrim: { | ||
createGroup: { | ||
type: "Boolean", | ||
array: false, | ||
arrayRequired: false, | ||
required: false | ||
}, | ||
data: { | ||
type: "CreateScrimInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
joinScrim: { | ||
createGroup: { | ||
type: "Boolean", | ||
array: false, | ||
arrayRequired: false, | ||
required: false | ||
}, | ||
group: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: false | ||
}, | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
leaveScrim: { | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
checkInToScrim: { | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
completeScrim: { | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
} | ||
@@ -98,2 +182,66 @@ }, | ||
} | ||
}, | ||
CreateScrimInput: { | ||
settings: { | ||
type: "ScrimSettingsInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
ScrimSettingsInput: { | ||
teamCount: { | ||
type: "Int", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
teamSize: { | ||
type: "Int", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
mode: { | ||
type: "ScrimMode", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
competitive: { | ||
type: "Boolean", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
ScrimPlayerInput: { | ||
id: { | ||
type: "Int", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
name: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
Subscription: { | ||
followScrim: { | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
} | ||
} | ||
@@ -192,9 +340,2 @@ }; | ||
}, | ||
Scrim: { | ||
id: "ID", | ||
createdAt: "DateTime", | ||
updatedAt: "DateTime", | ||
deletedAt: "DateTime", | ||
parent: "MatchParent" | ||
}, | ||
MatchParent: { | ||
@@ -206,3 +347,2 @@ id: "ID", | ||
event: "ScheduledEvent", | ||
scrim: "Scrim", | ||
fixture: "ScheduleFixture" | ||
@@ -673,10 +813,55 @@ }, | ||
}, | ||
ScrimPlayer: { | ||
id: "Int", | ||
name: "String", | ||
checkedIn: "Boolean", | ||
group: "String" | ||
}, | ||
ScrimSettings: { | ||
teamCount: "Int", | ||
teamSize: "Int", | ||
mode: "ScrimMode", | ||
competitive: "Boolean" | ||
}, | ||
ScrimGame: { | ||
teams: "ScrimPlayer" | ||
}, | ||
Scrim: { | ||
id: "String", | ||
status: "ScrimStatus", | ||
players: "ScrimPlayer", | ||
playerCount: "Int", | ||
settings: "ScrimSettings", | ||
games: "ScrimGame" | ||
}, | ||
ScrimEvent: { | ||
scrim: "Scrim", | ||
event: "String" | ||
}, | ||
ScrimMetrics: { | ||
pendingScrims: "Int", | ||
playersQueued: "Int", | ||
playersScrimming: "Int", | ||
totalPlayers: "Int", | ||
totalScrims: "Int" | ||
}, | ||
Query: { | ||
getSprocketConfiguration: "SprocketConfiguration", | ||
getUserByAuthAccount: "User", | ||
getOrganizationById: "Organization" | ||
getOrganizationById: "Organization", | ||
getAllScrims: "Scrim", | ||
getScrimMetrics: "ScrimMetrics" | ||
}, | ||
Mutation: { | ||
registerUser: "User", | ||
updateOrganizationProfile: "OrganizationProfile" | ||
updateOrganizationProfile: "OrganizationProfile", | ||
createScrim: "Scrim", | ||
joinScrim: "Boolean", | ||
leaveScrim: "Boolean", | ||
checkInToScrim: "Boolean", | ||
completeScrim: "Scrim" | ||
}, | ||
Subscription: { | ||
followScrim: "ScrimEvent", | ||
followScrimMetrics: "ScrimMetrics" | ||
} | ||
@@ -991,3 +1176,4 @@ }; | ||
"query": "Query", | ||
"mutation": "Mutation" | ||
"mutation": "Mutation", | ||
"subscription": "Subscription" | ||
}; | ||
@@ -994,0 +1180,0 @@ const Thunder = (fn) => (operation) => (o, ops) => exports.fullChainConstruct(fn)(operation, allOperations[operation])(o, ops); |
@@ -6,2 +6,4 @@ /* eslint-disable */ | ||
UserAuthenticationAccountType: "enum", | ||
ScrimMode: "enum", | ||
ScrimStatus: "enum", | ||
Query: { | ||
@@ -67,2 +69,84 @@ getSprocketConfiguration: { | ||
} | ||
}, | ||
createScrim: { | ||
createGroup: { | ||
type: "Boolean", | ||
array: false, | ||
arrayRequired: false, | ||
required: false | ||
}, | ||
data: { | ||
type: "CreateScrimInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
joinScrim: { | ||
createGroup: { | ||
type: "Boolean", | ||
array: false, | ||
arrayRequired: false, | ||
required: false | ||
}, | ||
group: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: false | ||
}, | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
leaveScrim: { | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
checkInToScrim: { | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
completeScrim: { | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
} | ||
@@ -95,2 +179,66 @@ }, | ||
} | ||
}, | ||
CreateScrimInput: { | ||
settings: { | ||
type: "ScrimSettingsInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
player: { | ||
type: "ScrimPlayerInput", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
ScrimSettingsInput: { | ||
teamCount: { | ||
type: "Int", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
teamSize: { | ||
type: "Int", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
mode: { | ||
type: "ScrimMode", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
competitive: { | ||
type: "Boolean", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
ScrimPlayerInput: { | ||
id: { | ||
type: "Int", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
}, | ||
name: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
}, | ||
Subscription: { | ||
followScrim: { | ||
scrimId: { | ||
type: "String", | ||
array: false, | ||
arrayRequired: false, | ||
required: true | ||
} | ||
} | ||
} | ||
@@ -189,9 +337,2 @@ }; | ||
}, | ||
Scrim: { | ||
id: "ID", | ||
createdAt: "DateTime", | ||
updatedAt: "DateTime", | ||
deletedAt: "DateTime", | ||
parent: "MatchParent" | ||
}, | ||
MatchParent: { | ||
@@ -203,3 +344,2 @@ id: "ID", | ||
event: "ScheduledEvent", | ||
scrim: "Scrim", | ||
fixture: "ScheduleFixture" | ||
@@ -670,10 +810,55 @@ }, | ||
}, | ||
ScrimPlayer: { | ||
id: "Int", | ||
name: "String", | ||
checkedIn: "Boolean", | ||
group: "String" | ||
}, | ||
ScrimSettings: { | ||
teamCount: "Int", | ||
teamSize: "Int", | ||
mode: "ScrimMode", | ||
competitive: "Boolean" | ||
}, | ||
ScrimGame: { | ||
teams: "ScrimPlayer" | ||
}, | ||
Scrim: { | ||
id: "String", | ||
status: "ScrimStatus", | ||
players: "ScrimPlayer", | ||
playerCount: "Int", | ||
settings: "ScrimSettings", | ||
games: "ScrimGame" | ||
}, | ||
ScrimEvent: { | ||
scrim: "Scrim", | ||
event: "String" | ||
}, | ||
ScrimMetrics: { | ||
pendingScrims: "Int", | ||
playersQueued: "Int", | ||
playersScrimming: "Int", | ||
totalPlayers: "Int", | ||
totalScrims: "Int" | ||
}, | ||
Query: { | ||
getSprocketConfiguration: "SprocketConfiguration", | ||
getUserByAuthAccount: "User", | ||
getOrganizationById: "Organization" | ||
getOrganizationById: "Organization", | ||
getAllScrims: "Scrim", | ||
getScrimMetrics: "ScrimMetrics" | ||
}, | ||
Mutation: { | ||
registerUser: "User", | ||
updateOrganizationProfile: "OrganizationProfile" | ||
updateOrganizationProfile: "OrganizationProfile", | ||
createScrim: "Scrim", | ||
joinScrim: "Boolean", | ||
leaveScrim: "Boolean", | ||
checkInToScrim: "Boolean", | ||
completeScrim: "Scrim" | ||
}, | ||
Subscription: { | ||
followScrim: "ScrimEvent", | ||
followScrimMetrics: "ScrimMetrics" | ||
} | ||
@@ -977,3 +1162,4 @@ }; | ||
"query": "Query", | ||
"mutation": "Mutation" | ||
"mutation": "Mutation", | ||
"subscription": "Subscription" | ||
}; | ||
@@ -980,0 +1166,0 @@ export const Thunder = (fn) => (operation) => (o, ops) => fullChainConstruct(fn)(operation, allOperations[operation])(o, ops); |
{ | ||
"name": "@sprocketbot/gql-client", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Contains a type-safe graphql client for the sprocket-core service", | ||
@@ -5,0 +5,0 @@ "types": "dist/gql-client.d.ts", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145947
4560