// Query builder (Typescript version >= 4.1.3 required) const queryResult = executeGiraffeql({ // Start typing here to get hints }); export function executeGiraffeql( query: GetQuery ): GetResponse { let data: any; return data; } // scaffolding export type GetQuery = K extends never ? Partial>> : Record>; export type GetResponse = Responseize; export type GetType = Responseize> type Primitive = string | number | boolean | undefined | null; type Field = { Type: T; Args: K; }; type Responseize = T extends Field ? Type extends never ? never : Type extends (infer U)[] ? { [P in keyof U]: Responseize }[] : { [P in keyof Type]: Responseize } : never; type Queryize = T extends Field ? Type extends never ? never : Type extends Primitive ? Args extends undefined // Args is undefined ? LookupValue : Args extends [infer Arg] ? LookupValue | { __args: Arg } // Args is a tuple : { __args: Args } : Type extends (infer U)[] ? Queryize> : Args extends undefined // Args is undefined ? { [P in keyof Type]?: Queryize } : Args extends [infer Arg] ? { [P in keyof Type]?: Queryize } & { __args?: Arg; } : { [P in keyof Type]?: Queryize } & { __args: Args } : never; type LookupValue = true type Edge = { __typename: Field; node: Field; cursor: Field; }; export type FilterByField = { eq?: T neq?: T gt?: T lt?: T in?: T[] nin?: T[] regex?: Scalars['regex'] } /**All Scalar values*/export type Scalars={/**String value*/"string":(string);/**True or False*/"boolean":(boolean);/**Numeric value*/"number":(number);/**Unknown value*/"unknown":(unknown);/**Image URL Field*/"imageUrl":(string);/**UNIX Timestamp (Seconds since Epoch Time)*/"unixTimestamp":(number);/**Date YYYY-MM-DD*/"date":(string);/**ID Field*/"id":(number);/**Regex Field*/"regex":(RegExp);/**Valid JSON*/"json":(unknown);/**Valid JSON as a string*/"jsonString":(string);/**Enum stored as a separate key value*/"userRole":("NORMAL"|"NONE"|"ADMIN"|"MODERATOR");/**Enum stored as is*/"userPermission":("A_A"|"user_x"|"user_get"|"user_getMultiple"|"user_update"|"user_create"|"user_delete"|"personalBest_create"|"personalBest_flag"|"product_create"|"apiKey_create"|"userUserFollowLink_get");/**Enum stored as is*/"scoreMethod":("STANDARD"|"FMC"|"MBLD");"userSortByKey":("id"|"createdAt"|"updatedAt");"userGroupByKey":(undefined);"eventSortByKey":("id"|"createdAt");"eventGroupByKey":(undefined);"productSortByKey":("id"|"createdAt");"productGroupByKey":(undefined);"personalBestClassSortByKey":("id"|"createdAt");"personalBestClassGroupByKey":(undefined);"personalBestSortByKey":("id"|"createdAt"|"score"|"event.name"|"pbClass.name"|"setSize"|"timeElapsed"|"happenedOn"|"isCurrent");"personalBestGroupByKey":(undefined);"legacyRecordSortByKey":("id");"legacyRecordGroupByKey":(undefined);"apiKeySortByKey":("id"|"createdAt");"apiKeyGroupByKey":(undefined);"userUserFollowLinkSortByKey":("createdAt");"userUserFollowLinkGroupByKey":(undefined);} /**All Input types*/export type InputTypes={"user":{"id"?:(Scalars['id']);};"userFilterByField/id":(FilterByField);"userFilterByField/createdBy.id":(FilterByField);"userFilterByField/createdBy.name":(FilterByField);"userFilterByField/role":(FilterByField);"userFilterByField/name":(FilterByField);"userFilterByField/isPublic":(FilterByField);"userFilterByField/isFeatured":(FilterByField);"userFilterByField/userUserFollowLink/user.id":(FilterByField);"userFilterByField/userUserFollowLink/target.id":(FilterByField);"userFilterByObject":{"id"?:(InputTypes['userFilterByField/id']);"createdBy.id"?:(InputTypes['userFilterByField/createdBy.id']);"createdBy.name"?:(InputTypes['userFilterByField/createdBy.name']);"role"?:(InputTypes['userFilterByField/role']);"name"?:(InputTypes['userFilterByField/name']);"isPublic"?:(InputTypes['userFilterByField/isPublic']);"isFeatured"?:(InputTypes['userFilterByField/isFeatured']);"userUserFollowLink/user.id"?:(InputTypes['userFilterByField/userUserFollowLink/user.id']);"userUserFollowLink/target.id"?:(InputTypes['userFilterByField/userUserFollowLink/target.id']);};"userPaginator":{"first"?:(Scalars['number']);"last"?:(Scalars['number']);"after"?:(Scalars['string']);"before"?:(Scalars['string']);"sortBy"?:(Scalars['userSortByKey'])[];"sortDesc"?:(Scalars['boolean'])[];"filterBy"?:(InputTypes['userFilterByObject'])[];"groupBy"?:(Scalars['userGroupByKey'])[];"search"?:(Scalars['string']);};"createUser":{"provider":(Scalars['string']);"providerId":(Scalars['string']);"wcaId"?:(Scalars['string'])|null;"email":(Scalars['string']);"name":(Scalars['string']);"avatar"?:(Scalars['string'])|null;"country"?:(Scalars['string'])|null;"isPublic"?:(Scalars['boolean']);"isFeatured"?:(Scalars['boolean']);"role"?:(Scalars['userRole']);"permissions"?:(Scalars['userPermission'])[]|null;};"updateUserFields":{"email"?:(Scalars['string']);"name"?:(Scalars['string']);"avatar"?:(Scalars['string'])|null;"country"?:(Scalars['string'])|null;"isPublic"?:(Scalars['boolean']);"isFeatured"?:(Scalars['boolean']);"role"?:(Scalars['userRole']);"permissions"?:(Scalars['userPermission'])[]|null;};"updateUser":{"item":(InputTypes['user']);"fields":(InputTypes['updateUserFields']);};"socialLogin":{"provider":(Scalars['string']);"code":(Scalars['string']);"redirectUri":(Scalars['string']);};"event":{"id"?:(Scalars['id']);"code"?:(Scalars['string']);};"eventFilterByField/id":(FilterByField);"eventFilterByField/createdBy.id":(FilterByField);"eventFilterByField/code":(FilterByField);"eventFilterByObject":{"id"?:(InputTypes['eventFilterByField/id']);"createdBy.id"?:(InputTypes['eventFilterByField/createdBy.id']);"code"?:(InputTypes['eventFilterByField/code']);};"eventPaginator":{"first"?:(Scalars['number']);"last"?:(Scalars['number']);"after"?:(Scalars['string']);"before"?:(Scalars['string']);"sortBy"?:(Scalars['eventSortByKey'])[];"sortDesc"?:(Scalars['boolean'])[];"filterBy"?:(InputTypes['eventFilterByObject'])[];"groupBy"?:(Scalars['eventGroupByKey'])[];"search"?:(Scalars['string']);};"createEvent":{"name":(Scalars['string']);"description"?:(Scalars['string'])|null;"code":(Scalars['string']);"cubingIcon"?:(Scalars['string'])|null;"scoreMethod":(Scalars['scoreMethod']);"isSubEvent"?:(Scalars['boolean']);"isWcaEvent"?:(Scalars['boolean']);};"updateEventFields":{"name"?:(Scalars['string']);"description"?:(Scalars['string'])|null;"code"?:(Scalars['string']);"cubingIcon"?:(Scalars['string'])|null;"scoreMethod"?:(Scalars['scoreMethod']);"isSubEvent"?:(Scalars['boolean']);"isWcaEvent"?:(Scalars['boolean']);};"updateEvent":{"item":(InputTypes['event']);"fields":(InputTypes['updateEventFields']);};"product":{"id"?:(Scalars['id']);};"productFilterByField/id":(FilterByField);"productFilterByField/createdBy.id":(FilterByField);"productFilterByObject":{"id"?:(InputTypes['productFilterByField/id']);"createdBy.id"?:(InputTypes['productFilterByField/createdBy.id']);};"productPaginator":{"first"?:(Scalars['number']);"last"?:(Scalars['number']);"after"?:(Scalars['string']);"before"?:(Scalars['string']);"sortBy"?:(Scalars['productSortByKey'])[];"sortDesc"?:(Scalars['boolean'])[];"filterBy"?:(InputTypes['productFilterByObject'])[];"groupBy"?:(Scalars['productGroupByKey'])[];"search"?:(Scalars['string']);};"createProduct":{"name":(Scalars['string']);};"updateProductFields":{"name"?:(Scalars['string']);};"updateProduct":{"item":(InputTypes['product']);"fields":(InputTypes['updateProductFields']);};"personalBestClass":{"id"?:(Scalars['id']);};"personalBestClassFilterByField/id":(FilterByField);"personalBestClassFilterByField/createdBy.id":(FilterByField);"personalBestClassFilterByObject":{"id"?:(InputTypes['personalBestClassFilterByField/id']);"createdBy.id"?:(InputTypes['personalBestClassFilterByField/createdBy.id']);};"personalBestClassPaginator":{"first"?:(Scalars['number']);"last"?:(Scalars['number']);"after"?:(Scalars['string']);"before"?:(Scalars['string']);"sortBy"?:(Scalars['personalBestClassSortByKey'])[];"sortDesc"?:(Scalars['boolean'])[];"filterBy"?:(InputTypes['personalBestClassFilterByObject'])[];"groupBy"?:(Scalars['personalBestClassGroupByKey'])[];"search"?:(Scalars['string']);};"createPersonalBestClass":{"name":(Scalars['string']);"description"?:(Scalars['string'])|null;"setSize"?:(Scalars['number'])|null;};"updatePersonalBestClassFields":{"name"?:(Scalars['string']);"description"?:(Scalars['string'])|null;};"updatePersonalBestClass":{"item":(InputTypes['personalBestClass']);"fields":(InputTypes['updatePersonalBestClassFields']);};"personalBest":{"id"?:(Scalars['id']);};"personalBestFilterByField/id":(FilterByField);"personalBestFilterByField/createdBy.id":(FilterByField);"personalBestFilterByField/createdBy.isPublic":(FilterByField);"personalBestFilterByField/product.id":(FilterByField);"personalBestFilterByField/event.id":(FilterByField);"personalBestFilterByField/pbClass.id":(FilterByField);"personalBestFilterByField/happenedOn":(FilterByField);"personalBestFilterByField/isCurrent":(FilterByField);"personalBestFilterByField/setSize":(FilterByField);"personalBestFilterByField/createdBy.userUserFollowLink/user.id":(FilterByField);"personalBestFilterByField/isFlagged":(FilterByField);"personalBestFilterByObject":{"id"?:(InputTypes['personalBestFilterByField/id']);"createdBy.id"?:(InputTypes['personalBestFilterByField/createdBy.id']);"createdBy.isPublic"?:(InputTypes['personalBestFilterByField/createdBy.isPublic']);"product.id"?:(InputTypes['personalBestFilterByField/product.id']);"event.id"?:(InputTypes['personalBestFilterByField/event.id']);"pbClass.id"?:(InputTypes['personalBestFilterByField/pbClass.id']);"happenedOn"?:(InputTypes['personalBestFilterByField/happenedOn']);"isCurrent"?:(InputTypes['personalBestFilterByField/isCurrent']);"setSize"?:(InputTypes['personalBestFilterByField/setSize']);"createdBy.userUserFollowLink/user.id"?:(InputTypes['personalBestFilterByField/createdBy.userUserFollowLink/user.id']);"isFlagged"?:(InputTypes['personalBestFilterByField/isFlagged']);};"personalBestPaginator":{"first"?:(Scalars['number']);"last"?:(Scalars['number']);"after"?:(Scalars['string']);"before"?:(Scalars['string']);"sortBy"?:(Scalars['personalBestSortByKey'])[];"sortDesc"?:(Scalars['boolean'])[];"filterBy"?:(InputTypes['personalBestFilterByObject'])[];"groupBy"?:(Scalars['personalBestGroupByKey'])[];"search"?:(Scalars['string']);};"createPersonalBest":{"pbClass":(InputTypes['personalBestClass']);"event":(InputTypes['event']);"setSize":(Scalars['number']);"attemptsSucceeded"?:(Scalars['number'])|null;"attemptsTotal"?:(Scalars['number'])|null;"product"?:(InputTypes['product'])|null;"happenedOn"?:(Scalars['unixTimestamp']);"timeElapsed"?:(Scalars['number'])|null;"movesCount"?:(Scalars['number'])|null;"publicComments"?:(Scalars['string'])|null;};"updatePersonalBestFields":{"product"?:(InputTypes['product'])|null;"isFlagged"?:(Scalars['boolean']);"publicComments"?:(Scalars['string'])|null;};"updatePersonalBest":{"item":(InputTypes['personalBest']);"fields":(InputTypes['updatePersonalBestFields']);};"flagPersonalBest":{"item":(InputTypes['personalBest']);};"legacyRecord":{"id"?:(Scalars['id']);};"legacyRecordFilterByField/id":(FilterByField);"legacyRecordFilterByField/email":(FilterByField);"legacyRecordFilterByObject":{"id"?:(InputTypes['legacyRecordFilterByField/id']);"email"?:(InputTypes['legacyRecordFilterByField/email']);};"legacyRecordPaginator":{"first"?:(Scalars['number']);"last"?:(Scalars['number']);"after"?:(Scalars['string']);"before"?:(Scalars['string']);"sortBy"?:(Scalars['legacyRecordSortByKey'])[];"sortDesc"?:(Scalars['boolean'])[];"filterBy"?:(InputTypes['legacyRecordFilterByObject'])[];"groupBy"?:(Scalars['legacyRecordGroupByKey'])[];};"createLegacyRecord":{"wcaEventId"?:(Scalars['string'])|null;"recordType":(Scalars['number']);"numberOfSolves":(Scalars['number']);"result":(Scalars['number']);"otherEventName"?:(Scalars['string'])|null;"mainCube"?:(Scalars['string'])|null;"eventType":(Scalars['number']);"date"?:(Scalars['unixTimestamp'])|null;"email":(Scalars['string']);};"updateLegacyRecordFields":{"wcaEventId"?:(Scalars['string'])|null;"recordType"?:(Scalars['number']);"numberOfSolves"?:(Scalars['number']);"result"?:(Scalars['number']);"otherEventName"?:(Scalars['string'])|null;"mainCube"?:(Scalars['string'])|null;"eventType"?:(Scalars['number']);"date"?:(Scalars['unixTimestamp'])|null;"email"?:(Scalars['string']);};"updateLegacyRecord":{"item":(InputTypes['legacyRecord']);"fields":(InputTypes['updateLegacyRecordFields']);};"apiKey":{"id"?:(Scalars['id']);};"apiKeyFilterByField/id":(FilterByField);"apiKeyFilterByField/user.id":(FilterByField);"apiKeyFilterByObject":{"id"?:(InputTypes['apiKeyFilterByField/id']);"user.id"?:(InputTypes['apiKeyFilterByField/user.id']);};"apiKeyPaginator":{"first"?:(Scalars['number']);"last"?:(Scalars['number']);"after"?:(Scalars['string']);"before"?:(Scalars['string']);"sortBy"?:(Scalars['apiKeySortByKey'])[];"sortDesc"?:(Scalars['boolean'])[];"filterBy"?:(InputTypes['apiKeyFilterByObject'])[];"groupBy"?:(Scalars['apiKeyGroupByKey'])[];};"createApiKey":{"name":(Scalars['string']);"user":(InputTypes['user']);"permissions"?:(Scalars['userPermission'])[]|null;};"updateApiKeyFields":{"name"?:(Scalars['string']);"user"?:(InputTypes['user']);"permissions"?:(Scalars['userPermission'])[]|null;};"updateApiKey":{"item":(InputTypes['apiKey']);"fields":(InputTypes['updateApiKeyFields']);};/**Input object for getRepositoryReleases*/"getRepositoryReleases":{"first":(Scalars['number']);};"userUserFollowLinkFilterByField/user.id":(FilterByField);"userUserFollowLinkFilterByField/target.id":(FilterByField);"userUserFollowLinkFilterByObject":{"user.id"?:(InputTypes['userUserFollowLinkFilterByField/user.id']);"target.id"?:(InputTypes['userUserFollowLinkFilterByField/target.id']);};"userUserFollowLinkPaginator":{"first"?:(Scalars['number']);"last"?:(Scalars['number']);"after"?:(Scalars['string']);"before"?:(Scalars['string']);"sortBy"?:(Scalars['userUserFollowLinkSortByKey'])[];"sortDesc"?:(Scalars['boolean'])[];"filterBy"?:(InputTypes['userUserFollowLinkFilterByObject'])[];"groupBy"?:(Scalars['userUserFollowLinkGroupByKey'])[];};"userUserFollowLink":{"id"?:(Scalars['id']);};"createUserUserFollowLink":{"user":(InputTypes['user']);"target":(InputTypes['user']);};} /**All main types*/export type MainTypes={"paginatorInfo":{"Typename":("paginatorInfo");"Type":(GetType);};"userEdge":{"Typename":("userEdge");"Type":(GetType);};"userPaginator":{"Typename":("userPaginator");"Type":(GetType);};"eventEdge":{"Typename":("eventEdge");"Type":(GetType);};"eventPaginator":{"Typename":("eventPaginator");"Type":(GetType);};"productEdge":{"Typename":("productEdge");"Type":(GetType);};"productPaginator":{"Typename":("productPaginator");"Type":(GetType);};"personalBestClassEdge":{"Typename":("personalBestClassEdge");"Type":(GetType);};"personalBestClassPaginator":{"Typename":("personalBestClassPaginator");"Type":(GetType);};"personalBestEdge":{"Typename":("personalBestEdge");"Type":(GetType);};"personalBestPaginator":{"Typename":("personalBestPaginator");"Type":(GetType);};"legacyRecordEdge":{"Typename":("legacyRecordEdge");"Type":(GetType);};"legacyRecordPaginator":{"Typename":("legacyRecordPaginator");"Type":(GetType);};"apiKeyEdge":{"Typename":("apiKeyEdge");"Type":(GetType);};"apiKeyPaginator":{"Typename":("apiKeyPaginator");"Type":(GetType);};"userUserFollowLinkEdge":{"Typename":("userUserFollowLinkEdge");"Type":(GetType);};"userUserFollowLinkPaginator":{"Typename":("userUserFollowLinkPaginator");"Type":(GetType);};"userUserFollowLink":{"Typename":("userUserFollowLink");"Type":(GetType);};"userRoleEnumPaginator":{"Typename":("userRoleEnumPaginator");"Type":(GetType);};"scoreMethodEnumPaginator":{"Typename":("scoreMethodEnumPaginator");"Type":(GetType);};"user":{"Typename":("user");"Type":(GetType);};"auth":{"Typename":("auth");"Type":(GetType);};"event":{"Typename":("event");"Type":(GetType);};"product":{"Typename":("product");"Type":(GetType);};"personalBestClass":{"Typename":("personalBestClass");"Type":(GetType);};"personalBest":{"Typename":("personalBest");"Type":(GetType);};"legacyRecord":{"Typename":("legacyRecord");"Type":(GetType);};"apiKey":{"Typename":("apiKey");"Type":(GetType);};} /**PaginatorInfo Type*/export type PaginatorInfo={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"total":{"Type":(Scalars['number']);"Args":(undefined);};"count":{"Type":(Scalars['number']);"Args":(undefined);};"startCursor":{"Type":(Scalars['string'])|null;"Args":(undefined);};"endCursor":{"Type":(Scalars['string'])|null;"Args":(undefined);};} export type UserEdge=(Edge) /**Paginator*/export type UserPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"paginatorInfo":{"Type":(PaginatorInfo);"Args":(undefined);};"edges":{"Type":(UserEdge)[];"Args":(undefined);};} export type EventEdge=(Edge) /**Paginator*/export type EventPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"paginatorInfo":{"Type":(PaginatorInfo);"Args":(undefined);};"edges":{"Type":(EventEdge)[];"Args":(undefined);};} export type ProductEdge=(Edge) /**Paginator*/export type ProductPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"paginatorInfo":{"Type":(PaginatorInfo);"Args":(undefined);};"edges":{"Type":(ProductEdge)[];"Args":(undefined);};} export type PersonalBestClassEdge=(Edge) /**Paginator*/export type PersonalBestClassPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"paginatorInfo":{"Type":(PaginatorInfo);"Args":(undefined);};"edges":{"Type":(PersonalBestClassEdge)[];"Args":(undefined);};} export type PersonalBestEdge=(Edge) /**Paginator*/export type PersonalBestPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"paginatorInfo":{"Type":(PaginatorInfo);"Args":(undefined);};"edges":{"Type":(PersonalBestEdge)[];"Args":(undefined);};} export type LegacyRecordEdge=(Edge) /**Paginator*/export type LegacyRecordPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"paginatorInfo":{"Type":(PaginatorInfo);"Args":(undefined);};"edges":{"Type":(LegacyRecordEdge)[];"Args":(undefined);};} export type ApiKeyEdge=(Edge) /**Paginator*/export type ApiKeyPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"paginatorInfo":{"Type":(PaginatorInfo);"Args":(undefined);};"edges":{"Type":(ApiKeyEdge)[];"Args":(undefined);};} export type UserUserFollowLinkEdge=(Edge) /**Paginator*/export type UserUserFollowLinkPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"paginatorInfo":{"Type":(PaginatorInfo);"Args":(undefined);};"edges":{"Type":(UserUserFollowLinkEdge)[];"Args":(undefined);};} /**Link type*/export type UserUserFollowLink={/**The unique ID of the field*/"id":{"Type":(Scalars['id']);"Args":(undefined);};/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"user":{"Type":(User);"Args":(undefined);};"target":{"Type":(User);"Args":(undefined);};/**When the record was created*/"createdAt":{"Type":(Scalars['unixTimestamp']);"Args":(undefined);};/**When the record was last updated*/"updatedAt":{"Type":(Scalars['unixTimestamp'])|null;"Args":(undefined);};"createdBy":{"Type":(User);"Args":(undefined);};} /**EnumPaginator*/export type UserRoleEnumPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"values":{"Type":(Scalars['userRole'])[];"Args":(undefined);};} /**EnumPaginator*/export type ScoreMethodEnumPaginator={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"values":{"Type":(Scalars['scoreMethod'])[];"Args":(undefined);};} /**User type*/export type User={/**The unique ID of the field*/"id":{"Type":(Scalars['id']);"Args":(undefined);};/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"provider":{"Type":(never);"Args":(undefined);};"providerId":{"Type":(never);"Args":(undefined);};"wcaId":{"Type":(Scalars['string'])|null;"Args":(undefined);};"email":{"Type":(Scalars['string']);"Args":(undefined);};"name":{"Type":(Scalars['string']);"Args":(undefined);};"avatar":{"Type":(Scalars['string'])|null;"Args":(undefined);};"country":{"Type":(Scalars['string'])|null;"Args":(undefined);};"isPublic":{"Type":(Scalars['boolean']);"Args":(undefined);};"isFeatured":{"Type":(Scalars['boolean']);"Args":(undefined);};"role":{"Type":(Scalars['userRole']);"Args":(undefined);};"permissions":{"Type":(Scalars['userPermission'])[]|null;"Args":(undefined);};"allPermissions":{"Type":(Scalars['userPermission'])[];"Args":(undefined);};"currentUserFollowing":{"Type":(Scalars['id'])|null;"Args":(undefined);};/**When the record was created*/"createdAt":{"Type":(Scalars['unixTimestamp']);"Args":(undefined);};/**When the record was last updated*/"updatedAt":{"Type":(Scalars['unixTimestamp'])|null;"Args":(undefined);};"createdBy":{"Type":(User);"Args":(undefined);};} /**Authentication type*/export type Auth={/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"type":{"Type":(Scalars['string']);"Args":(undefined);};"token":{"Type":(Scalars['string']);"Args":(undefined);};"expiration":{"Type":(Scalars['number']);"Args":(undefined);};"expirationDays":{"Type":(Scalars['number']);"Args":(undefined);};"user":{"Type":(User);"Args":(undefined);};} /**Event Type*/export type Event={/**The unique ID of the field*/"id":{"Type":(Scalars['id']);"Args":(undefined);};/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"name":{"Type":(Scalars['string']);"Args":(undefined);};"description":{"Type":(Scalars['string'])|null;"Args":(undefined);};"code":{"Type":(Scalars['string']);"Args":(undefined);};"cubingIcon":{"Type":(Scalars['string'])|null;"Args":(undefined);};"scoreMethod":{"Type":(Scalars['scoreMethod']);"Args":(undefined);};"isSubEvent":{"Type":(Scalars['boolean']);"Args":(undefined);};"isWcaEvent":{"Type":(Scalars['boolean']);"Args":(undefined);};/**When the record was created*/"createdAt":{"Type":(Scalars['unixTimestamp']);"Args":(undefined);};/**When the record was last updated*/"updatedAt":{"Type":(Scalars['unixTimestamp'])|null;"Args":(undefined);};"createdBy":{"Type":(User);"Args":(undefined);};} /**Product Type*/export type Product={/**The unique ID of the field*/"id":{"Type":(Scalars['id']);"Args":(undefined);};/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"name":{"Type":(Scalars['string']);"Args":(undefined);};/**When the record was created*/"createdAt":{"Type":(Scalars['unixTimestamp']);"Args":(undefined);};/**When the record was last updated*/"updatedAt":{"Type":(Scalars['unixTimestamp'])|null;"Args":(undefined);};"createdBy":{"Type":(User);"Args":(undefined);};} /**Personal Best Type Type*/export type PersonalBestClass={/**The unique ID of the field*/"id":{"Type":(Scalars['id']);"Args":(undefined);};/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"name":{"Type":(Scalars['string']);"Args":(undefined);};"description":{"Type":(Scalars['string'])|null;"Args":(undefined);};"setSize":{"Type":(Scalars['number'])|null;"Args":(undefined);};/**When the record was created*/"createdAt":{"Type":(Scalars['unixTimestamp']);"Args":(undefined);};/**When the record was last updated*/"updatedAt":{"Type":(Scalars['unixTimestamp'])|null;"Args":(undefined);};"createdBy":{"Type":(User);"Args":(undefined);};} /**Personal Best*/export type PersonalBest={/**The unique ID of the field*/"id":{"Type":(Scalars['id']);"Args":(undefined);};/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"pbClass":{"Type":(PersonalBestClass);"Args":(undefined);};"event":{"Type":(Event);"Args":(undefined);};"setSize":{"Type":(Scalars['number']);"Args":(undefined);};"score":{"Type":(Scalars['number']);"Args":(undefined);};/**The number of successful attempts*/"attemptsSucceeded":{"Type":(Scalars['number'])|null;"Args":(undefined);};/**The total number of attempts*/"attemptsTotal":{"Type":(Scalars['number'])|null;"Args":(undefined);};"product":{"Type":(Product)|null;"Args":(undefined);};"happenedOn":{"Type":(Scalars['unixTimestamp']);"Args":(undefined);};/**The amount of ms time elapsed for the pb attempt*/"timeElapsed":{"Type":(Scalars['number'])|null;"Args":(undefined);};/**The amount of moves used in the pb attempt*/"movesCount":{"Type":(Scalars['number'])|null;"Args":(undefined);};"isCurrent":{"Type":(Scalars['boolean']);"Args":(undefined);};"isFlagged":{"Type":(Scalars['boolean']);"Args":(undefined);};"publicComments":{"Type":(Scalars['string'])|null;"Args":(undefined);};/**The numerical score rank of this PB given its event, pbClass, and setSize, among public PBs only*/"ranking":{"Type":(Scalars['number'])|null;"Args":(undefined);};/**When the record was created*/"createdAt":{"Type":(Scalars['unixTimestamp']);"Args":(undefined);};/**When the record was last updated*/"updatedAt":{"Type":(Scalars['unixTimestamp'])|null;"Args":(undefined);};"createdBy":{"Type":(User);"Args":(undefined);};} /**Legacy Record*/export type LegacyRecord={/**The unique ID of the field*/"id":{"Type":(Scalars['id']);"Args":(undefined);};/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"wcaEventId":{"Type":(Scalars['string'])|null;"Args":(undefined);};"recordType":{"Type":(Scalars['number']);"Args":(undefined);};"numberOfSolves":{"Type":(Scalars['number']);"Args":(undefined);};"result":{"Type":(Scalars['number']);"Args":(undefined);};"otherEventName":{"Type":(Scalars['string'])|null;"Args":(undefined);};"mainCube":{"Type":(Scalars['string'])|null;"Args":(undefined);};"eventType":{"Type":(Scalars['number']);"Args":(undefined);};"date":{"Type":(Scalars['unixTimestamp'])|null;"Args":(undefined);};"email":{"Type":(Scalars['string']);"Args":(undefined);};/**When the record was created*/"createdAt":{"Type":(Scalars['unixTimestamp']);"Args":(undefined);};/**When the record was last updated*/"updatedAt":{"Type":(Scalars['unixTimestamp'])|null;"Args":(undefined);};"createdBy":{"Type":(User);"Args":(undefined);};} /**API Key Type*/export type ApiKey={/**The unique ID of the field*/"id":{"Type":(Scalars['id']);"Args":(undefined);};/**The typename of the record*/"__typename":{"Type":(Scalars['string']);"Args":([Scalars['number']]);};"name":{"Type":(Scalars['string']);"Args":(undefined);};"code":{"Type":(Scalars['string']);"Args":(undefined);};"user":{"Type":(User);"Args":(undefined);};"permissions":{"Type":(Scalars['userPermission'])[]|null;"Args":(undefined);};/**When the record was created*/"createdAt":{"Type":(Scalars['unixTimestamp']);"Args":(undefined);};/**When the record was last updated*/"updatedAt":{"Type":(Scalars['unixTimestamp'])|null;"Args":(undefined);};"createdBy":{"Type":(User);"Args":(undefined);};} /**All Root resolvers*/export type Root={"getUserRoleEnumPaginator":{"Type":(UserRoleEnumPaginator);"Args":(undefined);};"getScoreMethodEnumPaginator":{"Type":(ScoreMethodEnumPaginator);"Args":(undefined);};"getCurrentUser":{"Type":(User);"Args":(undefined);};"getUser":{"Type":(User);"Args":(InputTypes['user']);};"getUserPaginator":{"Type":(UserPaginator);"Args":(InputTypes['userPaginator']);};"deleteUser":{"Type":(User);"Args":(InputTypes['user']);};"createUser":{"Type":(User);"Args":(InputTypes['createUser']);};"updateUser":{"Type":(User);"Args":(InputTypes['updateUser']);};"socialLogin":{"Type":(Auth);"Args":([InputTypes['socialLogin']]);};"getEvent":{"Type":(Event);"Args":(InputTypes['event']);};"getEventPaginator":{"Type":(EventPaginator);"Args":(InputTypes['eventPaginator']);};"deleteEvent":{"Type":(Event);"Args":(InputTypes['event']);};"createEvent":{"Type":(Event);"Args":(InputTypes['createEvent']);};"updateEvent":{"Type":(Event);"Args":(InputTypes['updateEvent']);};"getProduct":{"Type":(Product);"Args":(InputTypes['product']);};"getProductPaginator":{"Type":(ProductPaginator);"Args":(InputTypes['productPaginator']);};"deleteProduct":{"Type":(Product);"Args":(InputTypes['product']);};"createProduct":{"Type":(Product);"Args":(InputTypes['createProduct']);};"updateProduct":{"Type":(Product);"Args":(InputTypes['updateProduct']);};"getPersonalBestClass":{"Type":(PersonalBestClass);"Args":(InputTypes['personalBestClass']);};"getPersonalBestClassPaginator":{"Type":(PersonalBestClassPaginator);"Args":(InputTypes['personalBestClassPaginator']);};"deletePersonalBestClass":{"Type":(PersonalBestClass);"Args":(InputTypes['personalBestClass']);};"createPersonalBestClass":{"Type":(PersonalBestClass);"Args":(InputTypes['createPersonalBestClass']);};"updatePersonalBestClass":{"Type":(PersonalBestClass);"Args":(InputTypes['updatePersonalBestClass']);};"getPersonalBest":{"Type":(PersonalBest);"Args":(InputTypes['personalBest']);};"getPersonalBestPaginator":{"Type":(PersonalBestPaginator);"Args":(InputTypes['personalBestPaginator']);};"deletePersonalBest":{"Type":(PersonalBest);"Args":(InputTypes['personalBest']);};"createPersonalBest":{"Type":(PersonalBest);"Args":(InputTypes['createPersonalBest']);};"updatePersonalBest":{"Type":(PersonalBest);"Args":(InputTypes['updatePersonalBest']);};"flagPersonalBest":{"Type":(PersonalBest);"Args":(InputTypes['flagPersonalBest']);};"getLegacyRecord":{"Type":(LegacyRecord);"Args":(InputTypes['legacyRecord']);};"getLegacyRecordPaginator":{"Type":(LegacyRecordPaginator);"Args":(InputTypes['legacyRecordPaginator']);};"deleteLegacyRecord":{"Type":(LegacyRecord);"Args":(InputTypes['legacyRecord']);};"createLegacyRecord":{"Type":(LegacyRecord);"Args":(InputTypes['createLegacyRecord']);};"updateLegacyRecord":{"Type":(LegacyRecord);"Args":(InputTypes['updateLegacyRecord']);};"getApiKey":{"Type":(ApiKey);"Args":(InputTypes['apiKey']);};"getApiKeyPaginator":{"Type":(ApiKeyPaginator);"Args":(InputTypes['apiKeyPaginator']);};"deleteApiKey":{"Type":(ApiKey);"Args":(InputTypes['apiKey']);};"createApiKey":{"Type":(ApiKey);"Args":(InputTypes['createApiKey']);};"updateApiKey":{"Type":(ApiKey);"Args":(InputTypes['updateApiKey']);};"getRepositoryReleases":{"Type":(Scalars['unknown'])[];"Args":(InputTypes['getRepositoryReleases']);};"getRepositoryLatestVersion":{"Type":(Scalars['unknown'])|null;"Args":(undefined);};"getUserUserFollowLinkPaginator":{"Type":(UserUserFollowLinkPaginator);"Args":(InputTypes['userUserFollowLinkPaginator']);};"deleteUserUserFollowLink":{"Type":(UserUserFollowLink);"Args":(InputTypes['userUserFollowLink']);};"createUserUserFollowLink":{"Type":(UserUserFollowLink);"Args":(InputTypes['createUserUserFollowLink']);};}