bhole-client 1.0.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 (59) hide show
  1. package/README.md +74 -0
  2. package/dist/gen/proto/agency/v1/agency_pb.d.ts +1423 -0
  3. package/dist/gen/proto/agency/v1/agency_pb.js +153 -0
  4. package/dist/gen/proto/agency/v1/agency_pb.js.map +1 -0
  5. package/dist/gen/proto/astronaut/v1/astronaut_pb.d.ts +479 -0
  6. package/dist/gen/proto/astronaut/v1/astronaut_pb.js +93 -0
  7. package/dist/gen/proto/astronaut/v1/astronaut_pb.js.map +1 -0
  8. package/dist/gen/proto/celestial_body/v1/celestial_body_pb.d.ts +423 -0
  9. package/dist/gen/proto/celestial_body/v1/celestial_body_pb.js +73 -0
  10. package/dist/gen/proto/celestial_body/v1/celestial_body_pb.js.map +1 -0
  11. package/dist/gen/proto/docking_event/v1/docking_event_pb.d.ts +2495 -0
  12. package/dist/gen/proto/docking_event/v1/docking_event_pb.js +323 -0
  13. package/dist/gen/proto/docking_event/v1/docking_event_pb.js.map +1 -0
  14. package/dist/gen/proto/event/v1/event_pb.d.ts +1041 -0
  15. package/dist/gen/proto/event/v1/event_pb.js +168 -0
  16. package/dist/gen/proto/event/v1/event_pb.js.map +1 -0
  17. package/dist/gen/proto/expedition/v1/expedition_pb.d.ts +817 -0
  18. package/dist/gen/proto/expedition/v1/expedition_pb.js +138 -0
  19. package/dist/gen/proto/expedition/v1/expedition_pb.js.map +1 -0
  20. package/dist/gen/proto/landing/v1/landing_pb.d.ts +3163 -0
  21. package/dist/gen/proto/landing/v1/landing_pb.js +383 -0
  22. package/dist/gen/proto/landing/v1/landing_pb.js.map +1 -0
  23. package/dist/gen/proto/launch/v1/launch_pb.d.ts +3679 -0
  24. package/dist/gen/proto/launch/v1/launch_pb.js +423 -0
  25. package/dist/gen/proto/launch/v1/launch_pb.js.map +1 -0
  26. package/dist/gen/proto/launcher/v1/launcher_pb.d.ts +371 -0
  27. package/dist/gen/proto/launcher/v1/launcher_pb.js +73 -0
  28. package/dist/gen/proto/launcher/v1/launcher_pb.js.map +1 -0
  29. package/dist/gen/proto/launcher_configuration/v1/launcher_configuration_pb.d.ts +995 -0
  30. package/dist/gen/proto/launcher_configuration/v1/launcher_configuration_pb.js +123 -0
  31. package/dist/gen/proto/launcher_configuration/v1/launcher_configuration_pb.js.map +1 -0
  32. package/dist/gen/proto/location/v1/location_pb.d.ts +557 -0
  33. package/dist/gen/proto/location/v1/location_pb.js +88 -0
  34. package/dist/gen/proto/location/v1/location_pb.js.map +1 -0
  35. package/dist/gen/proto/pad/v1/pad_pb.d.ts +601 -0
  36. package/dist/gen/proto/pad/v1/pad_pb.js +88 -0
  37. package/dist/gen/proto/pad/v1/pad_pb.js.map +1 -0
  38. package/dist/gen/proto/payload/v1/payload_pb.d.ts +697 -0
  39. package/dist/gen/proto/payload/v1/payload_pb.js +108 -0
  40. package/dist/gen/proto/payload/v1/payload_pb.js.map +1 -0
  41. package/dist/gen/proto/program/v1/program_pb.d.ts +385 -0
  42. package/dist/gen/proto/program/v1/program_pb.js +78 -0
  43. package/dist/gen/proto/program/v1/program_pb.js.map +1 -0
  44. package/dist/gen/proto/space_station/v1/space_station_pb.d.ts +2849 -0
  45. package/dist/gen/proto/space_station/v1/space_station_pb.js +348 -0
  46. package/dist/gen/proto/space_station/v1/space_station_pb.js.map +1 -0
  47. package/dist/gen/proto/spacecraft/v1/spacecraft_pb.d.ts +2261 -0
  48. package/dist/gen/proto/spacecraft/v1/spacecraft_pb.js +268 -0
  49. package/dist/gen/proto/spacecraft/v1/spacecraft_pb.js.map +1 -0
  50. package/dist/gen/proto/spacewalk/v1/spacewalk_pb.d.ts +3059 -0
  51. package/dist/gen/proto/spacewalk/v1/spacewalk_pb.js +373 -0
  52. package/dist/gen/proto/spacewalk/v1/spacewalk_pb.js.map +1 -0
  53. package/dist/gen/proto/update/v1/update_pb.d.ts +145 -0
  54. package/dist/gen/proto/update/v1/update_pb.js +38 -0
  55. package/dist/gen/proto/update/v1/update_pb.js.map +1 -0
  56. package/dist/index.d.ts +22 -0
  57. package/dist/index.js +24 -0
  58. package/dist/index.js.map +1 -0
  59. package/package.json +31 -0
