rune
Version:
CLI to upload your games to Rune
31 lines (30 loc) • 911 B
TypeScript
/**
* Queries for games data outside of React context
* @returns Promise resolving to games data
*/
export declare function queryGames(): Promise<{
games: {
__typename: "Game";
id: number;
title: string;
description: string | null;
gameDevs: {
__typename: "GameDevsConnection";
nodes: {
__typename: "GameDev";
userId: number;
displayName: string | null;
type: import("../../generated/types.js").GameDevType;
}[];
};
gameVersions: {
__typename: "GameVersionsConnection";
nodes: {
__typename: "GameVersion";
gameId: number;
gameVersionId: number;
status: import("../../generated/types.js").GameVersionStatus;
}[];
};
}[] | undefined;
}>;