adaptic-backend 1.0.295 → 1.0.296
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/apollo-client.server.cjs
CHANGED
@@ -2,26 +2,15 @@
|
|
2
2
|
// apollo-client.server.ts
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
4
|
exports.onError = exports.setContext = exports.split = exports.ApolloError = exports.gql = exports.HttpLink = exports.InMemoryCache = exports.ApolloClient = void 0;
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
exports.
|
10
|
-
|
11
|
-
exports.
|
12
|
-
const
|
13
|
-
exports.
|
14
|
-
const
|
15
|
-
exports.
|
16
|
-
const ApolloError = pkg.ApolloError || (pkg.default && pkg.default.ApolloError);
|
17
|
-
exports.ApolloError = ApolloError;
|
18
|
-
const split = pkg.split || (pkg.default && pkg.default.split);
|
19
|
-
exports.split = split;
|
20
|
-
// Some sub‑modules require a different path.
|
21
|
-
const contextPkg = require("@apollo/client/link/context/context.cjs");
|
22
|
-
const setContext = contextPkg.setContext || (contextPkg.default && contextPkg.default.setContext);
|
23
|
-
exports.setContext = setContext;
|
24
|
-
const errorPkg = require("@apollo/client/link/error/error.cjs");
|
25
|
-
const onError = errorPkg.onError || (errorPkg.default && errorPkg.default.onError);
|
26
|
-
exports.onError = onError;
|
5
|
+
const client_1 = require("@apollo/client");
|
6
|
+
Object.defineProperty(exports, "ApolloClient", { enumerable: true, get: function () { return client_1.ApolloClient; } });
|
7
|
+
Object.defineProperty(exports, "InMemoryCache", { enumerable: true, get: function () { return client_1.InMemoryCache; } });
|
8
|
+
Object.defineProperty(exports, "HttpLink", { enumerable: true, get: function () { return client_1.HttpLink; } });
|
9
|
+
Object.defineProperty(exports, "gql", { enumerable: true, get: function () { return client_1.gql; } });
|
10
|
+
Object.defineProperty(exports, "split", { enumerable: true, get: function () { return client_1.split; } });
|
11
|
+
Object.defineProperty(exports, "ApolloError", { enumerable: true, get: function () { return client_1.ApolloError; } });
|
12
|
+
const context_cjs_1 = require("@apollo/client/link/context/context.cjs");
|
13
|
+
Object.defineProperty(exports, "setContext", { enumerable: true, get: function () { return context_cjs_1.setContext; } });
|
14
|
+
const error_cjs_1 = require("@apollo/client/link/error/error.cjs");
|
15
|
+
Object.defineProperty(exports, "onError", { enumerable: true, get: function () { return error_cjs_1.onError; } });
|
27
16
|
//# sourceMappingURL=apollo-client.server.js.map
|
@@ -1,12 +1,7 @@
|
|
1
1
|
import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
declare const gql: any;
|
6
|
-
declare const ApolloError: any;
|
7
|
-
declare const split: any;
|
8
|
-
declare const setContext: any;
|
9
|
-
declare const onError: any;
|
2
|
+
import { ApolloClient, InMemoryCache, HttpLink, gql, split, ApolloError } from "@apollo/client";
|
3
|
+
import { setContext } from "@apollo/client/link/context/context.cjs";
|
4
|
+
import { onError } from "@apollo/client/link/error/error.cjs";
|
10
5
|
export { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split, setContext, onError, };
|
11
6
|
export type { ApolloClientType, InMemoryCacheType, HttpLinkType, NormalizedCacheObject, };
|
12
7
|
//# sourceMappingURL=apollo-client.server.d.ts.map
|
@@ -1,12 +1,7 @@
|
|
1
1
|
import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
declare const gql: any;
|
6
|
-
declare const ApolloError: any;
|
7
|
-
declare const split: any;
|
8
|
-
declare const setContext: any;
|
9
|
-
declare const onError: any;
|
2
|
+
import { ApolloClient, InMemoryCache, HttpLink, gql, split, ApolloError } from "@apollo/client";
|
3
|
+
import { setContext } from "@apollo/client/link/context/context.cjs";
|
4
|
+
import { onError } from "@apollo/client/link/error/error.cjs";
|
10
5
|
export { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split, setContext, onError, };
|
11
6
|
export type { ApolloClientType, InMemoryCacheType, HttpLinkType, NormalizedCacheObject, };
|
12
7
|
//# sourceMappingURL=apollo-client.server.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"apollo-client.server.d.ts","sourceRoot":"","sources":["../../src/apollo-client.server.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,IAAI,gBAAgB,EAChC,aAAa,IAAI,iBAAiB,EAClC,QAAQ,IAAI,YAAY,EACxB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"apollo-client.server.d.ts","sourceRoot":"","sources":["../../src/apollo-client.server.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,IAAI,gBAAgB,EAChC,aAAa,IAAI,iBAAiB,EAClC,QAAQ,IAAI,YAAY,EACxB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAG9D,OAAO,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,GAAG,EACH,WAAW,EACX,KAAK,EACL,UAAU,EACV,OAAO,GACR,CAAC;AAGF,YAAY,EACV,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,qBAAqB,GACtB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"apollo-client.server.js","sourceRoot":"","sources":["../../src/apollo-client.server.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAU1B,
|
1
|
+
{"version":3,"file":"apollo-client.server.js","sourceRoot":"","sources":["../../src/apollo-client.server.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAU1B,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAE9D,yCAAyC;AACzC,OAAO,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,GAAG,EACH,WAAW,EACX,KAAK,EACL,UAAU,EACV,OAAO,GACR,CAAC"}
|
@@ -1,18 +1,7 @@
|
|
1
1
|
// apollo-client.server.ts
|
2
|
-
|
3
|
-
import
|
4
|
-
|
5
|
-
const ApolloClient = pkg.ApolloClient || (pkg.default && pkg.default.ApolloClient);
|
6
|
-
const InMemoryCache = pkg.InMemoryCache || (pkg.default && pkg.default.InMemoryCache);
|
7
|
-
const HttpLink = pkg.HttpLink || (pkg.default && pkg.default.HttpLink);
|
8
|
-
const gql = pkg.gql || (pkg.default && pkg.default.gql);
|
9
|
-
const ApolloError = pkg.ApolloError || (pkg.default && pkg.default.ApolloError);
|
10
|
-
const split = pkg.split || (pkg.default && pkg.default.split);
|
11
|
-
// Some sub‑modules require a different path.
|
12
|
-
import * as contextPkg from "@apollo/client/link/context/context.cjs";
|
13
|
-
const setContext = contextPkg.setContext || (contextPkg.default && contextPkg.default.setContext);
|
14
|
-
import * as errorPkg from "@apollo/client/link/error/error.cjs";
|
15
|
-
const onError = errorPkg.onError || (errorPkg.default && errorPkg.default.onError);
|
2
|
+
import { ApolloClient, InMemoryCache, HttpLink, gql, split, ApolloError } from "@apollo/client";
|
3
|
+
import { setContext } from "@apollo/client/link/context/context.cjs";
|
4
|
+
import { onError } from "@apollo/client/link/error/error.cjs";
|
16
5
|
// Re‑export the runtime implementations.
|
17
6
|
export { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split, setContext, onError, };
|
18
7
|
//# sourceMappingURL=apollo-client.server.js.map
|
package/package.json
CHANGED