Skip to content

Commit

Permalink
api-extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Dec 4, 2023
1 parent 717dc2d commit b2d33d0
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .api-reports/api-report-utilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ import type { Observer } from 'zen-observable-ts';
import type { OperationDefinitionNode } from 'graphql';
import type { SelectionNode } from 'graphql';
import type { SelectionSetNode } from 'graphql';
import { StrongCache } from '@wry/caches';
import type { Subscriber } from 'zen-observable-ts';
import { Trie } from '@wry/trie';
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
import type { ValueNode } from 'graphql';
import type { VariableDefinitionNode } from 'graphql';
import type { VariableNode } from 'graphql';
import { WeakCache } from '@wry/caches';

// @public (undocumented)
export const addTypenameToDocument: (<TNode extends ASTNode>(doc: TNode) => TNode) & {
Expand Down Expand Up @@ -444,6 +446,24 @@ class CacheGroup {
resetCaching(): void;
}

// @public
interface CacheSizes {
canonicalStringify: number;
documentTransform: number;
fragmentRegistryFindFragmentSpreads: number;
fragmentRegistryLookup: number;
fragmentRegistryTransform: number;
parser: number;
persistedQueryHashes: number;
print: number;
queryManagerTransforms: number;
}

// Warning: (ae-forgotten-export) The symbol "CacheSizes" needs to be exported by the entry point index.d.ts
//
// @public
export const cacheSizes: CacheSizes;

// @public (undocumented)
const enum CacheWriteBehavior {
// (undocumented)
Expand Down Expand Up @@ -483,6 +503,20 @@ export const canUseWeakSet: boolean;
// @public (undocumented)
export function checkDocument(doc: DocumentNode): DocumentNode;

// @public
export class CleanStrongCache<K, V> extends StrongCache<K, V> {
constructor(max: number, dispose?: (value: V) => void);
// (undocumented)
set(key: K, value: V): V;
}

// @public
export class CleanWeakCache<K extends object, V> extends WeakCache<K, V> {
constructor(max: number, dispose?: (value: V) => void);
// (undocumented)
set(key: K, value: V): V;
}

// @public
export function cloneDeep<T>(value: T): T;

Expand Down

0 comments on commit b2d33d0

Please sign in to comment.