@luvio/graphql-parser 0.103.0 → 0.104.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gql.d.ts CHANGED
@@ -16,6 +16,14 @@ export declare const docMap: Map<string, DocumentNode>;
16
16
  */
17
17
  export declare const referenceMap: WeakMap<Object, DocumentNode>;
18
18
  export declare let addMetaschemaDirectives: boolean;
19
+ /**
20
+ * Returns document node if cached or else update the cache and return the document node
21
+ * @param inputString - operation string
22
+ * @returns DocumentNode
23
+ */
24
+ export declare function parseDocument(inputString: string): DocumentNode | null;
25
+ export declare function updateReferenceMapWithKnownKey(doc: DocumentNode, key: object): void;
26
+ export declare function updateReferenceMapAndGetKey(doc: DocumentNode): object;
19
27
  /**
20
28
  * Insert string and fragment substitutions with the actual nodes
21
29
  * @param inputString