phx-react
Version:
PHX REACT
25 lines (24 loc) • 699 B
TypeScript
export type Variables = Record<string, unknown>;
export type BaseOptions = {
variables?: Variables;
isDelay?: boolean;
};
export type QueryOrPersistedId = {
query: string;
persistedId?: never;
} | {
query?: never;
persistedId: string;
};
type SchemaGroup = 'core-shared' | 'core-academic' | 'core-student' | 'core-finance' | 'core-admin' | 'core-lab';
export type GrpcQueryParams = QueryOrPersistedId & BaseOptions & {
isQuery: boolean;
};
export type GrpcQueryV6Params = QueryOrPersistedId & BaseOptions & {
schemaGroup: SchemaGroup;
isQuery: boolean;
};
export type GrpcQueryV6 = QueryOrPersistedId & BaseOptions & {
schemaGroup: SchemaGroup;
};
export {};