@proposit/shared 0.10.0 → 0.11.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.
@@ -4,6 +4,19 @@ export declare function getMyReviewImpl(config: TApiClientConfig, argumentId: st
4
4
  errorID: import("typebox").TNumber;
5
5
  errorMessage: import("typebox").TString;
6
6
  statusCode: import("typebox").TNumber;
7
+ }>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
8
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
9
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
10
+ violations: import("typebox").TArray<import("typebox").TObject<{
11
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
12
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
13
+ message: import("typebox").TString;
14
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
15
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
16
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
17
+ variableId: import("typebox").TOptional<import("typebox").TString>;
18
+ claimId: import("typebox").TOptional<import("typebox").TString>;
19
+ }>>;
7
20
  }>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TObject<{
8
21
  review: import("typebox").TObject<{
9
22
  id: import("typebox").TString;
@@ -43,6 +56,19 @@ export declare function createReviewRemoteImpl(config: TApiClientConfig, argumen
43
56
  errorID: import("typebox").TNumber;
44
57
  errorMessage: import("typebox").TString;
45
58
  statusCode: import("typebox").TNumber;
59
+ }>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
60
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
61
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
62
+ violations: import("typebox").TArray<import("typebox").TObject<{
63
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
64
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
65
+ message: import("typebox").TString;
66
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
67
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
68
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
69
+ variableId: import("typebox").TOptional<import("typebox").TString>;
70
+ claimId: import("typebox").TOptional<import("typebox").TString>;
71
+ }>>;
46
72
  }>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TObject<{
47
73
  review: import("typebox").TObject<{
48
74
  id: import("typebox").TString;
@@ -75,6 +101,19 @@ export declare function getReviewByIdRemoteImpl(config: TApiClientConfig, argume
75
101
  errorID: import("typebox").TNumber;
76
102
  errorMessage: import("typebox").TString;
77
103
  statusCode: import("typebox").TNumber;
104
+ }>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
105
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
106
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
107
+ violations: import("typebox").TArray<import("typebox").TObject<{
108
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
109
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
110
+ message: import("typebox").TString;
111
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
112
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
113
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
114
+ variableId: import("typebox").TOptional<import("typebox").TString>;
115
+ claimId: import("typebox").TOptional<import("typebox").TString>;
116
+ }>>;
78
117
  }>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TObject<{
79
118
  review: import("typebox").TObject<{
80
119
  id: import("typebox").TString;
@@ -114,6 +153,19 @@ export declare function patchReviewRemoteImpl(config: TApiClientConfig, argument
114
153
  errorID: import("typebox").TNumber;
115
154
  errorMessage: import("typebox").TString;
116
155
  statusCode: import("typebox").TNumber;
156
+ }>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
157
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
158
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
159
+ violations: import("typebox").TArray<import("typebox").TObject<{
160
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
161
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
162
+ message: import("typebox").TString;
163
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
164
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
165
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
166
+ variableId: import("typebox").TOptional<import("typebox").TString>;
167
+ claimId: import("typebox").TOptional<import("typebox").TString>;
168
+ }>>;
117
169
  }>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TObject<{
118
170
  review: import("typebox").TObject<{
119
171
  id: import("typebox").TString;
@@ -146,6 +198,19 @@ export declare function deleteReviewRemoteImpl(config: TApiClientConfig, argumen
146
198
  errorID: import("typebox").TNumber;
147
199
  errorMessage: import("typebox").TString;
148
200
  statusCode: import("typebox").TNumber;
201
+ }>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
202
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
203
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
204
+ violations: import("typebox").TArray<import("typebox").TObject<{
205
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
206
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
207
+ message: import("typebox").TString;
208
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
209
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
210
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
211
+ variableId: import("typebox").TOptional<import("typebox").TString>;
212
+ claimId: import("typebox").TOptional<import("typebox").TString>;
213
+ }>>;
149
214
  }>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TObject<{
150
215
  success: import("typebox").TLiteral<true>;
151
216
  }>>>;
@@ -153,6 +218,19 @@ export declare function setReviewVisibilityImpl(config: TApiClientConfig, argume
153
218
  errorID: import("typebox").TNumber;
154
219
  errorMessage: import("typebox").TString;
155
220
  statusCode: import("typebox").TNumber;
221
+ }>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
222
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
223
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
224
+ violations: import("typebox").TArray<import("typebox").TObject<{
225
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
226
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
227
+ message: import("typebox").TString;
228
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
229
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
230
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
231
+ variableId: import("typebox").TOptional<import("typebox").TString>;
232
+ claimId: import("typebox").TOptional<import("typebox").TString>;
233
+ }>>;
156
234
  }>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TObject<{
157
235
  review: import("typebox").TObject<{
158
236
  id: import("typebox").TString;
@@ -1 +1 @@
1
- {"version":3,"file":"reviews.d.ts","sourceRoot":"","sources":["../../../src/api-client/argument/reviews.ts"],"names":[],"mappings":"AAAA,OAAO,EASH,KAAK,oBAAoB,EAC5B,MAAM,mCAAmC,CAAA;AAE1C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,eAAe,CACjC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAUlB;AAED,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWlB;AAED,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAUnB;AAED,wBAAsB,qBAAqB,CACvC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,IA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AoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAW7B;AAED,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM;;;;;;;;;;;;;;;;;;;KAUnB;AAED,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,gBAAgB,EACxB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAWpB"}
@@ -3,6 +3,19 @@ export declare function searchUserClaimsImpl(config: TApiClientConfig, query: st
3
3
  errorID: import("typebox").TNumber;
4
4
  errorMessage: import("typebox").TString;
5
5
  statusCode: import("typebox").TNumber;
6
+ }>> | import("../schemas/common.js").ParsedError<import("typebox").TObject<{
7
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
8
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
9
+ violations: import("typebox").TArray<import("typebox").TObject<{
10
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
11
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
12
+ message: import("typebox").TString;
13
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
14
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
15
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
16
+ variableId: import("typebox").TOptional<import("typebox").TString>;
17
+ claimId: import("typebox").TOptional<import("typebox").TString>;
18
+ }>>;
6
19
  }>> | import("../schemas/common.js").ParsedSuccess<import("typebox").TArray<import("typebox").TObject<{
7
20
  id: import("typebox").TString;
8
21
  argumentId: import("typebox").TString;
@@ -16,6 +29,19 @@ export declare function searchUserCitationsImpl(config: TApiClientConfig, query:
16
29
  errorID: import("typebox").TNumber;
17
30
  errorMessage: import("typebox").TString;
18
31
  statusCode: import("typebox").TNumber;
32
+ }>> | import("../schemas/common.js").ParsedError<import("typebox").TObject<{
33
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
34
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
35
+ violations: import("typebox").TArray<import("typebox").TObject<{
36
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
37
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
38
+ message: import("typebox").TString;
39
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
40
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
41
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
42
+ variableId: import("typebox").TOptional<import("typebox").TString>;
43
+ claimId: import("typebox").TOptional<import("typebox").TString>;
44
+ }>>;
19
45
  }>> | import("../schemas/common.js").ParsedSuccess<import("typebox").TArray<import("typebox").TObject<{
20
46
  id: import("typebox").TString;
21
47
  citation: import("typebox").TAny;
@@ -28,6 +54,19 @@ export declare function searchUserEntitiesImpl(config: TApiClientConfig, query:
28
54
  errorID: import("typebox").TNumber;
29
55
  errorMessage: import("typebox").TString;
30
56
  statusCode: import("typebox").TNumber;
57
+ }>> | import("../schemas/common.js").ParsedError<import("typebox").TObject<{
58
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
59
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
60
+ violations: import("typebox").TArray<import("typebox").TObject<{
61
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
62
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
63
+ message: import("typebox").TString;
64
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
65
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
66
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
67
+ variableId: import("typebox").TOptional<import("typebox").TString>;
68
+ claimId: import("typebox").TOptional<import("typebox").TString>;
69
+ }>>;
31
70
  }>> | import("../schemas/common.js").ParsedSuccess<import("typebox").TObject<{
32
71
  arguments: import("typebox").TArray<import("typebox").TObject<{
33
72
  id: import("typebox").TString;
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/api-client/search.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAGnD,wBAAsB,oBAAoB,CACtC,MAAM,EAAE,gBAAgB,EACxB,KAAK,EAAE,MAAM,EACb,KAAK,SAAK,EACV,UAAU,CAAC,EAAE,MAAM;;;;;;;;;;;;MActB;AAED,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,gBAAgB,EACxB,KAAK,EAAE,MAAM,EACb,KAAK,SAAK;;;;;;;;;;;MAab;AAED,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,gBAAgB,EACxB,KAAK,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,MAAM,EAAE,EAChB,KAAK,SAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAcb"}
1
+ {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/api-client/search.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAGnD,wBAAsB,oBAAoB,CACtC,MAAM,EAAE,gBAAgB,EACxB,KAAK,EAAE,MAAM,EACb,KAAK,SAAK,EACV,UAAU,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;MActB;AAED,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,gBAAgB,EACxB,KAAK,EAAE,MAAM,EACb,KAAK,SAAK;;;;;;;;;;;;;;;;;;;;;;;;MAab;AAED,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,gBAAgB,EACxB,KAAK,EAAE,MAAM,EACb,KAAK,CAAC,EAAE,MAAM,EAAE,EAChB,KAAK,SAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAcb"}
@@ -3,6 +3,19 @@ export declare function getUserCitationsImpl(config: TApiClientConfig): Promise<
3
3
  errorID: import("typebox").TNumber;
4
4
  errorMessage: import("typebox").TString;
5
5
  statusCode: import("typebox").TNumber;
6
+ }>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
7
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
8
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
9
+ violations: import("typebox").TArray<import("typebox").TObject<{
10
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
11
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
12
+ message: import("typebox").TString;
13
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
14
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
15
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
16
+ variableId: import("typebox").TOptional<import("typebox").TString>;
17
+ claimId: import("typebox").TOptional<import("typebox").TString>;
18
+ }>>;
6
19
  }>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TArray<import("typebox").TObject<{
7
20
  citation: import("typebox").TUnion<[import("typebox").TObject<{
8
21
  digest: import("typebox").TString;
@@ -1 +1 @@
1
- {"version":3,"file":"citations.d.ts","sourceRoot":"","sources":["../../../src/api-client/user/citations.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,oBAAoB,CAAC,MAAM,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAQlE"}
@@ -3,6 +3,19 @@ export declare function getUserClaimsImpl(config: TApiClientConfig, argumentId?:
3
3
  errorID: import("typebox").TNumber;
4
4
  errorMessage: import("typebox").TString;
5
5
  statusCode: import("typebox").TNumber;
6
+ }>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
7
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
8
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
9
+ violations: import("typebox").TArray<import("typebox").TObject<{
10
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
11
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
12
+ message: import("typebox").TString;
13
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
14
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
15
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
16
+ variableId: import("typebox").TOptional<import("typebox").TString>;
17
+ claimId: import("typebox").TOptional<import("typebox").TString>;
18
+ }>>;
6
19
  }>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TArray<import("typebox").TObject<{
7
20
  claim: import("typebox").TUnion<[import("typebox").TObject<{
8
21
  digest: import("typebox").TString;
@@ -1 +1 @@
1
- {"version":3,"file":"claims.d.ts","sourceRoot":"","sources":["../../../src/api-client/user/claims.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,iBAAiB,CACnC,MAAM,EAAE,gBAAgB,EACxB,UAAU,CAAC,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAYtB"}
@@ -3,6 +3,19 @@ export declare function deleteUserImpl(config: TApiClientConfig): Promise<import
3
3
  errorID: import("typebox").TNumber;
4
4
  errorMessage: import("typebox").TString;
5
5
  statusCode: import("typebox").TNumber;
6
+ }>> | import("../../schemas/common.js").ParsedError<import("typebox").TObject<{
7
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
8
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
9
+ violations: import("typebox").TArray<import("typebox").TObject<{
10
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
11
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
12
+ message: import("typebox").TString;
13
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
14
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
15
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
16
+ variableId: import("typebox").TOptional<import("typebox").TString>;
17
+ claimId: import("typebox").TOptional<import("typebox").TString>;
18
+ }>>;
6
19
  }>> | import("../../schemas/common.js").ParsedSuccess<import("typebox").TObject<{
7
20
  id: import("typebox").TString;
8
21
  name: import("typebox").TUnion<[import("typebox").TString, import("typebox").TNull]>;
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.ts","sourceRoot":"","sources":["../../../src/api-client/user/delete-user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,cAAc,CAAC,MAAM,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;KAQ5D"}
1
+ {"version":3,"file":"delete-user.d.ts","sourceRoot":"","sources":["../../../src/api-client/user/delete-user.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAGpD,wBAAsB,cAAc,CAAC,MAAM,EAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAQ5D"}
@@ -1,16 +1,30 @@
1
1
  import { ErrorResponseSchema, type ParsedError, type ParsedSuccess } from "../schemas/common.js";
2
2
  import type { JsonObject } from "../schemas/common.js";
3
+ import { GrammarViolationsResponseSchema } from "../schemas/api/grammar-violations.js";
3
4
  import type { Static, TSchema } from "typebox";
4
5
  export declare function awaitableSleep(timeout: number): Promise<void>;
5
6
  export declare function stringToColor(str: string): string;
6
7
  export declare function parseRequest<T extends TSchema>(request: Request, schema: T): Promise<Static<T>>;
7
- export declare function parseResponse<T extends TSchema>(response: Response, schema: T): Promise<ParsedSuccess<T> | ParsedError<typeof ErrorResponseSchema>>;
8
+ export declare function parseResponse<T extends TSchema>(response: Response, schema: T): Promise<ParsedSuccess<T> | ParsedError<typeof ErrorResponseSchema> | ParsedError<typeof GrammarViolationsResponseSchema>>;
8
9
  export declare function parseResponse<T extends TSchema, E extends TSchema>(response: Response, schema: T, errorSchema: E): Promise<ParsedSuccess<T> | ParsedError<E>>;
9
10
  export declare function createUrlWithParameters<T extends TSchema>(urlString: string, data: Static<T>, schema: T, baseUrl?: string): import("node:url").URL;
10
11
  export declare function strictFetch<T extends TSchema, R extends TSchema>(uri: Parameters<typeof fetch>[0], init: Omit<RequestInit, "body">, payload: JsonObject | undefined, requestSchema: T | undefined, responseSchema: R, fetchFn?: typeof fetch): Promise<ParsedError<import("typebox").TObject<{
11
12
  errorID: import("typebox").TNumber;
12
13
  errorMessage: import("typebox").TString;
13
14
  statusCode: import("typebox").TNumber;
15
+ }>> | ParsedError<import("typebox").TObject<{
16
+ error: import("typebox").TLiteral<"GRAMMAR_VIOLATIONS">;
17
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
18
+ violations: import("typebox").TArray<import("typebox").TObject<{
19
+ tier: import("typebox").TUnion<[import("typebox").TLiteral<"structural">, import("typebox").TLiteral<"evaluable">, import("typebox").TLiteral<"derivable">, import("typebox").TLiteral<"presentable">]>;
20
+ code: import("typebox").TUnion<[import("typebox").TLiteral<"S-1">, import("typebox").TLiteral<"S-2">, import("typebox").TLiteral<"S-3">, import("typebox").TLiteral<"S-4">, import("typebox").TLiteral<"S-5">, import("typebox").TLiteral<"S-6">, import("typebox").TLiteral<"S-7">, import("typebox").TLiteral<"S-8">, import("typebox").TLiteral<"S-9">, import("typebox").TLiteral<"S-10">, import("typebox").TLiteral<"S-11">, import("typebox").TLiteral<"S-12">, import("typebox").TLiteral<"S-13">, import("typebox").TLiteral<"S-14">, import("typebox").TLiteral<"E-1">, import("typebox").TLiteral<"E-3">, import("typebox").TLiteral<"E-4">, import("typebox").TLiteral<"E-5">, import("typebox").TLiteral<"E-6">, import("typebox").TLiteral<"E-7">, import("typebox").TLiteral<"D-1">, import("typebox").TLiteral<"D-2">, import("typebox").TLiteral<"D-3">, import("typebox").TLiteral<"D-4">, import("typebox").TLiteral<"D-5">, import("typebox").TLiteral<"D-6">, import("typebox").TLiteral<"P-1">, import("typebox").TLiteral<"P-2">, import("typebox").TLiteral<"P-3">, import("typebox").TLiteral<"P-4">, import("typebox").TLiteral<"P-5">]>;
21
+ message: import("typebox").TString;
22
+ argumentId: import("typebox").TOptional<import("typebox").TString>;
23
+ premiseId: import("typebox").TOptional<import("typebox").TString>;
24
+ expressionId: import("typebox").TOptional<import("typebox").TString>;
25
+ variableId: import("typebox").TOptional<import("typebox").TString>;
26
+ claimId: import("typebox").TOptional<import("typebox").TString>;
27
+ }>>;
14
28
  }>> | ParsedSuccess<R>>;
15
29
  export declare function getFirstDayOfNextMonth(): Date;
16
30
  type TDefaultValueFactory<K, V> = (key?: K) => V;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,EACnB,KAAK,WAAW,EAChB,KAAK,aAAa,EACrB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAG9C,wBAAsB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAInE;AAED,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,U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E,CAAC,EAAE,KAAK,EAAE,CAAC;CAS9B"}
@@ -1,4 +1,5 @@
1
1
  import { ErrorResponseSchema, } from "../schemas/common.js";
2
+ import { GrammarViolationsResponseSchema } from "../schemas/api/grammar-violations.js";
2
3
  import { Value } from "typebox/value";
3
4
  export async function awaitableSleep(timeout) {
4
5
  return new Promise((resolve) => {
@@ -30,6 +31,15 @@ export async function parseRequest(request, schema) {
30
31
  export async function parseResponse(response, schema, errorSchema) {
31
32
  const data = (await response.json());
32
33
  if (!response.ok) {
34
+ // Auto-detect the GRAMMAR_VIOLATIONS 422 envelope only when the caller
35
+ // omitted an explicit error schema (default form). Callers that passed
36
+ // their own error schema keep the pre-0.11 single-schema behavior.
37
+ if (errorSchema === undefined &&
38
+ response.status === 422 &&
39
+ Value.Check(GrammarViolationsResponseSchema, data)) {
40
+ const parsedViolations = Value.Parse(GrammarViolationsResponseSchema, data);
41
+ return { error: parsedViolations, ok: false };
42
+ }
33
43
  const errSchema = errorSchema ?? ErrorResponseSchema;
34
44
  const parsedError = Value.Parse(errSchema, data);
35
45
  return { error: parsedError, ok: false };
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,mBAAmB,GAGtB,MAAM,sBAAsB,CAAA;AAG7B,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErC,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,OAAe;IAChD,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC3B,UAAU,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;IAChC,CAAC,CAAC,CAAA;AACN,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,GAAW;IACrC,IAAI,GAAG,KAAK,GAAG,EAAE,CAAC;QACd,OAAO,SAAS,CAAA;IACpB,CAAC;IAED,IAAI,IAAI,GAAG,CAAC,CAAA;IACZ,IAAI,CAAC,CAAA;IAEL,K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F,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,CAAA;YAC1C,IAAI,SAAS,KAAK,SAAS;gBAAE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;QACvD,CAAC;QACD,OAAO,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;IAChC,CAAC;CACJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proposit/shared",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Runtime-agnostic TypeScript shared between proposit-server and proposit-mobile. Schemas, engine, api-client, and utilities.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/Proposit-App/proposit-shared",