@glvnzn/web-sdk
Advanced tools
Comparing version 1.0.21 to 1.0.22
import { Base } from '../base'; | ||
import { Game } from './types'; | ||
import { GameNode } from './types'; | ||
import { QueryParams } from './types'; | ||
export declare class Games extends Base { | ||
get(params?: QueryParams): Promise<Game[]>; | ||
get(params?: QueryParams): Promise<GameNode[]>; | ||
} |
@@ -1,2 +0,16 @@ | ||
export declare type Game = { | ||
export declare type QueryParams = { | ||
pageSize?: string; | ||
nextPageCursor?: string; | ||
filter?: { | ||
provider?: string; | ||
type?: string; | ||
}; | ||
}; | ||
export interface Provider { | ||
id: string; | ||
name: string; | ||
dateTimeCreated: string; | ||
dateTimeLastUpdated: string; | ||
} | ||
export interface GameNode { | ||
provider: Provider; | ||
@@ -15,21 +29,16 @@ type: string; | ||
id: string; | ||
}; | ||
export declare type PageInfo = { | ||
nextPageCursor?: string; | ||
} | ||
export interface Edge { | ||
cursor: string; | ||
node: GameNode; | ||
} | ||
export interface PageInfo { | ||
hasNextPage: boolean; | ||
startCursor: string; | ||
endCursor: string; | ||
} | ||
export interface GamesData { | ||
totalCount: number; | ||
}; | ||
export declare type QueryParams = { | ||
pageSize?: string; | ||
nextPageCursor?: string; | ||
filter?: { | ||
provider?: string; | ||
type?: string; | ||
}; | ||
}; | ||
interface Provider { | ||
id: string; | ||
name: string; | ||
dateTimeCreated: string; | ||
dateTimeLastUpdated: string; | ||
edges: Edge[]; | ||
pageInfo: PageInfo; | ||
} | ||
export {}; |
{ | ||
"name": "@glvnzn/web-sdk", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
8676
101