@suss/extractor 0.7.2 → 0.8.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.
package/dist/index.d.cts CHANGED
@@ -1401,15 +1401,17 @@ interface DiscoveredCustomUnit {
1401
1401
  * When set, the adapter builds a `rest` binding from `(method, path)`,
1402
1402
  * the same binding a NestJS controller gets from decorator-derived
1403
1403
  * `routeInfo`, and the discoverUnits callback never has to reach into
1404
- * the adapter's binding machinery.
1404
+ * the adapter's binding machinery. Either half is null when the
1405
+ * source does not state it, and a binding missing one pairs with
1406
+ * nothing.
1405
1407
  *
1406
1408
  * One function bound to several routes emits one DiscoveredCustomUnit
1407
1409
  * per route. The adapter's per-file claim dedup keys on
1408
1410
  * `(func, kind, method, path)`, so all of those variants survive.
1409
1411
  */
1410
1412
  routeInfo?: {
1411
- method: string;
1412
- path: string;
1413
+ method: string | null;
1414
+ path: string | null;
1413
1415
  };
1414
1416
  /**
1415
1417
  * GraphQL field identity for units a callback discovers against an
package/dist/index.d.ts CHANGED
@@ -1401,15 +1401,17 @@ interface DiscoveredCustomUnit {
1401
1401
  * When set, the adapter builds a `rest` binding from `(method, path)`,
1402
1402
  * the same binding a NestJS controller gets from decorator-derived
1403
1403
  * `routeInfo`, and the discoverUnits callback never has to reach into
1404
- * the adapter's binding machinery.
1404
+ * the adapter's binding machinery. Either half is null when the
1405
+ * source does not state it, and a binding missing one pairs with
1406
+ * nothing.
1405
1407
  *
1406
1408
  * One function bound to several routes emits one DiscoveredCustomUnit
1407
1409
  * per route. The adapter's per-file claim dedup keys on
1408
1410
  * `(func, kind, method, path)`, so all of those variants survive.
1409
1411
  */
1410
1412
  routeInfo?: {
1411
- method: string;
1412
- path: string;
1413
+ method: string | null;
1414
+ path: string | null;
1413
1415
  };
1414
1416
  /**
1415
1417
  * GraphQL field identity for units a callback discovers against an
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suss/extractor",
3
- "version": "0.7.2",
3
+ "version": "0.8.0",
4
4
  "type": "module",
5
5
  "description": "Framework-agnostic extraction pipeline that turns raw extractions into suss behavioral summaries.",
6
6
  "keywords": [
@@ -45,7 +45,7 @@
45
45
  "typecheck": "tsc --noEmit"
46
46
  },
47
47
  "dependencies": {
48
- "@suss/behavioral-ir": "0.7.2"
48
+ "@suss/behavioral-ir": "0.8.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "tsup": "*",