@groundcover/api-client 0.46.0 → 0.47.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.
|
@@ -435,12 +435,7 @@ export type AssertionSource = string;
|
|
|
435
435
|
export type AssessmentVerdictRequest = {
|
|
436
436
|
assessmentId: string;
|
|
437
437
|
reason: string;
|
|
438
|
-
|
|
439
|
-
* open VerdictOpen
|
|
440
|
-
* correct VerdictCorrect
|
|
441
|
-
* incorrect VerdictIncorrect
|
|
442
|
-
*/
|
|
443
|
-
verdict: 'correct' | 'incorrect';
|
|
438
|
+
verdict: 'accepted' | 'rejected';
|
|
444
439
|
};
|
|
445
440
|
export type AssetDataSource = {
|
|
446
441
|
/**
|
|
@@ -3928,7 +3923,10 @@ export type Investigation = {
|
|
|
3928
3923
|
* The question, or the claim to test.
|
|
3929
3924
|
*/
|
|
3930
3925
|
statement: string;
|
|
3931
|
-
|
|
3926
|
+
/**
|
|
3927
|
+
* Questions use open/answered/stopped; hypotheses use open/supported/refuted/stopped.
|
|
3928
|
+
*/
|
|
3929
|
+
status: 'open' | 'answered' | 'supported' | 'refuted' | 'stopped';
|
|
3932
3930
|
timeRange?: InvestigationTimeRange;
|
|
3933
3931
|
};
|
|
3934
3932
|
/**
|
|
@@ -3948,11 +3946,8 @@ export type InvestigationAssessment = {
|
|
|
3948
3946
|
updatedAt: string;
|
|
3949
3947
|
/**
|
|
3950
3948
|
* Set when a conclusion on the node is approved; an update resets it to open.
|
|
3951
|
-
* open VerdictOpen
|
|
3952
|
-
* correct VerdictCorrect
|
|
3953
|
-
* incorrect VerdictIncorrect
|
|
3954
3949
|
*/
|
|
3955
|
-
verdict: 'open' | '
|
|
3950
|
+
verdict: 'open' | 'accepted' | 'rejected';
|
|
3956
3951
|
verdictReason?: string;
|
|
3957
3952
|
};
|
|
3958
3953
|
/**
|
|
@@ -3961,12 +3956,7 @@ export type InvestigationAssessment = {
|
|
|
3961
3956
|
export type InvestigationAssessmentFeedback = {
|
|
3962
3957
|
proposalId: string;
|
|
3963
3958
|
reason: string;
|
|
3964
|
-
|
|
3965
|
-
* open VerdictOpen
|
|
3966
|
-
* correct VerdictCorrect
|
|
3967
|
-
* incorrect VerdictIncorrect
|
|
3968
|
-
*/
|
|
3969
|
-
verdict: 'correct' | 'incorrect';
|
|
3959
|
+
verdict: 'accepted' | 'rejected';
|
|
3970
3960
|
};
|
|
3971
3961
|
export type InvestigationAuthor = {
|
|
3972
3962
|
agentInstanceId?: string;
|
|
@@ -4082,13 +4072,7 @@ export type InvestigationProposal = {
|
|
|
4082
4072
|
* deferred ReviewStateDeferred
|
|
4083
4073
|
*/
|
|
4084
4074
|
reviewState?: 'queued' | 'reviewing' | 'deferred';
|
|
4085
|
-
|
|
4086
|
-
* pending ProposalPending
|
|
4087
|
-
* approved ProposalApproved
|
|
4088
|
-
* rejected ProposalRejected
|
|
4089
|
-
* superseded ProposalSuperseded
|
|
4090
|
-
*/
|
|
4091
|
-
status: 'pending' | 'approved' | 'rejected' | 'superseded';
|
|
4075
|
+
status: 'pending' | 'accepted' | 'rejected' | 'superseded';
|
|
4092
4076
|
/**
|
|
4093
4077
|
* create_child ProposalCreateChild
|
|
4094
4078
|
* resolve ProposalResolve
|
package/package.json
CHANGED
|
@@ -470,12 +470,7 @@ export type AssertionSource = string;
|
|
|
470
470
|
export type AssessmentVerdictRequest = {
|
|
471
471
|
assessmentId: string;
|
|
472
472
|
reason: string;
|
|
473
|
-
|
|
474
|
-
* open VerdictOpen
|
|
475
|
-
* correct VerdictCorrect
|
|
476
|
-
* incorrect VerdictIncorrect
|
|
477
|
-
*/
|
|
478
|
-
verdict: 'correct' | 'incorrect';
|
|
473
|
+
verdict: 'accepted' | 'rejected';
|
|
479
474
|
};
|
|
480
475
|
|
|
481
476
|
export type AssetDataSource = {
|
|
@@ -4209,7 +4204,10 @@ export type Investigation = {
|
|
|
4209
4204
|
* The question, or the claim to test.
|
|
4210
4205
|
*/
|
|
4211
4206
|
statement: string;
|
|
4212
|
-
|
|
4207
|
+
/**
|
|
4208
|
+
* Questions use open/answered/stopped; hypotheses use open/supported/refuted/stopped.
|
|
4209
|
+
*/
|
|
4210
|
+
status: 'open' | 'answered' | 'supported' | 'refuted' | 'stopped';
|
|
4213
4211
|
timeRange?: InvestigationTimeRange;
|
|
4214
4212
|
};
|
|
4215
4213
|
|
|
@@ -4230,11 +4228,8 @@ export type InvestigationAssessment = {
|
|
|
4230
4228
|
updatedAt: string;
|
|
4231
4229
|
/**
|
|
4232
4230
|
* Set when a conclusion on the node is approved; an update resets it to open.
|
|
4233
|
-
* open VerdictOpen
|
|
4234
|
-
* correct VerdictCorrect
|
|
4235
|
-
* incorrect VerdictIncorrect
|
|
4236
4231
|
*/
|
|
4237
|
-
verdict: 'open' | '
|
|
4232
|
+
verdict: 'open' | 'accepted' | 'rejected';
|
|
4238
4233
|
verdictReason?: string;
|
|
4239
4234
|
};
|
|
4240
4235
|
|
|
@@ -4244,12 +4239,7 @@ export type InvestigationAssessment = {
|
|
|
4244
4239
|
export type InvestigationAssessmentFeedback = {
|
|
4245
4240
|
proposalId: string;
|
|
4246
4241
|
reason: string;
|
|
4247
|
-
|
|
4248
|
-
* open VerdictOpen
|
|
4249
|
-
* correct VerdictCorrect
|
|
4250
|
-
* incorrect VerdictIncorrect
|
|
4251
|
-
*/
|
|
4252
|
-
verdict: 'correct' | 'incorrect';
|
|
4242
|
+
verdict: 'accepted' | 'rejected';
|
|
4253
4243
|
};
|
|
4254
4244
|
|
|
4255
4245
|
export type InvestigationAuthor = {
|
|
@@ -4374,13 +4364,7 @@ export type InvestigationProposal = {
|
|
|
4374
4364
|
* deferred ReviewStateDeferred
|
|
4375
4365
|
*/
|
|
4376
4366
|
reviewState?: 'queued' | 'reviewing' | 'deferred';
|
|
4377
|
-
|
|
4378
|
-
* pending ProposalPending
|
|
4379
|
-
* approved ProposalApproved
|
|
4380
|
-
* rejected ProposalRejected
|
|
4381
|
-
* superseded ProposalSuperseded
|
|
4382
|
-
*/
|
|
4383
|
-
status: 'pending' | 'approved' | 'rejected' | 'superseded';
|
|
4367
|
+
status: 'pending' | 'accepted' | 'rejected' | 'superseded';
|
|
4384
4368
|
/**
|
|
4385
4369
|
* create_child ProposalCreateChild
|
|
4386
4370
|
* resolve ProposalResolve
|