Odoo GraphQL Subscription using Node, Express JS for Sample
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
638 B

4 months ago
import type { DocumentNode, VariableDefinitionNode } from "graphql";
export declare enum DocumentType {
Query = 0,
Mutation = 1,
Subscription = 2
}
export interface IDocumentDefinition {
type: DocumentType;
name: string;
variables: ReadonlyArray<VariableDefinitionNode>;
}
export declare function operationName(type: DocumentType): string;
export declare function parser(document: DocumentNode): IDocumentDefinition;
export declare namespace parser {
var resetCache: () => void;
}
export declare function verifyDocumentType(document: DocumentNode, type: DocumentType): void;
//# sourceMappingURL=index.d.ts.map