@grapi/server
Version:
Grapi Schema Generator For GraphQL Server
12 lines (11 loc) • 362 B
TypeScript
import { Kind } from 'graphql';
import { InputValue } from './interface';
export default class ObjectValue implements InputValue<Record<string, InputValue>> {
private readonly fields;
constructor({ fields }: {
fields: Record<string, InputValue>;
});
isScalar(): boolean;
getType(): Kind;
getValue(): Record<string, InputValue>;
}