@proofline/sdk 3.3.1 → 4.0.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 +1 -14
- package/dist/transport.js +1 -1
- package/openapi.public.json +3 -41
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -3027,7 +3027,7 @@ export interface components {
|
|
|
3027
3027
|
* @description Whether an explicit request may reuse a settled review of the live head.
|
|
3028
3028
|
* @enum {string}
|
|
3029
3029
|
*/
|
|
3030
|
-
RunNowMode: "EXISTING_OR_NEW" | "FULL"
|
|
3030
|
+
RunNowMode: "EXISTING_OR_NEW" | "FULL";
|
|
3031
3031
|
/**
|
|
3032
3032
|
* @description Why a run-now request created nothing, each reason with what the page
|
|
3033
3033
|
* needs to link the setting to change.
|
|
@@ -3068,13 +3068,6 @@ export interface components {
|
|
|
3068
3068
|
} | {
|
|
3069
3069
|
/** @constant */
|
|
3070
3070
|
reason: "PULL_REQUEST_CLOSED";
|
|
3071
|
-
} | {
|
|
3072
|
-
detail: string;
|
|
3073
|
-
/** @constant */
|
|
3074
|
-
reason: "DEEP_REVIEW_UNAVAILABLE";
|
|
3075
|
-
} | {
|
|
3076
|
-
/** @constant */
|
|
3077
|
-
reason: "DEEP_REVIEW_FOCUS_CONFLICT";
|
|
3078
3071
|
};
|
|
3079
3072
|
/**
|
|
3080
3073
|
* @description A run-now request that created nothing, as the 400 it is answered with.
|
|
@@ -3106,15 +3099,9 @@ export interface components {
|
|
|
3106
3099
|
};
|
|
3107
3100
|
/** @description An empty body keeps the run-now behavior existing clients request. */
|
|
3108
3101
|
RunNowRequest: {
|
|
3109
|
-
/**
|
|
3110
|
-
* @description Optional investigation focus for EXTENDED, trimmed and frozen at admission.
|
|
3111
|
-
* Limited to 500 UTF-16 code units.
|
|
3112
|
-
*/
|
|
3113
|
-
focus_text?: string | null;
|
|
3114
3102
|
/**
|
|
3115
3103
|
* @description `EXISTING_OR_NEW`, the default, returns any review that already owns the live head.
|
|
3116
3104
|
* `FULL` returns a pending or running review of that head or starts a new one.
|
|
3117
|
-
* `EXTENDED` admits one funded Deep Review for that head, with optional focus.
|
|
3118
3105
|
*/
|
|
3119
3106
|
mode?: components["schemas"]["RunNowMode"];
|
|
3120
3107
|
};
|
package/dist/transport.js
CHANGED
package/openapi.public.json
CHANGED
|
@@ -4942,8 +4942,7 @@
|
|
|
4942
4942
|
"description": "Whether an explicit request may reuse a settled review of the live head.",
|
|
4943
4943
|
"enum": [
|
|
4944
4944
|
"EXISTING_OR_NEW",
|
|
4945
|
-
"FULL"
|
|
4946
|
-
"EXTENDED"
|
|
4945
|
+
"FULL"
|
|
4947
4946
|
],
|
|
4948
4947
|
"type": "string"
|
|
4949
4948
|
},
|
|
@@ -5111,36 +5110,6 @@
|
|
|
5111
5110
|
"reason"
|
|
5112
5111
|
],
|
|
5113
5112
|
"type": "object"
|
|
5114
|
-
},
|
|
5115
|
-
{
|
|
5116
|
-
"description": "Deep review policy, funding or worker availability prevents admission.",
|
|
5117
|
-
"properties": {
|
|
5118
|
-
"detail": {
|
|
5119
|
-
"type": "string"
|
|
5120
|
-
},
|
|
5121
|
-
"reason": {
|
|
5122
|
-
"const": "DEEP_REVIEW_UNAVAILABLE",
|
|
5123
|
-
"type": "string"
|
|
5124
|
-
}
|
|
5125
|
-
},
|
|
5126
|
-
"required": [
|
|
5127
|
-
"reason",
|
|
5128
|
-
"detail"
|
|
5129
|
-
],
|
|
5130
|
-
"type": "object"
|
|
5131
|
-
},
|
|
5132
|
-
{
|
|
5133
|
-
"description": "The existing review already retains a different focus.",
|
|
5134
|
-
"properties": {
|
|
5135
|
-
"reason": {
|
|
5136
|
-
"const": "DEEP_REVIEW_FOCUS_CONFLICT",
|
|
5137
|
-
"type": "string"
|
|
5138
|
-
}
|
|
5139
|
-
},
|
|
5140
|
-
"required": [
|
|
5141
|
-
"reason"
|
|
5142
|
-
],
|
|
5143
|
-
"type": "object"
|
|
5144
5113
|
}
|
|
5145
5114
|
]
|
|
5146
5115
|
},
|
|
@@ -5188,20 +5157,13 @@
|
|
|
5188
5157
|
"additionalProperties": false,
|
|
5189
5158
|
"description": "An empty body keeps the run-now behavior existing clients request.",
|
|
5190
5159
|
"properties": {
|
|
5191
|
-
"focus_text": {
|
|
5192
|
-
"description": "Optional investigation focus for EXTENDED, trimmed and frozen at admission.\n Limited to 500 UTF-16 code units.",
|
|
5193
|
-
"type": [
|
|
5194
|
-
"string",
|
|
5195
|
-
"null"
|
|
5196
|
-
]
|
|
5197
|
-
},
|
|
5198
5160
|
"mode": {
|
|
5199
5161
|
"allOf": [
|
|
5200
5162
|
{
|
|
5201
5163
|
"$ref": "#/components/schemas/RunNowMode"
|
|
5202
5164
|
}
|
|
5203
5165
|
],
|
|
5204
|
-
"description": "`EXISTING_OR_NEW`, the default, returns any review that already owns the live head.\n `FULL` returns a pending or running review of that head or starts a new one
|
|
5166
|
+
"description": "`EXISTING_OR_NEW`, the default, returns any review that already owns the live head.\n `FULL` returns a pending or running review of that head or starts a new one."
|
|
5205
5167
|
}
|
|
5206
5168
|
},
|
|
5207
5169
|
"type": "object"
|
|
@@ -5831,7 +5793,7 @@
|
|
|
5831
5793
|
},
|
|
5832
5794
|
"info": {
|
|
5833
5795
|
"title": "Proofline Review API",
|
|
5834
|
-
"version": "
|
|
5796
|
+
"version": "4.0.0"
|
|
5835
5797
|
},
|
|
5836
5798
|
"openapi": "3.1.0",
|
|
5837
5799
|
"paths": {
|