package/dist/index.js ADDED
@@ -0,0 +1,24 @@
1
+ import { createConnectTransport } from "@connectrpc/connect-web";
2
+ import { createClient } from "@connectrpc/connect";
3
+ // Re-export transport and client creation helpers
4
+ export { createConnectTransport, createClient };
5
+ // Export generated services and messages grouped by namespaces to avoid conflicts
6
+ export * as Agency from "./gen/proto/agency/v1/agency_pb.js";
7
+ export * as Astronaut from "./gen/proto/astronaut/v1/astronaut_pb.js";
8
+ export * as CelestialBody from "./gen/proto/celestial_body/v1/celestial_body_pb.js";
9
+ export * as DockingEvent from "./gen/proto/docking_event/v1/docking_event_pb.js";
10
+ export * as Event from "./gen/proto/event/v1/event_pb.js";
11
+ export * as Expedition from "./gen/proto/expedition/v1/expedition_pb.js";
12
+ export * as Landing from "./gen/proto/landing/v1/landing_pb.js";
13
+ export * as Launcher from "./gen/proto/launcher/v1/launcher_pb.js";
14
+ export * as LauncherConfiguration from "./gen/proto/launcher_configuration/v1/launcher_configuration_pb.js";
15
+ export * as Launch from "./gen/proto/launch/v1/launch_pb.js";
16
+ export * as Location from "./gen/proto/location/v1/location_pb.js";
17
+ export * as Pad from "./gen/proto/pad/v1/pad_pb.js";
18
+ export * as Payload from "./gen/proto/payload/v1/payload_pb.js";
19
+ export * as Program from "./gen/proto/program/v1/program_pb.js";
20
+ export * as SpaceStation from "./gen/proto/space_station/v1/space_station_pb.js";
21
+ export * as Spacecraft from "./gen/proto/spacecraft/v1/spacecraft_pb.js";
22
+ export * as Spacewalk from "./gen/proto/spacewalk/v1/spacewalk_pb.js";
23
+ export * as Update from "./gen/proto/update/v1/update_pb.js";
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,YAAY,EAAU,MAAM,qBAAqB,CAAC;AAE3D,kDAAkD;AAClD,OAAO,EAAE,sBAAsB,EAAE,YAAY,EAAE,CAAC;AAGhD,kFAAkF;AAClF,OAAO,KAAK,MAAM,MAAM,oCAAoC,CAAC;AAC7D,OAAO,KAAK,SAAS,MAAM,0CAA0C,CAAC;AACtE,OAAO,KAAK,aAAa,MAAM,oDAAoD,CAAC;AACpF,OAAO,KAAK,YAAY,MAAM,kDAAkD,CAAC;AACjF,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,4CAA4C,CAAC;AACzE,OAAO,KAAK,OAAO,MAAM,sCAAsC,CAAC;AAChE,OAAO,KAAK,QAAQ,MAAM,wCAAwC,CAAC;AACnE,OAAO,KAAK,qBAAqB,MAAM,oEAAoE,CAAC;AAC5G,OAAO,KAAK,MAAM,MAAM,oCAAoC,CAAC;AAC7D,OAAO,KAAK,QAAQ,MAAM,wCAAwC,CAAC;AACnE,OAAO,KAAK,GAAG,MAAM,8BAA8B,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,sCAAsC,CAAC;AAChE,OAAO,KAAK,OAAO,MAAM,sCAAsC,CAAC;AAChE,OAAO,KAAK,YAAY,MAAM,kDAAkD,CAAC;AACjF,OAAO,KAAK,UAAU,MAAM,4CAA4C,CAAC;AACzE,OAAO,KAAK,SAAS,MAAM,0CAA0C,CAAC;AACtE,OAAO,KAAK,MAAM,MAAM,oCAAoC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "bhole-client",
3
+ "version": "1.0.0",
4
+ "description": "ConnectRPC client for LL2 REST API",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "type": "module",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist"
16
+ ],
17
+ "scripts": {
18
+ "build": "tsc",
19
+ "docs": "typedoc --out ../../docs/sdk src/index.ts"
20
+ },
21
+ "dependencies": {
22
+ "@bufbuild/protobuf": "^2.12.0",
23
+ "@connectrpc/connect": "^2.1.2",
24
+ "@connectrpc/connect-web": "^2.1.2"
25
+ },
26
+ "devDependencies": {
27
+ "@bufbuild/protoc-gen-es": "^2.12.0",
28
+ "typedoc": "^0.28.19",
29
+ "typescript": "^5.4.5"
30
+ }
31
+ }