adaptic-backend 1.0.296 → 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,14 +1,48 @@
|
|
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
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
38
|
+
const pkg = __importStar(require("@apollo/client"));
|
39
|
+
const { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split } = pkg;
|
40
|
+
exports.ApolloClient = ApolloClient;
|
41
|
+
exports.InMemoryCache = InMemoryCache;
|
42
|
+
exports.HttpLink = HttpLink;
|
43
|
+
exports.gql = gql;
|
44
|
+
exports.ApolloError = ApolloError;
|
45
|
+
exports.split = split;
|
12
46
|
const context_cjs_1 = require("@apollo/client/link/context/context.cjs");
|
13
47
|
Object.defineProperty(exports, "setContext", { enumerable: true, get: function () { return context_cjs_1.setContext; } });
|
14
48
|
const error_cjs_1 = require("@apollo/client/link/error/error.cjs");
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
|
2
|
-
import
|
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;
|
3
4
|
import { setContext } from "@apollo/client/link/context/context.cjs";
|
4
5
|
import { onError } from "@apollo/client/link/error/error.cjs";
|
5
6
|
export { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split, setContext, onError, };
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
|
2
|
-
import
|
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;
|
3
4
|
import { setContext } from "@apollo/client/link/context/context.cjs";
|
4
5
|
import { onError } from "@apollo/client/link/error/error.cjs";
|
5
6
|
export { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split, setContext, onError, };
|
@@ -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;AAExB,OAAO,
|
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,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,
|
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,5 +1,6 @@
|
|
1
1
|
// apollo-client.server.ts
|
2
|
-
import
|
2
|
+
import * as pkg from "@apollo/client";
|
3
|
+
const { ApolloClient, InMemoryCache, HttpLink, gql, ApolloError, split } = pkg;
|
3
4
|
import { setContext } from "@apollo/client/link/context/context.cjs";
|
4
5
|
import { onError } from "@apollo/client/link/error/error.cjs";
|
5
6
|
// Re‑export the runtime implementations.
|
package/package.json
CHANGED