@suss/extractor 0.5.9 → 0.5.10
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 +36 -1
- package/dist/index.d.ts +36 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1276,6 +1276,40 @@ interface PatternPack {
|
|
|
1276
1276
|
* `"Sentry.wrapHandler"`.
|
|
1277
1277
|
*/
|
|
1278
1278
|
transparentWrappers?: TransparentWrapper[];
|
|
1279
|
+
/**
|
|
1280
|
+
* How this library's client object is constructed, so an operation
|
|
1281
|
+
* summary can say which endpoint its calls go to. Each entry is a
|
|
1282
|
+
* constructor or factory imported from `importModule`, with
|
|
1283
|
+
* `uriProperty` the option key whose value is the endpoint. The
|
|
1284
|
+
* adapter reads every construction in the project and stamps the
|
|
1285
|
+
* client on each operation summary when exactly one distinct client
|
|
1286
|
+
* exists; two or more distinct clients abstain, since a hook call
|
|
1287
|
+
* does not say which one it goes through.
|
|
1288
|
+
*/
|
|
1289
|
+
graphqlClients?: Array<{
|
|
1290
|
+
importModule: string;
|
|
1291
|
+
importName: string;
|
|
1292
|
+
uriProperty: string;
|
|
1293
|
+
}>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Which service a client talks to, keyed by the endpoint the
|
|
1296
|
+
* construction was read with: the uri literal, or the written
|
|
1297
|
+
* expression when the value is computed. The value is the provider
|
|
1298
|
+
* workspace name. This is deployment knowledge, so it comes from the
|
|
1299
|
+
* pack's own per-project config rather than from the library.
|
|
1300
|
+
*/
|
|
1301
|
+
graphqlClientBindings?: Record<string, string>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Which service the operations in a set of files talk to, for a
|
|
1304
|
+
* project whose one frontend uses two clients. A hook call does not
|
|
1305
|
+
* say which client it goes through, so when the sole-client rule
|
|
1306
|
+
* cannot decide, these globs do: an operation whose file matches
|
|
1307
|
+
* gets the entry's workspace. First matching entry wins.
|
|
1308
|
+
*/
|
|
1309
|
+
graphqlOperationScopes?: Array<{
|
|
1310
|
+
files: string[];
|
|
1311
|
+
workspace: string;
|
|
1312
|
+
}>;
|
|
1279
1313
|
/**
|
|
1280
1314
|
* Per-property-access recognizers, the counterpart to
|
|
1281
1315
|
* `invocationRecognizers`, firing on `PropertyAccessExpression`
|
|
@@ -1387,7 +1421,8 @@ interface DiscoveredCustomUnit {
|
|
|
1387
1421
|
*/
|
|
1388
1422
|
channelInfo?: {
|
|
1389
1423
|
messageBus: MessageBusSemantics["messageBus"];
|
|
1390
|
-
channel
|
|
1424
|
+
/** Null when the pack knows the wire but not the channel on it. */
|
|
1425
|
+
channel: string | null;
|
|
1391
1426
|
};
|
|
1392
1427
|
/** The thing that gets deployed and runs this unit, when known. */
|
|
1393
1428
|
deployableUnit?: DeployableUnit;
|
package/dist/index.d.ts
CHANGED
|
@@ -1276,6 +1276,40 @@ interface PatternPack {
|
|
|
1276
1276
|
* `"Sentry.wrapHandler"`.
|
|
1277
1277
|
*/
|
|
1278
1278
|
transparentWrappers?: TransparentWrapper[];
|
|
1279
|
+
/**
|
|
1280
|
+
* How this library's client object is constructed, so an operation
|
|
1281
|
+
* summary can say which endpoint its calls go to. Each entry is a
|
|
1282
|
+
* constructor or factory imported from `importModule`, with
|
|
1283
|
+
* `uriProperty` the option key whose value is the endpoint. The
|
|
1284
|
+
* adapter reads every construction in the project and stamps the
|
|
1285
|
+
* client on each operation summary when exactly one distinct client
|
|
1286
|
+
* exists; two or more distinct clients abstain, since a hook call
|
|
1287
|
+
* does not say which one it goes through.
|
|
1288
|
+
*/
|
|
1289
|
+
graphqlClients?: Array<{
|
|
1290
|
+
importModule: string;
|
|
1291
|
+
importName: string;
|
|
1292
|
+
uriProperty: string;
|
|
1293
|
+
}>;
|
|
1294
|
+
/**
|
|
1295
|
+
* Which service a client talks to, keyed by the endpoint the
|
|
1296
|
+
* construction was read with: the uri literal, or the written
|
|
1297
|
+
* expression when the value is computed. The value is the provider
|
|
1298
|
+
* workspace name. This is deployment knowledge, so it comes from the
|
|
1299
|
+
* pack's own per-project config rather than from the library.
|
|
1300
|
+
*/
|
|
1301
|
+
graphqlClientBindings?: Record<string, string>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Which service the operations in a set of files talk to, for a
|
|
1304
|
+
* project whose one frontend uses two clients. A hook call does not
|
|
1305
|
+
* say which client it goes through, so when the sole-client rule
|
|
1306
|
+
* cannot decide, these globs do: an operation whose file matches
|
|
1307
|
+
* gets the entry's workspace. First matching entry wins.
|
|
1308
|
+
*/
|
|
1309
|
+
graphqlOperationScopes?: Array<{
|
|
1310
|
+
files: string[];
|
|
1311
|
+
workspace: string;
|
|
1312
|
+
}>;
|
|
1279
1313
|
/**
|
|
1280
1314
|
* Per-property-access recognizers, the counterpart to
|
|
1281
1315
|
* `invocationRecognizers`, firing on `PropertyAccessExpression`
|
|
@@ -1387,7 +1421,8 @@ interface DiscoveredCustomUnit {
|
|
|
1387
1421
|
*/
|
|
1388
1422
|
channelInfo?: {
|
|
1389
1423
|
messageBus: MessageBusSemantics["messageBus"];
|
|
1390
|
-
channel
|
|
1424
|
+
/** Null when the pack knows the wire but not the channel on it. */
|
|
1425
|
+
channel: string | null;
|
|
1391
1426
|
};
|
|
1392
1427
|
/** The thing that gets deployed and runs this unit, when known. */
|
|
1393
1428
|
deployableUnit?: DeployableUnit;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@suss/extractor",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.10",
|
|
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.5.
|
|
48
|
+
"@suss/behavioral-ir": "0.5.10"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"tsup": "*",
|