@xylex-group/athena 1.6.1 → 1.6.2
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/README.md +31 -6
- package/bin/athena-js.js +74 -6
- package/dist/cli/index.cjs +158 -24
- package/dist/cli/index.cjs.map +1 -1
- package/dist/cli/index.d.cts +21 -2
- package/dist/cli/index.d.ts +21 -2
- package/dist/cli/index.js +157 -25
- package/dist/cli/index.js.map +1 -1
- package/dist/errors-1b-LSTum.d.ts +31 -0
- package/dist/errors-BYRK5phv.d.cts +31 -0
- package/dist/index.cjs +68 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -338
- package/dist/index.d.ts +6 -338
- package/dist/index.js +68 -10
- package/dist/index.js.map +1 -1
- package/dist/pipeline-BQzpSLD3.d.ts +338 -0
- package/dist/pipeline-CA2aexDl.d.cts +338 -0
- package/dist/react.d.cts +3 -2
- package/dist/react.d.ts +3 -2
- package/dist/{errors-C4GJaFI_.d.cts → types-v6UyGg-x.d.cts} +1 -29
- package/dist/{errors-C4GJaFI_.d.ts → types-v6UyGg-x.d.ts} +1 -29
- package/package.json +1 -1
|
@@ -192,32 +192,4 @@ interface AthenaGatewayHookResult {
|
|
|
192
192
|
baseUrl: string;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
|
|
196
|
-
code: AthenaGatewayErrorCode;
|
|
197
|
-
message: string;
|
|
198
|
-
status?: number;
|
|
199
|
-
endpoint?: AthenaGatewayEndpointPath;
|
|
200
|
-
method?: AthenaGatewayMethod;
|
|
201
|
-
requestId?: string;
|
|
202
|
-
hint?: string;
|
|
203
|
-
cause?: string;
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Canonical error for gateway failures.
|
|
207
|
-
* Holds request context and machine-readable classification.
|
|
208
|
-
*/
|
|
209
|
-
declare class AthenaGatewayError extends Error {
|
|
210
|
-
readonly code: AthenaGatewayErrorCode;
|
|
211
|
-
readonly status: number;
|
|
212
|
-
readonly endpoint?: AthenaGatewayEndpointPath;
|
|
213
|
-
readonly method?: AthenaGatewayMethod;
|
|
214
|
-
readonly requestId?: string;
|
|
215
|
-
readonly hint?: string;
|
|
216
|
-
readonly causeDetail?: string;
|
|
217
|
-
constructor(input: AthenaGatewayErrorInput);
|
|
218
|
-
toDetails(): AthenaGatewayErrorDetails;
|
|
219
|
-
static fromResponse<T>(response: AthenaGatewayResponse<T>, fallback: Omit<AthenaGatewayErrorInput, 'code' | 'message' | 'status'>): AthenaGatewayError;
|
|
220
|
-
}
|
|
221
|
-
declare function isAthenaGatewayError(error: unknown): error is AthenaGatewayError;
|
|
222
|
-
|
|
223
|
-
export { type AthenaGatewayCallOptions as A, type BackendConfig as B, type AthenaConditionValue as a, type AthenaConditionCastType as b, type AthenaConditionArrayValue as c, type AthenaConditionOperator as d, type AthenaGatewayErrorDetails as e, type AthenaRpcCallOptions as f, type BackendType as g, Backend as h, AthenaGatewayError as i, isAthenaGatewayError as j, type AthenaRpcFilter as k, type AthenaRpcFilterOperator as l, type AthenaRpcOrder as m, type AthenaRpcPayload as n, type AthenaGatewayErrorCode as o, type AthenaGatewayHookConfig as p, type AthenaGatewayHookResult as q, type AthenaFetchPayload as r, type AthenaInsertPayload as s, type AthenaUpdatePayload as t, type AthenaDeletePayload as u, type AthenaGatewayResponse as v };
|
|
195
|
+
export { type AthenaGatewayCallOptions as A, type BackendConfig as B, type AthenaConditionValue as a, type AthenaConditionCastType as b, type AthenaConditionArrayValue as c, type AthenaConditionOperator as d, type AthenaGatewayErrorDetails as e, type AthenaRpcCallOptions as f, type BackendType as g, Backend as h, type AthenaRpcFilter as i, type AthenaRpcFilterOperator as j, type AthenaRpcOrder as k, type AthenaRpcPayload as l, type AthenaGatewayErrorCode as m, type AthenaGatewayHookConfig as n, type AthenaGatewayHookResult as o, type AthenaFetchPayload as p, type AthenaInsertPayload as q, type AthenaUpdatePayload as r, type AthenaDeletePayload as s, type AthenaGatewayResponse as t, type AthenaGatewayEndpointPath as u, type AthenaGatewayMethod as v };
|
|
@@ -192,32 +192,4 @@ interface AthenaGatewayHookResult {
|
|
|
192
192
|
baseUrl: string;
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
|
|
196
|
-
code: AthenaGatewayErrorCode;
|
|
197
|
-
message: string;
|
|
198
|
-
status?: number;
|
|
199
|
-
endpoint?: AthenaGatewayEndpointPath;
|
|
200
|
-
method?: AthenaGatewayMethod;
|
|
201
|
-
requestId?: string;
|
|
202
|
-
hint?: string;
|
|
203
|
-
cause?: string;
|
|
204
|
-
}
|
|
205
|
-
/**
|
|
206
|
-
* Canonical error for gateway failures.
|
|
207
|
-
* Holds request context and machine-readable classification.
|
|
208
|
-
*/
|
|
209
|
-
declare class AthenaGatewayError extends Error {
|
|
210
|
-
readonly code: AthenaGatewayErrorCode;
|
|
211
|
-
readonly status: number;
|
|
212
|
-
readonly endpoint?: AthenaGatewayEndpointPath;
|
|
213
|
-
readonly method?: AthenaGatewayMethod;
|
|
214
|
-
readonly requestId?: string;
|
|
215
|
-
readonly hint?: string;
|
|
216
|
-
readonly causeDetail?: string;
|
|
217
|
-
constructor(input: AthenaGatewayErrorInput);
|
|
218
|
-
toDetails(): AthenaGatewayErrorDetails;
|
|
219
|
-
static fromResponse<T>(response: AthenaGatewayResponse<T>, fallback: Omit<AthenaGatewayErrorInput, 'code' | 'message' | 'status'>): AthenaGatewayError;
|
|
220
|
-
}
|
|
221
|
-
declare function isAthenaGatewayError(error: unknown): error is AthenaGatewayError;
|
|
222
|
-
|
|
223
|
-
export { type AthenaGatewayCallOptions as A, type BackendConfig as B, type AthenaConditionValue as a, type AthenaConditionCastType as b, type AthenaConditionArrayValue as c, type AthenaConditionOperator as d, type AthenaGatewayErrorDetails as e, type AthenaRpcCallOptions as f, type BackendType as g, Backend as h, AthenaGatewayError as i, isAthenaGatewayError as j, type AthenaRpcFilter as k, type AthenaRpcFilterOperator as l, type AthenaRpcOrder as m, type AthenaRpcPayload as n, type AthenaGatewayErrorCode as o, type AthenaGatewayHookConfig as p, type AthenaGatewayHookResult as q, type AthenaFetchPayload as r, type AthenaInsertPayload as s, type AthenaUpdatePayload as t, type AthenaDeletePayload as u, type AthenaGatewayResponse as v };
|
|
195
|
+
export { type AthenaGatewayCallOptions as A, type BackendConfig as B, type AthenaConditionValue as a, type AthenaConditionCastType as b, type AthenaConditionArrayValue as c, type AthenaConditionOperator as d, type AthenaGatewayErrorDetails as e, type AthenaRpcCallOptions as f, type BackendType as g, Backend as h, type AthenaRpcFilter as i, type AthenaRpcFilterOperator as j, type AthenaRpcOrder as k, type AthenaRpcPayload as l, type AthenaGatewayErrorCode as m, type AthenaGatewayHookConfig as n, type AthenaGatewayHookResult as o, type AthenaFetchPayload as p, type AthenaInsertPayload as q, type AthenaUpdatePayload as r, type AthenaDeletePayload as s, type AthenaGatewayResponse as t, type AthenaGatewayEndpointPath as u, type AthenaGatewayMethod as v };
|