@vohongtho.infotech/code-intel 0.6.0 → 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/README.md +6 -3
- package/dist/cli/main.js +2804 -1003
- package/dist/cli/main.js.map +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1162 -182
- package/dist/index.js.map +1 -1
- package/dist/web/assets/{es-CnPQcqTr.js → es-J7AmFCht.js} +1 -1
- package/dist/web/assets/index-DSIgTcZc.css +2 -0
- package/dist/web/assets/{index-j-iO6isa.js → index-upRm-kxQ.js} +4 -4
- package/dist/web/index.html +2 -2
- package/package.json +12 -1
- package/dist/web/assets/index-rprt8Su_.css +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ declare enum Language {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
type NodeKind = 'file' | 'directory' | 'function' | 'class' | 'interface' | 'method' | 'constructor' | 'variable' | 'property' | 'struct' | 'enum' | 'trait' | 'namespace' | 'module' | 'type_alias' | 'constant' | 'route' | 'cluster' | 'flow' | 'vulnerability';
|
|
25
|
-
type EdgeKind = 'contains' | 'calls' | 'imports' | 'extends' | 'implements' | 'has_member' | 'accesses' | 'overrides' | 'belongs_to' | 'step_of' | 'handles' | 'has_vulnerability';
|
|
25
|
+
type EdgeKind = 'contains' | 'calls' | 'imports' | 'extends' | 'implements' | 'has_member' | 'accesses' | 'overrides' | 'belongs_to' | 'step_of' | 'handles' | 'has_vulnerability' | 'deprecated_use' | 'tested_by';
|
|
26
26
|
interface CodeNode {
|
|
27
27
|
id: string;
|
|
28
28
|
kind: NodeKind;
|
|
@@ -437,7 +437,7 @@ interface RepoGroup {
|
|
|
437
437
|
members: GroupMember[];
|
|
438
438
|
lastSync?: string;
|
|
439
439
|
}
|
|
440
|
-
type ContractKind = 'export' | 'route' | 'schema' | 'event';
|
|
440
|
+
type ContractKind = 'export' | 'route' | 'schema' | 'event' | 'graphql' | 'grpc';
|
|
441
441
|
/**
|
|
442
442
|
* A contract is an observable boundary point of a repo:
|
|
443
443
|
* an exported symbol, HTTP route, event, or schema type.
|
|
@@ -451,6 +451,12 @@ interface Contract {
|
|
|
451
451
|
nodeKind: string;
|
|
452
452
|
filePath: string;
|
|
453
453
|
signature?: string;
|
|
454
|
+
parameters?: Array<{
|
|
455
|
+
name: string;
|
|
456
|
+
type?: string;
|
|
457
|
+
}>;
|
|
458
|
+
returnType?: string;
|
|
459
|
+
exported?: boolean;
|
|
454
460
|
}
|
|
455
461
|
type LinkKind = 'name-match' | 'route-match' | 'import-match';
|
|
456
462
|
/**
|