alepha 0.7.4 → 0.7.6

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 (99) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +44 -21
  3. package/cache/redis.cjs +4 -8
  4. package/cache/redis.d.ts +30 -91
  5. package/cache/redis.js +1 -1
  6. package/cache.cjs +4 -8
  7. package/cache.d.ts +190 -259
  8. package/cache.js +1 -1
  9. package/core.cjs +4 -8
  10. package/core.d.ts +950 -925
  11. package/core.js +1 -1
  12. package/datetime.cjs +4 -8
  13. package/datetime.d.ts +151 -140
  14. package/datetime.js +1 -1
  15. package/lock/redis.cjs +7 -49
  16. package/lock/redis.d.ts +17 -14
  17. package/lock/redis.js +1 -47
  18. package/lock.cjs +4 -8
  19. package/lock.d.ts +117 -170
  20. package/lock.js +1 -1
  21. package/package.json +70 -40
  22. package/postgres.cjs +4 -8
  23. package/postgres.d.ts +1314 -4400
  24. package/postgres.js +1 -1
  25. package/queue/redis.cjs +8 -0
  26. package/queue/redis.d.ts +31 -0
  27. package/queue/redis.js +1 -0
  28. package/queue.cjs +4 -8
  29. package/queue.d.ts +162 -205
  30. package/queue.js +1 -1
  31. package/react/auth.cjs +4 -8
  32. package/react/auth.d.ts +167 -280
  33. package/react/auth.js +1 -1
  34. package/react.cjs +4 -8
  35. package/react.d.ts +530 -570
  36. package/react.js +1 -1
  37. package/redis.cjs +4 -8
  38. package/redis.d.ts +59 -132
  39. package/redis.js +1 -1
  40. package/retry.cjs +4 -8
  41. package/retry.d.ts +34 -31
  42. package/retry.js +1 -1
  43. package/scheduler.cjs +4 -8
  44. package/scheduler.d.ts +128 -155
  45. package/scheduler.js +1 -1
  46. package/security.cjs +4 -8
  47. package/security.d.ts +472 -595
  48. package/security.js +1 -1
  49. package/server/cache.cjs +4 -8
  50. package/server/cache.d.ts +73 -39
  51. package/server/cache.js +1 -1
  52. package/server/cookies.cjs +4 -8
  53. package/server/cookies.d.ts +46 -41
  54. package/server/cookies.js +1 -1
  55. package/server/static.cjs +4 -8
  56. package/server/static.d.ts +98 -95
  57. package/server/static.js +1 -1
  58. package/server/swagger.cjs +4 -8
  59. package/server/swagger.d.ts +106 -92
  60. package/server/swagger.js +1 -1
  61. package/server.cjs +4 -8
  62. package/server.d.ts +754 -1025
  63. package/server.js +1 -1
  64. package/testing.cjs +8 -0
  65. package/testing.d.ts +1 -0
  66. package/testing.js +1 -0
  67. package/topic/redis.cjs +8 -0
  68. package/topic/redis.d.ts +45 -0
  69. package/topic/redis.js +1 -0
  70. package/topic.cjs +4 -8
  71. package/topic.d.ts +171 -163
  72. package/topic.js +1 -1
  73. package/vite.cjs +4 -8
  74. package/vite.d.ts +91 -84
  75. package/vite.js +1 -1
  76. package/assets/logo.png +0 -0
  77. package/src/cache/redis.ts +0 -1
  78. package/src/cache.ts +0 -1
  79. package/src/core.ts +0 -1
  80. package/src/datetime.ts +0 -1
  81. package/src/lock/redis.ts +0 -1
  82. package/src/lock.ts +0 -1
  83. package/src/postgres.ts +0 -1
  84. package/src/queue/redis.ts +0 -1
  85. package/src/queue.ts +0 -1
  86. package/src/react/auth.ts +0 -1
  87. package/src/react.ts +0 -1
  88. package/src/redis.ts +0 -1
  89. package/src/retry.ts +0 -1
  90. package/src/scheduler.ts +0 -1
  91. package/src/security.ts +0 -1
  92. package/src/server/cache.ts +0 -1
  93. package/src/server/cookies.ts +0 -1
  94. package/src/server/static.ts +0 -1
  95. package/src/server/swagger.ts +0 -1
  96. package/src/server.ts +0 -1
  97. package/src/topic/redis.ts +0 -1
  98. package/src/topic.ts +0 -1
  99. package/src/vite.ts +0 -1
