@forwardimpact/librpc 0.1.109 → 0.1.110

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.
package/README.md CHANGED
@@ -12,3 +12,12 @@ transport.
12
12
  ```js
13
13
  import { Server, Client, createClient, createTracer } from '@forwardimpact/librpc';
14
14
  ```
15
+
16
+ ## Documentation
17
+
18
+ - [Ship a Service Endpoint](https://www.forwardimpact.team/docs/libraries/typed-contracts/ship-endpoint/index.md)
19
+ — ship and consume a gRPC service with typed contracts, authentication,
20
+ retries, and health checks; `fit-unary` is the command-line client for it.
21
+ - [Keep Types Synced with Proto Definitions](https://www.forwardimpact.team/docs/libraries/typed-contracts/index.md)
22
+ — the full workflow for defining proto contracts and generating typed base
23
+ classes and clients.
package/bin/fit-unary.js CHANGED
@@ -18,6 +18,20 @@ const definition = {
18
18
  json: { type: "boolean", description: "Output help as JSON" },
19
19
  },
20
20
  examples: ['fit-unary memory GetWindow \'{"resource_id":"..."}\''],
21
+ documentation: [
22
+ {
23
+ title: "Ship a Service Endpoint",
24
+ url: "https://www.forwardimpact.team/docs/libraries/typed-contracts/ship-endpoint/index.md",
25
+ description:
26
+ "Ship and consume a gRPC service with typed contracts, authentication, retries, and health checks; fit-unary is the command-line client for it.",
27
+ },
28
+ {
29
+ title: "Keep Types Synced with Proto Definitions",
30
+ url: "https://www.forwardimpact.team/docs/libraries/typed-contracts/index.md",
31
+ description:
32
+ "The full workflow for defining proto contracts and generating typed base classes and clients.",
33
+ },
34
+ ],
21
35
  };
22
36
 
23
37
  const cli = createCli(definition, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardimpact/librpc",
3
- "version": "0.1.109",
3
+ "version": "0.1.110",
4
4
  "description": "gRPC server and client framework — ship service endpoints without reimplementing transport.",
5
5
  "keywords": [
6
6
  "grpc",
@@ -624,7 +624,7 @@ export const metadata = {
624
624
  "type": "string",
625
625
  "optional": true,
626
626
  "repeated": false,
627
- "description": "Discipline id to filter by (e.g. 'software_engineering')"
627
+ "description": "Discipline id to filter by (e.g. 'software-engineering')"
628
628
  }
629
629
  }
630
630
  },
@@ -635,7 +635,7 @@ export const metadata = {
635
635
  "type": "string",
636
636
  "optional": false,
637
637
  "repeated": false,
638
- "description": "Discipline id (e.g. 'software_engineering')"
638
+ "description": "Discipline id (e.g. 'software-engineering')"
639
639
  },
640
640
  "level": {
641
641
  "type": "string",
@@ -647,7 +647,7 @@ export const metadata = {
647
647
  "type": "string",
648
648
  "optional": true,
649
649
  "repeated": false,
650
- "description": "Track id for specialization modifier (e.g. 'forward_deployed')"
650
+ "description": "Track id for specialization modifier (e.g. 'forward-deployed')"
651
651
  }
652
652
  }
653
653
  },
@@ -658,7 +658,7 @@ export const metadata = {
658
658
  "type": "string",
659
659
  "optional": true,
660
660
  "repeated": false,
661
- "description": "Discipline id to filter by (e.g. 'software_engineering')"
661
+ "description": "Discipline id to filter by (e.g. 'software-engineering')"
662
662
  }
663
663
  }
664
664
  },
@@ -669,7 +669,7 @@ export const metadata = {
669
669
  "type": "string",
670
670
  "optional": false,
671
671
  "repeated": false,
672
- "description": "Discipline id (e.g. 'software_engineering')"
672
+ "description": "Discipline id (e.g. 'software-engineering')"
673
673
  },
674
674
  "track": {
675
675
  "type": "string",
@@ -686,7 +686,7 @@ export const metadata = {
686
686
  "type": "string",
687
687
  "optional": false,
688
688
  "repeated": false,
689
- "description": "Discipline id (e.g. 'software_engineering')"
689
+ "description": "Discipline id (e.g. 'software-engineering')"
690
690
  },
691
691
  "from_level": {
692
692
  "type": "string",
@@ -704,7 +704,7 @@ export const metadata = {
704
704
  "type": "string",
705
705
  "optional": true,
706
706
  "repeated": false,
707
- "description": "Track id for specialization modifier (e.g. 'forward_deployed')"
707
+ "description": "Track id for specialization modifier (e.g. 'forward-deployed')"
708
708
  }
709
709
  }
710
710
  },
@@ -715,7 +715,7 @@ export const metadata = {
715
715
  "type": "string",
716
716
  "optional": false,
717
717
  "repeated": false,
718
- "description": "Discipline id (e.g. 'software_engineering')"
718
+ "description": "Discipline id (e.g. 'software-engineering')"
719
719
  },
720
720
  "level": {
721
721
  "type": "string",
@@ -727,7 +727,7 @@ export const metadata = {
727
727
  "type": "string",
728
728
  "optional": true,
729
729
  "repeated": false,
730
- "description": "Track id for specialization modifier (e.g. 'forward_deployed')"
730
+ "description": "Track id for specialization modifier (e.g. 'forward-deployed')"
731
731
  }
732
732
  }
733
733
  },
@@ -738,7 +738,7 @@ export const metadata = {
738
738
  "type": "string",
739
739
  "optional": false,
740
740
  "repeated": false,
741
- "description": "Discipline id (e.g. 'software_engineering')"
741
+ "description": "Discipline id (e.g. 'software-engineering')"
742
742
  },
743
743
  "level": {
744
744
  "type": "string",
@@ -750,7 +750,7 @@ export const metadata = {
750
750
  "type": "string",
751
751
  "optional": true,
752
752
  "repeated": false,
753
- "description": "Track id for specialization modifier (e.g. 'forward_deployed')"
753
+ "description": "Track id for specialization modifier (e.g. 'forward-deployed')"
754
754
  }
755
755
  }
756
756
  }