@suss/adapter-typescript 0.1.1 → 0.3.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
@@ -471,6 +471,16 @@ type DescentBarriers = ReadonlySet<Node>;
471
471
  declare function extractCodeStructure(unit: DiscoveredUnit, pack: PatternPack, invocationRecognizers?: InvocationRecognizer[], accessRecognizers?: AccessRecognizer[], barriers?: DescentBarriers): RawCodeStructure;
472
472
  interface TypeScriptAdapterConfig {
473
473
  tsConfigFilePath?: string;
474
+ /**
475
+ * What the project being read calls itself, so a summary can carry a
476
+ * name nothing else in a run shares.
477
+ *
478
+ * Two services in one repository both hold `src/handlers.ts`, and a
479
+ * summary named after the file and the export is the same on both
480
+ * sides until something says which project it came from. Worked out
481
+ * from the project's own package.json when nobody says.
482
+ */
483
+ workspace?: string;
474
484
  project?: Project;
475
485
  frameworks: PatternPack[];
476
486
  extractorOptions?: ExtractorOptions;
package/dist/index.d.ts CHANGED
@@ -471,6 +471,16 @@ type DescentBarriers = ReadonlySet<Node>;
471
471
  declare function extractCodeStructure(unit: DiscoveredUnit, pack: PatternPack, invocationRecognizers?: InvocationRecognizer[], accessRecognizers?: AccessRecognizer[], barriers?: DescentBarriers): RawCodeStructure;
472
472
  interface TypeScriptAdapterConfig {
473
473
  tsConfigFilePath?: string;
474
+ /**
475
+ * What the project being read calls itself, so a summary can carry a
476
+ * name nothing else in a run shares.
477
+ *
478
+ * Two services in one repository both hold `src/handlers.ts`, and a
479
+ * summary named after the file and the export is the same on both
480
+ * sides until something says which project it came from. Worked out
481
+ * from the project's own package.json when nobody says.
482
+ */
483
+ workspace?: string;
474
484
  project?: Project;
475
485
  frameworks: PatternPack[];
476
486
  extractorOptions?: ExtractorOptions;