@proposit/shared 0.25.0 → 0.26.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 +12 -12
- package/dist/api-client/argument/versioning.d.ts +3 -3
- 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 +3 -3
- 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<{
|
|
@@ -386,8 +386,8 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
386
386
|
title: Type.TNull;
|
|
387
387
|
body: Type.TNull;
|
|
388
388
|
titleContentHash: Type.TNull;
|
|
389
|
-
url: Type.TString
|
|
390
|
-
citation: Type.TUnion<[Type.TUnion<[Type.
|
|
389
|
+
url: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
390
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
391
391
|
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
392
|
}>, Type.TObject<{
|
|
393
393
|
type: Type.TLiteral<"Book">;
|
|
@@ -814,7 +814,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
814
814
|
text: Type.TString;
|
|
815
815
|
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
816
|
url: Type.TOptional<Type.TString>;
|
|
817
|
-
}>]
|
|
817
|
+
}>]>;
|
|
818
818
|
citationContentHash: Type.TString;
|
|
819
819
|
axiom: Type.TNull;
|
|
820
820
|
}>, Type.TObject<{
|
|
@@ -874,8 +874,8 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
874
874
|
title: Type.TNull;
|
|
875
875
|
body: Type.TNull;
|
|
876
876
|
titleContentHash: Type.TNull;
|
|
877
|
-
url: Type.TString
|
|
878
|
-
citation: Type.TUnion<[Type.TUnion<[Type.
|
|
877
|
+
url: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
878
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
879
879
|
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
880
|
}>, Type.TObject<{
|
|
881
881
|
type: Type.TLiteral<"Book">;
|
|
@@ -1302,7 +1302,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
1302
1302
|
text: Type.TString;
|
|
1303
1303
|
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
1304
|
url: Type.TOptional<Type.TString>;
|
|
1305
|
-
}>]
|
|
1305
|
+
}>]>;
|
|
1306
1306
|
citationContentHash: Type.TString;
|
|
1307
1307
|
axiom: Type.TNull;
|
|
1308
1308
|
}>, Type.TObject<{
|
|
@@ -1362,8 +1362,8 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
1362
1362
|
title: Type.TNull;
|
|
1363
1363
|
body: Type.TNull;
|
|
1364
1364
|
titleContentHash: Type.TNull;
|
|
1365
|
-
url: Type.TString
|
|
1366
|
-
citation: Type.TUnion<[Type.TUnion<[Type.
|
|
1365
|
+
url: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
1366
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
1367
1367
|
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
1368
|
}>, Type.TObject<{
|
|
1369
1369
|
type: Type.TLiteral<"Book">;
|
|
@@ -1790,7 +1790,7 @@ export declare function getArgumentDiffImpl(config: TApiClientConfig, argumentId
|
|
|
1790
1790
|
text: Type.TString;
|
|
1791
1791
|
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
1792
|
url: Type.TOptional<Type.TString>;
|
|
1793
|
-
}>]
|
|
1793
|
+
}>]>;
|
|
1794
1794
|
citationContentHash: Type.TString;
|
|
1795
1795
|
axiom: Type.TNull;
|
|
1796
1796
|
}>, Type.TObject<{
|
|
@@ -2588,8 +2588,8 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
2588
2588
|
title: Type.TNull;
|
|
2589
2589
|
body: Type.TNull;
|
|
2590
2590
|
titleContentHash: Type.TNull;
|
|
2591
|
-
url: Type.TString
|
|
2592
|
-
citation: Type.TUnion<[Type.TUnion<[Type.
|
|
2591
|
+
url: Type.TUnion<[Type.TString, Type.TNull]>;
|
|
2592
|
+
citation: Type.TUnion<[Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
2593
2593
|
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
2594
|
}>, Type.TObject<{
|
|
2595
2595
|
type: Type.TLiteral<"Book">;
|
|
@@ -3016,7 +3016,7 @@ export declare function getEntireArgumentImpl(config: TApiClientConfig, argument
|
|
|
3016
3016
|
text: Type.TString;
|
|
3017
3017
|
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
3018
|
url: Type.TOptional<Type.TString>;
|
|
3019
|
-
}>]
|
|
3019
|
+
}>]>;
|
|
3020
3020
|
citationContentHash: Type.TString;
|
|
3021
3021
|
axiom: Type.TNull;
|
|
3022
3022
|
}>, Type.TObject<{
|
|
@@ -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<{
|
|
@@ -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<{
|
|
@@ -54,8 +54,8 @@ export declare function getUserClaimsImpl(config: TApiClientConfig, argumentId?:
|
|
|
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 getUserClaimsImpl(config: TApiClientConfig, argumentId?:
|
|
|
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<{
|
package/dist/engine/engine.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArgumentEngine, type TArgumentEngineSnapshot, type TCoreValidationIssue, type TReactiveSnapshot } from "@proposit/proposit-core";
|
|
1
|
+
import { ArgumentEngine, type TArgumentEngineSnapshot, type TCoreValidationIssue, type TInvariantValidationResult, type TReactiveSnapshot } from "@proposit/proposit-core";
|
|
2
2
|
import type { TArgument } from "../schemas/model/arguments.js";
|
|
3
3
|
import type { TPropositionalExpressionCombined, TPropositionalPremise, TPropositionalVariable } from "../schemas/logic.js";
|
|
4
4
|
import type { TClaim } from "../schemas/model/claims.js";
|
|
@@ -67,6 +67,63 @@ export declare class PropositArgumentEngine extends ArgumentEngine<TArgument, TP
|
|
|
67
67
|
* Overrides the base class default which returns true unconditionally.
|
|
68
68
|
*/
|
|
69
69
|
canFork(): boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Resolves the claim type a variable references, or `undefined` when the
|
|
72
|
+
* variable is not claim-bound (premise-bound variables reference no claim).
|
|
73
|
+
* Reads the engine's claim library (`getClaim`) rather than the per-engine
|
|
74
|
+
* `claimsMap`, because the library is populated for the whole load/mutation
|
|
75
|
+
* lifecycle while `claimsMap` is filled only after a snapshot restore — so
|
|
76
|
+
* the library is the reliable source during the load-validation sweep.
|
|
77
|
+
*/
|
|
78
|
+
private resolveVariableClaimType;
|
|
79
|
+
/**
|
|
80
|
+
* Collects a violation for every freeform premise that references a
|
|
81
|
+
* derivation-only claim type (`citation` / `axiomatic`) through one of its
|
|
82
|
+
* member variables. Walks each premise's expressions, resolves the claim
|
|
83
|
+
* type behind each variable expression, and flags the premise when any
|
|
84
|
+
* referenced claim is derivation-only.
|
|
85
|
+
*/
|
|
86
|
+
private collectTypedClaimsInFreeformViolations;
|
|
87
|
+
/**
|
|
88
|
+
* Runs the freeform-premise typed-claim check, gated on `assistive`
|
|
89
|
+
* behavior. Returns an `ok: false` result when a freeform premise
|
|
90
|
+
* references a derivation-only claim. The gate keeps the
|
|
91
|
+
* derivation-population helpers — which flip to `permissive` mid-build and
|
|
92
|
+
* may momentarily hold a transient intermediate tree — from being tripped
|
|
93
|
+
* while they construct a valid final shape.
|
|
94
|
+
*/
|
|
95
|
+
private assertNoTypedClaimsInFreeform;
|
|
96
|
+
/**
|
|
97
|
+
* Folds the freeform-premise typed-claim invariant into core's invariant
|
|
98
|
+
* sweep. Because core's mutation wrapper (`withValidation`) and the
|
|
99
|
+
* snapshot-load paths (`fromSnapshot` / `fromData` / `rollback`) all run
|
|
100
|
+
* this method, overriding it enforces the invariant on both mutation and
|
|
101
|
+
* load: an argument-level mutation that would leave a citation/axiomatic
|
|
102
|
+
* claim in a freeform premise is rolled back and throws, and a snapshot
|
|
103
|
+
* carrying that placement fails to load. Premise-level expression
|
|
104
|
+
* mutations validate through a separate per-premise callback, re-wired in
|
|
105
|
+
* {@link installFreeformTypedClaimGuards} to enforce the same invariant.
|
|
106
|
+
*/
|
|
107
|
+
validateInvariants(): TInvariantValidationResult;
|
|
108
|
+
/**
|
|
109
|
+
* Wraps core's universal mutation wrapper. Core re-points every premise's
|
|
110
|
+
* after-mutation validation callback to its own default at the end of each
|
|
111
|
+
* argument-level mutation, so the typed-claim guards must be re-installed
|
|
112
|
+
* afterwards to stay in effect for the next premise-level expression
|
|
113
|
+
* mutation. The mutation itself is enforced by the overridden
|
|
114
|
+
* {@link validateInvariants} that core's wrapper invokes.
|
|
115
|
+
*/
|
|
116
|
+
protected withValidation<T>(fn: () => T): T;
|
|
117
|
+
/**
|
|
118
|
+
* Re-wires every premise's after-mutation validation callback so that
|
|
119
|
+
* premise-level expression mutations also enforce the freeform-premise
|
|
120
|
+
* typed-claim invariant. Core's default callback runs only its lighter
|
|
121
|
+
* after-premise-mutation sweep, which never reaches the typed-claim check;
|
|
122
|
+
* this callback runs the typed-claim check first and, when clean, the full
|
|
123
|
+
* invariant sweep ({@link validateInvariants}) so a violating placement is
|
|
124
|
+
* rolled back and throws at the moment the expression is added.
|
|
125
|
+
*/
|
|
126
|
+
private installFreeformTypedClaimGuards;
|
|
70
127
|
protected buildReactiveSnapshot(): TProjectReactiveSnapshot;
|
|
71
128
|
/**
|
|
72
129
|
* Creates a PropositArgumentEngine from server-provided data: an engine
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../src/engine/engine.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,
|
|
1
|
+
{"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../src/engine/engine.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,EAGd,KAAK,uBAAuB,EAK5B,KAAK,oBAAoB,EACzB,KAAK,0BAA0B,EAE/B,KAAK,iBAAiB,EACzB,MAAM,yBAAyB,CAAA;AAEhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAC9D,OAAO,KAAK,EACR,gCAAgC,EAChC,qBAAqB,EACrB,sBAAsB,EACzB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACxD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AA2BnE,0FAA0F;AAC1F,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,CAClD,SAAS,EACT,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,CACzB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,wBAAwB,GAAG,iBAAiB,CACpD,SAAS,EACT,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,CACzB,GAAG;IACA,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IAC9B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC,CAAA;IAC3C,gBAAgB,EAAE,oBAAoB,EAAE,CAAA;CAC3C,CAAA;AAED;;;;;;;;GAQG;AACH,qBAAa,sBAAuB,SAAQ,cAAc,CACtD,SAAS,EACT,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,CACzB;IAGG,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,YAAY,CAAsC;IAO1D,OAAO,CAAC,YAAY,CAAoC;gBAGpD,GAAG,IAAI,EAAE,qBAAqB,CAC1B,OAAO,cAAc,CACjB,SAAS,EACT,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,CACzB,CACJ;IA8DL;;;;;;;;;;;;;;;OAeG;IACM,QAAQ,CACb,QAAQ,EAAE,UAAU,CAChB,YAAY,CACR,OAAO,cAAc,CACjB,SAAS,EACT,qBAAqB,EACrB,gCAAgC,EAChC,sBAAsB,CACzB,CACJ,CAAC,UAAU,CAAC,CAChB,CAAC,CAAC,CAAC,GACL,IAAI;IAcP,OAAO,CAAC,WAAW,CAAO;IAC1B,OAAO,CAAC,cAAc,CAAO;IAG7B,OAAO,CAAC,YAAY,CAA6B;IACjD,OAAO,CAAC,eAAe,CAAuC;IAG9D,OAAO,CAAC,qBAAqB,CAAsC;IACnE,OAAO,CAAC,gBAAgB,CAOT;IAIf,OAAO,CAAC,eAAe;IAQvB,OAAO,CAAC,kBAAkB;IAU1B,kBAAkB,IAAI,wBAAwB;IAiB9C,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS;IAI/C,SAAS,IAAI,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;IAInC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAM7B,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI;IAS7B,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,cAAc,EAAE;IAIvD,YAAY,IAAI,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC;IAIhD,WAAW,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI;IAOrC,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAqBpC;;;OAGG;IACa,OAAO,IAAI,OAAO;IAOlC;;;;;;;OAOG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;;;OAMG;IACH,OAAO,CAAC,sCAAsC;IAwB9C;;;;;;;OAOG;IACH,OAAO,CAAC,6BAA6B;IAUrC;;;;;;;;;;OAUG;IACa,kBAAkB,IAAI,0BAA0B;IAUhE;;;;;;;OAOG;cACgB,cAAc,CAAC,CAAC,EAAE,EAAE,EAAE,MAAM,CAAC,GAAG,CAAC;IAQpD;;;;;;;;OAQG;IACH,OAAO,CAAC,+BAA+B;cAYpB,qBAAqB,IAAI,wBAAwB;IAiEpE;;;;;;OAMG;IACH,MAAM,CAAC,cAAc,CACjB,QAAQ,EAAE,gBAAgB,EAC1B,MAAM,EAAE,MAAM,EAAE,EAChB,SAAS,EAAE,cAAc,EAAE,GAC5B,sBAAsB;CAgE5B"}
|