adaptic-backend 1.0.295 → 1.0.297
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
@@ -1,27 +1,50 @@
|
|
1
1
|
"use strict";
|
2
2
|
// apollo-client.server.ts
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
4
|
+
if (k2 === undefined) k2 = k;
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
8
|
+
}
|
9
|
+
Object.defineProperty(o, k2, desc);
|
10
|
+
}) : (function(o, m, k, k2) {
|
11
|
+
if (k2 === undefined) k2 = k;
|
12
|
+
o[k2] = m[k];
|
13
|
+
}));
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
16
|
+
}) : function(o, v) {
|
17
|
+
o["default"] = v;
|
18
|
+
});
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
20
|
+
var ownKeys = function(o) {
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
22
|
+
var ar = [];
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
24
|
+
return ar;
|
25
|
+
};
|
26
|
+
return ownKeys(o);
|
27
|
+
};
|
28
|
+
return function (mod) {
|
29
|
+
if (mod && mod.__esModule) return mod;
|
30
|
+
var result = {};
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
32
|
+
__setModuleDefault(result, mod);
|
33
|
+
return result;
|
34
|
+
};
|
35
|
+
})();
|
3
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4
37
|
exports.onError = exports.setContext = exports.split = exports.ApolloError = exports.gql = exports.HttpLink = exports.InMemoryCache = exports.ApolloClient = void 0;
|
5
|
-
|
6
|
-
const
|
7
|
-
// Use a fallback check: try the named export first, then pkg.default if needed.
|
8
|
-
const ApolloClient = pkg.ApolloClient || (pkg.default && pkg.default.ApolloClient);
|
38
|
+
const pkg = __importStar(require("@apollo/client"));
|
39
|
+
const { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split } = pkg;
|
9
40
|
exports.ApolloClient = ApolloClient;
|
10
|
-
const InMemoryCache = pkg.InMemoryCache || (pkg.default && pkg.default.InMemoryCache);
|
11
41
|
exports.InMemoryCache = InMemoryCache;
|
12
|
-
const HttpLink = pkg.HttpLink || (pkg.default && pkg.default.HttpLink);
|
13
42
|
exports.HttpLink = HttpLink;
|
14
|
-
const gql = pkg.gql || (pkg.default && pkg.default.gql);
|
15
43
|
exports.gql = gql;
|
16
|
-
const ApolloError = pkg.ApolloError || (pkg.default && pkg.default.ApolloError);
|
17
44
|
exports.ApolloError = ApolloError;
|
18
|
-
const split = pkg.split || (pkg.default && pkg.default.split);
|
19
45
|
exports.split = split;
|
20
|
-
|
21
|
-
|
22
|
-
const
|
23
|
-
exports.
|
24
|
-
const errorPkg = require("@apollo/client/link/error/error.cjs");
|
25
|
-
const onError = errorPkg.onError || (errorPkg.default && errorPkg.default.onError);
|
26
|
-
exports.onError = onError;
|
46
|
+
const context_cjs_1 = require("@apollo/client/link/context/context.cjs");
|
47
|
+
Object.defineProperty(exports, "setContext", { enumerable: true, get: function () { return context_cjs_1.setContext; } });
|
48
|
+
const error_cjs_1 = require("@apollo/client/link/error/error.cjs");
|
49
|
+
Object.defineProperty(exports, "onError", { enumerable: true, get: function () { return error_cjs_1.onError; } });
|
27
50
|
//# sourceMappingURL=apollo-client.server.js.map
|
@@ -1,12 +1,8 @@
|
|
1
1
|
import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
|
2
|
-
|
3
|
-
declare const InMemoryCache:
|
4
|
-
|
5
|
-
|
6
|
-
declare const ApolloError: any;
|
7
|
-
declare const split: any;
|
8
|
-
declare const setContext: any;
|
9
|
-
declare const onError: any;
|
2
|
+
import * as pkg from "@apollo/client";
|
3
|
+
declare const ApolloClient: typeof ApolloClientType, InMemoryCache: typeof InMemoryCacheType, HttpLink: typeof HttpLinkType, gql: typeof pkg.gql, ApolloError: typeof pkg.ApolloError, split: typeof pkg.ApolloLink.split;
|
4
|
+
import { setContext } from "@apollo/client/link/context/context.cjs";
|
5
|
+
import { onError } from "@apollo/client/link/error/error.cjs";
|
10
6
|
export { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split, setContext, onError, };
|
11
7
|
export type { ApolloClientType, InMemoryCacheType, HttpLinkType, NormalizedCacheObject, };
|
12
8
|
//# sourceMappingURL=apollo-client.server.d.ts.map
|
@@ -1,12 +1,8 @@
|
|
1
1
|
import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
|
2
|
-
|
3
|
-
declare const InMemoryCache:
|
4
|
-
|
5
|
-
|
6
|
-
declare const ApolloError: any;
|
7
|
-
declare const split: any;
|
8
|
-
declare const setContext: any;
|
9
|
-
declare const onError: any;
|
2
|
+
import * as pkg from "@apollo/client";
|
3
|
+
declare const ApolloClient: typeof ApolloClientType, InMemoryCache: typeof InMemoryCacheType, HttpLink: typeof HttpLinkType, gql: typeof pkg.gql, ApolloError: typeof pkg.ApolloError, split: typeof pkg.ApolloLink.split;
|
4
|
+
import { setContext } from "@apollo/client/link/context/context.cjs";
|
5
|
+
import { onError } from "@apollo/client/link/error/error.cjs";
|
10
6
|
export { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split, setContext, onError, };
|
11
7
|
export type { ApolloClientType, InMemoryCacheType, HttpLinkType, NormalizedCacheObject, };
|
12
8
|
//# 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,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,QAAA,MAAQ,YAAY,2BAAE,aAAa,4BAAE,QAAQ,uBAAE,GAAG,kBAAE,WAAW,0BAAE,KAAK,6BAAQ,CAAC;AAC/E,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,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC;AAC/E,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,8 @@
|
|
1
1
|
// apollo-client.server.ts
|
2
|
-
// Use require() to load the runtime implementations.
|
3
2
|
import * as pkg from "@apollo/client";
|
4
|
-
|
5
|
-
|
6
|
-
|
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);
|
3
|
+
const { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split } = pkg;
|
4
|
+
import { setContext } from "@apollo/client/link/context/context.cjs";
|
5
|
+
import { onError } from "@apollo/client/link/error/error.cjs";
|
16
6
|
// Re‑export the runtime implementations.
|
17
7
|
export { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split, setContext, onError, };
|
18
8
|
//# sourceMappingURL=apollo-client.server.js.map
|
package/package.json
CHANGED