@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.
Files changed (57) hide show
  1. package/api/client/client.js +45 -9
  2. package/api/client/tests/api-client.test.d.ts +1 -0
  3. package/api/client/tests/api-client.test.js +194 -0
  4. package/api/types.d.ts +35 -3
  5. package/authentication/client/authentication.service.js +30 -11
  6. package/authentication/client/http-client.middleware.js +10 -3
  7. package/authentication/server/authentication.service.d.ts +12 -0
  8. package/authentication/server/authentication.service.js +14 -2
  9. package/authentication/tests/authentication.client-error-handling.test.js +23 -66
  10. package/authentication/tests/authentication.client-service-refresh.test.js +14 -14
  11. package/cancellation/token.d.ts +6 -0
  12. package/cancellation/token.js +8 -0
  13. package/document-management/server/services/document-file.service.js +10 -9
  14. package/document-management/server/services/document-management-ancillary.service.d.ts +12 -1
  15. package/document-management/server/services/document-management-ancillary.service.js +9 -0
  16. package/file/server/temporary-file.d.ts +2 -1
  17. package/file/server/temporary-file.js +5 -1
  18. package/http/client/adapters/undici.adapter.js +0 -2
  19. package/http/client/http-client-request.d.ts +2 -0
  20. package/http/client/http-client-request.js +4 -0
  21. package/http/client/http-client-response.d.ts +1 -1
  22. package/http/client/http-client-response.js +3 -2
  23. package/http/utils.d.ts +6 -0
  24. package/http/utils.js +71 -0
  25. package/injector/injector.js +2 -0
  26. package/mail/drizzle/0000_numerous_the_watchers.sql +8 -0
  27. package/mail/drizzle/meta/0000_snapshot.json +1 -32
  28. package/mail/drizzle/meta/_journal.json +2 -9
  29. package/object-storage/s3/s3.object-storage.js +6 -6
  30. package/object-storage/s3/tests/s3.object-storage.integration.test.js +22 -53
  31. package/orm/tests/repository-expiration.test.js +3 -3
  32. package/package.json +1 -1
  33. package/pdf/utils.d.ts +24 -3
  34. package/pdf/utils.js +89 -30
  35. package/process/spawn.d.ts +1 -1
  36. package/rate-limit/tests/postgres-rate-limiter.test.js +9 -7
  37. package/renderer/typst.d.ts +5 -0
  38. package/renderer/typst.js +9 -5
  39. package/task-queue/tests/complex.test.js +22 -22
  40. package/task-queue/tests/dependencies.test.js +15 -13
  41. package/task-queue/tests/queue.test.js +13 -13
  42. package/task-queue/tests/worker.test.js +12 -12
  43. package/testing/integration-setup.d.ts +2 -0
  44. package/testing/integration-setup.js +13 -7
  45. package/utils/backoff.d.ts +27 -3
  46. package/utils/backoff.js +31 -9
  47. package/utils/index.d.ts +1 -0
  48. package/utils/index.js +1 -0
  49. package/utils/retry-with-backoff.d.ts +22 -0
  50. package/utils/retry-with-backoff.js +64 -0
  51. package/utils/tests/backoff.test.d.ts +1 -0
  52. package/utils/tests/backoff.test.js +41 -0
  53. package/utils/tests/retry-with-backoff.test.d.ts +1 -0
  54. package/utils/tests/retry-with-backoff.test.js +49 -0
  55. package/mail/drizzle/0000_previous_malcolm_colcord.sql +0 -13
  56. package/mail/drizzle/0001_flimsy_bloodscream.sql +0 -5
  57. 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
- }