alepha 0.11.3 → 0.11.5

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/files.d.ts CHANGED
@@ -264,7 +264,7 @@ declare class FileController {
264
264
  createdAfter: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
265
265
  createdBefore: typebox25.TOptional<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>>;
266
266
  }>;
267
- response: _alepha_postgres16.TPage<typebox25.TObject<{
267
+ response: _alepha_core1.TPage<typebox25.TObject<{
268
268
  id: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TString, typeof _alepha_postgres16.PG_PRIMARY_KEY>, typeof _alepha_postgres16.PG_DEFAULT>;
269
269
  version: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TInteger, typeof _alepha_postgres16.PG_VERSION>, typeof _alepha_postgres16.PG_DEFAULT>;
270
270
  createdAt: _alepha_postgres16.PgAttr<_alepha_postgres16.PgAttr<typebox25.TCodec<typebox25.TString, dayjs2.Dayjs>, typeof _alepha_postgres16.PG_CREATED_AT>, typeof _alepha_postgres16.PG_DEFAULT>;
package/api/jobs.d.ts CHANGED
@@ -1,44 +1,44 @@
1
- import * as _alepha_core1 from "alepha";
1
+ import * as _alepha_core2 from "alepha";
2
2
  import { Alepha, Static } from "alepha";
3
3
  import "alepha/scheduler";
4
4
  import "alepha/server/security";
5
- import * as _alepha_postgres0 from "alepha/postgres";
5
+ import * as _alepha_postgres48 from "alepha/postgres";
6
6
  import * as _alepha_server0 from "alepha/server";
7
7
  import { DateTimeProvider } from "alepha/datetime";
8
- import * as typebox86 from "typebox";
9
- import * as dayjs0 from "dayjs";
8
+ import * as typebox82 from "typebox";
9
+ import * as dayjs11 from "dayjs";
10
10
 
11
11
  //#region src/schemas/jobExecutionQuerySchema.d.ts
12
- declare const jobExecutionQuerySchema: typebox86.TObject<{
13
- page: typebox86.TOptional<typebox86.TInteger>;
14
- size: typebox86.TOptional<typebox86.TInteger>;
15
- sort: typebox86.TOptional<typebox86.TString>;
16
- status: typebox86.TOptional<typebox86.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
17
- job: typebox86.TOptional<typebox86.TString>;
12
+ declare const jobExecutionQuerySchema: typebox82.TObject<{
13
+ page: typebox82.TOptional<typebox82.TInteger>;
14
+ size: typebox82.TOptional<typebox82.TInteger>;
15
+ sort: typebox82.TOptional<typebox82.TString>;
16
+ status: typebox82.TOptional<typebox82.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
17
+ job: typebox82.TOptional<typebox82.TString>;
18
18
  }>;
19
19
  type JobExecutionQuery = Static<typeof jobExecutionQuerySchema>;
20
20
  //#endregion
21
21
  //#region src/services/JobService.d.ts
22
22
  declare class JobService {
23
23
  protected readonly alepha: Alepha;
24
- protected readonly executionRepository: _alepha_postgres0.RepositoryDescriptor<typebox86.TObject<{
25
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
26
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
27
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
28
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
29
- finishedAt: typebox86.TOptional<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>>;
30
- job: typebox86.TString;
31
- status: typebox86.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
32
- error: typebox86.TOptional<typebox86.TString>;
33
- logs: typebox86.TOptional<typebox86.TArray<typebox86.TObject<{
34
- level: typebox86.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
35
- message: typebox86.TString;
36
- service: typebox86.TString;
37
- module: typebox86.TString;
38
- context: typebox86.TOptional<typebox86.TString>;
39
- app: typebox86.TOptional<typebox86.TString>;
40
- data: typebox86.TOptional<typebox86.TAny>;
41
- timestamp: typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>;
24
+ protected readonly executionRepository: _alepha_postgres48.RepositoryDescriptor<typebox82.TObject<{
25
+ id: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TString, typeof _alepha_postgres48.PG_PRIMARY_KEY>, typeof _alepha_postgres48.PG_DEFAULT>;
26
+ version: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TInteger, typeof _alepha_postgres48.PG_VERSION>, typeof _alepha_postgres48.PG_DEFAULT>;
27
+ createdAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_CREATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
28
+ updatedAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_UPDATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
29
+ finishedAt: typebox82.TOptional<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>>;
30
+ job: typebox82.TString;
31
+ status: typebox82.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
32
+ error: typebox82.TOptional<typebox82.TString>;
33
+ logs: typebox82.TOptional<typebox82.TArray<typebox82.TObject<{
34
+ level: typebox82.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
35
+ message: typebox82.TString;
36
+ service: typebox82.TString;
37
+ module: typebox82.TString;
38
+ context: typebox82.TOptional<typebox82.TString>;
39
+ app: typebox82.TOptional<typebox82.TString>;
40
+ data: typebox82.TOptional<typebox82.TAny>;
41
+ timestamp: typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>;
42
42
  }>>>;
43
43
  }>>;
44
44
  protected readonly dtp: DateTimeProvider;
@@ -50,51 +50,51 @@ declare class JobService {
50
50
  message: string;
51
51
  service: string;
52
52
  module: string;
53
- timestamp: dayjs0.Dayjs;
53
+ timestamp: dayjs11.Dayjs;
54
54
  }[]>;
55
- protected readonly onLogs: _alepha_core1.HookDescriptor<"log">;
56
- protected readonly onSchedulerBegin: _alepha_core1.HookDescriptor<"scheduler:begin">;
57
- protected readonly onSchedulerError: _alepha_core1.HookDescriptor<"scheduler:error">;
58
- readonly onSchedulerSuccess: _alepha_core1.HookDescriptor<"scheduler:success">;
59
- readonly onSchedulerEnd: _alepha_core1.HookDescriptor<"scheduler:end">;
55
+ protected readonly onLogs: _alepha_core2.HookDescriptor<"log">;
56
+ protected readonly onSchedulerBegin: _alepha_core2.HookDescriptor<"scheduler:begin">;
57
+ protected readonly onSchedulerError: _alepha_core2.HookDescriptor<"scheduler:error">;
58
+ readonly onSchedulerSuccess: _alepha_core2.HookDescriptor<"scheduler:success">;
59
+ readonly onSchedulerEnd: _alepha_core2.HookDescriptor<"scheduler:end">;
60
60
  getJobs(): Promise<string[]>;
61
- getJobExecutions(query?: JobExecutionQuery): Promise<_alepha_postgres0.Page<_alepha_postgres0.PgStatic<typebox86.TObject<{
62
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
63
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
64
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
65
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
66
- finishedAt: typebox86.TOptional<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>>;
67
- job: typebox86.TString;
68
- status: typebox86.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
69
- error: typebox86.TOptional<typebox86.TString>;
70
- logs: typebox86.TOptional<typebox86.TArray<typebox86.TObject<{
71
- level: typebox86.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
72
- message: typebox86.TString;
73
- service: typebox86.TString;
74
- module: typebox86.TString;
75
- context: typebox86.TOptional<typebox86.TString>;
76
- app: typebox86.TOptional<typebox86.TString>;
77
- data: typebox86.TOptional<typebox86.TAny>;
78
- timestamp: typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>;
61
+ getJobExecutions(query?: JobExecutionQuery): Promise<_alepha_core2.Page<_alepha_postgres48.PgStatic<typebox82.TObject<{
62
+ id: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TString, typeof _alepha_postgres48.PG_PRIMARY_KEY>, typeof _alepha_postgres48.PG_DEFAULT>;
63
+ version: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TInteger, typeof _alepha_postgres48.PG_VERSION>, typeof _alepha_postgres48.PG_DEFAULT>;
64
+ createdAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_CREATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
65
+ updatedAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_UPDATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
66
+ finishedAt: typebox82.TOptional<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>>;
67
+ job: typebox82.TString;
68
+ status: typebox82.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
69
+ error: typebox82.TOptional<typebox82.TString>;
70
+ logs: typebox82.TOptional<typebox82.TArray<typebox82.TObject<{
71
+ level: typebox82.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
72
+ message: typebox82.TString;
73
+ service: typebox82.TString;
74
+ module: typebox82.TString;
75
+ context: typebox82.TOptional<typebox82.TString>;
76
+ app: typebox82.TOptional<typebox82.TString>;
77
+ data: typebox82.TOptional<typebox82.TAny>;
78
+ timestamp: typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>;
79
79
  }>>>;
80
- }>, _alepha_postgres0.PgRelationMap<typebox86.TObject<{
81
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
82
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
83
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
84
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
85
- finishedAt: typebox86.TOptional<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>>;
86
- job: typebox86.TString;
87
- status: typebox86.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
88
- error: typebox86.TOptional<typebox86.TString>;
89
- logs: typebox86.TOptional<typebox86.TArray<typebox86.TObject<{
90
- level: typebox86.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
91
- message: typebox86.TString;
92
- service: typebox86.TString;
93
- module: typebox86.TString;
94
- context: typebox86.TOptional<typebox86.TString>;
95
- app: typebox86.TOptional<typebox86.TString>;
96
- data: typebox86.TOptional<typebox86.TAny>;
97
- timestamp: typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>;
80
+ }>, _alepha_postgres48.PgRelationMap<typebox82.TObject<{
81
+ id: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TString, typeof _alepha_postgres48.PG_PRIMARY_KEY>, typeof _alepha_postgres48.PG_DEFAULT>;
82
+ version: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TInteger, typeof _alepha_postgres48.PG_VERSION>, typeof _alepha_postgres48.PG_DEFAULT>;
83
+ createdAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_CREATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
84
+ updatedAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_UPDATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
85
+ finishedAt: typebox82.TOptional<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>>;
86
+ job: typebox82.TString;
87
+ status: typebox82.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
88
+ error: typebox82.TOptional<typebox82.TString>;
89
+ logs: typebox82.TOptional<typebox82.TArray<typebox82.TObject<{
90
+ level: typebox82.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
91
+ message: typebox82.TString;
92
+ service: typebox82.TString;
93
+ module: typebox82.TString;
94
+ context: typebox82.TOptional<typebox82.TString>;
95
+ app: typebox82.TOptional<typebox82.TString>;
96
+ data: typebox82.TOptional<typebox82.TAny>;
97
+ timestamp: typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>;
98
98
  }>>>;
99
99
  }>>>>>;
100
100
  triggerJob(name: string): Promise<{
@@ -108,98 +108,98 @@ declare class JobController {
108
108
  protected readonly group: string;
109
109
  protected readonly jobService: JobService;
110
110
  readonly getJobs: _alepha_server0.ActionDescriptorFn<{
111
- response: typebox86.TArray<typebox86.TString>;
111
+ response: typebox82.TArray<typebox82.TString>;
112
112
  }>;
113
113
  readonly getJobExecutions: _alepha_server0.ActionDescriptorFn<{
114
- query: typebox86.TObject<{
115
- page: typebox86.TOptional<typebox86.TInteger>;
116
- size: typebox86.TOptional<typebox86.TInteger>;
117
- sort: typebox86.TOptional<typebox86.TString>;
118
- status: typebox86.TOptional<typebox86.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
119
- job: typebox86.TOptional<typebox86.TString>;
114
+ query: typebox82.TObject<{
115
+ page: typebox82.TOptional<typebox82.TInteger>;
116
+ size: typebox82.TOptional<typebox82.TInteger>;
117
+ sort: typebox82.TOptional<typebox82.TString>;
118
+ status: typebox82.TOptional<typebox82.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
119
+ job: typebox82.TOptional<typebox82.TString>;
120
120
  }>;
121
- response: _alepha_postgres0.TPage<typebox86.TObject<{
122
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
123
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
124
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
125
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
126
- finishedAt: typebox86.TOptional<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>>;
127
- job: typebox86.TString;
128
- status: typebox86.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
129
- error: typebox86.TOptional<typebox86.TString>;
130
- logs: typebox86.TOptional<typebox86.TArray<typebox86.TObject<{
131
- level: typebox86.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
132
- message: typebox86.TString;
133
- service: typebox86.TString;
134
- module: typebox86.TString;
135
- context: typebox86.TOptional<typebox86.TString>;
136
- app: typebox86.TOptional<typebox86.TString>;
137
- data: typebox86.TOptional<typebox86.TAny>;
138
- timestamp: typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>;
121
+ response: _alepha_core2.TPage<typebox82.TObject<{
122
+ id: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TString, typeof _alepha_postgres48.PG_PRIMARY_KEY>, typeof _alepha_postgres48.PG_DEFAULT>;
123
+ version: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TInteger, typeof _alepha_postgres48.PG_VERSION>, typeof _alepha_postgres48.PG_DEFAULT>;
124
+ createdAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_CREATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
125
+ updatedAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_UPDATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
126
+ finishedAt: typebox82.TOptional<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>>;
127
+ job: typebox82.TString;
128
+ status: typebox82.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
129
+ error: typebox82.TOptional<typebox82.TString>;
130
+ logs: typebox82.TOptional<typebox82.TArray<typebox82.TObject<{
131
+ level: typebox82.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
132
+ message: typebox82.TString;
133
+ service: typebox82.TString;
134
+ module: typebox82.TString;
135
+ context: typebox82.TOptional<typebox82.TString>;
136
+ app: typebox82.TOptional<typebox82.TString>;
137
+ data: typebox82.TOptional<typebox82.TAny>;
138
+ timestamp: typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>;
139
139
  }>>>;
140
140
  }>>;
141
141
  }>;
142
142
  readonly triggerJob: _alepha_server0.ActionDescriptorFn<{
143
- body: typebox86.TObject<{
144
- name: typebox86.TString;
143
+ body: typebox82.TObject<{
144
+ name: typebox82.TString;
145
145
  }>;
146
- response: typebox86.TObject<{
147
- ok: typebox86.TBoolean;
148
- id: typebox86.TOptional<typebox86.TUnion<[typebox86.TString, typebox86.TInteger]>>;
149
- count: typebox86.TOptional<typebox86.TNumber>;
146
+ response: typebox82.TObject<{
147
+ ok: typebox82.TBoolean;
148
+ id: typebox82.TOptional<typebox82.TUnion<[typebox82.TString, typebox82.TInteger]>>;
149
+ count: typebox82.TOptional<typebox82.TNumber>;
150
150
  }>;
151
151
  }>;
152
152
  }
153
153
  //#endregion
154
154
  //#region src/entities/jobExecutions.d.ts
155
- declare const jobExecutions: _alepha_postgres0.EntityDescriptor<typebox86.TObject<{
156
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
157
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
158
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
159
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
160
- finishedAt: typebox86.TOptional<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>>;
161
- job: typebox86.TString;
162
- status: typebox86.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
163
- error: typebox86.TOptional<typebox86.TString>;
164
- logs: typebox86.TOptional<typebox86.TArray<typebox86.TObject<{
165
- level: typebox86.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
166
- message: typebox86.TString;
167
- service: typebox86.TString;
168
- module: typebox86.TString;
169
- context: typebox86.TOptional<typebox86.TString>;
170
- app: typebox86.TOptional<typebox86.TString>;
171
- data: typebox86.TOptional<typebox86.TAny>;
172
- timestamp: typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>;
155
+ declare const jobExecutions: _alepha_postgres48.EntityDescriptor<typebox82.TObject<{
156
+ id: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TString, typeof _alepha_postgres48.PG_PRIMARY_KEY>, typeof _alepha_postgres48.PG_DEFAULT>;
157
+ version: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TInteger, typeof _alepha_postgres48.PG_VERSION>, typeof _alepha_postgres48.PG_DEFAULT>;
158
+ createdAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_CREATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
159
+ updatedAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_UPDATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
160
+ finishedAt: typebox82.TOptional<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>>;
161
+ job: typebox82.TString;
162
+ status: typebox82.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
163
+ error: typebox82.TOptional<typebox82.TString>;
164
+ logs: typebox82.TOptional<typebox82.TArray<typebox82.TObject<{
165
+ level: typebox82.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
166
+ message: typebox82.TString;
167
+ service: typebox82.TString;
168
+ module: typebox82.TString;
169
+ context: typebox82.TOptional<typebox82.TString>;
170
+ app: typebox82.TOptional<typebox82.TString>;
171
+ data: typebox82.TOptional<typebox82.TAny>;
172
+ timestamp: typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>;
173
173
  }>>>;
174
174
  }>>;
175
175
  type JobExecutionEntity = Static<typeof jobExecutions.schema>;
176
176
  //#endregion
177
177
  //#region src/schemas/jobExecutionResourceSchema.d.ts
178
- declare const jobExecutionResourceSchema: typebox86.TObject<{
179
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
180
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
181
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
182
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
183
- finishedAt: typebox86.TOptional<typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>>;
184
- job: typebox86.TString;
185
- status: typebox86.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
186
- error: typebox86.TOptional<typebox86.TString>;
187
- logs: typebox86.TOptional<typebox86.TArray<typebox86.TObject<{
188
- level: typebox86.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
189
- message: typebox86.TString;
190
- service: typebox86.TString;
191
- module: typebox86.TString;
192
- context: typebox86.TOptional<typebox86.TString>;
193
- app: typebox86.TOptional<typebox86.TString>;
194
- data: typebox86.TOptional<typebox86.TAny>;
195
- timestamp: typebox86.TCodec<typebox86.TString, dayjs0.Dayjs>;
178
+ declare const jobExecutionResourceSchema: typebox82.TObject<{
179
+ id: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TString, typeof _alepha_postgres48.PG_PRIMARY_KEY>, typeof _alepha_postgres48.PG_DEFAULT>;
180
+ version: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TInteger, typeof _alepha_postgres48.PG_VERSION>, typeof _alepha_postgres48.PG_DEFAULT>;
181
+ createdAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_CREATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
182
+ updatedAt: _alepha_postgres48.PgAttr<_alepha_postgres48.PgAttr<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>, typeof _alepha_postgres48.PG_UPDATED_AT>, typeof _alepha_postgres48.PG_DEFAULT>;
183
+ finishedAt: typebox82.TOptional<typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>>;
184
+ job: typebox82.TString;
185
+ status: typebox82.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
186
+ error: typebox82.TOptional<typebox82.TString>;
187
+ logs: typebox82.TOptional<typebox82.TArray<typebox82.TObject<{
188
+ level: typebox82.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
189
+ message: typebox82.TString;
190
+ service: typebox82.TString;
191
+ module: typebox82.TString;
192
+ context: typebox82.TOptional<typebox82.TString>;
193
+ app: typebox82.TOptional<typebox82.TString>;
194
+ data: typebox82.TOptional<typebox82.TAny>;
195
+ timestamp: typebox82.TCodec<typebox82.TString, dayjs11.Dayjs>;
196
196
  }>>>;
197
197
  }>;
198
198
  type JobExecutionResource = Static<typeof jobExecutionResourceSchema>;
199
199
  //#endregion
200
200
  //#region src/schemas/triggerJobSchema.d.ts
201
- declare const triggerJobSchema: typebox86.TObject<{
202
- name: typebox86.TString;
201
+ declare const triggerJobSchema: typebox82.TObject<{
202
+ name: typebox82.TString;
203
203
  }>;
204
204
  type TriggerJob = Static<typeof triggerJobSchema>;
205
205
  //#endregion
@@ -212,7 +212,7 @@ type TriggerJob = Static<typeof triggerJobSchema>;
212
212
  *
213
213
  * @module alepha.api.jobs
214
214
  */
215
- declare const AlephaApiJobs: _alepha_core1.Service<_alepha_core1.Module<{}>>;
215
+ declare const AlephaApiJobs: _alepha_core2.Service<_alepha_core2.Module<{}>>;
216
216
  //#endregion
217
217
  export { AlephaApiJobs, JobController, JobExecutionEntity, JobExecutionQuery, JobExecutionResource, JobService, TriggerJob, jobExecutionQuerySchema, jobExecutionResourceSchema, jobExecutions, triggerJobSchema };
218
218
  //# sourceMappingURL=index.d.ts.map