@dvina/sdk 4.1.58 → 4.1.64

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.
Files changed (86) hide show
  1. package/dist/_generated_documents-XONZIXZ4.js +1 -0
  2. package/dist/adapters/angular/index.d.ts +1 -1
  3. package/dist/adapters/angular/index.js +1 -159
  4. package/dist/adapters/react/index.js +1 -49
  5. package/dist/billing/index.js +1 -5
  6. package/dist/chunk-5E7LX4YQ.js +1 -0
  7. package/dist/chunk-EK7ODJWE.js +1 -0
  8. package/dist/chunk-EOIDWBEZ.js +1 -0
  9. package/dist/chunk-G34ETQUN.js +1 -0
  10. package/dist/chunk-H3TI6B7T.js +1 -0
  11. package/dist/chunk-IIQ3WGOJ.js +1 -0
  12. package/dist/chunk-JQL7QV2D.js +5 -0
  13. package/dist/chunk-SJ6Q5IDB.js +31 -0
  14. package/dist/{client-K9LxSCVw.d.ts → client-D309vpHA.d.ts} +206 -1
  15. package/dist/index.d.ts +110 -3
  16. package/dist/index.js +1 -10
  17. package/dist/inference/index.js +1 -5
  18. package/dist/package.json +12 -48
  19. package/dist/pagination/index.js +1 -5
  20. package/package.json +13 -49
  21. package/dist/_generated_documents-2RBYHBRH.js +0 -4
  22. package/dist/_generated_documents-2RBYHBRH.js.map +0 -1
  23. package/dist/_generated_documents-3OGB3BZM.cjs +0 -2545
  24. package/dist/_generated_documents-3OGB3BZM.cjs.map +0 -1
  25. package/dist/adapters/angular/index.cjs +0 -163
  26. package/dist/adapters/angular/index.cjs.map +0 -1
  27. package/dist/adapters/angular/index.d.cts +0 -254
  28. package/dist/adapters/angular/index.js.map +0 -1
  29. package/dist/adapters/react/index.cjs +0 -51
  30. package/dist/adapters/react/index.cjs.map +0 -1
  31. package/dist/adapters/react/index.d.cts +0 -62
  32. package/dist/adapters/react/index.js.map +0 -1
  33. package/dist/billing/index.cjs +0 -26
  34. package/dist/billing/index.cjs.map +0 -1
  35. package/dist/billing/index.d.cts +0 -328
  36. package/dist/billing/index.js.map +0 -1
  37. package/dist/chunk-2J5WONKO.cjs +0 -1608
  38. package/dist/chunk-2J5WONKO.cjs.map +0 -1
  39. package/dist/chunk-342BFYZZ.cjs +0 -98
  40. package/dist/chunk-342BFYZZ.cjs.map +0 -1
  41. package/dist/chunk-5WRI5ZAA.js +0 -29
  42. package/dist/chunk-5WRI5ZAA.js.map +0 -1
  43. package/dist/chunk-7XBJ77RJ.js +0 -103
  44. package/dist/chunk-7XBJ77RJ.js.map +0 -1
  45. package/dist/chunk-AE5KAIKK.js +0 -24
  46. package/dist/chunk-AE5KAIKK.js.map +0 -1
  47. package/dist/chunk-AQ45E6MZ.cjs +0 -23951
  48. package/dist/chunk-AQ45E6MZ.cjs.map +0 -1
  49. package/dist/chunk-DLCUHX6I.js +0 -1064
  50. package/dist/chunk-DLCUHX6I.js.map +0 -1
  51. package/dist/chunk-DZUJEN5N.cjs +0 -32
  52. package/dist/chunk-DZUJEN5N.cjs.map +0 -1
  53. package/dist/chunk-FOKGSMXS.cjs +0 -27
  54. package/dist/chunk-FOKGSMXS.cjs.map +0 -1
  55. package/dist/chunk-IWQGSVFY.js +0 -23541
  56. package/dist/chunk-IWQGSVFY.js.map +0 -1
  57. package/dist/chunk-KEM6SUTS.js +0 -92
  58. package/dist/chunk-KEM6SUTS.js.map +0 -1
  59. package/dist/chunk-KV5SP7RP.cjs +0 -114
  60. package/dist/chunk-KV5SP7RP.cjs.map +0 -1
  61. package/dist/chunk-PDM2KR7T.js +0 -392
  62. package/dist/chunk-PDM2KR7T.js.map +0 -1
  63. package/dist/chunk-UELAE75E.cjs +0 -408
  64. package/dist/chunk-UELAE75E.cjs.map +0 -1
  65. package/dist/chunk-USR4MXFW.cjs +0 -1699
  66. package/dist/chunk-USR4MXFW.cjs.map +0 -1
  67. package/dist/chunk-WX7EFPHT.js +0 -1600
  68. package/dist/chunk-WX7EFPHT.js.map +0 -1
  69. package/dist/client-Bb2gD6Iz.d.cts +0 -488
  70. package/dist/client-X8guW4nw.d.cts +0 -7954
  71. package/dist/error-CsVoUTY8.d.cts +0 -95
  72. package/dist/index-D_Z25Pa1.d.cts +0 -79
  73. package/dist/index.cjs +0 -1979
  74. package/dist/index.cjs.map +0 -1
  75. package/dist/index.d.cts +0 -3716
  76. package/dist/index.js.map +0 -1
  77. package/dist/inference/index.cjs +0 -70
  78. package/dist/inference/index.cjs.map +0 -1
  79. package/dist/inference/index.d.cts +0 -80
  80. package/dist/inference/index.js.map +0 -1
  81. package/dist/pagination/index.cjs +0 -34
  82. package/dist/pagination/index.cjs.map +0 -1
  83. package/dist/pagination/index.d.cts +0 -6
  84. package/dist/pagination/index.js.map +0 -1
  85. package/dist/sync-engine-gpxyhQBl.d.cts +0 -478
  86. package/dist/types-Chg8ASmf.d.cts +0 -116
