adaptic-backend 1.0.299 → 1.0.300

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.
@@ -3,12 +3,12 @@
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
5
  // Import runtime implementations.
6
- const client_1 = require("@apollo/client");
7
- Object.defineProperty(exports, "gql", { enumerable: true, get: function () { return client_1.gql; } });
8
- Object.defineProperty(exports, "ApolloError", { enumerable: true, get: function () { return client_1.ApolloError; } });
9
- Object.defineProperty(exports, "split", { enumerable: true, get: function () { return client_1.split; } });
10
6
  const core_1 = require("@apollo/client/core");
11
7
  Object.defineProperty(exports, "ApolloClient", { enumerable: true, get: function () { return core_1.ApolloClient; } });
8
+ Object.defineProperty(exports, "gql", { enumerable: true, get: function () { return core_1.gql; } });
9
+ Object.defineProperty(exports, "ApolloError", { enumerable: true, get: function () { return core_1.ApolloError; } });
10
+ const core_2 = require("@apollo/client/link/core");
11
+ Object.defineProperty(exports, "split", { enumerable: true, get: function () { return core_2.split; } });
12
12
  const context_1 = require("@apollo/client/link/context");
13
13
  Object.defineProperty(exports, "setContext", { enumerable: true, get: function () { return context_1.setContext; } });
14
14
  const error_1 = require("@apollo/client/link/error");
@@ -1,6 +1,6 @@
1
1
  import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
2
- import { gql, ApolloError, split } from "@apollo/client";
3
- import { ApolloClient } from "@apollo/client/core";
2
+ import { ApolloClient, gql, ApolloError } from "@apollo/client/core";
3
+ import { split } from "@apollo/client/link/core";
4
4
  import { setContext } from "@apollo/client/link/context";
5
5
  import { onError } from "@apollo/client/link/error";
6
6
  import { HttpLink } from "@apollo/client/link/http";
@@ -1,47 +1,13 @@
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
- })();
36
3
  Object.defineProperty(exports, "__esModule", { value: true });
37
4
  exports.onError = exports.setContext = exports.split = exports.ApolloError = exports.gql = exports.HttpLink = exports.InMemoryCache = exports.ApolloClient = void 0;
38
- const pkg = __importStar(require("@apollo/client"));
39
- const { gql, ApolloError, split } = pkg;
40
- exports.gql = gql;
41
- exports.ApolloError = ApolloError;
42
- exports.split = split;
43
5
  const core_cjs_1 = require("@apollo/client/core/core.cjs");
44
6
  Object.defineProperty(exports, "ApolloClient", { enumerable: true, get: function () { return core_cjs_1.ApolloClient; } });
7
+ Object.defineProperty(exports, "gql", { enumerable: true, get: function () { return core_cjs_1.gql; } });
8
+ Object.defineProperty(exports, "ApolloError", { enumerable: true, get: function () { return core_cjs_1.ApolloError; } });
9
+ const core_cjs_2 = require("@apollo/client/link/core/core.cjs");
10
+ Object.defineProperty(exports, "split", { enumerable: true, get: function () { return core_cjs_2.split; } });
45
11
  const context_cjs_1 = require("@apollo/client/link/context/context.cjs");
46
12
  Object.defineProperty(exports, "setContext", { enumerable: true, get: function () { return context_cjs_1.setContext; } });
47
13
  const error_cjs_1 = require("@apollo/client/link/error/error.cjs");
@@ -1,7 +1,6 @@
1
1
  import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
2
- import * as pkg from "@apollo/client";
3
- declare const gql: typeof pkg.gql, ApolloError: typeof pkg.ApolloError, split: typeof pkg.ApolloLink.split;
4
- import { ApolloClient } from "@apollo/client/core/core.cjs";
2
+ import { ApolloClient, gql, ApolloError } from "@apollo/client/core/core.cjs";
3
+ import { split } from "@apollo/client/link/core/core.cjs";
5
4
  import { setContext } from "@apollo/client/link/context/context.cjs";
6
5
  import { onError } from "@apollo/client/link/error/error.cjs";
7
6
  import { HttpLink } from "@apollo/client/link/http/http.cjs";
@@ -1,6 +1,6 @@
1
1
  import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
2
- import { gql, ApolloError, split } from "@apollo/client";
3
- import { ApolloClient } from "@apollo/client/core";
2
+ import { ApolloClient, gql, ApolloError } from "@apollo/client/core";
3
+ import { split } from "@apollo/client/link/core";
4
4
  import { setContext } from "@apollo/client/link/context";
5
5
  import { onError } from "@apollo/client/link/error";
6
6
  import { HttpLink } from "@apollo/client/link/http";
