polen
Version:
A framework for delightful GraphQL developer portals
18 lines (15 loc) • 366 B
text/typescript
export const standardScalarTypeNames = {
String: `String`,
ID: `ID`,
Int: `Int`,
Float: `Float`,
Boolean: `Boolean`,
}
export interface StandardScalarRuntimeTypeMap {
String: string
ID: string
Int: number
Float: number
Boolean: boolean
}
export type StandardScalarRuntimeTypes = StandardScalarRuntimeTypeMap[keyof StandardScalarRuntimeTypeMap]