@channel.io/app-sdk-server 0.13.1 → 0.15.0

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 (54) hide show
  1. package/dist/__tests__/datasource-runners.test.d.ts +2 -0
  2. package/dist/__tests__/datasource-runners.test.d.ts.map +1 -0
  3. package/dist/__tests__/datasource-runners.test.js +244 -0
  4. package/dist/__tests__/datasource-runners.test.js.map +1 -0
  5. package/dist/__tests__/datasource.test.d.ts +2 -0
  6. package/dist/__tests__/datasource.test.d.ts.map +1 -0
  7. package/dist/__tests__/datasource.test.js +152 -0
  8. package/dist/__tests__/datasource.test.js.map +1 -0
  9. package/dist/__tests__/testing-utils.test.js +1 -1
  10. package/dist/__tests__/testing-utils.test.js.map +1 -1
  11. package/dist/datasource/arrow.d.ts +27 -0
  12. package/dist/datasource/arrow.d.ts.map +1 -0
  13. package/dist/datasource/arrow.js +261 -0
  14. package/dist/datasource/arrow.js.map +1 -0
  15. package/dist/datasource/bigquery.d.ts +97 -0
  16. package/dist/datasource/bigquery.d.ts.map +1 -0
  17. package/dist/datasource/bigquery.js +297 -0
  18. package/dist/datasource/bigquery.js.map +1 -0
  19. package/dist/datasource/grpc.d.ts +28 -0
  20. package/dist/datasource/grpc.d.ts.map +1 -0
  21. package/dist/datasource/grpc.js +292 -0
  22. package/dist/datasource/grpc.js.map +1 -0
  23. package/dist/datasource/index.d.ts +8 -0
  24. package/dist/datasource/index.d.ts.map +1 -0
  25. package/dist/datasource/index.js +8 -0
  26. package/dist/datasource/index.js.map +1 -0
  27. package/dist/datasource/policy.d.ts +16 -0
  28. package/dist/datasource/policy.d.ts.map +1 -0
  29. package/dist/datasource/policy.js +112 -0
  30. package/dist/datasource/policy.js.map +1 -0
  31. package/dist/datasource/postgres.d.ts +32 -0
  32. package/dist/datasource/postgres.d.ts.map +1 -0
  33. package/dist/datasource/postgres.js +234 -0
  34. package/dist/datasource/postgres.js.map +1 -0
  35. package/dist/datasource/query-handlers.d.ts +32 -0
  36. package/dist/datasource/query-handlers.d.ts.map +1 -0
  37. package/dist/datasource/query-handlers.js +58 -0
  38. package/dist/datasource/query-handlers.js.map +1 -0
  39. package/dist/datasource/types.d.ts +134 -0
  40. package/dist/datasource/types.d.ts.map +1 -0
  41. package/dist/datasource/types.js +34 -0
  42. package/dist/datasource/types.js.map +1 -0
  43. package/dist/decorators/extension-names.d.ts +1 -1
  44. package/dist/decorators/extension-names.d.ts.map +1 -1
  45. package/dist/decorators/extension-names.js +1 -0
  46. package/dist/decorators/extension-names.js.map +1 -1
  47. package/dist/index.d.ts +1 -0
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +2 -0
  50. package/dist/index.js.map +1 -1
  51. package/dist/nestjs/channel-app.controller.d.ts +2 -2
  52. package/dist/nestjs/channel-app.controller.d.ts.map +1 -1
  53. package/dist/nestjs/channel-app.controller.js.map +1 -1
  54. package/package.json +30 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@channel.io/app-sdk-server",
3
- "version": "0.13.1",
3
+ "version": "0.15.0",
4
4
  "description": "NestJS server SDK for Channel.io apps",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -21,21 +21,43 @@
21
21
  "dist"
22
22
  ],
23
23
  "dependencies": {
24
+ "@grpc/grpc-js": "^1.14.4",
25
+ "protobufjs": "^8.6.5",
24
26
  "zod": "^3.24.1",
25
27
  "zod-to-json-schema": "^3.24.1",
26
- "@channel.io/app-sdk-core": "0.13.1"
28
+ "@channel.io/app-sdk-core": "0.15.0"
27
29
  },
28
30
  "peerDependencies": {
31
+ "@google-cloud/bigquery": "^8.3.1",
32
+ "@google-cloud/bigquery-storage": "^5.1.2",
29
33
  "@nestjs/common": ">=10.0.0",
30
34
  "@nestjs/core": ">=10.0.0",
35
+ "apache-arrow": "^21.1.0",
36
+ "pg": "^8.22.0",
37
+ "pg-query-stream": "^4.16.0",
31
38
  "reflect-metadata": ">=0.1.0"
32
39
  },
33
40
  "peerDependenciesMeta": {
41
+ "@google-cloud/bigquery": {
42
+ "optional": true
43
+ },
44
+ "@google-cloud/bigquery-storage": {
45
+ "optional": true
46
+ },
34
47
  "@nestjs/common": {
35
48
  "optional": false
36
49
  },
37
50
  "@nestjs/core": {
38
51
  "optional": false
52
+ },
53
+ "apache-arrow": {
54
+ "optional": true
55
+ },
56
+ "pg": {
57
+ "optional": true
58
+ },
59
+ "pg-query-stream": {
60
+ "optional": true
39
61
  }
40
62
  },
41
63
  "devDependencies": {
@@ -44,6 +66,10 @@
44
66
  "@nestjs/platform-express": "^10.4.15",
45
67
  "@nestjs/testing": "^10.4.15",
46
68
  "@types/express": "^5.0.6",
69
+ "@types/pg": "^8.20.0",
70
+ "apache-arrow": "^21.1.0",
71
+ "pg": "^8.22.0",
72
+ "pg-query-stream": "^4.16.0",
47
73
  "reflect-metadata": "^0.2.2",
48
74
  "rxjs": "^7.8.1",
49
75
  "typescript": "^5.7.2",
@@ -51,8 +77,8 @@
51
77
  },
52
78
  "repository": {
53
79
  "type": "git",
54
- "url": "https://github.com/channel-io/app-sdk.git",
55
- "directory": "packages/server"
80
+ "url": "https://github.com/channel-io/cht-app-sdk.git",
81
+ "directory": "ts/packages/server"
56
82
  },
57
83
  "license": "MIT",
58
84
  "publishConfig": {