@@ -1 +1 @@
1
- {"version":3,"file":"apollo-client.client.d.ts","sourceRoot":"","sources":["../../src/apollo-client.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,IAAI,gBAAgB,EAChC,aAAa,IAAI,iBAAiB,EAClC,QAAQ,IAAI,YAAY,EACxB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EACL,GAAG,EACH,WAAW,EACX,KAAK,EACN,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAG5E,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
+ {"version":3,"file":"apollo-client.client.d.ts","sourceRoot":"","sources":["../../src/apollo-client.client.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,IAAI,gBAAgB,EAChC,aAAa,IAAI,iBAAiB,EAClC,QAAQ,IAAI,YAAY,EACxB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAG5E,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.client.js","sourceRoot":"","sources":["../../src/apollo-client.client.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAU1B,kCAAkC;AAClC,OAAO,EACL,GAAG,EACH,WAAW,EACX,KAAK,GACN,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,yCAAyC;AACzC,OAAO,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,GAAG,EACH,WAAW,EACX,KAAK,EACL,UAAU,EACV,OAAO,GACR,CAAC"}
1
+ {"version":3,"file":"apollo-client.client.js","sourceRoot":"","sources":["../../src/apollo-client.client.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAU1B,kCAAkC;AAClC,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAE5E,yCAAyC;AACzC,OAAO,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,GAAG,EACH,WAAW,EACX,KAAK,EACL,UAAU,EACV,OAAO,GACR,CAAC"}
@@ -1,7 +1,7 @@
1
1
  // apollo-client.client.ts
2
2
  // Import runtime implementations.
3
- import { gql, ApolloError, split, } from "@apollo/client";
4
- import { ApolloClient } from "@apollo/client/core";
3
+ import { ApolloClient, gql, ApolloError } from "@apollo/client/core";
4
+ import { split } from "@apollo/client/link/core";
5
5
  import { setContext } from "@apollo/client/link/context";
6
6
  import { onError } from "@apollo/client/link/error";
7
7
  import { HttpLink } from "@apollo/client/link/http";
@@ -1,7 +1,6 @@
1
1
  import type { ApolloClient as ApolloClientType, InMemoryCache as InMemoryCacheType, HttpLink as HttpLinkType, NormalizedCacheObject } from "@apollo/client";
2
- import * as pkg from "@apollo/client";
3
- declare const gql: typeof pkg.gql, ApolloError: typeof pkg.ApolloError, split: typeof pkg.ApolloLink.split;
4
- import { ApolloClient } from "@apollo/client/core/core.cjs";
2
+ import { ApolloClient, gql, ApolloError } from "@apollo/client/core/core.cjs";
3
+ import { split } from "@apollo/client/link/core/core.cjs";
5
4
  import { setContext } from "@apollo/client/link/context/context.cjs";
6
5
  import { onError } from "@apollo/client/link/error/error.cjs";
7
6
  import { HttpLink } from "@apollo/client/link/http/http.cjs";
@@ -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,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,QAAA,MAAQ,GAAG,kBAAE,WAAW,0BAAE,KAAK,6BAAQ,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAE/E,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
+ {"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,GAAG,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAE/E,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,KAAK,GAAG,MAAM,gBAAgB,CAAC;AACtC,MAAM,EAAE,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,GAAG,GAAG,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,yCAAyC;AACzC,OAAO,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,GAAG,EACH,WAAW,EACX,KAAK,EACL,UAAU,EACV,OAAO,GACR,CAAC"}
1
+ {"version":3,"file":"apollo-client.server.js","sourceRoot":"","sources":["../../src/apollo-client.server.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAU1B,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,qCAAqC,CAAC;AAC9D,OAAO,EAAE,QAAQ,EAAE,MAAM,mCAAmC,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAC/E,yCAAyC;AACzC,OAAO,EACL,YAAY,EACZ,aAAa,EACb,QAAQ,EACR,GAAG,EACH,WAAW,EACX,KAAK,EACL,UAAU,EACV,OAAO,GACR,CAAC"}
@@ -1,7 +1,6 @@
1
1
  // apollo-client.server.ts
2
- import * as pkg from "@apollo/client";
3
- const { gql, ApolloError, split } = pkg;
4
- import { ApolloClient } from "@apollo/client/core/core.cjs";
2
+ import { ApolloClient, gql, ApolloError } from "@apollo/client/core/core.cjs";
3
+ import { split } from "@apollo/client/link/core/core.cjs";
5
4
  import { setContext } from "@apollo/client/link/context/context.cjs";
6
5
  import { onError } from "@apollo/client/link/error/error.cjs";
7
6
  import { HttpLink } from "@apollo/client/link/http/http.cjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adaptic-backend",
3
- "version": "1.0.299",
3
+ "version": "1.0.300",
4
4
  "description": "Backend executable CRUD functions with dynamic variables construction, and type definitions for the Adaptic AI platform.",
5
5
  "type": "module",
6
6
  "types": "index.d.ts",