@bitblit/ratchet-graphql 4.0.102-alpha → 4.0.103-alpha
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 → lib}/build/ratchet-graphql-info.d.ts +1 -1
- package/{dist → lib}/graphql/graphql-ratchet.js +4 -4
- package/{dist → lib}/graphql/provider/default-graphql-ratchet-error-handler.d.ts +1 -1
- package/{dist → lib}/graphql/provider/default-graphql-ratchet-error-handler.js +2 -2
- package/{dist → lib}/graphql/provider/local-fetch-query-provider.js +2 -2
- package/package.json +4 -4
- /package/{dist → lib}/build/ratchet-graphql-info.js +0 -0
- /package/{dist → lib}/graphql/graphql-ratchet.d.ts +0 -0
- /package/{dist → lib}/graphql/provider/graphql-ratchet-endpoint-provider.d.ts +0 -0
- /package/{dist → lib}/graphql/provider/graphql-ratchet-endpoint-provider.js +0 -0
- /package/{dist → lib}/graphql/provider/graphql-ratchet-error-handler.d.ts +0 -0
- /package/{dist → lib}/graphql/provider/graphql-ratchet-error-handler.js +0 -0
- /package/{dist → lib}/graphql/provider/graphql-ratchet-jwt-token-provider.d.ts +0 -0
- /package/{dist → lib}/graphql/provider/graphql-ratchet-jwt-token-provider.js +0 -0
- /package/{dist → lib}/graphql/provider/graphql-ratchet-query-provider.d.ts +0 -0
- /package/{dist → lib}/graphql/provider/graphql-ratchet-query-provider.js +0 -0
- /package/{dist → lib}/graphql/provider/local-fetch-query-provider.d.ts +0 -0
- /package/{dist → lib}/index.d.ts +0 -0
- /package/{dist → lib}/index.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BuildInformation } from '@bitblit/ratchet-common/
|
|
1
|
+
import { BuildInformation } from '@bitblit/ratchet-common/lib/build/build-information.js';
|
|
2
2
|
export declare class RatchetGraphqlInfo {
|
|
3
3
|
private constructor();
|
|
4
4
|
static buildInformation(): BuildInformation;
|
|
@@ -2,10 +2,10 @@ import { ApolloClient, gql, InMemoryCache } from '@apollo/client/core';
|
|
|
2
2
|
import { HttpLink } from '@apollo/client/link/http/HttpLink.js';
|
|
3
3
|
import { ApolloLink } from '@apollo/client/link/core/ApolloLink.js';
|
|
4
4
|
import { DefaultGraphqlRatchetErrorHandler } from './provider/default-graphql-ratchet-error-handler.js';
|
|
5
|
-
import { ErrorRatchet } from '@bitblit/ratchet-common/
|
|
6
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
7
|
-
import { RequireRatchet } from '@bitblit/ratchet-common/
|
|
8
|
-
import { StringRatchet } from '@bitblit/ratchet-common/
|
|
5
|
+
import { ErrorRatchet } from '@bitblit/ratchet-common/lib/lang/error-ratchet.js';
|
|
6
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
7
|
+
import { RequireRatchet } from '@bitblit/ratchet-common/lib/lang/require-ratchet.js';
|
|
8
|
+
import { StringRatchet } from '@bitblit/ratchet-common/lib/lang/string-ratchet.js';
|
|
9
9
|
export class GraphqlRatchet {
|
|
10
10
|
queryProvider;
|
|
11
11
|
endpointProvider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GraphqlRatchetErrorHandler } from './graphql-ratchet-error-handler.js';
|
|
2
|
-
import { LoggerLevelName } from '@bitblit/ratchet-common/
|
|
2
|
+
import { LoggerLevelName } from '@bitblit/ratchet-common/lib/logger/logger-level-name.js';
|
|
3
3
|
export declare class DefaultGraphqlRatchetErrorHandler implements GraphqlRatchetErrorHandler {
|
|
4
4
|
private logLevel;
|
|
5
5
|
private rethrow;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
2
|
-
import { LoggerLevelName } from '@bitblit/ratchet-common/
|
|
1
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
2
|
+
import { LoggerLevelName } from '@bitblit/ratchet-common/lib/logger/logger-level-name.js';
|
|
3
3
|
export class DefaultGraphqlRatchetErrorHandler {
|
|
4
4
|
logLevel;
|
|
5
5
|
rethrow;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Logger } from '@bitblit/ratchet-common/
|
|
2
|
-
import { StringRatchet } from '@bitblit/ratchet-common/
|
|
1
|
+
import { Logger } from '@bitblit/ratchet-common/lib/logger/logger.js';
|
|
2
|
+
import { StringRatchet } from '@bitblit/ratchet-common/lib/lang/string-ratchet.js';
|
|
3
3
|
import fetch from 'cross-fetch';
|
|
4
4
|
export class LocalFetchQueryProvider {
|
|
5
5
|
pathTemplate;
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitblit/ratchet-graphql",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.103-alpha",
|
|
4
4
|
"description": "Ratchet tools to simplify use of graphql",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"module": "index.js",
|
|
8
8
|
"files": [
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"lib/*",
|
|
10
|
+
"bin/*"
|
|
11
11
|
],
|
|
12
12
|
"contributors": [
|
|
13
13
|
"Christopher Weiss <bitblit@gmail.com>",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"config": {},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"watch": "tsc-watch",
|
|
33
|
-
"clean": "shx rm -Rf
|
|
33
|
+
"clean": "shx rm -Rf lib",
|
|
34
34
|
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
|
|
35
35
|
"docs": "typedoc",
|
|
36
36
|
"lint": "eslint src/**/*.ts",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{dist → lib}/index.d.ts
RENAMED
|
File without changes
|
/package/{dist → lib}/index.js
RENAMED
|
File without changes
|