@teever/ez-hook-effect 0.5.1 → 0.5.20
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/errors/WebhookError.d.ts +7 -7
- package/dist/index.js +105 -1181
- package/dist/index.js.map +1 -22
- package/dist/layers/Config.d.ts +2 -2
- package/dist/layers/Config.js +2 -2
- package/dist/layers/Config.js.map +1 -1
- package/dist/layers/HttpClient.d.ts +3 -3
- package/dist/layers/HttpClient.js +2 -2
- package/dist/layers/HttpClient.js.map +1 -1
- package/dist/schemas/Embed.d.ts +8 -8
- package/dist/schemas/Field.d.ts +1 -1
- package/dist/schemas/Webhook.d.ts +3 -3
- package/dist/services/WebhookService.d.ts +2 -2
- package/dist/services/WebhookService.js +2 -2
- package/dist/services/WebhookService.js.map +1 -1
- package/package.json +57 -56
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Schema } from "effect";
|
|
2
|
-
declare const WebhookError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
2
|
+
declare const WebhookError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
3
3
|
readonly _tag: "WebhookError";
|
|
4
4
|
} & Readonly<A>;
|
|
5
5
|
/**
|
|
@@ -37,7 +37,7 @@ export declare const makeIssue: (field: string, message: string, options?: {
|
|
|
37
37
|
expected?: string;
|
|
38
38
|
actual?: unknown;
|
|
39
39
|
}) => ValidationIssue;
|
|
40
|
-
declare const ValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
40
|
+
declare const ValidationError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
41
41
|
readonly _tag: "ValidationError";
|
|
42
42
|
} & Readonly<A>;
|
|
43
43
|
/**
|
|
@@ -75,7 +75,7 @@ export declare class ValidationError extends ValidationError_base<{
|
|
|
75
75
|
actual?: unknown;
|
|
76
76
|
}): ValidationError;
|
|
77
77
|
}
|
|
78
|
-
declare const NetworkError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
78
|
+
declare const NetworkError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
79
79
|
readonly _tag: "NetworkError";
|
|
80
80
|
} & Readonly<A>;
|
|
81
81
|
/**
|
|
@@ -87,7 +87,7 @@ export declare class NetworkError extends NetworkError_base<{
|
|
|
87
87
|
response?: unknown;
|
|
88
88
|
}> {
|
|
89
89
|
}
|
|
90
|
-
declare const RateLimitError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
90
|
+
declare const RateLimitError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
91
91
|
readonly _tag: "RateLimitError";
|
|
92
92
|
} & Readonly<A>;
|
|
93
93
|
/**
|
|
@@ -101,7 +101,7 @@ export declare class RateLimitError extends RateLimitError_base<{
|
|
|
101
101
|
reset?: Date;
|
|
102
102
|
}> {
|
|
103
103
|
}
|
|
104
|
-
declare const ConfigError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
104
|
+
declare const ConfigError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
105
105
|
readonly _tag: "ConfigError";
|
|
106
106
|
} & Readonly<A>;
|
|
107
107
|
/**
|
|
@@ -112,7 +112,7 @@ export declare class ConfigError extends ConfigError_base<{
|
|
|
112
112
|
parameter: string;
|
|
113
113
|
}> {
|
|
114
114
|
}
|
|
115
|
-
declare const FileError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
115
|
+
declare const FileError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
116
116
|
readonly _tag: "FileError";
|
|
117
117
|
} & Readonly<A>;
|
|
118
118
|
/**
|
|
@@ -134,7 +134,7 @@ export interface HttpErrorResponse {
|
|
|
134
134
|
headers: Record<string, string>;
|
|
135
135
|
body?: unknown;
|
|
136
136
|
}
|
|
137
|
-
declare const HttpError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").
|
|
137
|
+
declare const HttpError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
|
|
138
138
|
readonly _tag: "HttpError";
|
|
139
139
|
} & Readonly<A>;
|
|
140
140
|
/**
|