alepha 0.11.5 → 0.11.7
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/LICENSE +1 -1
- package/README.md +15 -100
- package/api/files.d.ts +168 -169
- package/api/jobs.d.ts +263 -154
- package/api/notifications.d.ts +28 -29
- package/api/users.d.ts +476 -477
- package/batch.d.ts +59 -493
- package/bucket.d.ts +20 -11
- package/cache/redis.d.ts +1 -1
- package/cache.d.ts +1 -1
- package/command.d.ts +24 -7
- package/core.d.ts +299 -222
- package/datetime.d.ts +4 -29
- package/devtools.d.ts +166 -284
- package/email.d.ts +45 -2
- package/fake.d.ts +1 -1
- package/file.d.ts +1 -1
- package/lock/redis.d.ts +1 -1
- package/lock.d.ts +1 -1
- package/logger.d.ts +11 -9
- package/package.json +51 -51
- package/postgres.d.ts +480 -198
- package/queue/redis.d.ts +1 -1
- package/queue.d.ts +1 -1
- package/react/auth.d.ts +7 -2
- package/react/form.d.ts +39 -16
- package/react/head.d.ts +1 -1
- package/react/i18n.d.ts +2 -2
- package/react.d.ts +66 -41
- package/redis.d.ts +1 -1
- package/retry.d.ts +84 -21
- package/scheduler.d.ts +1 -1
- package/security.d.ts +29 -29
- package/server/cache.d.ts +1 -1
- package/server/compress.d.ts +9 -3
- package/server/cookies.d.ts +1 -1
- package/server/cors.d.ts +28 -10
- package/server/health.d.ts +18 -19
- package/server/helmet.d.ts +44 -15
- package/server/links.d.ts +37 -31
- package/server/metrics.d.ts +1 -1
- package/server/multipart.d.ts +1 -1
- package/server/proxy.d.ts +1 -1
- package/server/security.d.ts +8 -3
- package/server/static.d.ts +1 -1
- package/server/swagger.d.ts +19 -6
- package/server.d.ts +1 -1
- package/topic/redis.d.ts +1 -1
- package/topic.d.ts +1 -1
- package/ui.d.ts +142 -12
- package/vite.d.ts +2 -2
package/cache.d.ts
CHANGED
|
@@ -282,7 +282,7 @@ declare class MemoryCacheProvider implements CacheProvider {
|
|
|
282
282
|
* @see {@link CacheProvider}
|
|
283
283
|
* @module alepha.cache
|
|
284
284
|
*/
|
|
285
|
-
declare const AlephaCache: _alepha_core0.Service<_alepha_core0.Module
|
|
285
|
+
declare const AlephaCache: _alepha_core0.Service<_alepha_core0.Module>;
|
|
286
286
|
//#endregion
|
|
287
287
|
export { $cache, AlephaCache, CacheDescriptor, CacheDescriptorFn, CacheDescriptorOptions, CacheProvider, MemoryCacheProvider };
|
|
288
288
|
//# sourceMappingURL=index.d.ts.map
|
package/command.d.ts
CHANGED
|
@@ -177,6 +177,20 @@ declare const envSchema: TObject<{
|
|
|
177
177
|
declare module "alepha" {
|
|
178
178
|
interface Env extends Partial<Static<typeof envSchema>> {}
|
|
179
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
* CLI provider configuration atom
|
|
182
|
+
*/
|
|
183
|
+
declare const cliOptions: _alepha_core1.Atom<TObject<{
|
|
184
|
+
name: typebox0.TOptional<_alepha_core1.TString>;
|
|
185
|
+
description: typebox0.TOptional<_alepha_core1.TString>;
|
|
186
|
+
argv: typebox0.TOptional<typebox0.TArray<_alepha_core1.TString>>;
|
|
187
|
+
}>, "alepha.command.cli.options">;
|
|
188
|
+
type CliProviderOptions = Static<typeof cliOptions.schema>;
|
|
189
|
+
declare module "alepha" {
|
|
190
|
+
interface State {
|
|
191
|
+
[cliOptions.key]: CliProviderOptions;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
180
194
|
declare class CliProvider {
|
|
181
195
|
protected readonly env: {
|
|
182
196
|
CLI_NAME: string;
|
|
@@ -186,11 +200,14 @@ declare class CliProvider {
|
|
|
186
200
|
protected readonly log: _alepha_logger0.Logger;
|
|
187
201
|
protected readonly runner: Runner;
|
|
188
202
|
protected readonly asker: Asker;
|
|
189
|
-
options: {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
argv
|
|
193
|
-
}
|
|
203
|
+
protected readonly options: Readonly<{
|
|
204
|
+
description?: string | undefined;
|
|
205
|
+
name?: string | undefined;
|
|
206
|
+
argv?: string[] | undefined;
|
|
207
|
+
}>;
|
|
208
|
+
protected get name(): string;
|
|
209
|
+
protected get description(): string;
|
|
210
|
+
protected get argv(): string[];
|
|
194
211
|
protected readonly globalFlags: {
|
|
195
212
|
help: {
|
|
196
213
|
aliases: string[];
|
|
@@ -234,7 +251,7 @@ declare class CliProvider {
|
|
|
234
251
|
* @see {@link $command}
|
|
235
252
|
* @module alepha.command
|
|
236
253
|
*/
|
|
237
|
-
declare const AlephaCommand: _alepha_core1.Service<_alepha_core1.Module
|
|
254
|
+
declare const AlephaCommand: _alepha_core1.Service<_alepha_core1.Module>;
|
|
238
255
|
declare module "typebox" {
|
|
239
256
|
interface StringOptions {
|
|
240
257
|
/**
|
|
@@ -248,5 +265,5 @@ declare module "typebox" {
|
|
|
248
265
|
//# sourceMappingURL=index.d.ts.map
|
|
249
266
|
|
|
250
267
|
//#endregion
|
|
251
|
-
export { $command, AlephaCommand, AskMethod, AskOptions, Asker, CliProvider, CommandDescriptor, CommandDescriptorOptions, CommandError, CommandHandlerArgs, RunOptions, Runner, RunnerMethod, Task };
|
|
268
|
+
export { $command, AlephaCommand, AskMethod, AskOptions, Asker, CliProvider, CliProviderOptions, CommandDescriptor, CommandDescriptorOptions, CommandError, CommandHandlerArgs, RunOptions, Runner, RunnerMethod, Task, cliOptions };
|
|
252
269
|
//# sourceMappingURL=index.d.ts.map
|