polen
Version:
A framework for delightful GraphQL developer portals
20 lines • 626 B
JavaScript
export const typeKindTokensIndex = {
// O
Object: { symbol: `O`, color: `iris` },
Interface: { symbol: `T`, color: `pink` },
Union: { symbol: `U`, color: `pink` },
// IO
Enum: { symbol: `E`, color: `orange` },
Scalar: { symbol: `S`, color: `orange` },
// I
InputObject: { symbol: `I`, color: `green` },
//
// rare (todo: never possible? limit to NAMED type kinds?)
List: { symbol: `L`, color: `gray` },
NonNull: { symbol: `N`, color: `gray` },
};
export const unknownTypeKindToken = {
symbol: `UNKNOWN`,
color: `jade`,
};
//# sourceMappingURL=type-kind-tokens.js.map