@tstdl/base 0.93.127 → 0.93.129
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/api/client/client.js +45 -9
- package/api/client/tests/api-client.test.d.ts +1 -0
- package/api/client/tests/api-client.test.js +194 -0
- package/api/types.d.ts +35 -3
- package/authentication/client/authentication.service.js +30 -11
- package/authentication/client/http-client.middleware.js +10 -3
- package/authentication/server/authentication.service.d.ts +12 -0
- package/authentication/server/authentication.service.js +14 -2
- package/authentication/tests/authentication.client-error-handling.test.js +23 -66
- package/authentication/tests/authentication.client-service-refresh.test.js +14 -14
- package/cancellation/token.d.ts +6 -0
- package/cancellation/token.js +8 -0
- package/document-management/server/services/document-file.service.js +10 -9
- package/document-management/server/services/document-management-ancillary.service.d.ts +12 -1
- package/document-management/server/services/document-management-ancillary.service.js +9 -0
- package/file/server/temporary-file.d.ts +2 -1
- package/file/server/temporary-file.js +5 -1
- package/http/client/adapters/undici.adapter.js +0 -2
- package/http/client/http-client-request.d.ts +2 -0
- package/http/client/http-client-request.js +4 -0
- package/http/client/http-client-response.d.ts +1 -1
- package/http/client/http-client-response.js +3 -2
- package/http/utils.d.ts +6 -0
- package/http/utils.js +71 -0
- package/injector/injector.js +2 -0
- package/mail/drizzle/0000_numerous_the_watchers.sql +8 -0
- package/mail/drizzle/meta/0000_snapshot.json +1 -32
- package/mail/drizzle/meta/_journal.json +2 -9
- package/object-storage/s3/s3.object-storage.js +6 -6
- package/object-storage/s3/tests/s3.object-storage.integration.test.js +22 -53
- package/orm/tests/repository-expiration.test.js +3 -3
- package/package.json +1 -1
- package/pdf/utils.d.ts +24 -3
- package/pdf/utils.js +89 -30
- package/process/spawn.d.ts +1 -1
- package/rate-limit/tests/postgres-rate-limiter.test.js +9 -7
- package/renderer/typst.d.ts +5 -0
- package/renderer/typst.js +9 -5
- package/task-queue/tests/complex.test.js +22 -22
- package/task-queue/tests/dependencies.test.js +15 -13
- package/task-queue/tests/queue.test.js +13 -13
- package/task-queue/tests/worker.test.js +12 -12
- package/testing/integration-setup.d.ts +2 -0
- package/testing/integration-setup.js +13 -7
- package/utils/backoff.d.ts +27 -3
- package/utils/backoff.js +31 -9
- package/utils/index.d.ts +1 -0
- package/utils/index.js +1 -0
- package/utils/retry-with-backoff.d.ts +22 -0
- package/utils/retry-with-backoff.js +64 -0
- package/utils/tests/backoff.test.d.ts +1 -0
- package/utils/tests/backoff.test.js +41 -0
- package/utils/tests/retry-with-backoff.test.d.ts +1 -0
- package/utils/tests/retry-with-backoff.test.js +49 -0
- package/mail/drizzle/0000_previous_malcolm_colcord.sql +0 -13
- package/mail/drizzle/0001_flimsy_bloodscream.sql +0 -5
- package/mail/drizzle/meta/0001_snapshot.json +0 -69
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
CREATE TABLE "mail"."log" (
|
|
2
|
-
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
|
3
|
-
"timestamp" timestamp with time zone NOT NULL,
|
|
4
|
-
"template" text,
|
|
5
|
-
"data" jsonb NOT NULL,
|
|
6
|
-
"send_result" jsonb,
|
|
7
|
-
"errors" text[],
|
|
8
|
-
"revision" integer NOT NULL,
|
|
9
|
-
"revision_timestamp" timestamp with time zone NOT NULL,
|
|
10
|
-
"create_timestamp" timestamp with time zone NOT NULL,
|
|
11
|
-
"delete_timestamp" timestamp with time zone,
|
|
12
|
-
"attributes" jsonb DEFAULT '{}'::jsonb NOT NULL
|
|
13
|
-
);
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
ALTER TABLE "mail"."log" DROP COLUMN "revision";--> statement-breakpoint
|
|
2
|
-
ALTER TABLE "mail"."log" DROP COLUMN "revision_timestamp";--> statement-breakpoint
|
|
3
|
-
ALTER TABLE "mail"."log" DROP COLUMN "create_timestamp";--> statement-breakpoint
|
|
4
|
-
ALTER TABLE "mail"."log" DROP COLUMN "delete_timestamp";--> statement-breakpoint
|
|
5
|
-
ALTER TABLE "mail"."log" DROP COLUMN "attributes";
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "28ddafef-64f4-437d-9406-82a02c76570e",
|
|
3
|
-
"prevId": "f8cdba37-11b9-477a-9f5a-5ef4b5026011",
|
|
4
|
-
"version": "7",
|
|
5
|
-
"dialect": "postgresql",
|
|
6
|
-
"tables": {
|
|
7
|
-
"mail.log": {
|
|
8
|
-
"name": "log",
|
|
9
|
-
"schema": "mail",
|
|
10
|
-
"columns": {
|
|
11
|
-
"id": {
|
|
12
|
-
"name": "id",
|
|
13
|
-
"type": "uuid",
|
|
14
|
-
"primaryKey": true,
|
|
15
|
-
"notNull": true,
|
|
16
|
-
"default": "gen_random_uuid()"
|
|
17
|
-
},
|
|
18
|
-
"timestamp": {
|
|
19
|
-
"name": "timestamp",
|
|
20
|
-
"type": "timestamp with time zone",
|
|
21
|
-
"primaryKey": false,
|
|
22
|
-
"notNull": true
|
|
23
|
-
},
|
|
24
|
-
"template": {
|
|
25
|
-
"name": "template",
|
|
26
|
-
"type": "text",
|
|
27
|
-
"primaryKey": false,
|
|
28
|
-
"notNull": false
|
|
29
|
-
},
|
|
30
|
-
"data": {
|
|
31
|
-
"name": "data",
|
|
32
|
-
"type": "jsonb",
|
|
33
|
-
"primaryKey": false,
|
|
34
|
-
"notNull": true
|
|
35
|
-
},
|
|
36
|
-
"send_result": {
|
|
37
|
-
"name": "send_result",
|
|
38
|
-
"type": "jsonb",
|
|
39
|
-
"primaryKey": false,
|
|
40
|
-
"notNull": false
|
|
41
|
-
},
|
|
42
|
-
"errors": {
|
|
43
|
-
"name": "errors",
|
|
44
|
-
"type": "text[]",
|
|
45
|
-
"primaryKey": false,
|
|
46
|
-
"notNull": false
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"indexes": {},
|
|
50
|
-
"foreignKeys": {},
|
|
51
|
-
"compositePrimaryKeys": {},
|
|
52
|
-
"uniqueConstraints": {},
|
|
53
|
-
"policies": {},
|
|
54
|
-
"checkConstraints": {},
|
|
55
|
-
"isRLSEnabled": false
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"enums": {},
|
|
59
|
-
"schemas": {},
|
|
60
|
-
"sequences": {},
|
|
61
|
-
"roles": {},
|
|
62
|
-
"policies": {},
|
|
63
|
-
"views": {},
|
|
64
|
-
"_meta": {
|
|
65
|
-
"columns": {},
|
|
66
|
-
"schemas": {},
|
|
67
|
-
"tables": {}
|
|
68
|
-
}
|
|
69
|
-
}
|