@proposit/shared 0.15.1 → 0.16.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/api-client/argument/batch.d.ts +2 -2
- package/dist/api-client/argument/claims.d.ts +8 -8
- package/dist/api-client/argument/index.d.ts +8 -8
- package/dist/api-client/factory.d.ts +2 -0
- package/dist/api-client/factory.d.ts.map +1 -1
- package/dist/api-client/factory.js +2 -0
- package/dist/api-client/factory.js.map +1 -1
- package/dist/api-client/tasks/task-cancel.d.ts +38 -0
- package/dist/api-client/tasks/task-cancel.d.ts.map +1 -0
- package/dist/api-client/tasks/task-cancel.js +20 -0
- package/dist/api-client/tasks/task-cancel.js.map +1 -0
- package/dist/api-client/user/citations.d.ts +4 -4
- package/dist/api-client/user/claims.d.ts +2 -2
- package/dist/consts/task-status.d.ts +2 -0
- package/dist/consts/task-status.d.ts.map +1 -1
- package/dist/consts/task-status.js +13 -0
- package/dist/consts/task-status.js.map +1 -1
- package/dist/schemas/api/argument/batch/provision.d.ts +2 -2
- package/dist/schemas/api/argument/claims.d.ts +6 -6
- package/dist/schemas/api/argument/index.d.ts +2 -2
- package/dist/schemas/api/citations.d.ts +10 -10
- package/dist/schemas/api/claims.d.ts +4 -4
- package/dist/schemas/api/task-cancel/index.d.ts +35 -0
- package/dist/schemas/api/task-cancel/index.d.ts.map +1 -0
- package/dist/schemas/api/task-cancel/index.js +17 -0
- package/dist/schemas/api/task-cancel/index.js.map +1 -0
- package/dist/schemas/model/arguments.d.ts +6 -6
- package/dist/schemas/model/claims.d.ts +4 -4
- package/dist/schemas/model/claims.d.ts.map +1 -1
- package/dist/schemas/model/claims.js +6 -1
- package/dist/schemas/model/claims.js.map +1 -1
- package/dist/utils/tasks/utils.js +5 -5
- package/dist/utils/tasks/utils.js.map +1 -1
- package/package.json +8 -3
|
@@ -52,7 +52,7 @@ export declare function provisionArgumentImpl(config: TApiClientConfig, argument
|
|
|
52
52
|
body: import("typebox").TNull;
|
|
53
53
|
titleContentHash: import("typebox").TNull;
|
|
54
54
|
url: import("typebox").TString;
|
|
55
|
-
citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
55
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
56
56
|
type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
|
|
57
57
|
}>, import("typebox").TObject<{
|
|
58
58
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -480,7 +480,7 @@ export declare function provisionArgumentImpl(config: TApiClientConfig, argument
|
|
|
480
480
|
type: import("typebox").TLiteral<"UnparsedURL">;
|
|
481
481
|
url: import("typebox").TString;
|
|
482
482
|
text: import("typebox").TOptional<import("typebox").TString>;
|
|
483
|
-
}>]>]>;
|
|
483
|
+
}>]>]>, import("typebox").TNull]>;
|
|
484
484
|
citationContentHash: import("typebox").TString;
|
|
485
485
|
axiom: import("typebox").TNull;
|
|
486
486
|
}>, import("typebox").TObject<{
|
|
@@ -52,7 +52,7 @@ export declare function createClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
52
52
|
body: import("typebox").TNull;
|
|
53
53
|
titleContentHash: import("typebox").TNull;
|
|
54
54
|
url: import("typebox").TString;
|
|
55
|
-
citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
55
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
56
56
|
type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
|
|
57
57
|
}>, import("typebox").TObject<{
|
|
58
58
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -480,7 +480,7 @@ export declare function createClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
480
480
|
type: import("typebox").TLiteral<"UnparsedURL">;
|
|
481
481
|
url: import("typebox").TString;
|
|
482
482
|
text: import("typebox").TOptional<import("typebox").TString>;
|
|
483
|
-
}>]>]>;
|
|
483
|
+
}>]>]>, import("typebox").TNull]>;
|
|
484
484
|
citationContentHash: import("typebox").TString;
|
|
485
485
|
axiom: import("typebox").TNull;
|
|
486
486
|
}>, import("typebox").TObject<{
|
|
@@ -634,7 +634,7 @@ export declare function deleteClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
634
634
|
body: import("typebox").TNull;
|
|
635
635
|
titleContentHash: import("typebox").TNull;
|
|
636
636
|
url: import("typebox").TString;
|
|
637
|
-
citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
637
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
638
638
|
type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
|
|
639
639
|
}>, import("typebox").TObject<{
|
|
640
640
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -1062,7 +1062,7 @@ export declare function deleteClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
1062
1062
|
type: import("typebox").TLiteral<"UnparsedURL">;
|
|
1063
1063
|
url: import("typebox").TString;
|
|
1064
1064
|
text: import("typebox").TOptional<import("typebox").TString>;
|
|
1065
|
-
}>]>]>;
|
|
1065
|
+
}>]>]>, import("typebox").TNull]>;
|
|
1066
1066
|
citationContentHash: import("typebox").TString;
|
|
1067
1067
|
axiom: import("typebox").TNull;
|
|
1068
1068
|
}>, import("typebox").TObject<{
|
|
@@ -1135,7 +1135,7 @@ export declare function updateClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
1135
1135
|
body: import("typebox").TNull;
|
|
1136
1136
|
titleContentHash: import("typebox").TNull;
|
|
1137
1137
|
url: import("typebox").TString;
|
|
1138
|
-
citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
1138
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
1139
1139
|
type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
|
|
1140
1140
|
}>, import("typebox").TObject<{
|
|
1141
1141
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -1563,7 +1563,7 @@ export declare function updateClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
1563
1563
|
type: import("typebox").TLiteral<"UnparsedURL">;
|
|
1564
1564
|
url: import("typebox").TString;
|
|
1565
1565
|
text: import("typebox").TOptional<import("typebox").TString>;
|
|
1566
|
-
}>]>]>;
|
|
1566
|
+
}>]>]>, import("typebox").TNull]>;
|
|
1567
1567
|
citationContentHash: import("typebox").TString;
|
|
1568
1568
|
axiom: import("typebox").TNull;
|
|
1569
1569
|
}>, import("typebox").TObject<{
|
|
@@ -1636,7 +1636,7 @@ export declare function createClaimCitationImpl(config: TApiClientConfig, argume
|
|
|
1636
1636
|
body: import("typebox").TNull;
|
|
1637
1637
|
titleContentHash: import("typebox").TNull;
|
|
1638
1638
|
url: import("typebox").TString;
|
|
1639
|
-
citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
1639
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
1640
1640
|
type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
|
|
1641
1641
|
}>, import("typebox").TObject<{
|
|
1642
1642
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -2064,7 +2064,7 @@ export declare function createClaimCitationImpl(config: TApiClientConfig, argume
|
|
|
2064
2064
|
type: import("typebox").TLiteral<"UnparsedURL">;
|
|
2065
2065
|
url: import("typebox").TString;
|
|
2066
2066
|
text: import("typebox").TOptional<import("typebox").TString>;
|
|
2067
|
-
}>]>]>;
|
|
2067
|
+
}>]>]>, import("typebox").TNull]>;
|
|
2068
2068
|
citationContentHash: import("typebox").TString;
|
|
2069
2069
|
axiom: import("typebox").TNull;
|
|
2070
2070
|
}>, import("typebox").TObject<{
|
|
@@ -378,7 +378,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
378
378
|
body: Type.TNull;
|
|
379
379
|
titleContentHash: Type.TNull;
|
|
380
380
|
url: Type.TString;
|
|
381
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
381
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
382
382
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
383
383
|
}>, Type.TObject<{
|
|
384
384
|
type: Type.TLiteral<"Book">;
|
|
@@ -806,7 +806,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
806
806
|
type: Type.TLiteral<"UnparsedURL">;
|
|
807
807
|
url: Type.TString;
|
|
808
808
|
text: Type.TOptional<Type.TString>;
|
|
809
|
-
}>]>]>;
|
|
809
|
+
}>]>]>, Type.TNull]>;
|
|
810
810
|
citationContentHash: Type.TString;
|
|
811
811
|
axiom: Type.TNull;
|
|
812
812
|
}>, Type.TObject<{
|
|
@@ -861,7 +861,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
861
861
|
body: Type.TNull;
|
|
862
862
|
titleContentHash: Type.TNull;
|
|
863
863
|
url: Type.TString;
|
|
864
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
864
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
865
865
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
866
866
|
}>, Type.TObject<{
|
|
867
867
|
type: Type.TLiteral<"Book">;
|
|
@@ -1289,7 +1289,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
1289
1289
|
type: Type.TLiteral<"UnparsedURL">;
|
|
1290
1290
|
url: Type.TString;
|
|
1291
1291
|
text: Type.TOptional<Type.TString>;
|
|
1292
|
-
}>]>]>;
|
|
1292
|
+
}>]>]>, Type.TNull]>;
|
|
1293
1293
|
citationContentHash: Type.TString;
|
|
1294
1294
|
axiom: Type.TNull;
|
|
1295
1295
|
}>, Type.TObject<{
|
|
@@ -1344,7 +1344,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
1344
1344
|
body: Type.TNull;
|
|
1345
1345
|
titleContentHash: Type.TNull;
|
|
1346
1346
|
url: Type.TString;
|
|
1347
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1347
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1348
1348
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
1349
1349
|
}>, Type.TObject<{
|
|
1350
1350
|
type: Type.TLiteral<"Book">;
|
|
@@ -1772,7 +1772,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
1772
1772
|
type: Type.TLiteral<"UnparsedURL">;
|
|
1773
1773
|
url: Type.TString;
|
|
1774
1774
|
text: Type.TOptional<Type.TString>;
|
|
1775
|
-
}>]>]>;
|
|
1775
|
+
}>]>]>, Type.TNull]>;
|
|
1776
1776
|
citationContentHash: Type.TString;
|
|
1777
1777
|
axiom: Type.TNull;
|
|
1778
1778
|
}>, Type.TObject<{
|
|
@@ -2555,7 +2555,7 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
2555
2555
|
body: Type.TNull;
|
|
2556
2556
|
titleContentHash: Type.TNull;
|
|
2557
2557
|
url: Type.TString;
|
|
2558
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
2558
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
2559
2559
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
2560
2560
|
}>, Type.TObject<{
|
|
2561
2561
|
type: Type.TLiteral<"Book">;
|
|
@@ -2983,7 +2983,7 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
2983
2983
|
type: Type.TLiteral<"UnparsedURL">;
|
|
2984
2984
|
url: Type.TString;
|
|
2985
2985
|
text: Type.TOptional<Type.TString>;
|
|
2986
|
-
}>]>]>;
|
|
2986
|
+
}>]>]>, Type.TNull]>;
|
|
2987
2987
|
citationContentHash: Type.TString;
|
|
2988
2988
|
axiom: Type.TNull;
|
|
2989
2989
|
}>, Type.TObject<{
|
|
@@ -12,6 +12,7 @@ import { deleteUserImpl } from "./user/delete-user.js";
|
|
|
12
12
|
import { getUserCitationsImpl } from "./user/citations.js";
|
|
13
13
|
import { getTaskPipelineImpl, getTaskPipelineStagePayloadsImpl } from "./tasks/pipeline-status.js";
|
|
14
14
|
import { retryTaskImpl, retryStageImpl } from "./tasks/task-retry.js";
|
|
15
|
+
import { cancelTaskImpl } from "./tasks/task-cancel.js";
|
|
15
16
|
/**
|
|
16
17
|
* Registry of all *Impl functions, keyed by the public method name.
|
|
17
18
|
* `as const` keeps literal keys — crucial for the mapped-type derivation.
|
|
@@ -76,6 +77,7 @@ declare const impls: {
|
|
|
76
77
|
readonly getTaskPipelineStagePayloads: typeof getTaskPipelineStagePayloadsImpl;
|
|
77
78
|
readonly retryTask: typeof retryTaskImpl;
|
|
78
79
|
readonly retryStage: typeof retryStageImpl;
|
|
80
|
+
readonly cancelTask: typeof cancelTaskImpl;
|
|
79
81
|
};
|
|
80
82
|
/**
|
|
81
83
|
* Strips the leading `config: TApiClientConfig` argument from a function type.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/api-client/factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEnD,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACH,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,EACzB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACH,eAAe,EACf,eAAe,EACf,eAAe,EACf,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACvB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAChF,OAAO,EACH,eAAe,EACf,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EAC1B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACH,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EAClB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EACH,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACzB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EACH,mBAAmB,EACnB,gCAAgC,EACnC,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../src/api-client/factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAEnD,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACH,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,EACzB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACH,eAAe,EACf,eAAe,EACf,eAAe,EACf,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACvB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAChF,OAAO,EACH,eAAe,EACf,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,EAC1B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACH,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EAClB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EACH,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACzB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EACH,mBAAmB,EACnB,gCAAgC,EACnC,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEvD;;;GAGG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6DD,CAAA;AAEV;;GAEG;AACH,KAAK,YAAY,CAAC,CAAC,IAAI,CAAC,SAAS,CAC7B,MAAM,EAAE,gBAAgB,EACxB,GAAG,IAAI,EAAE,MAAM,IAAI,KAClB,MAAM,GAAG,GACR,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,GAAG,GACtB,KAAK,CAAA;AAEX,MAAM,MAAM,UAAU,GAAG;KACpB,CAAC,IAAI,MAAM,OAAO,KAAK,GAAG,YAAY,CAAC,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;CAC7D,CAAA;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,gBAAgB,GAAG,UAAU,CAepE"}
|
|
@@ -11,6 +11,7 @@ import { deleteUserImpl } from "./user/delete-user.js";
|
|
|
11
11
|
import { getUserCitationsImpl } from "./user/citations.js";
|
|
12
12
|
import { getTaskPipelineImpl, getTaskPipelineStagePayloadsImpl, } from "./tasks/pipeline-status.js";
|
|
13
13
|
import { retryTaskImpl, retryStageImpl } from "./tasks/task-retry.js";
|
|
14
|
+
import { cancelTaskImpl } from "./tasks/task-cancel.js";
|
|
14
15
|
/**
|
|
15
16
|
* Registry of all *Impl functions, keyed by the public method name.
|
|
16
17
|
* `as const` keeps literal keys — crucial for the mapped-type derivation.
|
|
@@ -75,6 +76,7 @@ const impls = {
|
|
|
75
76
|
getTaskPipelineStagePayloads: getTaskPipelineStagePayloadsImpl,
|
|
76
77
|
retryTask: retryTaskImpl,
|
|
77
78
|
retryStage: retryStageImpl,
|
|
79
|
+
cancelTask: cancelTaskImpl,
|
|
78
80
|
};
|
|
79
81
|
export function createApiClient(config) {
|
|
80
82
|
// Rebind fetchImpl to globalThis so browser `fetch` doesn't throw
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../src/api-client/factory.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,GACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACH,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,GACzB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACH,eAAe,EACf,eAAe,EACf,eAAe,EACf,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,GACvB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAChF,OAAO,EACH,eAAe,EACf,sBAAsB,EACtB,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,uBAAuB,GAC1B,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EACH,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,GAClB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AAC/D,OAAO,EACH,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,GACzB,MAAM,aAAa,CAAA;AACpB,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EACH,mBAAmB,EACnB,gCAAgC,GACnC,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"factory.js","sourceRoot":"","sources":["../../src/api-client/factory.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,GACxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACH,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,GACzB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACH,eAAe,EACf,eAAe,EACf,eAAe,EACf,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,GACvB,MAAM,sBAAsB,CAAA;AAC7B,OAAO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E,cAAc;IAC1B,eAAe,EAAE,mBAAmB;IACpC,4BAA4B,EAAE,gCAAgC;IAC9D,SAAS,EAAE,aAAa;IACxB,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,cAAc;CACpB,CAAA;AAgBV,MAAM,UAAU,eAAe,CAAC,MAAwB;IACpD,kEAAkE;IAClE,wEAAwE;IACxE,qEAAqE;IACrE,8DAA8D;IAC9D,MAAM,WAAW,GAAqB;QAClC,GAAG,MAAM;QACT,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC;KAC/C,CAAA;IACD,MAAM,MAAM,GAAG,EAA6B,CAAA;IAC5C,KAAK,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QAC/C,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAe,EAAW,EAAE,CAC1C,IAAqC,CAAC,WAAW,EAAE,GAAG,IAAI,CAAC,CAAA;IACpE,CAAC;IACD,OAAO,MAAoB,CAAA;AAC/B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { TApiClientConfig } from "../config.js";
|
|
2
|
+
export declare function cancelTaskImpl(config: TApiClientConfig, taskId: string): Promise<import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
|
|
3
|
+
errorID: import("typebox").TNumber;
|
|
4
|
+
errorMessage: import("typebox").TString;
|
|
5
|
+
statusCode: import("typebox").TNumber;
|
|
6
|
+
}>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
|
|
7
|
+
error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
|
|
8
|
+
tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
|
|
9
|
+
violations: import("typebox").TArray<import("typebox").TObject<{
|
|
10
|
+
tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
|
|
11
|
+
code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
|
|
12
|
+
message: import("typebox").TString;
|
|
13
|
+
argumentId: import("typebox").TOptional<import("typebox").TString>;
|
|
14
|
+
premiseId: import("typebox").TOptional<import("typebox").TString>;
|
|
15
|
+
expressionId: import("typebox").TOptional<import("typebox").TString>;
|
|
16
|
+
variableId: import("typebox").TOptional<import("typebox").TString>;
|
|
17
|
+
claimId: import("typebox").TOptional<import("typebox").TString>;
|
|
18
|
+
}>>;
|
|
19
|
+
}>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TObject<{
|
|
20
|
+
id: import("typebox").TString;
|
|
21
|
+
userId: import("typebox").TString;
|
|
22
|
+
previousId: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
23
|
+
type: import("typebox").TLiteral<"argument_create">;
|
|
24
|
+
data: import("typebox").TObject<{
|
|
25
|
+
argumentId: import("typebox").TString;
|
|
26
|
+
version: import("typebox").TNumber;
|
|
27
|
+
responseId: import("typebox").TOptional<import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>>;
|
|
28
|
+
}>;
|
|
29
|
+
errorData: import("typebox").TUnion<[import("typebox").TRecord<"^.*$", import("typebox").TAny>, import("typebox").TNull]>;
|
|
30
|
+
resultData: import("typebox").TUnion<[import("typebox").TObject<{
|
|
31
|
+
tokensUsed: import("typebox").TNumber;
|
|
32
|
+
}>, import("typebox").TNull]>;
|
|
33
|
+
createdOn: import("../../schemas/common.js").TDateType;
|
|
34
|
+
startedOn: import("typebox").TUnion<[import("../../schemas/common.js").TDateType, import("typebox").TNull]>;
|
|
35
|
+
completedOn: import("typebox").TUnion<[import("../../schemas/common.js").TDateType, import("typebox").TNull]>;
|
|
36
|
+
status: import("typebox").TNumber;
|
|
37
|
+
}>>>;
|
|
38
|
+
//# sourceMappingURL=task-cancel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-cancel.d.ts","sourceRoot":"","sources":["../../../src/api-client/tasks/task-cancel.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,cAAc,CAAC,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAQ5E"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// api-client method for the cancel endpoint landing in `proposit-server` slice
|
|
2
|
+
// S-B1 (Ingestion Task Controls). Cancel is a no-body DELETE with a single path
|
|
3
|
+
// param (the task id) — mirrors `deleteReactionImpl`. The route returns 200 +
|
|
4
|
+
// the UPDATED `argument_create` task (status `TaskStatus.CANCELLED`); wire shape
|
|
5
|
+
// comes from `@proposit/shared/schemas/api/task-cancel` (`CancelTaskResponse`).
|
|
6
|
+
//
|
|
7
|
+
// No `strictFetch` (that path asserts a request body); this method uses the
|
|
8
|
+
// no-body `parseResponse` pattern. The 1-arg `parseResponse` overload's error
|
|
9
|
+
// union carries a `GrammarViolationsResponse` member that cannot occur on a
|
|
10
|
+
// cancel DELETE — harmless here, and the S-B1 consumer writes no
|
|
11
|
+
// grammar-violations branch for this call.
|
|
12
|
+
import { CancelTaskResponse } from "../../schemas/api/task-cancel/index.js";
|
|
13
|
+
import { parseResponse } from "../../utils/utils.js";
|
|
14
|
+
import { resolveBaseUrl } from "../internal.js";
|
|
15
|
+
export async function cancelTaskImpl(config, taskId) {
|
|
16
|
+
const baseUrl = resolveBaseUrl(config);
|
|
17
|
+
const url = `${baseUrl}/api/v1/task/${encodeURIComponent(taskId)}`;
|
|
18
|
+
return await parseResponse(await config.fetchImpl(url, { method: "DELETE" }), CancelTaskResponse);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=task-cancel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-cancel.js","sourceRoot":"","sources":["../../../src/api-client/tasks/task-cancel.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,gFAAgF;AAChF,8EAA8E;AAC9E,iFAAiF;AACjF,gFAAgF;AAChF,EAAE;AACF,4EAA4E;AAC5E,8EAA8E;AAC9E,4EAA4E;AAC5E,iEAAiE;AACjE,2CAA2C;AAE3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAA;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAE/C,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,MAAwB,EAAE,MAAc;IACzE,MAAM,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA;IACtC,MAAM,GAAG,GAAG,GAAG,OAAO,gBAAgB,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAA;IAElE,OAAO,MAAM,aAAa,CACtB,MAAM,MAAM,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EACjD,kBAAkB,CACrB,CAAA;AACL,CAAC"}
|
|
@@ -50,7 +50,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
|
|
|
50
50
|
body: import("typebox").TNull;
|
|
51
51
|
titleContentHash: import("typebox").TNull;
|
|
52
52
|
url: import("typebox").TString;
|
|
53
|
-
citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
53
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
54
54
|
type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
|
|
55
55
|
}>, import("typebox").TObject<{
|
|
56
56
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -478,7 +478,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
|
|
|
478
478
|
type: import("typebox").TLiteral<"UnparsedURL">;
|
|
479
479
|
url: import("typebox").TString;
|
|
480
480
|
text: import("typebox").TOptional<import("typebox").TString>;
|
|
481
|
-
}>]>]>;
|
|
481
|
+
}>]>]>, import("typebox").TNull]>;
|
|
482
482
|
citationContentHash: import("typebox").TString;
|
|
483
483
|
axiom: import("typebox").TNull;
|
|
484
484
|
}>, import("typebox").TObject<{
|
|
@@ -540,7 +540,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
|
|
|
540
540
|
body: import("typebox").TNull;
|
|
541
541
|
titleContentHash: import("typebox").TNull;
|
|
542
542
|
url: import("typebox").TString;
|
|
543
|
-
citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
543
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
544
544
|
type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
|
|
545
545
|
}>, import("typebox").TObject<{
|
|
546
546
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -968,7 +968,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
|
|
|
968
968
|
type: import("typebox").TLiteral<"UnparsedURL">;
|
|
969
969
|
url: import("typebox").TString;
|
|
970
970
|
text: import("typebox").TOptional<import("typebox").TString>;
|
|
971
|
-
}>]>]>;
|
|
971
|
+
}>]>]>, import("typebox").TNull]>;
|
|
972
972
|
citationContentHash: import("typebox").TString;
|
|
973
973
|
axiom: import("typebox").TNull;
|
|
974
974
|
}>, import("typebox").TObject<{
|
|
@@ -50,7 +50,7 @@ export declare function getUserClaimsImpl(config: TApiClientConfig, argumentId?:
|
|
|
50
50
|
body: import("typebox").TNull;
|
|
51
51
|
titleContentHash: import("typebox").TNull;
|
|
52
52
|
url: import("typebox").TString;
|
|
53
|
-
citation: import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
53
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
54
54
|
type: import("typebox").TUnion<[import("typebox").TLiteral<"Book">, import("typebox").TLiteral<"Website">, import("typebox").TLiteral<"BookChapter">, import("typebox").TLiteral<"Handbook">, import("typebox").TLiteral<"TechnicalReport">, import("typebox").TLiteral<"Standard">, import("typebox").TLiteral<"Thesis">, import("typebox").TLiteral<"Patent">, import("typebox").TLiteral<"Dictionary">, import("typebox").TLiteral<"Encyclopedia">, import("typebox").TLiteral<"JournalArticle">, import("typebox").TLiteral<"MagazineArticle">, import("typebox").TLiteral<"NewspaperArticle">, import("typebox").TLiteral<"ConferencePaper">, import("typebox").TLiteral<"ConferenceProceedings">, import("typebox").TLiteral<"Dataset">, import("typebox").TLiteral<"Software">, import("typebox").TLiteral<"OnlineDocument">, import("typebox").TLiteral<"Blog">, import("typebox").TLiteral<"SocialMedia">, import("typebox").TLiteral<"Preprint">, import("typebox").TLiteral<"Video">, import("typebox").TLiteral<"Podcast">, import("typebox").TLiteral<"Course">, import("typebox").TLiteral<"Presentation">, import("typebox").TLiteral<"Interview">, import("typebox").TLiteral<"PersonalCommunication">, import("typebox").TLiteral<"Email">, import("typebox").TLiteral<"Law">, import("typebox").TLiteral<"CourtCase">, import("typebox").TLiteral<"GovernmentPublication">, import("typebox").TLiteral<"Datasheet">, import("typebox").TLiteral<"ProductManual">, import("typebox").TLiteral<"UnparsedURL">]>;
|
|
55
55
|
}>, import("typebox").TObject<{
|
|
56
56
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -478,7 +478,7 @@ export declare function getUserClaimsImpl(config: TApiClientConfig, argumentId?:
|
|
|
478
478
|
type: import("typebox").TLiteral<"UnparsedURL">;
|
|
479
479
|
url: import("typebox").TString;
|
|
480
480
|
text: import("typebox").TOptional<import("typebox").TString>;
|
|
481
|
-
}>]>]>;
|
|
481
|
+
}>]>]>, import("typebox").TNull]>;
|
|
482
482
|
citationContentHash: import("typebox").TString;
|
|
483
483
|
axiom: import("typebox").TNull;
|
|
484
484
|
}>, import("typebox").TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-status.d.ts","sourceRoot":"","sources":["../../src/consts/task-status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"task-status.d.ts","sourceRoot":"","sources":["../../src/consts/task-status.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;CAeb,CAAA;AAOV,eAAO,MAAM,qBAAqB,oBAIxB,CAAA"}
|
|
@@ -10,5 +10,18 @@ export const TaskStatus = {
|
|
|
10
10
|
// Task was pending or in progress, but was interrupted
|
|
11
11
|
// likely by server shutdown
|
|
12
12
|
INTERRUPTED: 4,
|
|
13
|
+
// User-initiated cancel of a running task (distinct from INTERRUPTED's
|
|
14
|
+
// server-shutdown meaning — this is a deliberate user action)
|
|
15
|
+
CANCELLED: 5,
|
|
13
16
|
};
|
|
17
|
+
// Single source of truth for the "settled" (terminal) partition of task
|
|
18
|
+
// statuses. `isTaskSettled`/`isTaskNotSettled` derive from this set
|
|
19
|
+
// (`src/utils/tasks/utils.ts`), and server queries (e.g. `getUnsettledTasks`)
|
|
20
|
+
// can import it instead of hardcoding the list. INTERRUPTED is deliberately
|
|
21
|
+
// NOT settled — an interrupted task may resume.
|
|
22
|
+
export const SETTLED_TASK_STATUSES = [
|
|
23
|
+
TaskStatus.COMPLETED,
|
|
24
|
+
TaskStatus.FAILED,
|
|
25
|
+
TaskStatus.CANCELLED,
|
|
26
|
+
];
|
|
14
27
|
//# sourceMappingURL=task-status.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-status.js","sourceRoot":"","sources":["../../src/consts/task-status.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,mCAAmC;IACnC,OAAO,EAAE,CAAC;IACV,4BAA4B;IAC5B,WAAW,EAAE,CAAC;IACd,kCAAkC;IAClC,SAAS,EAAE,CAAC;IACZ,kBAAkB;IAClB,MAAM,EAAE,CAAC;IACT,uDAAuD;IACvD,4BAA4B;IAC5B,WAAW,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"task-status.js","sourceRoot":"","sources":["../../src/consts/task-status.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,mCAAmC;IACnC,OAAO,EAAE,CAAC;IACV,4BAA4B;IAC5B,WAAW,EAAE,CAAC;IACd,kCAAkC;IAClC,SAAS,EAAE,CAAC;IACZ,kBAAkB;IAClB,MAAM,EAAE,CAAC;IACT,uDAAuD;IACvD,4BAA4B;IAC5B,WAAW,EAAE,CAAC;IACd,uEAAuE;IACvE,8DAA8D;IAC9D,SAAS,EAAE,CAAC;CACN,CAAA;AAEV,wEAAwE;AACxE,oEAAoE;AACpE,8EAA8E;AAC9E,4EAA4E;AAC5E,gDAAgD;AAChD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,UAAU,CAAC,SAAS;IACpB,UAAU,CAAC,MAAM;IACjB,UAAU,CAAC,SAAS;CACd,CAAA"}
|
|
@@ -33,7 +33,7 @@ export declare const ProvisionResponseSchema: Type.TObject<{
|
|
|
33
33
|
body: Type.TNull;
|
|
34
34
|
titleContentHash: Type.TNull;
|
|
35
35
|
url: Type.TString;
|
|
36
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
36
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
37
37
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
38
38
|
}>, Type.TObject<{
|
|
39
39
|
type: Type.TLiteral<"Book">;
|
|
@@ -461,7 +461,7 @@ export declare const ProvisionResponseSchema: Type.TObject<{
|
|
|
461
461
|
type: Type.TLiteral<"UnparsedURL">;
|
|
462
462
|
url: Type.TString;
|
|
463
463
|
text: Type.TOptional<Type.TString>;
|
|
464
|
-
}>]>]>;
|
|
464
|
+
}>]>]>, Type.TNull]>;
|
|
465
465
|
citationContentHash: Type.TString;
|
|
466
466
|
axiom: Type.TNull;
|
|
467
467
|
}>, Type.TObject<{
|
|
@@ -41,7 +41,7 @@ export declare const ClaimCreationResponseSchema: Type.TObject<{
|
|
|
41
41
|
body: Type.TNull;
|
|
42
42
|
titleContentHash: Type.TNull;
|
|
43
43
|
url: Type.TString;
|
|
44
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
44
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
45
45
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
46
46
|
}>, Type.TObject<{
|
|
47
47
|
type: Type.TLiteral<"Book">;
|
|
@@ -469,7 +469,7 @@ export declare const ClaimCreationResponseSchema: Type.TObject<{
|
|
|
469
469
|
type: Type.TLiteral<"UnparsedURL">;
|
|
470
470
|
url: Type.TString;
|
|
471
471
|
text: Type.TOptional<Type.TString>;
|
|
472
|
-
}>]>]>;
|
|
472
|
+
}>]>]>, Type.TNull]>;
|
|
473
473
|
citationContentHash: Type.TString;
|
|
474
474
|
axiom: Type.TNull;
|
|
475
475
|
}>, Type.TObject<{
|
|
@@ -607,7 +607,7 @@ export declare const ClaimDeletionResponseSchema: Type.TObject<{
|
|
|
607
607
|
body: Type.TNull;
|
|
608
608
|
titleContentHash: Type.TNull;
|
|
609
609
|
url: Type.TString;
|
|
610
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
610
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
611
611
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
612
612
|
}>, Type.TObject<{
|
|
613
613
|
type: Type.TLiteral<"Book">;
|
|
@@ -1035,7 +1035,7 @@ export declare const ClaimDeletionResponseSchema: Type.TObject<{
|
|
|
1035
1035
|
type: Type.TLiteral<"UnparsedURL">;
|
|
1036
1036
|
url: Type.TString;
|
|
1037
1037
|
text: Type.TOptional<Type.TString>;
|
|
1038
|
-
}>]>]>;
|
|
1038
|
+
}>]>]>, Type.TNull]>;
|
|
1039
1039
|
citationContentHash: Type.TString;
|
|
1040
1040
|
axiom: Type.TNull;
|
|
1041
1041
|
}>, Type.TObject<{
|
|
@@ -1093,7 +1093,7 @@ export declare const CitationCreationSchema: Type.TObject<{
|
|
|
1093
1093
|
body: Type.TNull;
|
|
1094
1094
|
titleContentHash: Type.TNull;
|
|
1095
1095
|
url: Type.TString;
|
|
1096
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1096
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1097
1097
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
1098
1098
|
}>, Type.TObject<{
|
|
1099
1099
|
type: Type.TLiteral<"Book">;
|
|
@@ -1521,7 +1521,7 @@ export declare const CitationCreationSchema: Type.TObject<{
|
|
|
1521
1521
|
type: Type.TLiteral<"UnparsedURL">;
|
|
1522
1522
|
url: Type.TString;
|
|
1523
1523
|
text: Type.TOptional<Type.TString>;
|
|
1524
|
-
}>]>]>;
|
|
1524
|
+
}>]>]>, Type.TNull]>;
|
|
1525
1525
|
citationContentHash: Type.TString;
|
|
1526
1526
|
axiom: Type.TNull;
|
|
1527
1527
|
}>, Type.TObject<{
|
|
@@ -86,7 +86,7 @@ export declare const FullArgumentSchema: Type.TObject<{
|
|
|
86
86
|
body: Type.TNull;
|
|
87
87
|
titleContentHash: Type.TNull;
|
|
88
88
|
url: Type.TString;
|
|
89
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
89
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
90
90
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
91
91
|
}>, Type.TObject<{
|
|
92
92
|
type: Type.TLiteral<"Book">;
|
|
@@ -514,7 +514,7 @@ export declare const FullArgumentSchema: Type.TObject<{
|
|
|
514
514
|
type: Type.TLiteral<"UnparsedURL">;
|
|
515
515
|
url: Type.TString;
|
|
516
516
|
text: Type.TOptional<Type.TString>;
|
|
517
|
-
}>]>]>;
|
|
517
|
+
}>]>]>, Type.TNull]>;
|
|
518
518
|
citationContentHash: Type.TString;
|
|
519
519
|
axiom: Type.TNull;
|
|
520
520
|
}>, Type.TObject<{
|
|
@@ -44,7 +44,7 @@ export declare const CitationUsageSchema: Type.TObject<{
|
|
|
44
44
|
body: Type.TNull;
|
|
45
45
|
titleContentHash: Type.TNull;
|
|
46
46
|
url: Type.TString;
|
|
47
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
47
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
48
48
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
49
49
|
}>, Type.TObject<{
|
|
50
50
|
type: Type.TLiteral<"Book">;
|
|
@@ -472,7 +472,7 @@ export declare const CitationUsageSchema: Type.TObject<{
|
|
|
472
472
|
type: Type.TLiteral<"UnparsedURL">;
|
|
473
473
|
url: Type.TString;
|
|
474
474
|
text: Type.TOptional<Type.TString>;
|
|
475
|
-
}>]>]>;
|
|
475
|
+
}>]>]>, Type.TNull]>;
|
|
476
476
|
citationContentHash: Type.TString;
|
|
477
477
|
axiom: Type.TNull;
|
|
478
478
|
}>, Type.TObject<{
|
|
@@ -534,7 +534,7 @@ export declare const CitationWithContextSchema: Type.TObject<{
|
|
|
534
534
|
body: Type.TNull;
|
|
535
535
|
titleContentHash: Type.TNull;
|
|
536
536
|
url: Type.TString;
|
|
537
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
537
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
538
538
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
539
539
|
}>, Type.TObject<{
|
|
540
540
|
type: Type.TLiteral<"Book">;
|
|
@@ -962,7 +962,7 @@ export declare const CitationWithContextSchema: Type.TObject<{
|
|
|
962
962
|
type: Type.TLiteral<"UnparsedURL">;
|
|
963
963
|
url: Type.TString;
|
|
964
964
|
text: Type.TOptional<Type.TString>;
|
|
965
|
-
}>]>]>;
|
|
965
|
+
}>]>]>, Type.TNull]>;
|
|
966
966
|
citationContentHash: Type.TString;
|
|
967
967
|
axiom: Type.TNull;
|
|
968
968
|
}>, Type.TObject<{
|
|
@@ -1024,7 +1024,7 @@ export declare const CitationWithContextSchema: Type.TObject<{
|
|
|
1024
1024
|
body: Type.TNull;
|
|
1025
1025
|
titleContentHash: Type.TNull;
|
|
1026
1026
|
url: Type.TString;
|
|
1027
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1027
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1028
1028
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
1029
1029
|
}>, Type.TObject<{
|
|
1030
1030
|
type: Type.TLiteral<"Book">;
|
|
@@ -1452,7 +1452,7 @@ export declare const CitationWithContextSchema: Type.TObject<{
|
|
|
1452
1452
|
type: Type.TLiteral<"UnparsedURL">;
|
|
1453
1453
|
url: Type.TString;
|
|
1454
1454
|
text: Type.TOptional<Type.TString>;
|
|
1455
|
-
}>]>]>;
|
|
1455
|
+
}>]>]>, Type.TNull]>;
|
|
1456
1456
|
citationContentHash: Type.TString;
|
|
1457
1457
|
axiom: Type.TNull;
|
|
1458
1458
|
}>, Type.TObject<{
|
|
@@ -1515,7 +1515,7 @@ export declare const UserCitationsResponseSchema: Type.TArray<Type.TObject<{
|
|
|
1515
1515
|
body: Type.TNull;
|
|
1516
1516
|
titleContentHash: Type.TNull;
|
|
1517
1517
|
url: Type.TString;
|
|
1518
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1518
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1519
1519
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
1520
1520
|
}>, Type.TObject<{
|
|
1521
1521
|
type: Type.TLiteral<"Book">;
|
|
@@ -1943,7 +1943,7 @@ export declare const UserCitationsResponseSchema: Type.TArray<Type.TObject<{
|
|
|
1943
1943
|
type: Type.TLiteral<"UnparsedURL">;
|
|
1944
1944
|
url: Type.TString;
|
|
1945
1945
|
text: Type.TOptional<Type.TString>;
|
|
1946
|
-
}>]>]>;
|
|
1946
|
+
}>]>]>, Type.TNull]>;
|
|
1947
1947
|
citationContentHash: Type.TString;
|
|
1948
1948
|
axiom: Type.TNull;
|
|
1949
1949
|
}>, Type.TObject<{
|
|
@@ -2005,7 +2005,7 @@ export declare const UserCitationsResponseSchema: Type.TArray<Type.TObject<{
|
|
|
2005
2005
|
body: Type.TNull;
|
|
2006
2006
|
titleContentHash: Type.TNull;
|
|
2007
2007
|
url: Type.TString;
|
|
2008
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
2008
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
2009
2009
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
2010
2010
|
}>, Type.TObject<{
|
|
2011
2011
|
type: Type.TLiteral<"Book">;
|
|
@@ -2433,7 +2433,7 @@ export declare const UserCitationsResponseSchema: Type.TArray<Type.TObject<{
|
|
|
2433
2433
|
type: Type.TLiteral<"UnparsedURL">;
|
|
2434
2434
|
url: Type.TString;
|
|
2435
2435
|
text: Type.TOptional<Type.TString>;
|
|
2436
|
-
}>]>]>;
|
|
2436
|
+
}>]>]>, Type.TNull]>;
|
|
2437
2437
|
citationContentHash: Type.TString;
|
|
2438
2438
|
axiom: Type.TNull;
|
|
2439
2439
|
}>, Type.TObject<{
|
|
@@ -33,7 +33,7 @@ export declare const ClaimWithContextSchema: Type.TObject<{
|
|
|
33
33
|
body: Type.TNull;
|
|
34
34
|
titleContentHash: Type.TNull;
|
|
35
35
|
url: Type.TString;
|
|
36
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
36
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
37
37
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
38
38
|
}>, Type.TObject<{
|
|
39
39
|
type: Type.TLiteral<"Book">;
|
|
@@ -461,7 +461,7 @@ export declare const ClaimWithContextSchema: Type.TObject<{
|
|
|
461
461
|
type: Type.TLiteral<"UnparsedURL">;
|
|
462
462
|
url: Type.TString;
|
|
463
463
|
text: Type.TOptional<Type.TString>;
|
|
464
|
-
}>]>]>;
|
|
464
|
+
}>]>]>, Type.TNull]>;
|
|
465
465
|
citationContentHash: Type.TString;
|
|
466
466
|
axiom: Type.TNull;
|
|
467
467
|
}>, Type.TObject<{
|
|
@@ -628,7 +628,7 @@ export declare const UserClaimsResponseSchema: Type.TArray<Type.TObject<{
|
|
|
628
628
|
body: Type.TNull;
|
|
629
629
|
titleContentHash: Type.TNull;
|
|
630
630
|
url: Type.TString;
|
|
631
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
631
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
632
632
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
633
633
|
}>, Type.TObject<{
|
|
634
634
|
type: Type.TLiteral<"Book">;
|
|
@@ -1056,7 +1056,7 @@ export declare const UserClaimsResponseSchema: Type.TArray<Type.TObject<{
|
|
|
1056
1056
|
type: Type.TLiteral<"UnparsedURL">;
|
|
1057
1057
|
url: Type.TString;
|
|
1058
1058
|
text: Type.TOptional<Type.TString>;
|
|
1059
|
-
}>]>]>;
|
|
1059
|
+
}>]>]>, Type.TNull]>;
|
|
1060
1060
|
citationContentHash: Type.TString;
|
|
1061
1061
|
axiom: Type.TNull;
|
|
1062
1062
|
}>, Type.TObject<{
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type Static } from "typebox";
|
|
2
|
+
/**
|
|
3
|
+
* Response for the cancel route (`DELETE /api/v1/task/[taskId]`). The route
|
|
4
|
+
* returns `200` + the UPDATED `argument_create` task body (status flipped to
|
|
5
|
+
* `TaskStatus.CANCELLED`), so the client immediately receives the new terminal
|
|
6
|
+
* state. A `204` no-content cancel is NOT viable: `parseResponse`
|
|
7
|
+
* (`src/utils/utils.ts`) calls `response.json()` unconditionally before the
|
|
8
|
+
* ok-check, so a body-less response would throw inside `cancelTaskImpl`.
|
|
9
|
+
*
|
|
10
|
+
* Narrowed to `ArgumentCreateTask` (not the full `TaskSchema` union): cancel
|
|
11
|
+
* targets ingestion pipeline tasks only — mirrors `RetryTaskResponse`. Rejecting
|
|
12
|
+
* a non-ingestion task id with a typed 4xx is the server route's obligation
|
|
13
|
+
* (slice S-B1), not a shared guard.
|
|
14
|
+
*/
|
|
15
|
+
export declare const CancelTaskResponse: import("typebox").TObject<{
|
|
16
|
+
id: import("typebox").TString;
|
|
17
|
+
userId: import("typebox").TString;
|
|
18
|
+
previousId: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
19
|
+
type: import("typebox").TLiteral<"argument_create">;
|
|
20
|
+
data: import("typebox").TObject<{
|
|
21
|
+
argumentId: import("typebox").TString;
|
|
22
|
+
version: import("typebox").TNumber;
|
|
23
|
+
responseId: import("typebox").TOptional<import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>>;
|
|
24
|
+
}>;
|
|
25
|
+
errorData: import("typebox").TUnion<[import("typebox").TRecord<"^.*$", import("typebox").TAny>, import("typebox").TNull]>;
|
|
26
|
+
resultData: import("typebox").TUnion<[import("typebox").TObject<{
|
|
27
|
+
tokensUsed: import("typebox").TNumber;
|
|
28
|
+
}>, import("typebox").TNull]>;
|
|
29
|
+
createdOn: import("../../common.js").TDateType;
|
|
30
|
+
startedOn: import("typebox").TUnion<[import("../../common.js").TDateType, import("typebox").TNull]>;
|
|
31
|
+
completedOn: import("typebox").TUnion<[import("../../common.js").TDateType, import("typebox").TNull]>;
|
|
32
|
+
status: import("typebox").TNumber;
|
|
33
|
+
}>;
|
|
34
|
+
export type TCancelTaskResponse = Static<typeof CancelTaskResponse>;
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/api/task-cancel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAA;AAGrC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;EAAqB,CAAA;AACpD,MAAM,MAAM,mBAAmB,GAAG,MAAM,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {} from "typebox";
|
|
2
|
+
import { ArgumentCreateTask } from "../../tasks.js";
|
|
3
|
+
/**
|
|
4
|
+
* Response for the cancel route (`DELETE /api/v1/task/[taskId]`). The route
|
|
5
|
+
* returns `200` + the UPDATED `argument_create` task body (status flipped to
|
|
6
|
+
* `TaskStatus.CANCELLED`), so the client immediately receives the new terminal
|
|
7
|
+
* state. A `204` no-content cancel is NOT viable: `parseResponse`
|
|
8
|
+
* (`src/utils/utils.ts`) calls `response.json()` unconditionally before the
|
|
9
|
+
* ok-check, so a body-less response would throw inside `cancelTaskImpl`.
|
|
10
|
+
*
|
|
11
|
+
* Narrowed to `ArgumentCreateTask` (not the full `TaskSchema` union): cancel
|
|
12
|
+
* targets ingestion pipeline tasks only — mirrors `RetryTaskResponse`. Rejecting
|
|
13
|
+
* a non-ingestion task id with a typed 4xx is the server route's obligation
|
|
14
|
+
* (slice S-B1), not a shared guard.
|
|
15
|
+
*/
|
|
16
|
+
export const CancelTaskResponse = ArgumentCreateTask;
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schemas/api/task-cancel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,MAAM,SAAS,CAAA;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAEnD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,kBAAkB,CAAA"}
|
|
@@ -158,7 +158,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
|
|
|
158
158
|
body: Type.TNull;
|
|
159
159
|
titleContentHash: Type.TNull;
|
|
160
160
|
url: Type.TString;
|
|
161
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
161
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
162
162
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
163
163
|
}>, Type.TObject<{
|
|
164
164
|
type: Type.TLiteral<"Book">;
|
|
@@ -586,7 +586,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
|
|
|
586
586
|
type: Type.TLiteral<"UnparsedURL">;
|
|
587
587
|
url: Type.TString;
|
|
588
588
|
text: Type.TOptional<Type.TString>;
|
|
589
|
-
}>]>]>;
|
|
589
|
+
}>]>]>, Type.TNull]>;
|
|
590
590
|
citationContentHash: Type.TString;
|
|
591
591
|
axiom: Type.TNull;
|
|
592
592
|
}>, Type.TObject<{
|
|
@@ -641,7 +641,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
|
|
|
641
641
|
body: Type.TNull;
|
|
642
642
|
titleContentHash: Type.TNull;
|
|
643
643
|
url: Type.TString;
|
|
644
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
644
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
645
645
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
646
646
|
}>, Type.TObject<{
|
|
647
647
|
type: Type.TLiteral<"Book">;
|
|
@@ -1069,7 +1069,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
|
|
|
1069
1069
|
type: Type.TLiteral<"UnparsedURL">;
|
|
1070
1070
|
url: Type.TString;
|
|
1071
1071
|
text: Type.TOptional<Type.TString>;
|
|
1072
|
-
}>]>]>;
|
|
1072
|
+
}>]>]>, Type.TNull]>;
|
|
1073
1073
|
citationContentHash: Type.TString;
|
|
1074
1074
|
axiom: Type.TNull;
|
|
1075
1075
|
}>, Type.TObject<{
|
|
@@ -1124,7 +1124,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
|
|
|
1124
1124
|
body: Type.TNull;
|
|
1125
1125
|
titleContentHash: Type.TNull;
|
|
1126
1126
|
url: Type.TString;
|
|
1127
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1127
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1128
1128
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
1129
1129
|
}>, Type.TObject<{
|
|
1130
1130
|
type: Type.TLiteral<"Book">;
|
|
@@ -1552,7 +1552,7 @@ export declare const ArgumentDiffSchema: Type.TObject<{
|
|
|
1552
1552
|
type: Type.TLiteral<"UnparsedURL">;
|
|
1553
1553
|
url: Type.TString;
|
|
1554
1554
|
text: Type.TOptional<Type.TString>;
|
|
1555
|
-
}>]>]>;
|
|
1555
|
+
}>]>]>, Type.TNull]>;
|
|
1556
1556
|
citationContentHash: Type.TString;
|
|
1557
1557
|
axiom: Type.TNull;
|
|
1558
1558
|
}>, Type.TObject<{
|
|
@@ -59,7 +59,7 @@ export declare const CitationClaimSchema: Type.TObject<{
|
|
|
59
59
|
body: Type.TNull;
|
|
60
60
|
titleContentHash: Type.TNull;
|
|
61
61
|
url: Type.TString;
|
|
62
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
62
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
63
63
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
64
64
|
}>, Type.TObject<{
|
|
65
65
|
type: Type.TLiteral<"Book">;
|
|
@@ -487,7 +487,7 @@ export declare const CitationClaimSchema: Type.TObject<{
|
|
|
487
487
|
type: Type.TLiteral<"UnparsedURL">;
|
|
488
488
|
url: Type.TString;
|
|
489
489
|
text: Type.TOptional<Type.TString>;
|
|
490
|
-
}>]>]>;
|
|
490
|
+
}>]>]>, Type.TNull]>;
|
|
491
491
|
citationContentHash: Type.TString;
|
|
492
492
|
axiom: Type.TNull;
|
|
493
493
|
}>;
|
|
@@ -545,7 +545,7 @@ export declare const ClaimSchema: Type.TUnion<[Type.TObject<{
|
|
|
545
545
|
body: Type.TNull;
|
|
546
546
|
titleContentHash: Type.TNull;
|
|
547
547
|
url: Type.TString;
|
|
548
|
-
citation: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
548
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
549
549
|
type: Type.TUnion<[Type.TLiteral<"Book">, Type.TLiteral<"Website">, Type.TLiteral<"BookChapter">, Type.TLiteral<"Handbook">, Type.TLiteral<"TechnicalReport">, Type.TLiteral<"Standard">, Type.TLiteral<"Thesis">, Type.TLiteral<"Patent">, Type.TLiteral<"Dictionary">, Type.TLiteral<"Encyclopedia">, Type.TLiteral<"JournalArticle">, Type.TLiteral<"MagazineArticle">, Type.TLiteral<"NewspaperArticle">, Type.TLiteral<"ConferencePaper">, Type.TLiteral<"ConferenceProceedings">, Type.TLiteral<"Dataset">, Type.TLiteral<"Software">, Type.TLiteral<"OnlineDocument">, Type.TLiteral<"Blog">, Type.TLiteral<"SocialMedia">, Type.TLiteral<"Preprint">, Type.TLiteral<"Video">, Type.TLiteral<"Podcast">, Type.TLiteral<"Course">, Type.TLiteral<"Presentation">, Type.TLiteral<"Interview">, Type.TLiteral<"PersonalCommunication">, Type.TLiteral<"Email">, Type.TLiteral<"Law">, Type.TLiteral<"CourtCase">, Type.TLiteral<"GovernmentPublication">, Type.TLiteral<"Datasheet">, Type.TLiteral<"ProductManual">, Type.TLiteral<"UnparsedURL">]>;
|
|
550
550
|
}>, Type.TObject<{
|
|
551
551
|
type: Type.TLiteral<"Book">;
|
|
@@ -973,7 +973,7 @@ export declare const ClaimSchema: Type.TUnion<[Type.TObject<{
|
|
|
973
973
|
type: Type.TLiteral<"UnparsedURL">;
|
|
974
974
|
url: Type.TString;
|
|
975
975
|
text: Type.TOptional<Type.TString>;
|
|
976
|
-
}>]>]>;
|
|
976
|
+
}>]>]>, Type.TNull]>;
|
|
977
977
|
citationContentHash: Type.TString;
|
|
978
978
|
axiom: Type.TNull;
|
|
979
979
|
}>, Type.TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claims.d.ts","sourceRoot":"","sources":["../../../src/schemas/model/claims.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAA;AAY3C,eAAO,MAAM,eAAe,+FAAsB,CAAA;AACl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G,KAAK,IAAI,cAAc,CAEtE;AACD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,eAAe,CAExE;AAUD,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASlC,CAAA;AACF,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
|
@@ -85,7 +85,12 @@ export const CitationClaimSchema = Type.Interface([ClaimSharedFieldsSchema], {
|
|
|
85
85
|
body: Type.Null(),
|
|
86
86
|
titleContentHash: Type.Null(),
|
|
87
87
|
url: Type.String(),
|
|
88
|
-
|
|
88
|
+
// Nullable: v2 ingestion produces url-only citation claims that carry a
|
|
89
|
+
// `url` but no structured IEEE reference (`citation: null`). Full IEEE
|
|
90
|
+
// references remain valid — this is a widening, not a replacement. The
|
|
91
|
+
// `url` string is what discriminates a citation claim, so a null citation
|
|
92
|
+
// does not collide with the normal/axiomatic branches of `ClaimSchema`.
|
|
93
|
+
citation: Nullable(IEEEReferenceSchema),
|
|
89
94
|
citationContentHash: Type.String(),
|
|
90
95
|
axiom: Type.Null(),
|
|
91
96
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claims.js","sourceRoot":"","sources":["../../../src/schemas/model/claims.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,EAAE,EAAe,MAAM,SAAS,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AACrD,OAAO,EACH,4BAA4B,EAC5B,2BAA2B,EAC3B,yBAAyB,EACzB,mBAAmB,GACtB,MAAM,yBAAyB,CAAA;AAEhC,4EAA4E;AAC5E,iEAAiE;AACjE,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAA;AAGlD,MAAM,CAAC,MAAM,eAAe,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AAC,IAAI,CAAC;KACrC,CAAC;IACF,IAAI,CAAC,SAAS,CAAC,CAAC,oBAAoB,CAAC,EAAE;QACnC,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;QAC/B,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;KACrC,CAAC;CACL,CAAC,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { SETTLED_TASK_STATUSES } from "../../consts/index.js";
|
|
2
|
+
// Derived from the single source of truth in `consts/task-status.ts` so the
|
|
3
|
+
// settled partition has ONE definition. Adding a status to SETTLED_TASK_STATUSES
|
|
4
|
+
// widens both helpers automatically.
|
|
5
|
+
const settledStatuses = new Set(SETTLED_TASK_STATUSES);
|
|
6
6
|
export function isTaskSettled(t) {
|
|
7
7
|
return settledStatuses.has(t.status);
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/utils/tasks/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/utils/tasks/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAG7D,4EAA4E;AAC5E,iFAAiF;AACjF,qCAAqC;AACrC,MAAM,eAAe,GAAG,IAAI,GAAG,CAAS,qBAAqB,CAAC,CAAA;AAE9D,MAAM,UAAU,aAAa,CAAC,CAAQ;IAClC,OAAO,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;AACxC,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,CAAQ;IACrC,OAAO,CAAC,eAAe,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;AACzC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proposit/shared",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "Runtime-agnostic TypeScript shared between proposit-server and proposit-mobile. Schemas, engine, api-client, and utilities.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/Proposit-App/proposit-shared",
|
|
@@ -63,6 +63,11 @@
|
|
|
63
63
|
"import": "./dist/schemas/api/review/index.js",
|
|
64
64
|
"default": "./dist/schemas/api/review/index.js"
|
|
65
65
|
},
|
|
66
|
+
"./schemas/api/task-cancel": {
|
|
67
|
+
"types": "./dist/schemas/api/task-cancel/index.d.ts",
|
|
68
|
+
"import": "./dist/schemas/api/task-cancel/index.js",
|
|
69
|
+
"default": "./dist/schemas/api/task-cancel/index.js"
|
|
70
|
+
},
|
|
66
71
|
"./schemas/api/task-retry": {
|
|
67
72
|
"types": "./dist/schemas/api/task-retry/index.d.ts",
|
|
68
73
|
"import": "./dist/schemas/api/task-retry/index.js",
|
|
@@ -161,14 +166,14 @@
|
|
|
161
166
|
"access": "public"
|
|
162
167
|
},
|
|
163
168
|
"peerDependencies": {
|
|
164
|
-
"@proposit/proposit-core": "^1.
|
|
169
|
+
"@proposit/proposit-core": "^1.7.0"
|
|
165
170
|
},
|
|
166
171
|
"dependencies": {
|
|
167
172
|
"typebox": "^1.1.14"
|
|
168
173
|
},
|
|
169
174
|
"devDependencies": {
|
|
170
175
|
"@eslint/js": "^9.39.4",
|
|
171
|
-
"@proposit/proposit-core": "^1.
|
|
176
|
+
"@proposit/proposit-core": "^1.7.0",
|
|
172
177
|
"@types/node": "^25.5.2",
|
|
173
178
|
"eslint": "^9.39.4",
|
|
174
179
|
"eslint-plugin-check-file": "^3.3.1",
|