alepha 0.13.3 → 0.13.4

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.
@@ -1,4 +1,4 @@
1
- import * as alepha224 from "alepha";
1
+ import * as alepha225 from "alepha";
2
2
  import { Alepha, Async, KIND, Primitive, Static, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
3
3
  import * as alepha_server0 from "alepha/server";
4
4
  import * as alepha_orm0 from "alepha/orm";
@@ -233,7 +233,7 @@ type PgAttr<T extends TSchema, TAttr extends PgSymbolKeys> = T & { [K in TAttr]:
233
233
  declare module "alepha" {
234
234
  interface Env extends Partial<Static<typeof envSchema$1>> {}
235
235
  }
236
- declare const envSchema$1: alepha224.TObject<{
236
+ declare const envSchema$1: alepha225.TObject<{
237
237
  /**
238
238
  * Main configuration for database connection.
239
239
  * Accept a string in the format of a Postgres connection URL.
@@ -241,21 +241,21 @@ declare const envSchema$1: alepha224.TObject<{
241
241
  * or
242
242
  * Example: postgres://user:password@localhost:5432/database?sslmode=require
243
243
  */
244
- DATABASE_URL: alepha224.TOptional<alepha224.TString>;
244
+ DATABASE_URL: alepha225.TOptional<alepha225.TString>;
245
245
  /**
246
246
  * In addition to the DATABASE_URL, you can specify the postgres schema name.
247
247
  *
248
248
  * It will monkey patch drizzle tables.
249
249
  */
250
- POSTGRES_SCHEMA: alepha224.TOptional<alepha224.TString>;
250
+ POSTGRES_SCHEMA: alepha225.TOptional<alepha225.TString>;
251
251
  }>;
252
252
  //#endregion
253
253
  //#region src/orm/providers/drivers/NodeSqliteProvider.d.ts
254
254
  /**
255
255
  * Configuration options for the Node.js SQLite database provider.
256
256
  */
257
- declare const nodeSqliteOptions: alepha224.Atom<alepha224.TObject<{
258
- path: alepha224.TOptional<alepha224.TString>;
257
+ declare const nodeSqliteOptions: alepha225.Atom<alepha225.TObject<{
258
+ path: alepha225.TOptional<alepha225.TString>;
259
259
  }>, "alepha.postgres.node-sqlite.options">;
260
260
  type NodeSqliteProviderOptions = Static<typeof nodeSqliteOptions.schema>;
261
261
  declare module "alepha" {
@@ -339,76 +339,76 @@ declare module "alepha" {
339
339
  }
340
340
  //#endregion
341
341
  //#region src/api-jobs/schemas/jobExecutionQuerySchema.d.ts
342
- declare const jobExecutionQuerySchema: alepha224.TObject<{
343
- page: alepha224.TOptional<alepha224.TInteger>;
344
- size: alepha224.TOptional<alepha224.TInteger>;
345
- sort: alepha224.TOptional<alepha224.TString>;
346
- status: alepha224.TOptional<alepha224.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
347
- job: alepha224.TOptional<alepha224.TString>;
342
+ declare const jobExecutionQuerySchema: alepha225.TObject<{
343
+ page: alepha225.TOptional<alepha225.TInteger>;
344
+ size: alepha225.TOptional<alepha225.TInteger>;
345
+ sort: alepha225.TOptional<alepha225.TString>;
346
+ status: alepha225.TOptional<alepha225.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
347
+ job: alepha225.TOptional<alepha225.TString>;
348
348
  }>;
349
349
  type JobExecutionQuery = Static<typeof jobExecutionQuerySchema>;
350
350
  //#endregion
351
351
  //#region src/api-jobs/services/JobService.d.ts
352
352
  declare class JobService {
353
353
  protected readonly alepha: Alepha;
354
- protected readonly executionRepository: alepha_orm0.Repository<alepha224.TObject<{
355
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
356
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
357
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
358
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
359
- finishedAt: alepha224.TOptional<alepha224.TString>;
360
- job: alepha224.TString;
361
- status: alepha224.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
362
- error: alepha224.TOptional<alepha224.TString>;
363
- logs: alepha224.TOptional<alepha224.TArray<alepha224.TObject<{
364
- level: alepha224.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
365
- message: alepha224.TString;
366
- service: alepha224.TString;
367
- module: alepha224.TString;
368
- context: alepha224.TOptional<alepha224.TString>;
369
- app: alepha224.TOptional<alepha224.TString>;
370
- data: alepha224.TOptional<alepha224.TAny>;
371
- timestamp: alepha224.TNumber;
354
+ protected readonly executionRepository: alepha_orm0.Repository<alepha225.TObject<{
355
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
356
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
357
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
358
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
359
+ finishedAt: alepha225.TOptional<alepha225.TString>;
360
+ job: alepha225.TString;
361
+ status: alepha225.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
362
+ error: alepha225.TOptional<alepha225.TString>;
363
+ logs: alepha225.TOptional<alepha225.TArray<alepha225.TObject<{
364
+ level: alepha225.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
365
+ message: alepha225.TString;
366
+ service: alepha225.TString;
367
+ module: alepha225.TString;
368
+ context: alepha225.TOptional<alepha225.TString>;
369
+ app: alepha225.TOptional<alepha225.TString>;
370
+ data: alepha225.TOptional<alepha225.TAny>;
371
+ timestamp: alepha225.TNumber;
372
372
  }>>>;
373
373
  }>>;
374
374
  getJobs(): Promise<string[]>;
375
- getJobExecutions(query?: JobExecutionQuery): Promise<alepha224.Page<alepha_orm0.PgStatic<alepha224.TObject<{
376
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
377
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
378
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
379
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
380
- finishedAt: alepha224.TOptional<alepha224.TString>;
381
- job: alepha224.TString;
382
- status: alepha224.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
383
- error: alepha224.TOptional<alepha224.TString>;
384
- logs: alepha224.TOptional<alepha224.TArray<alepha224.TObject<{
385
- level: alepha224.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
386
- message: alepha224.TString;
387
- service: alepha224.TString;
388
- module: alepha224.TString;
389
- context: alepha224.TOptional<alepha224.TString>;
390
- app: alepha224.TOptional<alepha224.TString>;
391
- data: alepha224.TOptional<alepha224.TAny>;
392
- timestamp: alepha224.TNumber;
375
+ getJobExecutions(query?: JobExecutionQuery): Promise<alepha225.Page<alepha_orm0.PgStatic<alepha225.TObject<{
376
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
377
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
378
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
379
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
380
+ finishedAt: alepha225.TOptional<alepha225.TString>;
381
+ job: alepha225.TString;
382
+ status: alepha225.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
383
+ error: alepha225.TOptional<alepha225.TString>;
384
+ logs: alepha225.TOptional<alepha225.TArray<alepha225.TObject<{
385
+ level: alepha225.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
386
+ message: alepha225.TString;
387
+ service: alepha225.TString;
388
+ module: alepha225.TString;
389
+ context: alepha225.TOptional<alepha225.TString>;
390
+ app: alepha225.TOptional<alepha225.TString>;
391
+ data: alepha225.TOptional<alepha225.TAny>;
392
+ timestamp: alepha225.TNumber;
393
393
  }>>>;
394
- }>, alepha_orm0.PgRelationMap<alepha224.TObject<{
395
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
396
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
397
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
398
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
399
- finishedAt: alepha224.TOptional<alepha224.TString>;
400
- job: alepha224.TString;
401
- status: alepha224.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
402
- error: alepha224.TOptional<alepha224.TString>;
403
- logs: alepha224.TOptional<alepha224.TArray<alepha224.TObject<{
404
- level: alepha224.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
405
- message: alepha224.TString;
406
- service: alepha224.TString;
407
- module: alepha224.TString;
408
- context: alepha224.TOptional<alepha224.TString>;
409
- app: alepha224.TOptional<alepha224.TString>;
410
- data: alepha224.TOptional<alepha224.TAny>;
411
- timestamp: alepha224.TNumber;
394
+ }>, alepha_orm0.PgRelationMap<alepha225.TObject<{
395
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
396
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
397
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
398
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
399
+ finishedAt: alepha225.TOptional<alepha225.TString>;
400
+ job: alepha225.TString;
401
+ status: alepha225.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
402
+ error: alepha225.TOptional<alepha225.TString>;
403
+ logs: alepha225.TOptional<alepha225.TArray<alepha225.TObject<{
404
+ level: alepha225.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
405
+ message: alepha225.TString;
406
+ service: alepha225.TString;
407
+ module: alepha225.TString;
408
+ context: alepha225.TOptional<alepha225.TString>;
409
+ app: alepha225.TOptional<alepha225.TString>;
410
+ data: alepha225.TOptional<alepha225.TAny>;
411
+ timestamp: alepha225.TNumber;
412
412
  }>>>;
413
413
  }>>>>>;
414
414
  triggerJob(name: string): Promise<{
@@ -422,75 +422,75 @@ declare class JobController {
422
422
  protected readonly group: string;
423
423
  protected readonly jobService: JobService;
424
424
  readonly getJobs: alepha_server0.ActionPrimitiveFn<{
425
- response: alepha224.TArray<alepha224.TString>;
425
+ response: alepha225.TArray<alepha225.TString>;
426
426
  }>;
427
427
  readonly getJobExecutions: alepha_server0.ActionPrimitiveFn<{
428
- query: alepha224.TObject<{
429
- page: alepha224.TOptional<alepha224.TInteger>;
430
- size: alepha224.TOptional<alepha224.TInteger>;
431
- sort: alepha224.TOptional<alepha224.TString>;
432
- status: alepha224.TOptional<alepha224.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
433
- job: alepha224.TOptional<alepha224.TString>;
428
+ query: alepha225.TObject<{
429
+ page: alepha225.TOptional<alepha225.TInteger>;
430
+ size: alepha225.TOptional<alepha225.TInteger>;
431
+ sort: alepha225.TOptional<alepha225.TString>;
432
+ status: alepha225.TOptional<alepha225.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
433
+ job: alepha225.TOptional<alepha225.TString>;
434
434
  }>;
435
- response: alepha224.TPage<alepha224.TObject<{
436
- id: PgAttr<PgAttr<alepha224.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
437
- version: PgAttr<PgAttr<alepha224.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
438
- createdAt: PgAttr<PgAttr<alepha224.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
439
- updatedAt: PgAttr<PgAttr<alepha224.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
440
- finishedAt: alepha224.TOptional<alepha224.TString>;
441
- job: alepha224.TString;
442
- status: alepha224.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
443
- error: alepha224.TOptional<alepha224.TString>;
444
- logs: alepha224.TOptional<alepha224.TArray<alepha224.TObject<{
445
- level: alepha224.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
446
- message: alepha224.TString;
447
- service: alepha224.TString;
448
- module: alepha224.TString;
449
- context: alepha224.TOptional<alepha224.TString>;
450
- app: alepha224.TOptional<alepha224.TString>;
451
- data: alepha224.TOptional<alepha224.TAny>;
452
- timestamp: alepha224.TNumber;
435
+ response: alepha225.TPage<alepha225.TObject<{
436
+ id: PgAttr<PgAttr<alepha225.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
437
+ version: PgAttr<PgAttr<alepha225.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
438
+ createdAt: PgAttr<PgAttr<alepha225.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
439
+ updatedAt: PgAttr<PgAttr<alepha225.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
440
+ finishedAt: alepha225.TOptional<alepha225.TString>;
441
+ job: alepha225.TString;
442
+ status: alepha225.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
443
+ error: alepha225.TOptional<alepha225.TString>;
444
+ logs: alepha225.TOptional<alepha225.TArray<alepha225.TObject<{
445
+ level: alepha225.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
446
+ message: alepha225.TString;
447
+ service: alepha225.TString;
448
+ module: alepha225.TString;
449
+ context: alepha225.TOptional<alepha225.TString>;
450
+ app: alepha225.TOptional<alepha225.TString>;
451
+ data: alepha225.TOptional<alepha225.TAny>;
452
+ timestamp: alepha225.TNumber;
453
453
  }>>>;
454
454
  }>>;
455
455
  }>;
456
456
  readonly triggerJob: alepha_server0.ActionPrimitiveFn<{
457
- body: alepha224.TObject<{
458
- name: alepha224.TString;
457
+ body: alepha225.TObject<{
458
+ name: alepha225.TString;
459
459
  }>;
460
- response: alepha224.TObject<{
461
- ok: alepha224.TBoolean;
462
- id: alepha224.TOptional<alepha224.TUnion<[alepha224.TString, alepha224.TInteger]>>;
463
- count: alepha224.TOptional<alepha224.TNumber>;
460
+ response: alepha225.TObject<{
461
+ ok: alepha225.TBoolean;
462
+ id: alepha225.TOptional<alepha225.TUnion<[alepha225.TString, alepha225.TInteger]>>;
463
+ count: alepha225.TOptional<alepha225.TNumber>;
464
464
  }>;
465
465
  }>;
466
466
  }
467
467
  //#endregion
468
468
  //#region src/api-jobs/entities/jobExecutions.d.ts
469
- declare const jobExecutions: alepha_orm0.EntityPrimitive<alepha224.TObject<{
470
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
471
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
472
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
473
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
474
- finishedAt: alepha224.TOptional<alepha224.TString>;
475
- job: alepha224.TString;
476
- status: alepha224.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
477
- error: alepha224.TOptional<alepha224.TString>;
478
- logs: alepha224.TOptional<alepha224.TArray<alepha224.TObject<{
479
- level: alepha224.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
480
- message: alepha224.TString;
481
- service: alepha224.TString;
482
- module: alepha224.TString;
483
- context: alepha224.TOptional<alepha224.TString>;
484
- app: alepha224.TOptional<alepha224.TString>;
485
- data: alepha224.TOptional<alepha224.TAny>;
486
- timestamp: alepha224.TNumber;
469
+ declare const jobExecutions: alepha_orm0.EntityPrimitive<alepha225.TObject<{
470
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
471
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
472
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
473
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
474
+ finishedAt: alepha225.TOptional<alepha225.TString>;
475
+ job: alepha225.TString;
476
+ status: alepha225.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
477
+ error: alepha225.TOptional<alepha225.TString>;
478
+ logs: alepha225.TOptional<alepha225.TArray<alepha225.TObject<{
479
+ level: alepha225.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
480
+ message: alepha225.TString;
481
+ service: alepha225.TString;
482
+ module: alepha225.TString;
483
+ context: alepha225.TOptional<alepha225.TString>;
484
+ app: alepha225.TOptional<alepha225.TString>;
485
+ data: alepha225.TOptional<alepha225.TAny>;
486
+ timestamp: alepha225.TNumber;
487
487
  }>>>;
488
488
  }>>;
489
489
  type JobExecutionEntity = Static<typeof jobExecutions.schema>;
490
490
  //#endregion
491
491
  //#region src/api-jobs/providers/JobProvider.d.ts
492
- declare const envSchema: alepha224.TObject<{
493
- JOB_PREFIX: alepha224.TOptional<alepha224.TString>;
492
+ declare const envSchema: alepha225.TObject<{
493
+ JOB_PREFIX: alepha225.TOptional<alepha225.TString>;
494
494
  }>;
495
495
  declare module "alepha" {
496
496
  interface Env extends Partial<Static<typeof envSchema>> {}
@@ -503,24 +503,24 @@ declare class JobProvider {
503
503
  protected readonly alepha: Alepha;
504
504
  protected readonly dateTimeProvider: DateTimeProvider;
505
505
  protected readonly cronProvider: CronProvider;
506
- protected readonly executionRepository: alepha_orm0.Repository<alepha224.TObject<{
507
- id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
508
- version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
509
- createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
510
- updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha224.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
511
- finishedAt: alepha224.TOptional<alepha224.TString>;
512
- job: alepha224.TString;
513
- status: alepha224.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
514
- error: alepha224.TOptional<alepha224.TString>;
515
- logs: alepha224.TOptional<alepha224.TArray<alepha224.TObject<{
516
- level: alepha224.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
517
- message: alepha224.TString;
518
- service: alepha224.TString;
519
- module: alepha224.TString;
520
- context: alepha224.TOptional<alepha224.TString>;
521
- app: alepha224.TOptional<alepha224.TString>;
522
- data: alepha224.TOptional<alepha224.TAny>;
523
- timestamp: alepha224.TNumber;
506
+ protected readonly executionRepository: alepha_orm0.Repository<alepha225.TObject<{
507
+ id: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_PRIMARY_KEY>, typeof alepha_orm0.PG_DEFAULT>;
508
+ version: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TInteger, typeof alepha_orm0.PG_VERSION>, typeof alepha_orm0.PG_DEFAULT>;
509
+ createdAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_CREATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
510
+ updatedAt: alepha_orm0.PgAttr<alepha_orm0.PgAttr<alepha225.TString, typeof alepha_orm0.PG_UPDATED_AT>, typeof alepha_orm0.PG_DEFAULT>;
511
+ finishedAt: alepha225.TOptional<alepha225.TString>;
512
+ job: alepha225.TString;
513
+ status: alepha225.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
514
+ error: alepha225.TOptional<alepha225.TString>;
515
+ logs: alepha225.TOptional<alepha225.TArray<alepha225.TObject<{
516
+ level: alepha225.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
517
+ message: alepha225.TString;
518
+ service: alepha225.TString;
519
+ module: alepha225.TString;
520
+ context: alepha225.TOptional<alepha225.TString>;
521
+ app: alepha225.TOptional<alepha225.TString>;
522
+ data: alepha225.TOptional<alepha225.TAny>;
523
+ timestamp: alepha225.TNumber;
524
524
  }>>>;
525
525
  }>>;
526
526
  protected readonly env: {
@@ -614,31 +614,31 @@ interface JobHandlerArguments {
614
614
  }
615
615
  //#endregion
616
616
  //#region src/api-jobs/schemas/jobExecutionResourceSchema.d.ts
617
- declare const jobExecutionResourceSchema: alepha224.TObject<{
618
- id: PgAttr<PgAttr<alepha224.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
619
- version: PgAttr<PgAttr<alepha224.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
620
- createdAt: PgAttr<PgAttr<alepha224.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
621
- updatedAt: PgAttr<PgAttr<alepha224.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
622
- finishedAt: alepha224.TOptional<alepha224.TString>;
623
- job: alepha224.TString;
624
- status: alepha224.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
625
- error: alepha224.TOptional<alepha224.TString>;
626
- logs: alepha224.TOptional<alepha224.TArray<alepha224.TObject<{
627
- level: alepha224.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
628
- message: alepha224.TString;
629
- service: alepha224.TString;
630
- module: alepha224.TString;
631
- context: alepha224.TOptional<alepha224.TString>;
632
- app: alepha224.TOptional<alepha224.TString>;
633
- data: alepha224.TOptional<alepha224.TAny>;
634
- timestamp: alepha224.TNumber;
617
+ declare const jobExecutionResourceSchema: alepha225.TObject<{
618
+ id: PgAttr<PgAttr<alepha225.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
619
+ version: PgAttr<PgAttr<alepha225.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
620
+ createdAt: PgAttr<PgAttr<alepha225.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
621
+ updatedAt: PgAttr<PgAttr<alepha225.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
622
+ finishedAt: alepha225.TOptional<alepha225.TString>;
623
+ job: alepha225.TString;
624
+ status: alepha225.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
625
+ error: alepha225.TOptional<alepha225.TString>;
626
+ logs: alepha225.TOptional<alepha225.TArray<alepha225.TObject<{
627
+ level: alepha225.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
628
+ message: alepha225.TString;
629
+ service: alepha225.TString;
630
+ module: alepha225.TString;
631
+ context: alepha225.TOptional<alepha225.TString>;
632
+ app: alepha225.TOptional<alepha225.TString>;
633
+ data: alepha225.TOptional<alepha225.TAny>;
634
+ timestamp: alepha225.TNumber;
635
635
  }>>>;
636
636
  }>;
637
637
  type JobExecutionResource = Static<typeof jobExecutionResourceSchema>;
638
638
  //#endregion
639
639
  //#region src/api-jobs/schemas/triggerJobSchema.d.ts
640
- declare const triggerJobSchema: alepha224.TObject<{
641
- name: alepha224.TString;
640
+ declare const triggerJobSchema: alepha225.TObject<{
641
+ name: alepha225.TString;
642
642
  }>;
643
643
  type TriggerJob = Static<typeof triggerJobSchema>;
644
644
  //#endregion
@@ -651,7 +651,7 @@ type TriggerJob = Static<typeof triggerJobSchema>;
651
651
  *
652
652
  * @module alepha.api.jobs
653
653
  */
654
- declare const AlephaApiJobs: alepha224.Service<alepha224.Module>;
654
+ declare const AlephaApiJobs: alepha225.Service<alepha225.Module>;
655
655
  //#endregion
656
656
  export { $job, AlephaApiJobs, Job, JobController, JobExecutionEntity, JobExecutionQuery, JobExecutionResource, JobHandlerArguments, JobPrimitive, JobPrimitiveOptions, JobProvider, JobRegistration, JobService, TriggerJob, jobExecutionQuerySchema, jobExecutionResourceSchema, jobExecutions, triggerJobSchema };
657
657
  //# sourceMappingURL=index.d.ts.map