@effect-app/infra 4.0.0-beta.102 → 4.0.0-beta.104
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/CHANGELOG.md +14 -0
- package/dist/CUPS.d.ts +1 -1
- package/dist/Emailer/Sendgrid.d.ts +16 -16
- package/dist/Model/query/new-kid-interpreter.d.ts +2 -2
- package/dist/Operations.d.ts +1 -1
- package/dist/api/internal/auth.d.ts +1 -1
- package/package.json +2 -2
- package/test/dist/date-query.test.d.ts.map +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @effect-app/infra
|
|
2
2
|
|
|
3
|
+
## 4.0.0-beta.104
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [e944bca]
|
|
8
|
+
- effect-app@4.0.0-beta.104
|
|
9
|
+
|
|
10
|
+
## 4.0.0-beta.103
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [7119320]
|
|
15
|
+
- effect-app@4.0.0-beta.103
|
|
16
|
+
|
|
3
17
|
## 4.0.0-beta.102
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/CUPS.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Config, Context, Effect, Layer, Option, S } from "effect-app";
|
|
|
3
3
|
export declare const PrinterId: S.WithDefaults<S.brand<import("effect/Schema").NonEmptyString, "NonEmptyString" | "NonEmptyString64k" | "NonEmptyString2k" | "NonEmptyString255">> & S.brand<import("effect/Schema").NonEmptyString, "NonEmptyString" | "NonEmptyString64k" | "NonEmptyString2k" | "NonEmptyString255">;
|
|
4
4
|
export type PrinterId = S.NonEmptyString255;
|
|
5
5
|
export declare const prepareTempDir: Effect.Effect<void, never, never>;
|
|
6
|
-
export declare const makePrintJobTempFile: (data: string |
|
|
6
|
+
export declare const makePrintJobTempFile: (data: string | NodeJS.ArrayBufferView<ArrayBufferLike> | Iterable<string | NodeJS.ArrayBufferView<ArrayBufferLike>> | AsyncIterable<string | NodeJS.ArrayBufferView<ArrayBufferLike>> | import("node:stream"), options?: FileOptions) => Effect.Effect<string, import("effect/Cause").UnknownError, import("effect/Scope").Scope>;
|
|
7
7
|
export declare const makePrintJobTempFileArrayBuffer: (buffer: ArrayBuffer, options?: FileOptions) => Effect.Effect<string, import("effect/Cause").UnknownError, import("effect/Scope").Scope>;
|
|
8
8
|
export declare const CUPSConfig: Config.Config<{
|
|
9
9
|
server: Option.Option<import("node:url").URL>;
|
|
@@ -10,6 +10,10 @@ export declare function renderMessage(forceFake: boolean): (msg: EmailMsg) => {
|
|
|
10
10
|
to: EmailData | EmailData[];
|
|
11
11
|
cc: EmailData | EmailData[];
|
|
12
12
|
bcc: EmailData | EmailData[];
|
|
13
|
+
attachments?: import("@sendgrid/helpers/classes/attachment.js").AttachmentData[];
|
|
14
|
+
headers?: {
|
|
15
|
+
[key: string]: string;
|
|
16
|
+
};
|
|
13
17
|
replyTo?: EmailData;
|
|
14
18
|
sendAt?: number;
|
|
15
19
|
subject?: string;
|
|
@@ -17,15 +21,11 @@ export declare function renderMessage(forceFake: boolean): (msg: EmailMsg) => {
|
|
|
17
21
|
html?: string;
|
|
18
22
|
templateId?: string;
|
|
19
23
|
personalizations?: import("@sendgrid/helpers/classes/personalization.js").PersonalizationData[];
|
|
20
|
-
attachments?: import("@sendgrid/helpers/classes/attachment.js").AttachmentData[];
|
|
21
24
|
ipPoolName?: string;
|
|
22
25
|
batchId?: string;
|
|
23
26
|
sections?: {
|
|
24
27
|
[key: string]: string;
|
|
25
28
|
};
|
|
26
|
-
headers?: {
|
|
27
|
-
[key: string]: string;
|
|
28
|
-
};
|
|
29
29
|
categories?: string[];
|
|
30
30
|
category?: string;
|
|
31
31
|
customArgs?: {
|
|
@@ -49,6 +49,10 @@ export declare function renderMessage(forceFake: boolean): (msg: EmailMsg) => {
|
|
|
49
49
|
to: EmailData | EmailData[];
|
|
50
50
|
cc: EmailData | EmailData[];
|
|
51
51
|
bcc: EmailData | EmailData[];
|
|
52
|
+
attachments?: import("@sendgrid/helpers/classes/attachment.js").AttachmentData[];
|
|
53
|
+
headers?: {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
};
|
|
52
56
|
replyTo?: EmailData;
|
|
53
57
|
sendAt?: number;
|
|
54
58
|
subject?: string;
|
|
@@ -56,15 +60,11 @@ export declare function renderMessage(forceFake: boolean): (msg: EmailMsg) => {
|
|
|
56
60
|
html: string;
|
|
57
61
|
templateId?: string;
|
|
58
62
|
personalizations?: import("@sendgrid/helpers/classes/personalization.js").PersonalizationData[];
|
|
59
|
-
attachments?: import("@sendgrid/helpers/classes/attachment.js").AttachmentData[];
|
|
60
63
|
ipPoolName?: string;
|
|
61
64
|
batchId?: string;
|
|
62
65
|
sections?: {
|
|
63
66
|
[key: string]: string;
|
|
64
67
|
};
|
|
65
|
-
headers?: {
|
|
66
|
-
[key: string]: string;
|
|
67
|
-
};
|
|
68
68
|
categories?: string[];
|
|
69
69
|
category?: string;
|
|
70
70
|
customArgs?: {
|
|
@@ -88,6 +88,10 @@ export declare function renderMessage(forceFake: boolean): (msg: EmailMsg) => {
|
|
|
88
88
|
to: EmailData | EmailData[];
|
|
89
89
|
cc: EmailData | EmailData[];
|
|
90
90
|
bcc: EmailData | EmailData[];
|
|
91
|
+
attachments?: import("@sendgrid/helpers/classes/attachment.js").AttachmentData[];
|
|
92
|
+
headers?: {
|
|
93
|
+
[key: string]: string;
|
|
94
|
+
};
|
|
91
95
|
replyTo?: EmailData;
|
|
92
96
|
sendAt?: number;
|
|
93
97
|
subject?: string;
|
|
@@ -95,15 +99,11 @@ export declare function renderMessage(forceFake: boolean): (msg: EmailMsg) => {
|
|
|
95
99
|
html?: string;
|
|
96
100
|
templateId: string;
|
|
97
101
|
personalizations?: import("@sendgrid/helpers/classes/personalization.js").PersonalizationData[];
|
|
98
|
-
attachments?: import("@sendgrid/helpers/classes/attachment.js").AttachmentData[];
|
|
99
102
|
ipPoolName?: string;
|
|
100
103
|
batchId?: string;
|
|
101
104
|
sections?: {
|
|
102
105
|
[key: string]: string;
|
|
103
106
|
};
|
|
104
|
-
headers?: {
|
|
105
|
-
[key: string]: string;
|
|
106
|
-
};
|
|
107
107
|
categories?: string[];
|
|
108
108
|
category?: string;
|
|
109
109
|
customArgs?: {
|
|
@@ -127,6 +127,10 @@ export declare function renderMessage(forceFake: boolean): (msg: EmailMsg) => {
|
|
|
127
127
|
to: EmailData | EmailData[];
|
|
128
128
|
cc: EmailData | EmailData[];
|
|
129
129
|
bcc: EmailData | EmailData[];
|
|
130
|
+
attachments?: import("@sendgrid/helpers/classes/attachment.js").AttachmentData[];
|
|
131
|
+
headers?: {
|
|
132
|
+
[key: string]: string;
|
|
133
|
+
};
|
|
130
134
|
replyTo?: EmailData;
|
|
131
135
|
sendAt?: number;
|
|
132
136
|
subject?: string;
|
|
@@ -134,15 +138,11 @@ export declare function renderMessage(forceFake: boolean): (msg: EmailMsg) => {
|
|
|
134
138
|
html?: string;
|
|
135
139
|
templateId?: string;
|
|
136
140
|
personalizations?: import("@sendgrid/helpers/classes/personalization.js").PersonalizationData[];
|
|
137
|
-
attachments?: import("@sendgrid/helpers/classes/attachment.js").AttachmentData[];
|
|
138
141
|
ipPoolName?: string;
|
|
139
142
|
batchId?: string;
|
|
140
143
|
sections?: {
|
|
141
144
|
[key: string]: string;
|
|
142
145
|
};
|
|
143
|
-
headers?: {
|
|
144
|
-
[key: string]: string;
|
|
145
|
-
};
|
|
146
146
|
categories?: string[];
|
|
147
147
|
category?: string;
|
|
148
148
|
customArgs?: {
|
|
@@ -21,8 +21,8 @@ export declare const toFilter: <TFieldValues extends FieldValues, A, R, TFieldVa
|
|
|
21
21
|
key: import("../filter/types/path/eager.js").Path<TFieldValues>;
|
|
22
22
|
direction: "ASC" | "DESC";
|
|
23
23
|
}[]];
|
|
24
|
-
ttype: "
|
|
25
|
-
mode: "
|
|
24
|
+
ttype: "many" | "one" | "count";
|
|
25
|
+
mode: "collect" | "project" | "transform";
|
|
26
26
|
filter: FilterResult[];
|
|
27
27
|
};
|
|
28
28
|
//# sourceMappingURL=new-kid-interpreter.d.ts.map
|
package/dist/Operations.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare const Operations_base: Context.OpaqueClass<Operations, "effect-app/Opera
|
|
|
37
37
|
all: Effect.Effect<Operation[], never, never>;
|
|
38
38
|
find: (id: OperationId) => Effect.Effect<Option.Option<Operation>, never, never>;
|
|
39
39
|
update: (id: OperationId, progress: OperationProgress) => Effect.Effect<void, never, never>;
|
|
40
|
-
}, never,
|
|
40
|
+
}, never, OperationsRepo | RequestFiberSet>;
|
|
41
41
|
};
|
|
42
42
|
export declare class Operations extends Operations_base {
|
|
43
43
|
private static readonly CleanupLive;
|
|
@@ -3,7 +3,7 @@ import { HttpHeaders, HttpServerRequest, HttpServerResponse } from "effect-app/h
|
|
|
3
3
|
import { auth, InsufficientScopeError, InvalidRequestError, InvalidTokenError, UnauthorizedError } from "express-oauth2-jwt-bearer";
|
|
4
4
|
type Config = Parameters<typeof auth>[0];
|
|
5
5
|
export declare const checkJWTI: (config: Config) => (headers: HttpHeaders.Headers) => Effect.Effect<void, InsufficientScopeError | InvalidRequestError | InvalidTokenError | UnauthorizedError, never>;
|
|
6
|
-
export declare const checkJwt: (config: Config) => <E, R>(app: Effect.Effect<HttpServerResponse.HttpServerResponse, E, HttpServerRequest.HttpServerRequest
|
|
6
|
+
export declare const checkJwt: (config: Config) => <E, R>(app: Effect.Effect<HttpServerResponse.HttpServerResponse, E, R | HttpServerRequest.HttpServerRequest>) => Effect.Effect<HttpServerResponse.HttpServerResponse, E | import("effect/unstable/http/HttpBody").HttpBodyError, R | HttpServerRequest.HttpServerRequest>;
|
|
7
7
|
declare const JWTError_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]; }>) => Readonly<A> & {
|
|
8
8
|
readonly _tag: "JWTError";
|
|
9
9
|
} & import("effect/Pipeable").Pipeable;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/infra",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.104",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"proper-lockfile": "^4.1.2",
|
|
14
14
|
"pure-rand": "7.0.1",
|
|
15
15
|
"query-string": "^9.3.1",
|
|
16
|
-
"effect-app": "4.0.0-beta.
|
|
16
|
+
"effect-app": "4.0.0-beta.104"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@azure/cosmos": "^4.9.2",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-query.test.d.ts","sourceRoot":"","sources":["../date-query.test.ts"],"names":[],"mappings":""}
|