package/lock.d.ts CHANGED
@@ -1,34 +1,37 @@
1
- import * as _alepha_core from '@alepha/core';
2
- import { AsyncFn, KIND, OPTIONS, Static, Alepha } from '@alepha/core';
3
- import { DurationLike, DateTimeProvider, DateTime, Timeout } from '@alepha/datetime';
4
- import * as _alepha_topic from '@alepha/topic';
5
- import { TopicProvider } from '@alepha/topic';
1
+ import * as _alepha_core2 from "@alepha/core";
2
+ import * as _alepha_core0 from "@alepha/core";
3
+ import { Alepha, AsyncFn, KIND, OPTIONS, Static } from "@alepha/core";
4
+ import * as _alepha_topic8 from "@alepha/topic";
5
+ import { TopicProvider } from "@alepha/topic";
6
+ import { DateTime, DateTimeProvider, DurationLike, Timeout } from "@alepha/datetime";
7
+ import * as _sinclair_typebox1 from "@sinclair/typebox";
6
8
 
9
+ //#region src/descriptors/$lock.d.ts
7
10
  declare const KEY = "LOCK";
8
11
  interface LockDescriptorOptions<TFunc extends AsyncFn> {
9
- /**
10
- * Function executed when the lock is acquired.
11
- */
12
- handler: TFunc;
13
- /**
14
- * If true, the handler will wait for the lock to be released.
15
- *
16
- * @default false
17
- */
18
- wait?: boolean;
19
- key?: string | ((...args: Parameters<TFunc>) => string);
20
- maxDuration?: DurationLike;
21
- gracePeriod?: (...args: Parameters<TFunc>) => DurationLike | undefined;
12
+ /**
13
+ * Function executed when the lock is acquired.
14
+ */
15
+ handler: TFunc;
16
+ /**
17
+ * If true, the handler will wait for the lock to be released.
18
+ *
19
+ * @default false
20
+ */
21
+ wait?: boolean;
22
+ key?: string | ((...args: Parameters<TFunc>) => string);
23
+ maxDuration?: DurationLike;
24
+ gracePeriod?: (...args: Parameters<TFunc>) => DurationLike | undefined;
22
25
  }
23
26
  interface LockDescriptor<TFunc extends AsyncFn> {
24
- [KIND]: typeof KEY;
25
- [OPTIONS]: LockDescriptorOptions<TFunc>;
26
- /**
27
- * Apply the lock.
28
- *
29
- * @param args
30
- */
31
- (...args: Parameters<TFunc>): Promise<void>;
27
+ [KIND]: typeof KEY;
28
+ [OPTIONS]: LockDescriptorOptions<TFunc>;
29
+ /**
30
+ * Apply the lock.
31
+ *
32
+ * @param args
33
+ */
34
+ (...args: Parameters<TFunc>): Promise<void>;
32
35
  }
33
36
  /**
34
37
  * Lock descriptor
@@ -40,167 +43,110 @@ interface LockDescriptor<TFunc extends AsyncFn> {
40
43
  * @param options
41
44
  */
42
45
  declare const $lock: {
43
- <TFunc extends AsyncFn>(options: LockDescriptorOptions<TFunc>): LockDescriptor<TFunc>;
44
- [KIND]: string;
46
+ <TFunc extends AsyncFn>(options: LockDescriptorOptions<TFunc>): LockDescriptor<TFunc>;
47
+ [KIND]: string;
45
48
  };