@@ -1,32 +0,0 @@
1
- 'use strict';
2
-
3
- var __create = Object.create;
4
- var __defProp = Object.defineProperty;
5
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropNames = Object.getOwnPropertyNames;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __commonJS = (cb, mod) => function __require() {
10
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
-
29
- exports.__commonJS = __commonJS;
30
- exports.__toESM = __toESM;
31
- //# sourceMappingURL=chunk-DZUJEN5N.cjs.map
32
- //# sourceMappingURL=chunk-DZUJEN5N.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-DZUJEN5N.cjs"}
@@ -1,27 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk342BFYZZ_cjs = require('./chunk-342BFYZZ.cjs');
4
-
5
- // src/pagination/helpers.ts
6
- function extractNodes(connection) {
7
- return connection.nodes;
8
- }
9
- function mergeConnections(first, second) {
10
- return new chunk342BFYZZ_cjs.Connection(
11
- first._request,
12
- second._fetch,
13
- [...first.nodes, ...second.nodes],
14
- new chunk342BFYZZ_cjs.PageInfo({
15
- hasNextPage: second.pageInfo.hasNextPage,
16
- hasPreviousPage: first.pageInfo.hasPreviousPage,
17
- startCursor: first.pageInfo.startCursor,
18
- endCursor: second.pageInfo.endCursor
19
- }),
20
- second.totalCount ?? first.totalCount
21
- );
22
- }
23
-
24
- exports.extractNodes = extractNodes;
25
- exports.mergeConnections = mergeConnections;
26
- //# sourceMappingURL=chunk-FOKGSMXS.cjs.map
27
- //# sourceMappingURL=chunk-FOKGSMXS.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/pagination/helpers.ts"],"names":["Connection","PageInfo"],"mappings":";;;;;AAKO,SAAS,aAAgB,UAAA,EAAgC;AAC/D,EAAA,OAAO,UAAA,CAAW,KAAA;AACnB;AAQO,SAAS,gBAAA,CAAoB,OAAsB,MAAA,EAAsC;AAC/F,EAAA,OAAO,IAAIA,4BAAA;AAAA,IACT,KAAA,CAAc,QAAA;AAAA,IACd,MAAA,CAAe,MAAA;AAAA,IAChB,CAAC,GAAG,KAAA,CAAM,KAAA,EAAO,GAAG,OAAO,KAAK,CAAA;AAAA,IAChC,IAAIC,0BAAA,CAAS;AAAA,MACZ,WAAA,EAAa,OAAO,QAAA,CAAS,WAAA;AAAA,MAC7B,eAAA,EAAiB,MAAM,QAAA,CAAS,eAAA;AAAA,MAChC,WAAA,EAAa,MAAM,QAAA,CAAS,WAAA;AAAA,MAC5B,SAAA,EAAW,OAAO,QAAA,CAAS;AAAA,KAC3B,CAAA;AAAA,IACD,MAAA,CAAO,cAAc,KAAA,CAAM;AAAA,GAC5B;AACD","file":"chunk-FOKGSMXS.cjs","sourcesContent":["import { PageInfo, Connection } from './connection.js';\n\n/**\n * Extract all nodes from a connection.\n */\nexport function extractNodes<T>(connection: Connection<T>): T[] {\n\treturn connection.nodes;\n}\n\n/**\n * Merge two connections into a new connection. Appends the second connection's\n * nodes after the first's. Uses the second connection's end cursor and hasNextPage.\n *\n * Neither input connection is modified.\n */\nexport function mergeConnections<T>(first: Connection<T>, second: Connection<T>): Connection<T> {\n\treturn new Connection<T>(\n\t\t(first as any)._request,\n\t\t(second as any)._fetch,\n\t\t[...first.nodes, ...second.nodes],\n\t\tnew PageInfo({\n\t\t\thasNextPage: second.pageInfo.hasNextPage,\n\t\t\thasPreviousPage: first.pageInfo.hasPreviousPage,\n\t\t\tstartCursor: first.pageInfo.startCursor,\n\t\t\tendCursor: second.pageInfo.endCursor,\n\t\t}),\n\t\tsecond.totalCount ?? first.totalCount,\n\t);\n}\n"]}