@proofline/sdk 5.6.1 → 5.7.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/schema.d.ts +24 -0
- package/dist/transport.js +1 -1
- package/openapi.public.json +35 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -745,6 +745,24 @@ export interface components {
|
|
|
745
745
|
* the change: only `COMPLETED` says the assessment covered what it read.
|
|
746
746
|
*/
|
|
747
747
|
CodeAssessmentStatus: ("PENDING" | "RUNNING" | "COMPLETED" | "INCOMPLETE") | "EXCLUDED";
|
|
748
|
+
/**
|
|
749
|
+
* @description What a code assessment had read when its head's spending ceiling stopped
|
|
750
|
+
* it. A rerun of the same commit runs under the same ceiling.
|
|
751
|
+
*/
|
|
752
|
+
CodeCeilingStop: {
|
|
753
|
+
/**
|
|
754
|
+
* Format: uint
|
|
755
|
+
* @description The distinct files the reviewed change touched.
|
|
756
|
+
*/
|
|
757
|
+
changed_files: number;
|
|
758
|
+
/**
|
|
759
|
+
* @description The changed files of each part of the change the ceiling stopped or
|
|
760
|
+
* never reached, in review order. The assessment may have read some of
|
|
761
|
+
* their changed lines, so this lists files it did not finish. Empty
|
|
762
|
+
* when the ceiling stopped it after every part was read.
|
|
763
|
+
*/
|
|
764
|
+
unfinished_paths: string[];
|
|
765
|
+
};
|
|
748
766
|
/** @description One stored post-merge judgment of a finding comment. */
|
|
749
767
|
CommentAddressEvaluationView: {
|
|
750
768
|
/**
|
|
@@ -1035,6 +1053,12 @@ export interface components {
|
|
|
1035
1053
|
CustomerCodeAssessment: {
|
|
1036
1054
|
/** @description The base commit the code assessment compared the head with. */
|
|
1037
1055
|
base_commit_sha: string;
|
|
1056
|
+
/**
|
|
1057
|
+
* @description How much of the change the code assessment read before its head's
|
|
1058
|
+
* spending ceiling stopped it. Null for every other ending, and for an
|
|
1059
|
+
* assessment that recorded no change map.
|
|
1060
|
+
*/
|
|
1061
|
+
ceiling_stop?: components["schemas"]["CodeCeilingStop"] | null;
|
|
1038
1062
|
/**
|
|
1039
1063
|
* Format: date-time
|
|
1040
1064
|
* @description When the code assessment ended. Null while it has not.
|
package/dist/transport.js
CHANGED
package/openapi.public.json
CHANGED
|
@@ -653,6 +653,29 @@
|
|
|
653
653
|
}
|
|
654
654
|
]
|
|
655
655
|
},
|
|
656
|
+
"CodeCeilingStop": {
|
|
657
|
+
"description": "What a code assessment had read when its head's spending ceiling stopped\n it. A rerun of the same commit runs under the same ceiling.",
|
|
658
|
+
"properties": {
|
|
659
|
+
"changed_files": {
|
|
660
|
+
"description": "The distinct files the reviewed change touched.",
|
|
661
|
+
"format": "uint",
|
|
662
|
+
"minimum": 0,
|
|
663
|
+
"type": "integer"
|
|
664
|
+
},
|
|
665
|
+
"unfinished_paths": {
|
|
666
|
+
"description": "The changed files of each part of the change the ceiling stopped or\n never reached, in review order. The assessment may have read some of\n their changed lines, so this lists files it did not finish. Empty\n when the ceiling stopped it after every part was read.",
|
|
667
|
+
"items": {
|
|
668
|
+
"type": "string"
|
|
669
|
+
},
|
|
670
|
+
"type": "array"
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
"required": [
|
|
674
|
+
"changed_files",
|
|
675
|
+
"unfinished_paths"
|
|
676
|
+
],
|
|
677
|
+
"type": "object"
|
|
678
|
+
},
|
|
656
679
|
"CommentAddressEvaluationView": {
|
|
657
680
|
"description": "One stored post-merge judgment of a finding comment.",
|
|
658
681
|
"properties": {
|
|
@@ -1151,6 +1174,17 @@
|
|
|
1151
1174
|
"description": "The base commit the code assessment compared the head with.",
|
|
1152
1175
|
"type": "string"
|
|
1153
1176
|
},
|
|
1177
|
+
"ceiling_stop": {
|
|
1178
|
+
"anyOf": [
|
|
1179
|
+
{
|
|
1180
|
+
"$ref": "#/components/schemas/CodeCeilingStop"
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"type": "null"
|
|
1184
|
+
}
|
|
1185
|
+
],
|
|
1186
|
+
"description": "How much of the change the code assessment read before its head's\n spending ceiling stopped it. Null for every other ending, and for an\n assessment that recorded no change map."
|
|
1187
|
+
},
|
|
1154
1188
|
"completed_at": {
|
|
1155
1189
|
"description": "When the code assessment ended. Null while it has not.",
|
|
1156
1190
|
"format": "date-time",
|
|
@@ -6006,7 +6040,7 @@
|
|
|
6006
6040
|
},
|
|
6007
6041
|
"info": {
|
|
6008
6042
|
"title": "Proofline Review API",
|
|
6009
|
-
"version": "5.
|
|
6043
|
+
"version": "5.7.0"
|
|
6010
6044
|
},
|
|
6011
6045
|
"openapi": "3.1.0",
|
|
6012
6046
|
"paths": {
|