@proposit/shared 0.25.0 → 0.27.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 +3 -3
- package/dist/api-client/argument/claims.d.ts +12 -12
- package/dist/api-client/argument/index.d.ts +75 -12
- package/dist/api-client/argument/index.d.ts.map +1 -1
- package/dist/api-client/argument/index.js +16 -1
- package/dist/api-client/argument/index.js.map +1 -1
- package/dist/api-client/argument/versioning.d.ts +3 -3
- package/dist/api-client/factory.d.ts +4 -1
- package/dist/api-client/factory.d.ts.map +1 -1
- package/dist/api-client/factory.js +4 -1
- package/dist/api-client/factory.js.map +1 -1
- package/dist/api-client/user/citations.d.ts +6 -6
- package/dist/api-client/user/claims.d.ts +3 -3
- package/dist/engine/engine.d.ts +58 -1
- package/dist/engine/engine.d.ts.map +1 -1
- package/dist/engine/engine.js +148 -2
- package/dist/engine/engine.js.map +1 -1
- package/dist/schemas/api/argument/batch/provision.d.ts +3 -3
- package/dist/schemas/api/argument/claims.d.ts +9 -9
- package/dist/schemas/api/argument/index.d.ts +12 -3
- package/dist/schemas/api/argument/index.d.ts.map +1 -1
- package/dist/schemas/api/argument/index.js +7 -0
- package/dist/schemas/api/argument/index.js.map +1 -1
- package/dist/schemas/api/citations.d.ts +15 -15
- package/dist/schemas/api/claims.d.ts +6 -6
- package/dist/schemas/model/arguments.d.ts +9 -9
- package/dist/schemas/model/claims.d.ts +6 -6
- package/dist/schemas/model/claims.d.ts.map +1 -1
- package/dist/schemas/model/claims.js +12 -8
- package/dist/schemas/model/claims.js.map +1 -1
- package/package.json +3 -3
|
@@ -56,8 +56,8 @@ export declare function provisionArgumentImpl(config: TApiClientConfig, argument
|
|
|
56
56
|
title: import("typebox").TNull;
|
|
57
57
|
body: import("typebox").TNull;
|
|
58
58
|
titleContentHash: import("typebox").TNull;
|
|
59
|
-
url: import("typebox").TString
|
|
60
|
-
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").
|
|
59
|
+
url: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
60
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
61
61
|
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">]>;
|
|
62
62
|
}>, import("typebox").TObject<{
|
|
63
63
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -484,7 +484,7 @@ export declare function provisionArgumentImpl(config: TApiClientConfig, argument
|
|
|
484
484
|
text: import("typebox").TString;
|
|
485
485
|
citationTypeGuess: import("typebox").TUnion<[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<"unknown">]>;
|
|
486
486
|
url: import("typebox").TOptional<import("typebox").TString>;
|
|
487
|
-
}>]
|
|
487
|
+
}>]>;
|
|
488
488
|
citationContentHash: import("typebox").TString;
|
|
489
489
|
axiom: import("typebox").TNull;
|
|
490
490
|
}>, import("typebox").TObject<{
|
|
@@ -56,8 +56,8 @@ export declare function createClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
56
56
|
title: import("typebox").TNull;
|
|
57
57
|
body: import("typebox").TNull;
|
|
58
58
|
titleContentHash: import("typebox").TNull;
|
|
59
|
-
url: import("typebox").TString
|
|
60
|
-
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").
|
|
59
|
+
url: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
60
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
61
61
|
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">]>;
|
|
62
62
|
}>, import("typebox").TObject<{
|
|
63
63
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -484,7 +484,7 @@ export declare function createClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
484
484
|
text: import("typebox").TString;
|
|
485
485
|
citationTypeGuess: import("typebox").TUnion<[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<"unknown">]>;
|
|
486
486
|
url: import("typebox").TOptional<import("typebox").TString>;
|
|
487
|
-
}>]
|
|
487
|
+
}>]>;
|
|
488
488
|
citationContentHash: import("typebox").TString;
|
|
489
489
|
axiom: import("typebox").TNull;
|
|
490
490
|
}>, import("typebox").TObject<{
|
|
@@ -644,8 +644,8 @@ export declare function deleteClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
644
644
|
title: import("typebox").TNull;
|
|
645
645
|
body: import("typebox").TNull;
|
|
646
646
|
titleContentHash: import("typebox").TNull;
|
|
647
|
-
url: import("typebox").TString
|
|
648
|
-
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").
|
|
647
|
+
url: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
648
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
649
649
|
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">]>;
|
|
650
650
|
}>, import("typebox").TObject<{
|
|
651
651
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -1072,7 +1072,7 @@ export declare function deleteClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
1072
1072
|
text: import("typebox").TString;
|
|
1073
1073
|
citationTypeGuess: import("typebox").TUnion<[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<"unknown">]>;
|
|
1074
1074
|
url: import("typebox").TOptional<import("typebox").TString>;
|
|
1075
|
-
}>]
|
|
1075
|
+
}>]>;
|
|
1076
1076
|
citationContentHash: import("typebox").TString;
|
|
1077
1077
|
axiom: import("typebox").TNull;
|
|
1078
1078
|
}>, import("typebox").TObject<{
|
|
@@ -1151,8 +1151,8 @@ export declare function updateClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
1151
1151
|
title: import("typebox").TNull;
|
|
1152
1152
|
body: import("typebox").TNull;
|
|
1153
1153
|
titleContentHash: import("typebox").TNull;
|
|
1154
|
-
url: import("typebox").TString
|
|
1155
|
-
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").
|
|
1154
|
+
url: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
1155
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
1156
1156
|
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">]>;
|
|
1157
1157
|
}>, import("typebox").TObject<{
|
|
1158
1158
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -1579,7 +1579,7 @@ export declare function updateClaimImpl(config: TApiClientConfig, argumentId: st
|
|
|
1579
1579
|
text: import("typebox").TString;
|
|
1580
1580
|
citationTypeGuess: import("typebox").TUnion<[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<"unknown">]>;
|
|
1581
1581
|
url: import("typebox").TOptional<import("typebox").TString>;
|
|
1582
|
-
}>]
|
|
1582
|
+
}>]>;
|
|
1583
1583
|
citationContentHash: import("typebox").TString;
|
|
1584
1584
|
axiom: import("typebox").TNull;
|
|
1585
1585
|
}>, import("typebox").TObject<{
|
|
@@ -1658,8 +1658,8 @@ export declare function createClaimCitationImpl(config: TApiClientConfig, argume
|
|
|
1658
1658
|
title: import("typebox").TNull;
|
|
1659
1659
|
body: import("typebox").TNull;
|
|
1660
1660
|
titleContentHash: import("typebox").TNull;
|
|
1661
|
-
url: import("typebox").TString
|
|
1662
|
-
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").
|
|
1661
|
+
url: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
1662
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
1663
1663
|
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">]>;
|
|
1664
1664
|
}>, import("typebox").TObject<{
|
|
1665
1665
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -2086,7 +2086,7 @@ export declare function createClaimCitationImpl(config: TApiClientConfig, argume
|
|
|
2086
2086
|
text: import("typebox").TString;
|
|
2087
2087
|
citationTypeGuess: import("typebox").TUnion<[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<"unknown">]>;
|
|
2088
2088
|
url: import("typebox").TOptional<import("typebox").TString>;
|
|
2089
|
-
}>]
|
|
2089
|
+
}>]>;
|
|
2090
2090
|
citationContentHash: import("typebox").TString;
|
|
2091
2091
|
axiom: import("typebox").TNull;
|
|
2092
2092
|
}>, import("typebox").TObject<{
|
|
@@ -261,6 +261,48 @@ export declare function resetArgumentImpl(config: TApiClientConfig, argumentId:
|
|
|
261
261
|
titleContentHash: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
262
262
|
description: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
263
263
|
}>]>>>;
|
|
264
|
+
export declare function hideArgumentImpl(config: TApiClientConfig, argumentId: string, version: number): Promise<import("../../schemas/common.js").ParsedError<Type.TObject<{
|
|
265
|
+
errorID: Type.TNumber;
|
|
266
|
+
errorMessage: Type.TString;
|
|
267
|
+
statusCode: Type.TNumber;
|
|
268
|
+
errorCode: Type.TOptional<Type.TString>;
|
|
269
|
+
}>> | import("../../schemas/common.js").ParsedError<Type.TObject<{
|
|
270
|
+
error: Type.TLiteral<"GRAMMAR_VIOLATIONS">;
|
|
271
|
+
tier: Type.TUnion<[Type.TLiteral<"structural">, Type.TLiteral<"evaluable">, Type.TLiteral<"derivable">, Type.TLiteral<"presentable">]>;
|
|
272
|
+
violations: Type.TArray<Type.TObject<{
|
|
273
|
+
tier: Type.TUnion<[Type.TLiteral<"structural">, Type.TLiteral<"evaluable">, Type.TLiteral<"derivable">, Type.TLiteral<"presentable">]>;
|
|
274
|
+
code: Type.TUnion<[Type.TLiteral<"S-1">, Type.TLiteral<"S-2">, Type.TLiteral<"S-3">, Type.TLiteral<"S-4">, Type.TLiteral<"S-5">, Type.TLiteral<"S-6">, Type.TLiteral<"S-7">, Type.TLiteral<"S-8">, Type.TLiteral<"S-9">, Type.TLiteral<"S-10">, Type.TLiteral<"S-11">, Type.TLiteral<"S-12">, Type.TLiteral<"S-13">, Type.TLiteral<"S-14">, Type.TLiteral<"E-1">, Type.TLiteral<"E-3">, Type.TLiteral<"E-4">, Type.TLiteral<"E-5">, Type.TLiteral<"E-6">, Type.TLiteral<"E-7">, Type.TLiteral<"D-1">, Type.TLiteral<"D-2">, Type.TLiteral<"D-3">, Type.TLiteral<"D-4">, Type.TLiteral<"D-5">, Type.TLiteral<"D-6">, Type.TLiteral<"P-1">, Type.TLiteral<"P-2">, Type.TLiteral<"P-3">, Type.TLiteral<"P-4">, Type.TLiteral<"P-5">]>;
|
|
275
|
+
message: Type.TString;
|
|
276
|
+
argumentId: Type.TOptional<Type.TString>;
|
|
277
|
+
premiseId: Type.TOptional<Type.TString>;
|
|
278
|
+
expressionId: Type.TOptional<Type.TString>;
|
|
279
|
+
variableId: Type.TOptional<Type.TString>;
|
|
280
|
+
claimId: Type.TOptional<Type.TString>;
|
|
281
|
+
}>>;
|
|
282
|
+
}>> | import("../../schemas/common.js").ParsedSuccess<Type.TObject<{
|
|
283
|
+
hidden: Type.TBoolean;
|
|
284
|
+
}>>>;
|
|
285
|
+
export declare function unhideArgumentImpl(config: TApiClientConfig, argumentId: string, version: number): Promise<import("../../schemas/common.js").ParsedError<Type.TObject<{
|
|
286
|
+
errorID: Type.TNumber;
|
|
287
|
+
errorMessage: Type.TString;
|
|
288
|
+
statusCode: Type.TNumber;
|
|
289
|
+
errorCode: Type.TOptional<Type.TString>;
|
|
290
|
+
}>> | import("../../schemas/common.js").ParsedError<Type.TObject<{
|
|
291
|
+
error: Type.TLiteral<"GRAMMAR_VIOLATIONS">;
|
|
292
|
+
tier: Type.TUnion<[Type.TLiteral<"structural">, Type.TLiteral<"evaluable">, Type.TLiteral<"derivable">, Type.TLiteral<"presentable">]>;
|
|
293
|
+
violations: Type.TArray<Type.TObject<{
|
|
294
|
+
tier: Type.TUnion<[Type.TLiteral<"structural">, Type.TLiteral<"evaluable">, Type.TLiteral<"derivable">, Type.TLiteral<"presentable">]>;
|
|
295
|
+
code: Type.TUnion<[Type.TLiteral<"S-1">, Type.TLiteral<"S-2">, Type.TLiteral<"S-3">, Type.TLiteral<"S-4">, Type.TLiteral<"S-5">, Type.TLiteral<"S-6">, Type.TLiteral<"S-7">, Type.TLiteral<"S-8">, Type.TLiteral<"S-9">, Type.TLiteral<"S-10">, Type.TLiteral<"S-11">, Type.TLiteral<"S-12">, Type.TLiteral<"S-13">, Type.TLiteral<"S-14">, Type.TLiteral<"E-1">, Type.TLiteral<"E-3">, Type.TLiteral<"E-4">, Type.TLiteral<"E-5">, Type.TLiteral<"E-6">, Type.TLiteral<"E-7">, Type.TLiteral<"D-1">, Type.TLiteral<"D-2">, Type.TLiteral<"D-3">, Type.TLiteral<"D-4">, Type.TLiteral<"D-5">, Type.TLiteral<"D-6">, Type.TLiteral<"P-1">, Type.TLiteral<"P-2">, Type.TLiteral<"P-3">, Type.TLiteral<"P-4">, Type.TLiteral<"P-5">]>;
|
|
296
|
+
message: Type.TString;
|
|
297
|
+
argumentId: Type.TOptional<Type.TString>;
|
|
298
|
+
premiseId: Type.TOptional<Type.TString>;
|
|
299
|
+
expressionId: Type.TOptional<Type.TString>;
|
|
300
|
+
variableId: Type.TOptional<Type.TString>;
|
|
301
|
+
claimId: Type.TOptional<Type.TString>;
|
|
302
|
+
}>>;
|
|
303
|
+
}>> | import("../../schemas/common.js").ParsedSuccess<Type.TObject<{
|
|
304
|
+
hidden: Type.TBoolean;
|
|
305
|
+
}>>>;
|
|
264
306
|
export declare function forkArgumentImpl(config: TApiClientConfig, argumentId: string, version: number): Promise<import("../../schemas/common.js").ParsedError<Type.TObject<{
|
|
265
307
|
errorID: Type.TNumber;
|
|
266
308
|
errorMessage: Type.TString;
|
|
@@ -386,8 +428,8 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
386
428
|
title: Type.TNull;
|
|
387
429
|
body: Type.TNull;
|
|
388
430
|
titleContentHash: Type.TNull;
|
|
389
|
-
url: Type.TString
|
|
390
|
-
citation: Type.TUnion<[Type.TUnion<[Type.
|
|
431
|
+
url: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
432
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
391
433
|
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">]>;
|
|
392
434
|
}>, Type.TObject<{
|
|
393
435
|
type: Type.TLiteral<"Book">;
|
|
@@ -814,7 +856,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
814
856
|
text: Type.TString;
|
|
815
857
|
citationTypeGuess: Type.TUnion<[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<"unknown">]>;
|
|
816
858
|
url: Type.TOptional<Type.TString>;
|
|
817
|
-
}>]
|
|
859
|
+
}>]>;
|
|
818
860
|
citationContentHash: Type.TString;
|
|
819
861
|
axiom: Type.TNull;
|
|
820
862
|
}>, Type.TObject<{
|
|
@@ -874,8 +916,8 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
874
916
|
title: Type.TNull;
|
|
875
917
|
body: Type.TNull;
|
|
876
918
|
titleContentHash: Type.TNull;
|
|
877
|
-
url: Type.TString
|
|
878
|
-
citation: Type.TUnion<[Type.TUnion<[Type.
|
|
919
|
+
url: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
920
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
879
921
|
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">]>;
|
|
880
922
|
}>, Type.TObject<{
|
|
881
923
|
type: Type.TLiteral<"Book">;
|
|
@@ -1302,7 +1344,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
1302
1344
|
text: Type.TString;
|
|
1303
1345
|
citationTypeGuess: Type.TUnion<[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<"unknown">]>;
|
|
1304
1346
|
url: Type.TOptional<Type.TString>;
|
|
1305
|
-
}>]
|
|
1347
|
+
}>]>;
|
|
1306
1348
|
citationContentHash: Type.TString;
|
|
1307
1349
|
axiom: Type.TNull;
|
|
1308
1350
|
}>, Type.TObject<{
|
|
@@ -1362,8 +1404,8 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
1362
1404
|
title: Type.TNull;
|
|
1363
1405
|
body: Type.TNull;
|
|
1364
1406
|
titleContentHash: Type.TNull;
|
|
1365
|
-
url: Type.TString
|
|
1366
|
-
citation: Type.TUnion<[Type.TUnion<[Type.
|
|
1407
|
+
url: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
1408
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1367
1409
|
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">]>;
|
|
1368
1410
|
}>, Type.TObject<{
|
|
1369
1411
|
type: Type.TLiteral<"Book">;
|
|
@@ -1790,7 +1832,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
1790
1832
|
text: Type.TString;
|
|
1791
1833
|
citationTypeGuess: Type.TUnion<[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<"unknown">]>;
|
|
1792
1834
|
url: Type.TOptional<Type.TString>;
|
|
1793
|
-
}>]
|
|
1835
|
+
}>]>;
|
|
1794
1836
|
citationContentHash: Type.TString;
|
|
1795
1837
|
axiom: Type.TNull;
|
|
1796
1838
|
}>, Type.TObject<{
|
|
@@ -2482,6 +2524,27 @@ export declare function deleteArgumentImpl(config: TApiClientConfig, argumentId:
|
|
|
2482
2524
|
claimId: Type.TOptional<Type.TString>;
|
|
2483
2525
|
}>>;
|
|
2484
2526
|
}>> | import("../../schemas/common.js").ParsedSuccess<Type.TBoolean>>;
|
|
2527
|
+
export declare function purgeArgumentImpl(config: TApiClientConfig, argumentId: string, version: number): Promise<import("../../schemas/common.js").ParsedError<Type.TObject<{
|
|
2528
|
+
errorID: Type.TNumber;
|
|
2529
|
+
errorMessage: Type.TString;
|
|
2530
|
+
statusCode: Type.TNumber;
|
|
2531
|
+
errorCode: Type.TOptional<Type.TString>;
|
|
2532
|
+
}>> | import("../../schemas/common.js").ParsedError<Type.TObject<{
|
|
2533
|
+
error: Type.TLiteral<"GRAMMAR_VIOLATIONS">;
|
|
2534
|
+
tier: Type.TUnion<[Type.TLiteral<"structural">, Type.TLiteral<"evaluable">, Type.TLiteral<"derivable">, Type.TLiteral<"presentable">]>;
|
|
2535
|
+
violations: Type.TArray<Type.TObject<{
|
|
2536
|
+
tier: Type.TUnion<[Type.TLiteral<"structural">, Type.TLiteral<"evaluable">, Type.TLiteral<"derivable">, Type.TLiteral<"presentable">]>;
|
|
2537
|
+
code: Type.TUnion<[Type.TLiteral<"S-1">, Type.TLiteral<"S-2">, Type.TLiteral<"S-3">, Type.TLiteral<"S-4">, Type.TLiteral<"S-5">, Type.TLiteral<"S-6">, Type.TLiteral<"S-7">, Type.TLiteral<"S-8">, Type.TLiteral<"S-9">, Type.TLiteral<"S-10">, Type.TLiteral<"S-11">, Type.TLiteral<"S-12">, Type.TLiteral<"S-13">, Type.TLiteral<"S-14">, Type.TLiteral<"E-1">, Type.TLiteral<"E-3">, Type.TLiteral<"E-4">, Type.TLiteral<"E-5">, Type.TLiteral<"E-6">, Type.TLiteral<"E-7">, Type.TLiteral<"D-1">, Type.TLiteral<"D-2">, Type.TLiteral<"D-3">, Type.TLiteral<"D-4">, Type.TLiteral<"D-5">, Type.TLiteral<"D-6">, Type.TLiteral<"P-1">, Type.TLiteral<"P-2">, Type.TLiteral<"P-3">, Type.TLiteral<"P-4">, Type.TLiteral<"P-5">]>;
|
|
2538
|
+
message: Type.TString;
|
|
2539
|
+
argumentId: Type.TOptional<Type.TString>;
|
|
2540
|
+
premiseId: Type.TOptional<Type.TString>;
|
|
2541
|
+
expressionId: Type.TOptional<Type.TString>;
|
|
2542
|
+
variableId: Type.TOptional<Type.TString>;
|
|
2543
|
+
claimId: Type.TOptional<Type.TString>;
|
|
2544
|
+
}>>;
|
|
2545
|
+
}>> | import("../../schemas/common.js").ParsedSuccess<Type.TObject<{
|
|
2546
|
+
deletedArgumentIds: Type.TArray<Type.TString>;
|
|
2547
|
+
}>>>;
|
|
2485
2548
|
export declare function getEntireArgumentImpl(config: TApiClientConfig, argumentId: string, version: number): Promise<import("../../schemas/common.js").ParsedError<Type.TObject<{
|
|
2486
2549
|
errorID: Type.TNumber;
|
|
2487
2550
|
errorMessage: Type.TString;
|
|
@@ -2588,8 +2651,8 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
2588
2651
|
title: Type.TNull;
|
|
2589
2652
|
body: Type.TNull;
|
|
2590
2653
|
titleContentHash: Type.TNull;
|
|
2591
|
-
url: Type.TString
|
|
2592
|
-
citation: Type.TUnion<[Type.TUnion<[Type.
|
|
2654
|
+
url: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2655
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
2593
2656
|
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">]>;
|
|
2594
2657
|
}>, Type.TObject<{
|
|
2595
2658
|
type: Type.TLiteral<"Book">;
|
|
@@ -3016,7 +3079,7 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
3016
3079
|
text: Type.TString;
|
|
3017
3080
|
citationTypeGuess: Type.TUnion<[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<"unknown">]>;
|
|
3018
3081
|
url: Type.TOptional<Type.TString>;
|
|
3019
|
-
}>]
|
|
3082
|
+
}>]>;
|
|
3020
3083
|
citationContentHash: Type.TString;
|
|
3021
3084
|
axiom: Type.TNull;
|
|
3022
3085
|
}>, Type.TObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api-client/argument/index.ts"],"names":[],"mappings":"AASA,OAAO,EAIH,KAAK,sBAAsB,EAE3B,KAAK,eAAe,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api-client/argument/index.ts"],"names":[],"mappings":"AASA,OAAO,EAIH,KAAK,sBAAsB,EAE3B,KAAK,eAAe,EAIvB,MAAM,qCAAqC,CAAA;AAE5C,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,eAAe,CACjC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAelB;AAED,wBAAsB,mBAAmB,CACrC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWlB"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// every server consumer. Tracked as tech debt for a dedicated follow-up.
|
|
4
4
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
5
5
|
import { ArgumentSchema, ArgumentDiffSchema, ArgumentWithMetadataSchema, } from "../../schemas/model.js";
|
|
6
|
-
import { FullArgumentSchema, GetForksOfArgumentResponseSchema, UpdateArgumentRequestSchema, CreateArgumentSchema, PublishResponseSchema, } from "../../schemas/api/argument/index.js";
|
|
6
|
+
import { FullArgumentSchema, GetForksOfArgumentResponseSchema, UpdateArgumentRequestSchema, CreateArgumentSchema, PublishResponseSchema, SetArgumentHiddenResponseSchema, PurgeArgumentResponseSchema, } from "../../schemas/api/argument/index.js";
|
|
7
7
|
import { parseResponse, strictFetch } from "../../utils/utils.js";
|
|
8
8
|
import { Type } from "typebox";
|
|
9
9
|
import { resolveBaseUrl } from "../internal.js";
|
|
@@ -22,6 +22,14 @@ export async function resetArgumentImpl(config, argumentId, version) {
|
|
|
22
22
|
const baseUrl = resolveBaseUrl(config);
|
|
23
23
|
return await parseResponse(await config.fetchImpl(`${baseUrl}/api/v1/argument/${argumentId}/${version}/reset`, { method: "POST" }), ArgumentSchema);
|
|
24
24
|
}
|
|
25
|
+
export async function hideArgumentImpl(config, argumentId, version) {
|
|
26
|
+
const baseUrl = resolveBaseUrl(config);
|
|
27
|
+
return await parseResponse(await config.fetchImpl(`${baseUrl}/api/v1/argument/${argumentId}/${version}/hide`, { method: "POST" }), SetArgumentHiddenResponseSchema);
|
|
28
|
+
}
|
|
29
|
+
export async function unhideArgumentImpl(config, argumentId, version) {
|
|
30
|
+
const baseUrl = resolveBaseUrl(config);
|
|
31
|
+
return await parseResponse(await config.fetchImpl(`${baseUrl}/api/v1/argument/${argumentId}/${version}/unhide`, { method: "POST" }), SetArgumentHiddenResponseSchema);
|
|
32
|
+
}
|
|
25
33
|
export async function forkArgumentImpl(config, argumentId, version) {
|
|
26
34
|
const baseUrl = resolveBaseUrl(config);
|
|
27
35
|
return await parseResponse(await config.fetchImpl(`${baseUrl}/api/v1/argument/${argumentId}/${version}/fork`, { method: "POST" }), ArgumentSchema);
|
|
@@ -70,6 +78,13 @@ export async function deleteArgumentImpl(config, argumentId, version) {
|
|
|
70
78
|
const baseUrl = resolveBaseUrl(config);
|
|
71
79
|
return await parseResponse(await config.fetchImpl(`${baseUrl}/api/v1/argument/${argumentId}/${version}?delete=true`, { method: "DELETE" }), Type.Boolean());
|
|
72
80
|
}
|
|
81
|
+
// Moderation hard-delete: removes the whole argument (all versions) AND every
|
|
82
|
+
// transitive fork. Distinct from `deleteArgument` (single version); separately
|
|
83
|
+
// permissioned server-side (requires `argument:delete` / `admin:full-access`).
|
|
84
|
+
export async function purgeArgumentImpl(config, argumentId, version) {
|
|
85
|
+
const baseUrl = resolveBaseUrl(config);
|
|
86
|
+
return await parseResponse(await config.fetchImpl(`${baseUrl}/api/v1/argument/${argumentId}/${version}?purge=true`, { method: "DELETE" }), PurgeArgumentResponseSchema);
|
|
87
|
+
}
|
|
73
88
|
export async function getEntireArgumentImpl(config, argumentId, version) {
|
|
74
89
|
const baseUrl = resolveBaseUrl(config);
|
|
75
90
|
return await strictFetch(`${baseUrl}/api/v1/argument/${argumentId}/${version}/entire`, { method: "GET" }, undefined, undefined, FullArgumentSchema, config.fetchImpl);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-client/argument/index.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,0EAA0E;AAC1E,yEAAyE;AACzE,yDAAyD;AACzD,OAAO,EACH,cAAc,EACd,kBAAkB,EAClB,0BAA0B,GAC7B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACH,kBAAkB,EAClB,gCAAgC,EAChC,2BAA2B,EAE3B,oBAAoB,EAEpB,qBAAqB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-client/argument/index.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,0EAA0E;AAC1E,yEAAyE;AACzE,yDAAyD;AACzD,OAAO,EACH,cAAc,EACd,kBAAkB,EAClB,0BAA0B,GAC7B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACH,kBAAkB,EAClB,gCAAgC,EAChC,2BAA2B,EAE3B,oBAAoB,EAEpB,qBAAqB,EACrB,+BAA+B,EAC/B,2BAA2B,GAC9B,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,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C,OAAO,MAAM,aAAa,CACtB,MAAM,MAAM,CAAC,SAAS,CAClB,GAAG,OAAO,oBAAoB,UAAU,IAAI,OAAO,cAAc,EACjE,EAAE,MAAM,EAAE,QAAQ,EAAE,CACvB,EACD,IAAI,CAAC,OAAO,EAAE,CACjB,CAAA;AACL,CAAC;AAED,8EAA8E;AAC9E,+EAA+E;AAC/E,+EAA+E;AAC/E,MAAM,CAAC,KAAK,UAAU,iBAAiB,CACnC,MAAwB,EACxB,UAAkB,EAClB,OAAe;IAEf,MAAM,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA;IACtC,OAAO,MAAM,aAAa,CACtB,MAAM,MAAM,CAAC,SAAS,CAClB,GAAG,OAAO,oBAAoB,UAAU,IAAI,OAAO,aAAa,EAChE,EAAE,MAAM,EAAE,QAAQ,EAAE,CACvB,EACD,2BAA2B,CAC9B,CAAA;AACL,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACvC,MAAwB,EACxB,UAAkB,EAClB,OAAe;IAEf,MAAM,OAAO,GAAG,cAAc,CAAC,MAAM,CAAC,CAAA;IACtC,OAAO,MAAM,WAAW,CACpB,GAAG,OAAO,oBAAoB,UAAU,IAAI,OAAO,SAAS,EAC5D,EAAE,MAAM,EAAE,KAAK,EAAE,EACjB,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,MAAM,CAAC,SAAS,CACnB,CAAA;AACL,CAAC"}
|
|
@@ -59,8 +59,8 @@ export declare function getLatestClaimImpl(config: TApiClientConfig, claimId: st
|
|
|
59
59
|
title: import("typebox").TNull;
|
|
60
60
|
body: import("typebox").TNull;
|
|
61
61
|
titleContentHash: import("typebox").TNull;
|
|
62
|
-
url: import("typebox").TString
|
|
63
|
-
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").
|
|
62
|
+
url: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
63
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
64
64
|
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">]>;
|
|
65
65
|
}>, import("typebox").TObject<{
|
|
66
66
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -487,7 +487,7 @@ export declare function getLatestClaimImpl(config: TApiClientConfig, claimId: st
|
|
|
487
487
|
text: import("typebox").TString;
|
|
488
488
|
citationTypeGuess: import("typebox").TUnion<[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<"unknown">]>;
|
|
489
489
|
url: import("typebox").TOptional<import("typebox").TString>;
|
|
490
|
-
}>]
|
|
490
|
+
}>]>;
|
|
491
491
|
citationContentHash: import("typebox").TString;
|
|
492
492
|
axiom: import("typebox").TNull;
|
|
493
493
|
}>, import("typebox").TObject<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TApiClientConfig } from "./config.js";
|
|
2
|
-
import { getArgumentImpl, publishArgumentImpl, resetArgumentImpl, forkArgumentImpl, getArgumentDiffImpl, getArgumentForksImpl, claimUnownedArgumentImpl, getAllArgumentsImpl, createArgumentImpl, getLatestArgumentImpl, updateArgumentImpl, archiveArgumentImpl, deleteArgumentImpl, getEntireArgumentImpl } from "./argument/index.js";
|
|
2
|
+
import { getArgumentImpl, publishArgumentImpl, resetArgumentImpl, hideArgumentImpl, unhideArgumentImpl, forkArgumentImpl, getArgumentDiffImpl, getArgumentForksImpl, claimUnownedArgumentImpl, getAllArgumentsImpl, createArgumentImpl, getLatestArgumentImpl, updateArgumentImpl, archiveArgumentImpl, deleteArgumentImpl, purgeArgumentImpl, getEntireArgumentImpl } from "./argument/index.js";
|
|
3
3
|
import { provisionArgumentImpl, createExpressionWithOperatorImpl, changeEdgeOperatorImpl } from "./argument/batch.js";
|
|
4
4
|
import { createClaimImpl, deleteClaimImpl, updateClaimImpl, createClaimCitationImpl, deleteClaimCitationImpl, createClaimAxiomImpl } from "./argument/claims.js";
|
|
5
5
|
import { getLatestClaimImpl, getLatestClaimVersionImpl, advanceClaimReferenceImpl } from "./argument/versioning.js";
|
|
@@ -23,6 +23,8 @@ declare const impls: {
|
|
|
23
23
|
readonly getArgument: typeof getArgumentImpl;
|
|
24
24
|
readonly publishArgument: typeof publishArgumentImpl;
|
|
25
25
|
readonly resetArgument: typeof resetArgumentImpl;
|
|
26
|
+
readonly hideArgument: typeof hideArgumentImpl;
|
|
27
|
+
readonly unhideArgument: typeof unhideArgumentImpl;
|
|
26
28
|
readonly forkArgument: typeof forkArgumentImpl;
|
|
27
29
|
readonly getArgumentDiff: typeof getArgumentDiffImpl;
|
|
28
30
|
readonly getArgumentForks: typeof getArgumentForksImpl;
|
|
@@ -33,6 +35,7 @@ declare const impls: {
|
|
|
33
35
|
readonly updateArgument: typeof updateArgumentImpl;
|
|
34
36
|
readonly archiveArgument: typeof archiveArgumentImpl;
|
|
35
37
|
readonly deleteArgument: typeof deleteArgumentImpl;
|
|
38
|
+
readonly purgeArgument: typeof purgeArgumentImpl;
|
|
36
39
|
readonly getEntireArgument: typeof getEntireArgumentImpl;
|
|
37
40
|
readonly provisionArgument: typeof provisionArgumentImpl;
|
|
38
41
|
readonly createExpressionWithOperator: typeof createExpressionWithOperatorImpl;
|
|
@@ -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,mB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AAA;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;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEpD;;;GAGG;AACH,QAAA,MAAM,KAAK
|
|
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,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,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,EACH,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EAC5B,MAAM,0BAA0B,CAAA;AACjC,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,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AAM,EAAE,gBAAgB,GAAG,UAAU,CAepE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getArgumentImpl, publishArgumentImpl, resetArgumentImpl, forkArgumentImpl, getArgumentDiffImpl, getArgumentForksImpl, claimUnownedArgumentImpl, getAllArgumentsImpl, createArgumentImpl, getLatestArgumentImpl, updateArgumentImpl, archiveArgumentImpl, deleteArgumentImpl, getEntireArgumentImpl, } from "./argument/index.js";
|
|
1
|
+
import { getArgumentImpl, publishArgumentImpl, resetArgumentImpl, hideArgumentImpl, unhideArgumentImpl, forkArgumentImpl, getArgumentDiffImpl, getArgumentForksImpl, claimUnownedArgumentImpl, getAllArgumentsImpl, createArgumentImpl, getLatestArgumentImpl, updateArgumentImpl, archiveArgumentImpl, deleteArgumentImpl, purgeArgumentImpl, getEntireArgumentImpl, } from "./argument/index.js";
|
|
2
2
|
import { provisionArgumentImpl, createExpressionWithOperatorImpl, changeEdgeOperatorImpl, } from "./argument/batch.js";
|
|
3
3
|
import { createClaimImpl, deleteClaimImpl, updateClaimImpl, createClaimCitationImpl, deleteClaimCitationImpl, createClaimAxiomImpl, } from "./argument/claims.js";
|
|
4
4
|
import { getLatestClaimImpl, getLatestClaimVersionImpl, advanceClaimReferenceImpl, } from "./argument/versioning.js";
|
|
@@ -22,6 +22,8 @@ const impls = {
|
|
|
22
22
|
getArgument: getArgumentImpl,
|
|
23
23
|
publishArgument: publishArgumentImpl,
|
|
24
24
|
resetArgument: resetArgumentImpl,
|
|
25
|
+
hideArgument: hideArgumentImpl,
|
|
26
|
+
unhideArgument: unhideArgumentImpl,
|
|
25
27
|
forkArgument: forkArgumentImpl,
|
|
26
28
|
getArgumentDiff: getArgumentDiffImpl,
|
|
27
29
|
getArgumentForks: getArgumentForksImpl,
|
|
@@ -32,6 +34,7 @@ const impls = {
|
|
|
32
34
|
updateArgument: updateArgumentImpl,
|
|
33
35
|
archiveArgument: archiveArgumentImpl,
|
|
34
36
|
deleteArgument: deleteArgumentImpl,
|
|
37
|
+
purgeArgument: purgeArgumentImpl,
|
|
35
38
|
getEntireArgument: getEntireArgumentImpl,
|
|
36
39
|
provisionArgument: provisionArgumentImpl,
|
|
37
40
|
createExpressionWithOperator: createExpressionWithOperatorImpl,
|
|
@@ -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,EACH,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,GAC5B,MAAM,0BAA0B,CAAA;AACjC,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;AACl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,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"}
|
|
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,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,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,EACH,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,GAC5B,MAAM,0BAA0B,CAAA;AACjC,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,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oB;IACtC,UAAU,EAAE,cAAc;IAC1B,eAAe,EAAE,mBAAmB;IACpC,4BAA4B,EAAE,gCAAgC;IAC9D,SAAS,EAAE,aAAa;IACxB,UAAU,EAAE,cAAc;IAC1B,UAAU,EAAE,cAAc;IAC1B,SAAS,EAAE,aAAa;CAClB,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"}
|
|
@@ -54,8 +54,8 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
|
|
|
54
54
|
title: import("typebox").TNull;
|
|
55
55
|
body: import("typebox").TNull;
|
|
56
56
|
titleContentHash: import("typebox").TNull;
|
|
57
|
-
url: import("typebox").TString
|
|
58
|
-
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").
|
|
57
|
+
url: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
58
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
59
59
|
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">]>;
|
|
60
60
|
}>, import("typebox").TObject<{
|
|
61
61
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -482,7 +482,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
|
|
|
482
482
|
text: import("typebox").TString;
|
|
483
483
|
citationTypeGuess: import("typebox").TUnion<[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<"unknown">]>;
|
|
484
484
|
url: import("typebox").TOptional<import("typebox").TString>;
|
|
485
|
-
}>]
|
|
485
|
+
}>]>;
|
|
486
486
|
citationContentHash: import("typebox").TString;
|
|
487
487
|
axiom: import("typebox").TNull;
|
|
488
488
|
}>, import("typebox").TObject<{
|
|
@@ -549,8 +549,8 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
|
|
|
549
549
|
title: import("typebox").TNull;
|
|
550
550
|
body: import("typebox").TNull;
|
|
551
551
|
titleContentHash: import("typebox").TNull;
|
|
552
|
-
url: import("typebox").TString
|
|
553
|
-
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").
|
|
552
|
+
url: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
|
|
553
|
+
citation: import("typebox").TUnion<[import("typebox").TUnion<[import("typebox").TIntersect<[import("typebox").TObject<{
|
|
554
554
|
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">]>;
|
|
555
555
|
}>, import("typebox").TObject<{
|
|
556
556
|
type: import("typebox").TLiteral<"Book">;
|
|
@@ -977,7 +977,7 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
|
|
|
977
977
|
text: import("typebox").TString;
|
|
978
978
|
citationTypeGuess: import("typebox").TUnion<[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<"unknown">]>;
|
|
979
979
|
url: import("typebox").TOptional<import("typebox").TString>;
|
|
980
|
-
}>]
|
|
980
|
+
}>]>;
|
|
981
981
|
citationContentHash: import("typebox").TString;
|
|
982
982
|
axiom: import("typebox").TNull;
|
|
983
983
|
}>, import("typebox").TObject<{
|