@supermodeltools/sdk 0.6.4 → 0.7.1
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/apis/DefaultApi.d.ts +1 -1
- package/dist/apis/DefaultApi.js +1 -1
- package/dist/esm/apis/DefaultApi.d.ts +1 -1
- package/dist/esm/apis/DefaultApi.js +1 -1
- package/dist/esm/models/ClassificationStats.d.ts +49 -3
- package/dist/esm/models/ClassificationStats.js +32 -4
- package/dist/esm/models/CodeGraphEnvelope.d.ts +8 -1
- package/dist/esm/models/CodeGraphEnvelope.js +4 -1
- package/dist/esm/models/CodeGraphEnvelopeAsync.d.ts +1 -1
- package/dist/esm/models/CodeGraphEnvelopeAsync.js +1 -1
- package/dist/esm/models/CodeGraphEnvelopeGraph.d.ts +1 -1
- package/dist/esm/models/CodeGraphEnvelopeGraph.js +1 -1
- package/dist/esm/models/CodeGraphEnvelopeMetadata.d.ts +49 -0
- package/dist/esm/models/CodeGraphEnvelopeMetadata.js +44 -0
- package/dist/esm/models/CodeGraphNode.d.ts +1 -1
- package/dist/esm/models/CodeGraphNode.js +1 -1
- package/dist/esm/models/CodeGraphRelationship.d.ts +1 -1
- package/dist/esm/models/CodeGraphRelationship.js +1 -1
- package/dist/esm/models/CodeGraphStats.d.ts +29 -1
- package/dist/esm/models/CodeGraphStats.js +9 -1
- package/dist/esm/models/DomainClassAssignment.d.ts +1 -1
- package/dist/esm/models/DomainClassAssignment.js +1 -1
- package/dist/esm/models/DomainClassificationResponse.d.ts +15 -1
- package/dist/esm/models/DomainClassificationResponse.js +11 -1
- package/dist/esm/models/DomainClassificationResponseAsync.d.ts +1 -1
- package/dist/esm/models/DomainClassificationResponseAsync.js +1 -1
- package/dist/esm/models/DomainClassificationResponseGraph.d.ts +39 -0
- package/dist/esm/models/DomainClassificationResponseGraph.js +46 -0
- package/dist/esm/models/DomainFileAssignment.d.ts +1 -1
- package/dist/esm/models/DomainFileAssignment.js +1 -1
- package/dist/esm/models/DomainFunctionAssignment.d.ts +1 -1
- package/dist/esm/models/DomainFunctionAssignment.js +1 -1
- package/dist/esm/models/DomainRelationship.d.ts +1 -1
- package/dist/esm/models/DomainRelationship.js +1 -1
- package/dist/esm/models/DomainSummary.d.ts +1 -1
- package/dist/esm/models/DomainSummary.js +1 -1
- package/dist/esm/models/ErrorDetailsInner.d.ts +1 -1
- package/dist/esm/models/ErrorDetailsInner.js +1 -1
- package/dist/esm/models/FunctionDescription.d.ts +1 -1
- package/dist/esm/models/FunctionDescription.js +1 -1
- package/dist/esm/models/JobStatus.d.ts +1 -1
- package/dist/esm/models/JobStatus.js +1 -1
- package/dist/esm/models/ModelError.d.ts +1 -1
- package/dist/esm/models/ModelError.js +1 -1
- package/dist/esm/models/SubdomainSummary.d.ts +19 -1
- package/dist/esm/models/SubdomainSummary.js +13 -1
- package/dist/esm/models/SupermodelArtifact.d.ts +1 -1
- package/dist/esm/models/SupermodelArtifact.js +1 -1
- package/dist/esm/models/SupermodelIR.d.ts +22 -1
- package/dist/esm/models/SupermodelIR.js +16 -1
- package/dist/esm/models/SupermodelIRAsync.d.ts +1 -1
- package/dist/esm/models/SupermodelIRAsync.js +1 -1
- package/dist/esm/models/SupermodelIRGraph.d.ts +1 -1
- package/dist/esm/models/SupermodelIRGraph.js +1 -1
- package/dist/esm/models/SupermodelIRStats.d.ts +53 -0
- package/dist/esm/models/SupermodelIRStats.js +44 -0
- package/dist/esm/models/UnassignedFunction.d.ts +1 -1
- package/dist/esm/models/UnassignedFunction.js +1 -1
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/ClassificationStats.d.ts +49 -3
- package/dist/models/ClassificationStats.js +32 -4
- package/dist/models/CodeGraphEnvelope.d.ts +8 -1
- package/dist/models/CodeGraphEnvelope.js +4 -1
- package/dist/models/CodeGraphEnvelopeAsync.d.ts +1 -1
- package/dist/models/CodeGraphEnvelopeAsync.js +1 -1
- package/dist/models/CodeGraphEnvelopeGraph.d.ts +1 -1
- package/dist/models/CodeGraphEnvelopeGraph.js +1 -1
- package/dist/models/CodeGraphEnvelopeMetadata.d.ts +49 -0
- package/dist/models/CodeGraphEnvelopeMetadata.js +50 -0
- package/dist/models/CodeGraphNode.d.ts +1 -1
- package/dist/models/CodeGraphNode.js +1 -1
- package/dist/models/CodeGraphRelationship.d.ts +1 -1
- package/dist/models/CodeGraphRelationship.js +1 -1
- package/dist/models/CodeGraphStats.d.ts +29 -1
- package/dist/models/CodeGraphStats.js +9 -1
- package/dist/models/DomainClassAssignment.d.ts +1 -1
- package/dist/models/DomainClassAssignment.js +1 -1
- package/dist/models/DomainClassificationResponse.d.ts +15 -1
- package/dist/models/DomainClassificationResponse.js +11 -1
- package/dist/models/DomainClassificationResponseAsync.d.ts +1 -1
- package/dist/models/DomainClassificationResponseAsync.js +1 -1
- package/dist/models/DomainClassificationResponseGraph.d.ts +39 -0
- package/dist/models/DomainClassificationResponseGraph.js +52 -0
- package/dist/models/DomainFileAssignment.d.ts +1 -1
- package/dist/models/DomainFileAssignment.js +1 -1
- package/dist/models/DomainFunctionAssignment.d.ts +1 -1
- package/dist/models/DomainFunctionAssignment.js +1 -1
- package/dist/models/DomainRelationship.d.ts +1 -1
- package/dist/models/DomainRelationship.js +1 -1
- package/dist/models/DomainSummary.d.ts +1 -1
- package/dist/models/DomainSummary.js +1 -1
- package/dist/models/ErrorDetailsInner.d.ts +1 -1
- package/dist/models/ErrorDetailsInner.js +1 -1
- package/dist/models/FunctionDescription.d.ts +1 -1
- package/dist/models/FunctionDescription.js +1 -1
- package/dist/models/JobStatus.d.ts +1 -1
- package/dist/models/JobStatus.js +1 -1
- package/dist/models/ModelError.d.ts +1 -1
- package/dist/models/ModelError.js +1 -1
- package/dist/models/SubdomainSummary.d.ts +19 -1
- package/dist/models/SubdomainSummary.js +13 -1
- package/dist/models/SupermodelArtifact.d.ts +1 -1
- package/dist/models/SupermodelArtifact.js +1 -1
- package/dist/models/SupermodelIR.d.ts +22 -1
- package/dist/models/SupermodelIR.js +16 -1
- package/dist/models/SupermodelIRAsync.d.ts +1 -1
- package/dist/models/SupermodelIRAsync.js +1 -1
- package/dist/models/SupermodelIRGraph.d.ts +1 -1
- package/dist/models/SupermodelIRGraph.js +1 -1
- package/dist/models/SupermodelIRStats.d.ts +53 -0
- package/dist/models/SupermodelIRStats.js +50 -0
- package/dist/models/UnassignedFunction.d.ts +1 -1
- package/dist/models/UnassignedFunction.js +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Supermodel
|
|
5
|
+
* Code Graphing & Analysis API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.7.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { CodeGraphNodeFromJSON, CodeGraphNodeToJSON, } from './CodeGraphNode';
|
|
15
|
+
import { CodeGraphRelationshipFromJSON, CodeGraphRelationshipToJSON, } from './CodeGraphRelationship';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the DomainClassificationResponseGraph interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfDomainClassificationResponseGraph(value) {
|
|
20
|
+
if (!('nodes' in value) || value['nodes'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('relationships' in value) || value['relationships'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function DomainClassificationResponseGraphFromJSON(json) {
|
|
27
|
+
return DomainClassificationResponseGraphFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function DomainClassificationResponseGraphFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'nodes': (json['nodes'].map(CodeGraphNodeFromJSON)),
|
|
35
|
+
'relationships': (json['relationships'].map(CodeGraphRelationshipFromJSON)),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function DomainClassificationResponseGraphToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'nodes': (value['nodes'].map(CodeGraphNodeToJSON)),
|
|
44
|
+
'relationships': (value['relationships'].map(CodeGraphRelationshipToJSON)),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Supermodel
|
|
3
3
|
* Code Graphing & Analysis API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,6 +27,24 @@ export interface SubdomainSummary {
|
|
|
27
27
|
* @memberof SubdomainSummary
|
|
28
28
|
*/
|
|
29
29
|
descriptionSummary: string;
|
|
30
|
+
/**
|
|
31
|
+
* List of file paths assigned to this subdomain
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SubdomainSummary
|
|
34
|
+
*/
|
|
35
|
+
files: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* List of function IDs assigned to this subdomain
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof SubdomainSummary
|
|
40
|
+
*/
|
|
41
|
+
functions: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* List of class IDs assigned to this subdomain
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof SubdomainSummary
|
|
46
|
+
*/
|
|
47
|
+
classes: Array<string>;
|
|
30
48
|
}
|
|
31
49
|
/**
|
|
32
50
|
* Check if a given object implements the SubdomainSummary interface.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Supermodel
|
|
5
5
|
* Code Graphing & Analysis API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -19,6 +19,12 @@ export function instanceOfSubdomainSummary(value) {
|
|
|
19
19
|
return false;
|
|
20
20
|
if (!('descriptionSummary' in value) || value['descriptionSummary'] === undefined)
|
|
21
21
|
return false;
|
|
22
|
+
if (!('files' in value) || value['files'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('functions' in value) || value['functions'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('classes' in value) || value['classes'] === undefined)
|
|
27
|
+
return false;
|
|
22
28
|
return true;
|
|
23
29
|
}
|
|
24
30
|
export function SubdomainSummaryFromJSON(json) {
|
|
@@ -31,6 +37,9 @@ export function SubdomainSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
37
|
return {
|
|
32
38
|
'name': json['name'],
|
|
33
39
|
'descriptionSummary': json['descriptionSummary'],
|
|
40
|
+
'files': json['files'],
|
|
41
|
+
'functions': json['functions'],
|
|
42
|
+
'classes': json['classes'],
|
|
34
43
|
};
|
|
35
44
|
}
|
|
36
45
|
export function SubdomainSummaryToJSON(value) {
|
|
@@ -40,5 +49,8 @@ export function SubdomainSummaryToJSON(value) {
|
|
|
40
49
|
return {
|
|
41
50
|
'name': value['name'],
|
|
42
51
|
'descriptionSummary': value['descriptionSummary'],
|
|
52
|
+
'files': value['files'],
|
|
53
|
+
'functions': value['functions'],
|
|
54
|
+
'classes': value['classes'],
|
|
43
55
|
};
|
|
44
56
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Supermodel
|
|
3
3
|
* Code Graphing & Analysis API
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.
|
|
5
|
+
* The version of the OpenAPI document: 0.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SupermodelIRGraph } from './SupermodelIRGraph';
|
|
13
|
+
import type { SupermodelIRStats } from './SupermodelIRStats';
|
|
14
|
+
import type { DomainSummary } from './DomainSummary';
|
|
15
|
+
import type { CodeGraphEnvelopeMetadata } from './CodeGraphEnvelopeMetadata';
|
|
13
16
|
import type { SupermodelArtifact } from './SupermodelArtifact';
|
|
14
17
|
/**
|
|
15
18
|
*
|
|
@@ -49,6 +52,24 @@ export interface SupermodelIR {
|
|
|
49
52
|
summary?: {
|
|
50
53
|
[key: string]: any;
|
|
51
54
|
};
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {SupermodelIRStats}
|
|
58
|
+
* @memberof SupermodelIR
|
|
59
|
+
*/
|
|
60
|
+
stats: SupermodelIRStats;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {CodeGraphEnvelopeMetadata}
|
|
64
|
+
* @memberof SupermodelIR
|
|
65
|
+
*/
|
|
66
|
+
metadata: CodeGraphEnvelopeMetadata;
|
|
67
|
+
/**
|
|
68
|
+
* Array of discovered domain entities
|
|
69
|
+
* @type {Array<DomainSummary>}
|
|
70
|
+
* @memberof SupermodelIR
|
|
71
|
+
*/
|
|
72
|
+
domains: Array<DomainSummary>;
|
|
52
73
|
/**
|
|
53
74
|
*
|
|
54
75
|
* @type {SupermodelIRGraph}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Supermodel
|
|
5
5
|
* Code Graphing & Analysis API
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.7.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,6 +12,9 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { SupermodelIRGraphFromJSON, SupermodelIRGraphToJSON, } from './SupermodelIRGraph';
|
|
15
|
+
import { SupermodelIRStatsFromJSON, SupermodelIRStatsToJSON, } from './SupermodelIRStats';
|
|
16
|
+
import { DomainSummaryFromJSON, DomainSummaryToJSON, } from './DomainSummary';
|
|
17
|
+
import { CodeGraphEnvelopeMetadataFromJSON, CodeGraphEnvelopeMetadataToJSON, } from './CodeGraphEnvelopeMetadata';
|
|
15
18
|
import { SupermodelArtifactFromJSON, SupermodelArtifactToJSON, } from './SupermodelArtifact';
|
|
16
19
|
/**
|
|
17
20
|
* Check if a given object implements the SupermodelIR interface.
|
|
@@ -25,6 +28,12 @@ export function instanceOfSupermodelIR(value) {
|
|
|
25
28
|
return false;
|
|
26
29
|
if (!('generatedAt' in value) || value['generatedAt'] === undefined)
|
|
27
30
|
return false;
|
|
31
|
+
if (!('stats' in value) || value['stats'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('domains' in value) || value['domains'] === undefined)
|
|
36
|
+
return false;
|
|
28
37
|
if (!('graph' in value) || value['graph'] === undefined)
|
|
29
38
|
return false;
|
|
30
39
|
return true;
|
|
@@ -42,6 +51,9 @@ export function SupermodelIRFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
51
|
'schemaVersion': json['schemaVersion'],
|
|
43
52
|
'generatedAt': (new Date(json['generatedAt'])),
|
|
44
53
|
'summary': json['summary'] == null ? undefined : json['summary'],
|
|
54
|
+
'stats': SupermodelIRStatsFromJSON(json['stats']),
|
|
55
|
+
'metadata': CodeGraphEnvelopeMetadataFromJSON(json['metadata']),
|
|
56
|
+
'domains': (json['domains'].map(DomainSummaryFromJSON)),
|
|
45
57
|
'graph': SupermodelIRGraphFromJSON(json['graph']),
|
|
46
58
|
'artifacts': json['artifacts'] == null ? undefined : (json['artifacts'].map(SupermodelArtifactFromJSON)),
|
|
47
59
|
};
|
|
@@ -56,6 +68,9 @@ export function SupermodelIRToJSON(value) {
|
|
|
56
68
|
'schemaVersion': value['schemaVersion'],
|
|
57
69
|
'generatedAt': ((value['generatedAt']).toISOString()),
|
|
58
70
|
'summary': value['summary'],
|
|
71
|
+
'stats': SupermodelIRStatsToJSON(value['stats']),
|
|
72
|
+
'metadata': CodeGraphEnvelopeMetadataToJSON(value['metadata']),
|
|
73
|
+
'domains': (value['domains'].map(DomainSummaryToJSON)),
|
|
59
74
|
'graph': SupermodelIRGraphToJSON(value['graph']),
|
|
60
75
|
'artifacts': value['artifacts'] == null ? undefined : (value['artifacts'].map(SupermodelArtifactToJSON)),
|
|
61
76
|
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Supermodel
|
|
3
|
+
* Code Graphing & Analysis API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.7.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Graph statistics including node and relationship counts by type
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SupermodelIRStats
|
|
16
|
+
*/
|
|
17
|
+
export interface SupermodelIRStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SupermodelIRStats
|
|
22
|
+
*/
|
|
23
|
+
nodeCount?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SupermodelIRStats
|
|
28
|
+
*/
|
|
29
|
+
relationshipCount?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {{ [key: string]: number; }}
|
|
33
|
+
* @memberof SupermodelIRStats
|
|
34
|
+
*/
|
|
35
|
+
nodeTypes?: {
|
|
36
|
+
[key: string]: number;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {{ [key: string]: number; }}
|
|
41
|
+
* @memberof SupermodelIRStats
|
|
42
|
+
*/
|
|
43
|
+
relationshipTypes?: {
|
|
44
|
+
[key: string]: number;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Check if a given object implements the SupermodelIRStats interface.
|
|
49
|
+
*/
|
|
50
|
+
export declare function instanceOfSupermodelIRStats(value: object): value is SupermodelIRStats;
|
|
51
|
+
export declare function SupermodelIRStatsFromJSON(json: any): SupermodelIRStats;
|
|
52
|
+
export declare function SupermodelIRStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupermodelIRStats;
|
|
53
|
+
export declare function SupermodelIRStatsToJSON(value?: SupermodelIRStats | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Supermodel
|
|
5
|
+
* Code Graphing & Analysis API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 0.7.1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the SupermodelIRStats interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSupermodelIRStats(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function SupermodelIRStatsFromJSON(json) {
|
|
21
|
+
return SupermodelIRStatsFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SupermodelIRStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'nodeCount': json['nodeCount'] == null ? undefined : json['nodeCount'],
|
|
29
|
+
'relationshipCount': json['relationshipCount'] == null ? undefined : json['relationshipCount'],
|
|
30
|
+
'nodeTypes': json['nodeTypes'] == null ? undefined : json['nodeTypes'],
|
|
31
|
+
'relationshipTypes': json['relationshipTypes'] == null ? undefined : json['relationshipTypes'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function SupermodelIRStatsToJSON(value) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'nodeCount': value['nodeCount'],
|
|
40
|
+
'relationshipCount': value['relationshipCount'],
|
|
41
|
+
'nodeTypes': value['nodeTypes'],
|
|
42
|
+
'relationshipTypes': value['relationshipTypes'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -2,12 +2,14 @@ export * from './ClassificationStats';
|
|
|
2
2
|
export * from './CodeGraphEnvelope';
|
|
3
3
|
export * from './CodeGraphEnvelopeAsync';
|
|
4
4
|
export * from './CodeGraphEnvelopeGraph';
|
|
5
|
+
export * from './CodeGraphEnvelopeMetadata';
|
|
5
6
|
export * from './CodeGraphNode';
|
|
6
7
|
export * from './CodeGraphRelationship';
|
|
7
8
|
export * from './CodeGraphStats';
|
|
8
9
|
export * from './DomainClassAssignment';
|
|
9
10
|
export * from './DomainClassificationResponse';
|
|
10
11
|
export * from './DomainClassificationResponseAsync';
|
|
12
|
+
export * from './DomainClassificationResponseGraph';
|
|
11
13
|
export * from './DomainFileAssignment';
|
|
12
14
|
export * from './DomainFunctionAssignment';
|
|
13
15
|
export * from './DomainRelationship';
|
|
@@ -21,4 +23,5 @@ export * from './SupermodelArtifact';
|
|
|
21
23
|
export * from './SupermodelIR';
|
|
22
24
|
export * from './SupermodelIRAsync';
|
|
23
25
|
export * from './SupermodelIRGraph';
|
|
26
|
+
export * from './SupermodelIRStats';
|
|
24
27
|
export * from './UnassignedFunction';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -4,12 +4,14 @@ export * from './ClassificationStats';
|
|
|
4
4
|
export * from './CodeGraphEnvelope';
|
|
5
5
|
export * from './CodeGraphEnvelopeAsync';
|
|
6
6
|
export * from './CodeGraphEnvelopeGraph';
|
|
7
|
+
export * from './CodeGraphEnvelopeMetadata';
|
|
7
8
|
export * from './CodeGraphNode';
|
|
8
9
|
export * from './CodeGraphRelationship';
|
|
9
10
|
export * from './CodeGraphStats';
|
|
10
11
|
export * from './DomainClassAssignment';
|
|
11
12
|
export * from './DomainClassificationResponse';
|
|
12
13
|
export * from './DomainClassificationResponseAsync';
|
|
14
|
+
export * from './DomainClassificationResponseGraph';
|
|
13
15
|
export * from './DomainFileAssignment';
|
|
14
16
|
export * from './DomainFunctionAssignment';
|
|
15
17
|
export * from './DomainRelationship';
|
|
@@ -23,4 +25,5 @@ export * from './SupermodelArtifact';
|
|
|
23
25
|
export * from './SupermodelIR';
|
|
24
26
|
export * from './SupermodelIRAsync';
|
|
25
27
|
export * from './SupermodelIRGraph';
|
|
28
|
+
export * from './SupermodelIRStats';
|
|
26
29
|
export * from './UnassignedFunction';
|
package/dist/esm/runtime.d.ts
CHANGED
package/dist/esm/runtime.js
CHANGED