@common-stack/client-core
Advanced tools
Comparing version 0.6.1-alpha.3 to 0.6.1-alpha.4
@@ -7,15 +7,15 @@ import { Cache } from '@apollo/client/cache'; | ||
import { IBaseClientFeatureShape } from './base-client-feature'; | ||
export declare type ResolverType = Resolvers | Resolvers[] | ((service: any) => Resolvers) | ((service: any) => Resolvers)[] | ((service: any) => any) | ((service: any) => any)[]; | ||
export declare type ApolloLinkFunc = (container: interfaces.Container) => ApolloLink; | ||
export declare type ApolloConnectionParamFunc = ((container: interfaces.Container) => ConnectionParams | Promise<ConnectionParams>) | ConnectionParams; | ||
export declare type IWSConnectionCallbackFunc = (webSocket: any, error: Error[], result?: any) => void | Promise<void>; | ||
export declare type ApolloWSConnectionCallbackFunc = (container: interfaces.Container) => IWSConnectionCallbackFunc; | ||
declare type IRetryLinkAttemptFuncs = (count: number, operation: Operation, error: any) => boolean | Promise<boolean>; | ||
declare type IClientStateQueryDefault<T, V> = { | ||
export type ResolverType = Resolvers | Resolvers[] | ((service: any) => Resolvers) | ((service: any) => Resolvers)[] | ((service: any) => any) | ((service: any) => any)[]; | ||
export type ApolloLinkFunc = (container: interfaces.Container) => ApolloLink; | ||
export type ApolloConnectionParamFunc = ((container: interfaces.Container) => ConnectionParams | Promise<ConnectionParams>) | ConnectionParams; | ||
export type IWSConnectionCallbackFunc = (webSocket: any, error: Error[], result?: any) => void | Promise<void>; | ||
export type ApolloWSConnectionCallbackFunc = (container: interfaces.Container) => IWSConnectionCallbackFunc; | ||
type IRetryLinkAttemptFuncs = (count: number, operation: Operation, error: any) => boolean | Promise<boolean>; | ||
type IClientStateQueryDefault<T, V> = { | ||
type: 'query'; | ||
} & Cache.WriteQueryOptions<T, V>; | ||
declare type IClientStateFragmentDefault<T, V> = { | ||
type IClientStateFragmentDefault<T, V> = { | ||
type: 'fragment'; | ||
} & Cache.WriteFragmentOptions<T, V>; | ||
export declare type IClientStateDefault<T = unknown, V = unknown> = IClientStateFragmentDefault<T, V> | IClientStateQueryDefault<T, V>; | ||
export type IClientStateDefault<T = unknown, V = unknown> = IClientStateFragmentDefault<T, V> | IClientStateQueryDefault<T, V>; | ||
export interface IClientStateConfig { | ||
@@ -22,0 +22,0 @@ /** |
{ | ||
"name": "@common-stack/client-core", | ||
"version": "0.6.1-alpha.3", | ||
"version": "0.6.1-alpha.4", | ||
"description": "common core for higher packages to depend on", | ||
@@ -22,3 +22,3 @@ "license": "ISC", | ||
"dependencies": { | ||
"@common-stack/core": "0.6.1-alpha.3" | ||
"@common-stack/core": "0.6.1-alpha.4" | ||
}, | ||
@@ -35,3 +35,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "8c23bfd49fb16286e23bf5d3d2dce2deb724b275" | ||
"gitHead": "8f1002595ef0da183fc26d37a4a185b9c94cfc76" | ||
} |
36899
33
575
+ Added@common-stack/core@0.6.1-alpha.4(transitive)
- Removed@common-stack/core@0.6.1-alpha.3(transitive)