@qualithm/arrow-flight-sql-js 0.0.1

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 (49) hide show
  1. package/LICENSE +18 -0
  2. package/README.md +433 -0
  3. package/dist/arrow.d.ts +65 -0
  4. package/dist/arrow.d.ts.map +1 -0
  5. package/dist/arrow.js +250 -0
  6. package/dist/arrow.js.map +1 -0
  7. package/dist/client.d.ts +416 -0
  8. package/dist/client.d.ts.map +1 -0
  9. package/dist/client.js +1087 -0
  10. package/dist/client.js.map +1 -0
  11. package/dist/errors.d.ts +128 -0
  12. package/dist/errors.d.ts.map +1 -0
  13. package/dist/errors.js +181 -0
  14. package/dist/errors.js.map +1 -0
  15. package/dist/generated/index.d.ts +4 -0
  16. package/dist/generated/index.d.ts.map +1 -0
  17. package/dist/generated/index.js +33 -0
  18. package/dist/generated/index.js.map +1 -0
  19. package/dist/index.d.ts +40 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +43 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/metrics.d.ts +217 -0
  24. package/dist/metrics.d.ts.map +1 -0
  25. package/dist/metrics.js +304 -0
  26. package/dist/metrics.js.map +1 -0
  27. package/dist/pool.d.ts +161 -0
  28. package/dist/pool.d.ts.map +1 -0
  29. package/dist/pool.js +434 -0
  30. package/dist/pool.js.map +1 -0
  31. package/dist/proto.d.ts +168 -0
  32. package/dist/proto.d.ts.map +1 -0
  33. package/dist/proto.js +417 -0
  34. package/dist/proto.js.map +1 -0
  35. package/dist/query-builder.d.ts +1 -0
  36. package/dist/query-builder.d.ts.map +1 -0
  37. package/dist/query-builder.js +3 -0
  38. package/dist/query-builder.js.map +1 -0
  39. package/dist/retry.d.ts +92 -0
  40. package/dist/retry.d.ts.map +1 -0
  41. package/dist/retry.js +212 -0
  42. package/dist/retry.js.map +1 -0
  43. package/dist/types.d.ts +325 -0
  44. package/dist/types.d.ts.map +1 -0
  45. package/dist/types.js +18 -0
  46. package/dist/types.js.map +1 -0
  47. package/package.json +82 -0
  48. package/proto/Flight.proto +645 -0
  49. package/proto/FlightSql.proto +1925 -0
package/package.json ADDED
@@ -0,0 +1,82 @@
1
+ {
2
+ "name": "@qualithm/arrow-flight-sql-js",
3
+ "version": "0.0.1",
4
+ "description": "Arrow Flight SQL client for JavaScript and TypeScript runtimes.",
5
+ "private": false,
6
+ "type": "module",
7
+ "keywords": [
8
+ "arrow",
9
+ "apache-arrow",
10
+ "flight",
11
+ "flight-sql",
12
+ "client",
13
+ "javascript",
14
+ "typescript"
15
+ ],
16
+ "license": "MIT",
17
+ "author": "Qualithm",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/qualithm/arrow-flight-sql-js.git"
21
+ },
22
+ "homepage": "https://github.com/qualithm/arrow-flight-sql-js#readme",
23
+ "bugs": {
24
+ "url": "https://github.com/qualithm/arrow-flight-sql-js/issues"
25
+ },
26
+ "main": "./dist/index.js",
27
+ "module": "./dist/index.js",
28
+ "types": "./dist/index.d.ts",
29
+ "exports": {
30
+ ".": {
31
+ "import": "./dist/index.js",
32
+ "types": "./dist/index.d.ts"
33
+ }
34
+ },
35
+ "files": [
36
+ "dist",
37
+ "proto",
38
+ "README.md",
39
+ "LICENSE"
40
+ ],
41
+ "engines": {
42
+ "node": ">=20.0.0"
43
+ },
44
+ "scripts": {
45
+ "build": "tsc -p tsconfig.build.json",
46
+ "build:watch": "tsc -p tsconfig.build.json --watch",
47
+ "clean": "rm -rf dist",
48
+ "dev": "bun --watch run src/index.ts",
49
+ "docs": "typedoc",
50
+ "format": "prettier --check .",
51
+ "format:fix": "prettier --write .",
52
+ "lint": "eslint .",
53
+ "lint:fix": "eslint --fix .",
54
+ "prepublishOnly": "bun run clean && bun run build",
55
+ "proto:generate": "bun run scripts/generate-proto.ts",
56
+ "start": "bun run src/index.ts",
57
+ "test": "bun test",
58
+ "test:coverage": "bun test --coverage",
59
+ "test:integration": "bun test src/__tests__/integration",
60
+ "test:unit": "bun test src/__tests__/unit",
61
+ "test:watch": "bun test --watch"
62
+ },
63
+ "dependencies": {
64
+ "@grpc/grpc-js": "1.14.3",
65
+ "@grpc/proto-loader": "0.8.0",
66
+ "apache-arrow": "21.1.0"
67
+ },
68
+ "devDependencies": {
69
+ "@eslint/js": "9.39.2",
70
+ "@types/bun": "1.3.7",
71
+ "eslint": "9.39.2",
72
+ "eslint-plugin-simple-import-sort": "12.1.1",
73
+ "eslint-plugin-unused-imports": "4.3.0",
74
+ "globals": "17.2.0",
75
+ "jiti": "2.6.1",
76
+ "prettier": "3.8.1",
77
+ "typedoc": "0.28.16",
78
+ "typedoc-plugin-markdown": "4.9.0",
79
+ "typescript": "5.9.3",
80
+ "typescript-eslint": "8.54.0"
81
+ }
82
+ }