Comparing version 2.0.2 to 2.0.3-experimental.0
@@ -0,0 +0,0 @@ import type { ProxyAccessor } from '../Cache'; |
@@ -0,0 +0,0 @@ import { Selection } from '../Selection'; |
@@ -0,0 +0,0 @@ import type { Selection } from '../Selection'; |
export * from './accessorCache'; | ||
export * from './dataCache'; |
@@ -0,0 +0,0 @@ import type { SelectionManager } from '../Selection/SelectionManager'; |
@@ -0,0 +0,0 @@ import { AssignSelections, SchemaUnions, SetCache } from '../Accessor'; |
export * from './client'; | ||
export type { ResolveOptions, InlineResolveOptions } from './resolvers'; |
@@ -0,0 +0,0 @@ import { CacheInstance } from '../Cache'; |
@@ -0,0 +0,0 @@ import type { GraphQLError } from 'graphql'; |
@@ -0,0 +0,0 @@ export declare type RetryOptions = { |
@@ -0,0 +0,0 @@ import type { ExecutionResult } from 'graphql'; |
@@ -0,0 +0,0 @@ export declare type NotUndefined<T> = T extends undefined ? never : T; |
export declare function getFields<TAccesorData extends object | undefined | null, TAccesorKeys extends keyof NonNullable<TAccesorData>>(accessor: TAccesorData, ...keys: TAccesorKeys[]): TAccesorData; | ||
export declare function getArrayFields<TArrayValue extends object | null | undefined, TArray extends TArrayValue[] | null | undefined, TArrayValueKeys extends keyof NonNullable<NonNullable<TArray>[number]>>(accessorArray: TArray, ...keys: TArrayValueKeys[]): TArray; |
@@ -0,0 +0,0 @@ export * from './selectFields'; |
@@ -0,0 +0,0 @@ import type { InnerClientState } from '../Client/client'; |
@@ -0,0 +0,0 @@ export interface PrepassObjKey { |
@@ -0,0 +0,0 @@ import type { InnerClientState } from '../Client/client'; |
export declare function selectFields<A extends object | null | undefined>(accessor: A, fields?: '*' | Array<string | number>, recursionDepth?: number): A; |
@@ -0,0 +0,0 @@ import type { ProxyAccessor } from '../Cache'; |
@@ -0,0 +0,0 @@ import { GQtyError } from '../Error'; |
export declare type Variables<Field extends (...args: [any]) => any = never> = Parameters<Field>[0]; | ||
export declare type Args<Field extends (...args: [any]) => any = never> = Variables<Field>; |
@@ -0,0 +0,0 @@ export * from './Client'; |
@@ -0,0 +0,0 @@ import type { Selection } from '../Selection'; |
@@ -0,0 +0,0 @@ import type { CacheType } from '../Cache'; |
{ | ||
"name": "gqty", | ||
"version": "2.0.2", | ||
"version": "2.0.3-experimental.0", | ||
"description": "gqty client without queries", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -0,0 +0,0 @@ import type { Selection } from '../Selection'; |
export * from './buildQuery'; |
@@ -0,0 +0,0 @@ # [GQty](https://gqty.dev) [![Documentation](https://img.shields.io/badge/documentation-documentation?color=C00B84)](https://gqty.dev) |
@@ -0,0 +0,0 @@ import type { GQtyError } from '../Error'; |
export * from './types'; |
@@ -0,0 +0,0 @@ import type { ExecutionResult } from 'graphql'; |
export * from './selection'; | ||
export type { SelectionManager } from './SelectionManager'; |
@@ -0,0 +0,0 @@ export declare enum SelectionType { |
@@ -0,0 +0,0 @@ import { Selection, SelectionConstructorArgs } from './selection'; |
export declare function serializeVariables(variables: Record<string, unknown>): string; |
export declare function decycle<T extends object>(object: T): T; | ||
export declare function retrocycle<T>($: T): T; |
export declare function debounce<T extends unknown[]>(fn: (...args: T) => void, delay: number): (...args: Parameters<typeof fn>) => void; |
@@ -0,0 +0,0 @@ export declare const isInteger: (v: any) => v is number; |
@@ -0,0 +0,0 @@ export declare type PlainObject = Record<string | number | symbol, unknown>; |
@@ -25,3 +25,3 @@ 'use strict'; | ||
} | ||
Reflect.set(target, sourceKey, sourceValue); | ||
Reflect.set(target, sourceKey, isObject(sourceValue) ? deepAssign(Array.isArray(sourceValue) ? [] : {}, [sourceValue], onConflict) : sourceValue); | ||
} | ||
@@ -28,0 +28,0 @@ } |
@@ -0,0 +0,0 @@ export declare class PLazy<ValueType> extends Promise<ValueType> { |
@@ -0,0 +0,0 @@ import type { Selection } from '../Selection'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
240370
1