graphql-codegen-plugin-typescript-swr
Version:
A GraphQL code generator plug-in that automatically generates utility functions for SWR.
20 lines (17 loc) • 522 B
text/typescript
export type Maybe<T> = T | null;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: string;
String: string;
Boolean: boolean;
Int: number;
Float: number;
};
export type TestQueryVariables = Exact<{ [key: string]: never }>;
export type TestQuery = {
__typename?: 'Query';
testArr1?: Maybe<Array<Maybe<string>>>;
testArr2: Array<Maybe<string>>;
testArr3: Array<string>;
};