46
-
47
- /** Symbol key applied to readonly types */
48
- declare const ReadonlyKind: unique symbol;
49
- /** Symbol key applied to optional types */
50
- declare const OptionalKind: unique symbol;
51
- /** Symbol key applied to types */
52
- declare const Hint: unique symbol;
53
- /** Symbol key applied to types */
54
- declare const Kind: unique symbol;
55
-
56
- type StringFormatOption = 'date-time' | 'time' | 'date' | 'email' | 'idn-email' | 'hostname' | 'idn-hostname' | 'ipv4' | 'ipv6' | 'uri' | 'uri-reference' | 'iri' | 'uuid' | 'iri-reference' | 'uri-template' | 'json-pointer' | 'relative-json-pointer' | 'regex' | ({} & string);
57
- type StringContentEncodingOption = '7bit' | '8bit' | 'binary' | 'quoted-printable' | 'base64' | ({} & string);
58
- interface StringOptions extends SchemaOptions {
59
- /** The maximum string length */
60
- maxLength?: number;
61
- /** The minimum string length */
62
- minLength?: number;
63
- /** A regular expression pattern this string should match */
64
- pattern?: string;
65
- /** A format this string should match */
66
- format?: StringFormatOption;
67
- /** The content encoding for this string */
68
- contentEncoding?: StringContentEncodingOption;
69
- /** The content media type for this string */
70
- contentMediaType?: string;
71
- }
72
- interface TString extends TSchema, StringOptions {
73
- [Kind]: 'String';
74
- static: string;
75
- type: 'string';
76
- }
77
-
78
- interface SchemaOptions {
79
- $schema?: string;
80
- /** Id for this schema */
81
- $id?: string;
82
- /** Title of this schema */
83
- title?: string;
84
- /** Description of this schema */
85
- description?: string;
86
- /** Default value for this schema */
87
- default?: any;
88
- /** Example values matching this schema */
89
- examples?: any;
90
- /** Optional annotation for readOnly */
91
- readOnly?: boolean;
92
- /** Optional annotation for writeOnly */
93
- writeOnly?: boolean;
94
- [prop: string]: any;
95
- }
96
- interface TKind {
97
- [Kind]: string;
98
- }
99
- interface TSchema extends TKind, SchemaOptions {
100
- [ReadonlyKind]?: string;
101
- [OptionalKind]?: string;
102
- [Hint]?: string;
103
- params: unknown[];
104
- static: unknown;
105
- }
106
-
49
+ //#endregion
50
+ //#region src/providers/LockProvider.d.ts
107
51
  /**
108
52
  * Store Provider Interface
109
53
  */
110
54
  declare abstract class LockProvider {
111
- /**
112
- * Set the string value of a key.
113
- *
114
- * @param key The key of the value to set.
115
- * @param value The value to set.
116
- * @param nx If set to true, the key will only be set if it does not already exist.
117
- * @param px Set the specified expire time, in milliseconds.
118
- */
119
- abstract set(key: string, value: string, nx?: boolean, px?: number): Promise<string>;
120
- /**
121
- * Remove the specified keys.
122
- *
123
- * @param keys The keys to delete.
124
- */
125
- abstract del(...keys: string[]): Promise<void>;
126
- }
127
-
128
- declare class LockTopicProvider extends TopicProvider {
55
+ /**
56
+ * Set the string value of a key.
57
+ *
58
+ * @param key The key of the value to set.
59
+ * @param value The value to set.
60
+ * @param nx If set to true, the key will only be set if it does not already exist.
61
+ * @param px Set the specified expire time, in milliseconds.
62
+ */
63
+ abstract set(key: string, value: string, nx?: boolean, px?: number): Promise<string>;
64
+ /**
65
+ * Remove the specified keys.
66
+ *
67
+ * @param keys The keys to delete.
68
+ */
69
+ abstract del(...keys: string[]): Promise<void>;
129
70
  }
