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