alepha 0.10.5 → 0.10.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.
package/api/jobs.d.ts CHANGED
@@ -2,80 +2,80 @@ import * as _alepha_core1 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_postgres83 from "alepha/postgres";
6
6
  import * as _alepha_server0 from "alepha/server";
7
7
  import { DateTimeProvider } from "alepha/datetime";
8
- import * as typebox197 from "typebox";
8
+ import * as typebox72 from "typebox";
9
9
 
10
10
  //#region src/schemas/jobExecutionQuerySchema.d.ts
11
- declare const jobExecutionQuerySchema: typebox197.TObject<{
12
- page: typebox197.TOptional<typebox197.TInteger>;
13
- size: typebox197.TOptional<typebox197.TInteger>;
14
- sort: typebox197.TOptional<typebox197.TString>;
15
- status: typebox197.TOptional<typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
16
- job: typebox197.TOptional<typebox197.TString>;
11
+ declare const jobExecutionQuerySchema: typebox72.TObject<{
12
+ page: typebox72.TOptional<typebox72.TInteger>;
13
+ size: typebox72.TOptional<typebox72.TInteger>;
14
+ sort: typebox72.TOptional<typebox72.TString>;
15
+ status: typebox72.TOptional<typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
16
+ job: typebox72.TOptional<typebox72.TString>;
17
17
  }>;
18
18
  type JobExecutionQuery = Static<typeof jobExecutionQuerySchema>;
19
19
  //#endregion
20
20
  //#region src/services/JobService.d.ts
21
21
  declare class JobService {
22
22
  protected readonly alepha: Alepha;
23
- protected readonly executionRepository: _alepha_postgres0.RepositoryDescriptor<_alepha_postgres0.PgTableConfig<"job_executions", typebox197.TObject<{
24
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
25
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
26
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
27
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
28
- finishedAt: typebox197.TOptional<typebox197.TString>;
29
- job: typebox197.TString;
30
- status: typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
31
- error: typebox197.TOptional<typebox197.TString>;
32
- logs: typebox197.TOptional<typebox197.TArray<typebox197.TObject<{
33
- level: typebox197.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
34
- message: typebox197.TString;
35
- service: typebox197.TString;
36
- module: typebox197.TString;
37
- context: typebox197.TOptional<typebox197.TString>;
38
- app: typebox197.TOptional<typebox197.TString>;
39
- data: typebox197.TOptional<typebox197.TAny>;
40
- timestamp: typebox197.TString;
23
+ protected readonly executionRepository: _alepha_postgres83.RepositoryDescriptor<_alepha_postgres83.PgTableConfig<"job_executions", typebox72.TObject<{
24
+ id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
25
+ version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
26
+ createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
27
+ updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
28
+ finishedAt: typebox72.TOptional<typebox72.TString>;
29
+ job: typebox72.TString;
30
+ status: typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
31
+ error: typebox72.TOptional<typebox72.TString>;
32
+ logs: typebox72.TOptional<typebox72.TArray<typebox72.TObject<{
33
+ level: typebox72.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
34
+ message: typebox72.TString;
35
+ service: typebox72.TString;
36
+ module: typebox72.TString;
37
+ context: typebox72.TOptional<typebox72.TString>;
38
+ app: typebox72.TOptional<typebox72.TString>;
39
+ data: typebox72.TOptional<typebox72.TAny>;
40
+ timestamp: typebox72.TString;
41
41
  }>>>;
42
- }>, _alepha_postgres0.FromSchema<typebox197.TObject<{
43
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
44
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
45
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
46
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
47
- finishedAt: typebox197.TOptional<typebox197.TString>;
48
- job: typebox197.TString;
49
- status: typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
50
- error: typebox197.TOptional<typebox197.TString>;
51
- logs: typebox197.TOptional<typebox197.TArray<typebox197.TObject<{
52
- level: typebox197.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
53
- message: typebox197.TString;
54
- service: typebox197.TString;
55
- module: typebox197.TString;
56
- context: typebox197.TOptional<typebox197.TString>;
57
- app: typebox197.TOptional<typebox197.TString>;
58
- data: typebox197.TOptional<typebox197.TAny>;
59
- timestamp: typebox197.TString;
42
+ }>, _alepha_postgres83.FromSchema<typebox72.TObject<{
43
+ id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
44
+ version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
45
+ createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
46
+ updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
47
+ finishedAt: typebox72.TOptional<typebox72.TString>;
48
+ job: typebox72.TString;
49
+ status: typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
50
+ error: typebox72.TOptional<typebox72.TString>;
51
+ logs: typebox72.TOptional<typebox72.TArray<typebox72.TObject<{
52
+ level: typebox72.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
53
+ message: typebox72.TString;
54
+ service: typebox72.TString;
55
+ module: typebox72.TString;
56
+ context: typebox72.TOptional<typebox72.TString>;
57
+ app: typebox72.TOptional<typebox72.TString>;
58
+ data: typebox72.TOptional<typebox72.TAny>;
59
+ timestamp: typebox72.TString;
60
60
  }>>>;
61
- }>>>, typebox197.TObject<{
62
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
63
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
64
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
65
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
66
- finishedAt: typebox197.TOptional<typebox197.TString>;
67
- job: typebox197.TString;
68
- status: typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
69
- error: typebox197.TOptional<typebox197.TString>;
70
- logs: typebox197.TOptional<typebox197.TArray<typebox197.TObject<{
71
- level: typebox197.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
72
- message: typebox197.TString;
73
- service: typebox197.TString;
74
- module: typebox197.TString;
75
- context: typebox197.TOptional<typebox197.TString>;
76
- app: typebox197.TOptional<typebox197.TString>;
77
- data: typebox197.TOptional<typebox197.TAny>;
78
- timestamp: typebox197.TString;
61
+ }>>>, typebox72.TObject<{
62
+ id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
63
+ version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
64
+ createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
65
+ updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
66
+ finishedAt: typebox72.TOptional<typebox72.TString>;
67
+ job: typebox72.TString;
68
+ status: typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
69
+ error: typebox72.TOptional<typebox72.TString>;
70
+ logs: typebox72.TOptional<typebox72.TArray<typebox72.TObject<{
71
+ level: typebox72.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
72
+ message: typebox72.TString;
73
+ service: typebox72.TString;
74
+ module: typebox72.TString;
75
+ context: typebox72.TOptional<typebox72.TString>;
76
+ app: typebox72.TOptional<typebox72.TString>;
77
+ data: typebox72.TOptional<typebox72.TAny>;
78
+ timestamp: typebox72.TString;
79
79
  }>>>;
80
80
  }>>;
81
81
  protected readonly dtp: DateTimeProvider;
@@ -95,7 +95,7 @@ declare class JobService {
95
95
  readonly onSchedulerSuccess: _alepha_core1.HookDescriptor<"scheduler:success">;
96
96
  readonly onSchedulerEnd: _alepha_core1.HookDescriptor<"scheduler:end">;
97
97
  getJobs(): Promise<string[]>;
98
- getJobExecutions(query?: JobExecutionQuery): Promise<_alepha_postgres0.Page<{
98
+ getJobExecutions(query?: JobExecutionQuery): Promise<_alepha_postgres83.Page<{
99
99
  finishedAt?: string | undefined;
100
100
  error?: string | undefined;
101
101
  logs?: {
@@ -108,12 +108,12 @@ declare class JobService {
108
108
  module: string;
109
109
  timestamp: string;
110
110
  }[] | undefined;
111
+ status: "STARTED" | "FAILED" | "COMPLETED";
112
+ job: string;
111
113
  id: string;
112
114
  version: number;
113
115
  createdAt: string;
114
116
  updatedAt: string;
115
- job: string;
116
- status: "STARTED" | "FAILED" | "COMPLETED";
117
117
  }>>;
118
118
  triggerJob(name: string): Promise<{
119
119
  ok: boolean;
@@ -126,136 +126,136 @@ declare class JobController {
126
126
  protected readonly group = "jobs";
127
127
  protected readonly jobService: JobService;
128
128
  readonly getJobs: _alepha_server0.ActionDescriptorFn<{
129
- response: typebox197.TArray<typebox197.TString>;
129
+ response: typebox72.TArray<typebox72.TString>;
130
130
  }>;
131
131
  readonly getJobExecutions: _alepha_server0.ActionDescriptorFn<{
132
- query: typebox197.TObject<{
133
- page: typebox197.TOptional<typebox197.TInteger>;
134
- size: typebox197.TOptional<typebox197.TInteger>;
135
- sort: typebox197.TOptional<typebox197.TString>;
136
- status: typebox197.TOptional<typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
137
- job: typebox197.TOptional<typebox197.TString>;
132
+ query: typebox72.TObject<{
133
+ page: typebox72.TOptional<typebox72.TInteger>;
134
+ size: typebox72.TOptional<typebox72.TInteger>;
135
+ sort: typebox72.TOptional<typebox72.TString>;
136
+ status: typebox72.TOptional<typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
137
+ job: typebox72.TOptional<typebox72.TString>;
138
138
  }>;
139
- response: _alepha_postgres0.TPage<typebox197.TObject<{
140
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
141
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
142
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
143
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
144
- finishedAt: typebox197.TOptional<typebox197.TString>;
145
- job: typebox197.TString;
146
- status: typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
147
- error: typebox197.TOptional<typebox197.TString>;
148
- logs: typebox197.TOptional<typebox197.TArray<typebox197.TObject<{
149
- level: typebox197.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
150
- message: typebox197.TString;
151
- service: typebox197.TString;
152
- module: typebox197.TString;
153
- context: typebox197.TOptional<typebox197.TString>;
154
- app: typebox197.TOptional<typebox197.TString>;
155
- data: typebox197.TOptional<typebox197.TAny>;
156
- timestamp: typebox197.TString;
139
+ response: _alepha_postgres83.TPage<typebox72.TObject<{
140
+ id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
141
+ version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
142
+ createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
143
+ updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
144
+ finishedAt: typebox72.TOptional<typebox72.TString>;
145
+ job: typebox72.TString;
146
+ status: typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
147
+ error: typebox72.TOptional<typebox72.TString>;
148
+ logs: typebox72.TOptional<typebox72.TArray<typebox72.TObject<{
149
+ level: typebox72.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
150
+ message: typebox72.TString;
151
+ service: typebox72.TString;
152
+ module: typebox72.TString;
153
+ context: typebox72.TOptional<typebox72.TString>;
154
+ app: typebox72.TOptional<typebox72.TString>;
155
+ data: typebox72.TOptional<typebox72.TAny>;
156
+ timestamp: typebox72.TString;
157
157
  }>>>;
158
158
  }>>;
159
159
  }>;
160
160
  readonly triggerJob: _alepha_server0.ActionDescriptorFn<{
161
- body: typebox197.TObject<{
162
- name: typebox197.TString;
161
+ body: typebox72.TObject<{
162
+ name: typebox72.TString;
163
163
  }>;
164
- response: typebox197.TObject<{
165
- ok: typebox197.TBoolean;
166
- id: typebox197.TOptional<typebox197.TUnion<[typebox197.TString, typebox197.TInteger]>>;
167
- count: typebox197.TOptional<typebox197.TNumber>;
164
+ response: typebox72.TObject<{
165
+ ok: typebox72.TBoolean;
166
+ id: typebox72.TOptional<typebox72.TUnion<[typebox72.TString, typebox72.TInteger]>>;
167
+ count: typebox72.TOptional<typebox72.TNumber>;
168
168
  }>;
169
169
  }>;
170
170
  }
171
171
  //#endregion
172
172
  //#region src/entities/jobExecutions.d.ts
173
- declare const jobExecutions: _alepha_postgres0.PgTableWithColumnsAndSchema<_alepha_postgres0.PgTableConfig<"job_executions", typebox197.TObject<{
174
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
175
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
176
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
177
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
178
- finishedAt: typebox197.TOptional<typebox197.TString>;
179
- job: typebox197.TString;
180
- status: typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
181
- error: typebox197.TOptional<typebox197.TString>;
182
- logs: typebox197.TOptional<typebox197.TArray<typebox197.TObject<{
183
- level: typebox197.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
184
- message: typebox197.TString;
185
- service: typebox197.TString;
186
- module: typebox197.TString;
187
- context: typebox197.TOptional<typebox197.TString>;
188
- app: typebox197.TOptional<typebox197.TString>;
189
- data: typebox197.TOptional<typebox197.TAny>;
190
- timestamp: typebox197.TString;
173
+ declare const jobExecutions: _alepha_postgres83.PgTableWithColumnsAndSchema<_alepha_postgres83.PgTableConfig<"job_executions", typebox72.TObject<{
174
+ id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
175
+ version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
176
+ createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
177
+ updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
178
+ finishedAt: typebox72.TOptional<typebox72.TString>;
179
+ job: typebox72.TString;
180
+ status: typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
181
+ error: typebox72.TOptional<typebox72.TString>;
182
+ logs: typebox72.TOptional<typebox72.TArray<typebox72.TObject<{
183
+ level: typebox72.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
184
+ message: typebox72.TString;
185
+ service: typebox72.TString;
186
+ module: typebox72.TString;
187
+ context: typebox72.TOptional<typebox72.TString>;
188
+ app: typebox72.TOptional<typebox72.TString>;
189
+ data: typebox72.TOptional<typebox72.TAny>;
190
+ timestamp: typebox72.TString;
191
191
  }>>>;
192
- }>, _alepha_postgres0.FromSchema<typebox197.TObject<{
193
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
194
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
195
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
196
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
197
- finishedAt: typebox197.TOptional<typebox197.TString>;
198
- job: typebox197.TString;
199
- status: typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
200
- error: typebox197.TOptional<typebox197.TString>;
201
- logs: typebox197.TOptional<typebox197.TArray<typebox197.TObject<{
202
- level: typebox197.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
203
- message: typebox197.TString;
204
- service: typebox197.TString;
205
- module: typebox197.TString;
206
- context: typebox197.TOptional<typebox197.TString>;
207
- app: typebox197.TOptional<typebox197.TString>;
208
- data: typebox197.TOptional<typebox197.TAny>;
209
- timestamp: typebox197.TString;
192
+ }>, _alepha_postgres83.FromSchema<typebox72.TObject<{
193
+ id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
194
+ version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
195
+ createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
196
+ updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
197
+ finishedAt: typebox72.TOptional<typebox72.TString>;
198
+ job: typebox72.TString;
199
+ status: typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
200
+ error: typebox72.TOptional<typebox72.TString>;
201
+ logs: typebox72.TOptional<typebox72.TArray<typebox72.TObject<{
202
+ level: typebox72.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
203
+ message: typebox72.TString;
204
+ service: typebox72.TString;
205
+ module: typebox72.TString;
206
+ context: typebox72.TOptional<typebox72.TString>;
207
+ app: typebox72.TOptional<typebox72.TString>;
208
+ data: typebox72.TOptional<typebox72.TAny>;
209
+ timestamp: typebox72.TString;
210
210
  }>>>;
211
- }>>>, typebox197.TObject<{
212
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
213
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
214
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
215
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
216
- finishedAt: typebox197.TOptional<typebox197.TString>;
217
- job: typebox197.TString;
218
- status: typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
219
- error: typebox197.TOptional<typebox197.TString>;
220
- logs: typebox197.TOptional<typebox197.TArray<typebox197.TObject<{
221
- level: typebox197.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
222
- message: typebox197.TString;
223
- service: typebox197.TString;
224
- module: typebox197.TString;
225
- context: typebox197.TOptional<typebox197.TString>;
226
- app: typebox197.TOptional<typebox197.TString>;
227
- data: typebox197.TOptional<typebox197.TAny>;
228
- timestamp: typebox197.TString;
211
+ }>>>, typebox72.TObject<{
212
+ id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
213
+ version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
214
+ createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
215
+ updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
216
+ finishedAt: typebox72.TOptional<typebox72.TString>;
217
+ job: typebox72.TString;
218
+ status: typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
219
+ error: typebox72.TOptional<typebox72.TString>;
220
+ logs: typebox72.TOptional<typebox72.TArray<typebox72.TObject<{
221
+ level: typebox72.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
222
+ message: typebox72.TString;
223
+ service: typebox72.TString;
224
+ module: typebox72.TString;
225
+ context: typebox72.TOptional<typebox72.TString>;
226
+ app: typebox72.TOptional<typebox72.TString>;
227
+ data: typebox72.TOptional<typebox72.TAny>;
228
+ timestamp: typebox72.TString;
229
229
  }>>>;
230
230
  }>>;
231
231
  type JobExecutionEntity = Static<typeof jobExecutions.$schema>;
232
232
  //#endregion
233
233
  //#region src/schemas/jobExecutionResourceSchema.d.ts
234
- declare const jobExecutionResourceSchema: typebox197.TObject<{
235
- id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
236
- version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
237
- createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
238
- updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox197.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
239
- finishedAt: typebox197.TOptional<typebox197.TString>;
240
- job: typebox197.TString;
241
- status: typebox197.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
242
- error: typebox197.TOptional<typebox197.TString>;
243
- logs: typebox197.TOptional<typebox197.TArray<typebox197.TObject<{
244
- level: typebox197.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
245
- message: typebox197.TString;
246
- service: typebox197.TString;
247
- module: typebox197.TString;
248
- context: typebox197.TOptional<typebox197.TString>;
249
- app: typebox197.TOptional<typebox197.TString>;
250
- data: typebox197.TOptional<typebox197.TAny>;
251
- timestamp: typebox197.TString;
234
+ declare const jobExecutionResourceSchema: typebox72.TObject<{
235
+ id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
236
+ version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
237
+ createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
238
+ updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox72.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
239
+ finishedAt: typebox72.TOptional<typebox72.TString>;
240
+ job: typebox72.TString;
241
+ status: typebox72.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
242
+ error: typebox72.TOptional<typebox72.TString>;
243
+ logs: typebox72.TOptional<typebox72.TArray<typebox72.TObject<{
244
+ level: typebox72.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
245
+ message: typebox72.TString;
246
+ service: typebox72.TString;
247
+ module: typebox72.TString;
248
+ context: typebox72.TOptional<typebox72.TString>;
249
+ app: typebox72.TOptional<typebox72.TString>;
250
+ data: typebox72.TOptional<typebox72.TAny>;
251
+ timestamp: typebox72.TString;
252
252
  }>>>;
253
253
  }>;
254
254
  type JobExecutionResource = Static<typeof jobExecutionResourceSchema>;
255
255
  //#endregion
256
256
  //#region src/schemas/triggerJobSchema.d.ts
257
- declare const triggerJobSchema: typebox197.TObject<{
258
- name: typebox197.TString;
257
+ declare const triggerJobSchema: typebox72.TObject<{
258
+ name: typebox72.TString;
259
259
  }>;
260
260
  type TriggerJob = Static<typeof triggerJobSchema>;
261
261
  //#endregion