130
-
131
- declare const envSchema: _alepha_core.TObject<{
132
- LOCK_PREFIX_KEY: TString;
71
+ //#endregion
72
+ //#region src/providers/LockTopicProvider.d.ts
73
+ declare class LockTopicProvider extends TopicProvider {}
74
+ //#endregion
75
+ //#region src/providers/LockDescriptorProvider.d.ts
76
+ declare const envSchema: _alepha_core2.TObject<{
77
+ LOCK_PREFIX_KEY: _sinclair_typebox1.TString;
133
78
  }>;
134
79
  declare module "alepha" {
135
- interface Env extends Partial<Static<typeof envSchema>> {
136
- }
80
+ interface Env extends Partial<Static<typeof envSchema>> {}
137
81
  }
138
82
  declare class LockDescriptorProvider {
139
- protected readonly alepha: Alepha;
140
- protected readonly dateTimeProvider: DateTimeProvider;
141
- protected readonly lockProvider: LockProvider;
142
- protected readonly lockTopicProvider: LockTopicProvider;
143
- protected readonly log: _alepha_core.Logger;
144
- protected readonly env: {
145
- LOCK_PREFIX_KEY: string;
146
- };
147
- protected readonly id: string;
148
- protected readonly locks: Map<string, LockDescriptorValue>;
149
- protected readonly configure: _alepha_core.HookDescriptor<"configure">;
150
- protected readonly topicLockEnd: _alepha_topic.TopicDescriptor<{
151
- payload: _alepha_core.TObject<{
152
- name: TString;
153
- }>;
83
+ protected readonly alepha: Alepha;
84
+ protected readonly dateTimeProvider: DateTimeProvider;
85
+ protected readonly lockProvider: LockProvider;
86
+ protected readonly lockTopicProvider: LockTopicProvider;
87
+ protected readonly log: _alepha_core2.Logger;
88
+ protected readonly env: {
89
+ LOCK_PREFIX_KEY: string;
90
+ };
91
+ protected readonly id: string;
92
+ protected readonly locks: Map<string, LockDescriptorValue>;
93
+ protected readonly configure: _alepha_core2.HookDescriptor<"configure">;
94
+ protected readonly topicLockEnd: _alepha_topic8.TopicDescriptor<{
95
+ payload: _alepha_core2.TObject<{
96
+ name: _sinclair_typebox1.TString;
154
97
  }>;
155
- protected prefixKey(key: string): string;
156
- /**
157
- * Run the lock handler.
158
- *
159
- * @param value
160
- * @param args
161
- */
162
- protected run(value: LockDescriptorValue, ...args: any[]): Promise<void>;
163
- protected wait(key: string, maxDuration: DurationLike): Promise<void>;
164
- /**
165
- * Lock the key.
166
- *
167
- * @param key - The key to lock.
168
- * @param item - The lock descriptor value.
169
- */
170
- protected lock(key: string, item: LockDescriptorValue): Promise<LockObject>;
171
- protected parse(value: string): LockObject;
98
+ }>;
99
+ protected prefixKey(key: string): string;
100
+ /**
101
+ * Run the lock handler.
102
+ *
103
+ * @param value
104
+ * @param args
105
+ */
106
+ protected run(value: LockDescriptorValue, ...args: any[]): Promise<void>;
107
+ protected wait(key: string, maxDuration: DurationLike): Promise<void>;
108
+ /**
109
+ * Lock the key.
110
+ *
111
+ * @param key - The key to lock.
112
+ * @param item - The lock descriptor value.
113
+ */
114
+ protected lock(key: string, item: LockDescriptorValue): Promise<LockObject>;
115
+ protected parse(value: string): LockObject;
172
116
  }
173
117
  interface LockDescriptorValue {
174
- options: LockDescriptorOptions<AsyncFn>;
175
- key: (...args: any[]) => string;
176
- maxDuration: DurationLike;
118
+ options: LockDescriptorOptions<AsyncFn>;
119
+ key: (...args: any[]) => string;
120
+ maxDuration: DurationLike;
177
121
  }
178
122
  interface LockObject {
179
- id: string;
180
- createdAt: DateTime;
181
- endedAt?: DateTime;
182
- response?: string;
123
+ id: string;
124
+ createdAt: DateTime;
125
+ endedAt?: DateTime;
126
+ response?: string;
183
127
  }
184
-
128
+ //#endregion
129
+ //#region src/providers/MemoryLockProvider.d.ts
185
130
  /**
186
131
  * A simple in-memory store provider.
187
132
  */
188
133
  declare class MemoryLockProvider implements LockProvider {
189
- protected readonly dateTimeProvider: DateTimeProvider;
190
- protected readonly log: _alepha_core.Logger;
191
- /**
192
- * The in-memory store.
193
- */
194
- protected store: Record<string, string>;
195
- /**
196
- * Timeouts used to expire keys.
197
- */
198
- protected storeTimeout: Record<string, Timeout>;
199
- set(key: string, value: string, nx?: boolean, px?: number): Promise<string>;
200
- del(...keys: string[]): Promise<void>;
201
- private ttl;
134
+ protected readonly dateTimeProvider: DateTimeProvider;
135
+ protected readonly log: _alepha_core0.Logger;
136
+ /**
137
+ * The in-memory store.
138
+ */
139
+ protected store: Record<string, string>;
140
+ /**
141
+ * Timeouts used to expire keys.
142
+ */
143
+ protected storeTimeout: Record<string, Timeout>;
144
+ set(key: string, value: string, nx?: boolean, px?: number): Promise<string>;
145
+ del(...keys: string[]): Promise<void>;
146
+ private ttl;
202
147
  }
203
-
148
+ //#endregion
149
+ //#region src/index.d.ts
204
150
  /**
205
151
  * Alepha Lock Module
206
152
  *
@@ -213,8 +159,9 @@ declare class MemoryLockProvider implements LockProvider {
213
159
  * @module alepha.lock
214
160
  */
215
161
  declare class AlephaLock {
216
- readonly name = "alepha.lock";
217
- readonly $services: (alepha: Alepha) => Alepha;
162
+ readonly name = "alepha.lock";
163
+ readonly $services: (alepha: Alepha) => Alepha;
218
164
  }
219
-
220
- export { $lock, AlephaLock, type LockDescriptor, type LockDescriptorOptions, LockDescriptorProvider, type LockDescriptorValue, type LockObject, LockProvider, LockTopicProvider, MemoryLockProvider };
165
+ //#endregion
166
+ export { $lock, AlephaLock, LockDescriptor, LockDescriptorOptions, LockDescriptorProvider, LockDescriptorValue, LockObject, LockProvider, LockTopicProvider, MemoryLockProvider };
167
+ //# sourceMappingURL=index.d.ts.map
package/lock.js CHANGED
@@ -1 +1 @@
1
- export * from '@alepha/lock';
1
+ export * from '@alepha/lock'
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "alepha",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
4
4
  "type": "module",
5
+ "engines": {
6
+ "node": ">=22.0.0"
7
+ },
5
8
  "license": "MIT",
6
9
  "description": "TypeScript framework for building full-stack apps with strict conventions, and React-based SPA or SSR without filesystem-based routing.",
7
10
  "homepage": "https://github.com/feunard/alepha",
@@ -12,46 +15,45 @@
12
15
  "main": "./core.js",
13
16
  "types": "./core.d.ts",
14
17
  "dependencies": {
15
- "@alepha/cache": "0.7.4",
16
- "@alepha/cache-redis": "0.7.4",
17
- "@alepha/core": "0.7.4",
18
- "@alepha/datetime": "0.7.4",
19
- "@alepha/lock": "0.7.4",
20
- "@alepha/postgres": "0.7.4",
21
- "@alepha/queue": "0.7.4",
22
- "@alepha/react": "0.7.4",
23
- "@alepha/react-auth": "0.7.4",
24
- "@alepha/redis": "0.7.4",
25
- "@alepha/retry": "0.7.4",
26
- "@alepha/scheduler": "0.7.4",
27
- "@alepha/security": "0.7.4",
28
- "@alepha/server": "0.7.4",
29
- "@alepha/server-cache": "0.7.4",
30
- "@alepha/server-cookies": "0.7.4",
31
- "@alepha/server-static": "0.7.4",
32
- "@alepha/server-swagger": "0.7.4",
33
- "@alepha/testing": "0.7.4",
34
- "@alepha/topic": "0.7.4",
35
- "@alepha/topic-redis": "0.7.4",
36
- "@alepha/vite": "0.7.4",
18
+ "@alepha/cache": "0.7.6",
19
+ "@alepha/cache-redis": "0.7.6",
20
+ "@alepha/core": "0.7.6",
21
+ "@alepha/datetime": "0.7.6",
22
+ "@alepha/lock": "0.7.6",
23
+ "@alepha/lock-redis": "0.7.6",
24
+ "@alepha/postgres": "0.7.6",
25
+ "@alepha/queue": "0.7.6",
26
+ "@alepha/queue-redis": "0.7.6",
27
+ "@alepha/react": "0.7.6",
28
+ "@alepha/react-auth": "0.7.6",
29
+ "@alepha/redis": "0.7.6",
30
+ "@alepha/retry": "0.7.6",
31
+ "@alepha/scheduler": "0.7.6",
32
+ "@alepha/security": "0.7.6",
33
+ "@alepha/server": "0.7.6",
34
+ "@alepha/server-cache": "0.7.6",
35
+ "@alepha/server-cookies": "0.7.6",
36
+ "@alepha/server-static": "0.7.6",
37
+ "@alepha/server-swagger": "0.7.6",
38
+ "@alepha/testing": "0.7.6",
39
+ "@alepha/topic": "0.7.6",
40
+ "@alepha/topic-redis": "0.7.6",
41
+ "@alepha/vite": "0.7.6",
37
42
  "@types/react": "^19.1.8",
38
43
  "react": "^19.1.0"
39
44
  },
40
45
  "devDependencies": {
41
46
  "@types/react": "^19.1.8",
42
- "pkgroll": "^2.13.1",
43
- "react": "^19.1.0"
47
+ "react": "^19.1.0",
48
+ "tsdown": "^0.12.9"
44
49
  },
45
50
  "scripts": {
46
- "build": "pkgroll --dist ./"
51
+ "build": "node build.ts"
47
52
  },
48
53
  "files": [
49
- "src",
50
- "assets",
51
54
  "**/*.js",
52
55
  "**/*.cjs",
53
- "**/*.d.ts",
54
- "**/*.map"
56
+ "**/*.d.ts"
55
57
  ],
56
58
  "exports": {
57
59
  ".": {
@@ -94,6 +96,16 @@
94
96
  "require": "./postgres.cjs",
95
97
  "types": "./postgres.d.ts"
96
98
  },
99
+ "./queue": {
100
+ "import": "./queue.js",
101
+ "require": "./queue.cjs",
102
+ "types": "./queue.d.ts"
103
+ },
104
+ "./queue/redis": {
105
+ "import": "./queue/redis.js",
106
+ "require": "./queue/redis.cjs",
107
+ "types": "./queue/redis.d.ts"
108
+ },
97
109
  "./react": {
98
110
  "import": "./react.js",
99
111
  "require": "./react.cjs",
@@ -114,11 +126,6 @@
114
126
  "require": "./retry.cjs",
115
127
  "types": "./retry.d.ts"
116
128
  },
117
- "./queue": {
118
- "import": "./queue.js",
119
- "require": "./queue.cjs",
120
- "types": "./queue.d.ts"
121
- },
122
129
  "./scheduler": {
123
130
  "import": "./scheduler.js",
124
131
  "require": "./scheduler.cjs",
@@ -134,6 +141,11 @@
134
141
  "require": "./server.cjs",
135
142
  "types": "./server.d.ts"
136
143
  },
144
+ "./server/cache": {
145
+ "import": "./server/cache.js",
146
+ "require": "./server/cache.cjs",
147
+ "types": "./server/cache.d.ts"
148
+ },
137
149
  "./server/cookies": {
138
150
  "import": "./server/cookies.js",
139
151
  "require": "./server/cookies.cjs",
@@ -149,16 +161,21 @@
149
161
  "require": "./server/swagger.cjs",
150
162
  "types": "./server/swagger.d.ts"
151
163
  },
152
- "./server/cache": {
153
- "import": "./server/cache.js",
154
- "require": "./server/cache.cjs",
155
- "types": "./server/cache.d.ts"
164
+ "./testing": {
165
+ "import": "./testing.js",
166
+ "require": "./testing.cjs",
167
+ "types": "./testing.d.ts"
156
168
  },
157
169
  "./topic": {
158
170
  "import": "./topic.js",
159
171
  "require": "./topic.cjs",
160
172
  "types": "./topic.d.ts"
161
173
  },
174
+ "./topic/redis": {
175
+ "import": "./topic/redis.js",
176
+ "require": "./topic/redis.cjs",
177
+ "types": "./topic/redis.d.ts"
178
+ },
162
179
  "./vite": {
163
180
  "import": "./vite.js",
164
181
  "require": "./vite.cjs",
@@ -168,15 +185,28 @@
168
185
  "keywords": [
169
186
  "alepha",
170
187
  "cache",
188
+ "cache-redis",
189
+ "core",
171
190
  "datetime",
172
191
  "lock",
192
+ "lock-redis",
173
193
  "postgres",
174
194
  "queue",
195
+ "queue-redis",
175
196
  "react",
197
+ "react-auth",
176
198
  "redis",
199
+ "retry",
177
200
  "scheduler",
178
201
  "security",
179
202
  "server",
180
- "topic"
203
+ "server-cache",
204
+ "server-cookies",
205
+ "server-static",
206
+ "server-swagger",
207
+ "testing",
208
+ "topic",
209
+ "topic-redis",
210
+ "vite"
181
211
  ]
182
212
  }
package/postgres.cjs CHANGED
@@ -1,12 +1,8 @@
1
1
  'use strict';
2
-
3
- var postgres = require('@alepha/postgres');
4
-
5
-
6
-
7
- Object.keys(postgres).forEach(function (k) {
2
+ var m = require('@alepha/postgres');
3
+ Object.keys(m).forEach(function (k) {
8
4
  if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
5
  enumerable: true,
10
- get: function () { return postgres[k]; }
6
+ get: function () { return m[k]; }
11
7
  });
12
- });
8
+ });