alepha 0.11.1 → 0.11.3

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,43 +2,43 @@ 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_postgres49 from "alepha/postgres";
5
+ import * as _alepha_postgres0 from "alepha/postgres";
6
6
  import * as _alepha_server0 from "alepha/server";
7
7
  import { DateTimeProvider } from "alepha/datetime";
8
- import * as typebox111 from "typebox";
9
- import * as dayjs11 from "dayjs";
8
+ import * as typebox86 from "typebox";
9
+ import * as dayjs0 from "dayjs";
10
10
 
11
11
  //#region src/schemas/jobExecutionQuerySchema.d.ts
12
- declare const jobExecutionQuerySchema: typebox111.TObject<{
13
- page: typebox111.TOptional<typebox111.TInteger>;
14
- size: typebox111.TOptional<typebox111.TInteger>;
15
- sort: typebox111.TOptional<typebox111.TString>;
16
- status: typebox111.TOptional<typebox111.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
17
- job: typebox111.TOptional<typebox111.TString>;
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>;
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_postgres49.RepositoryDescriptor<typebox111.TObject<{
25
- id: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TString, typeof _alepha_postgres49.PG_PRIMARY_KEY>, typeof _alepha_postgres49.PG_DEFAULT>;
26
- version: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TInteger, typeof _alepha_postgres49.PG_VERSION>, typeof _alepha_postgres49.PG_DEFAULT>;
27
- createdAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_CREATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
28
- updatedAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_UPDATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
29
- finishedAt: typebox111.TOptional<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>>;
30
- job: typebox111.TString;
31
- status: typebox111.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
32
- error: typebox111.TOptional<typebox111.TString>;
33
- logs: typebox111.TOptional<typebox111.TArray<typebox111.TObject<{
34
- level: typebox111.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
35
- message: typebox111.TString;
36
- service: typebox111.TString;
37
- module: typebox111.TString;
38
- context: typebox111.TOptional<typebox111.TString>;
39
- app: typebox111.TOptional<typebox111.TString>;
40
- data: typebox111.TOptional<typebox111.TAny>;
41
- timestamp: typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>;
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>;
42
42
  }>>>;
43
43
  }>>;
44
44
  protected readonly dtp: DateTimeProvider;
@@ -50,7 +50,7 @@ declare class JobService {
50
50
  message: string;
51
51
  service: string;
52
52
  module: string;
53
- timestamp: dayjs11.Dayjs;
53
+ timestamp: dayjs0.Dayjs;
54
54
  }[]>;
55
55
  protected readonly onLogs: _alepha_core1.HookDescriptor<"log">;
56
56
  protected readonly onSchedulerBegin: _alepha_core1.HookDescriptor<"scheduler:begin">;
@@ -58,43 +58,43 @@ declare class JobService {
58
58
  readonly onSchedulerSuccess: _alepha_core1.HookDescriptor<"scheduler:success">;
59
59
  readonly onSchedulerEnd: _alepha_core1.HookDescriptor<"scheduler:end">;
60
60
  getJobs(): Promise<string[]>;
61
- getJobExecutions(query?: JobExecutionQuery): Promise<_alepha_postgres49.Page<_alepha_postgres49.PgStatic<typebox111.TObject<{
62
- id: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TString, typeof _alepha_postgres49.PG_PRIMARY_KEY>, typeof _alepha_postgres49.PG_DEFAULT>;
63
- version: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TInteger, typeof _alepha_postgres49.PG_VERSION>, typeof _alepha_postgres49.PG_DEFAULT>;
64
- createdAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_CREATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
65
- updatedAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_UPDATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
66
- finishedAt: typebox111.TOptional<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>>;
67
- job: typebox111.TString;
68
- status: typebox111.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
69
- error: typebox111.TOptional<typebox111.TString>;
70
- logs: typebox111.TOptional<typebox111.TArray<typebox111.TObject<{
71
- level: typebox111.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
72
- message: typebox111.TString;
73
- service: typebox111.TString;
74
- module: typebox111.TString;
75
- context: typebox111.TOptional<typebox111.TString>;
76
- app: typebox111.TOptional<typebox111.TString>;
77
- data: typebox111.TOptional<typebox111.TAny>;
78
- timestamp: typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>;
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>;
79
79
  }>>>;
80
- }>, _alepha_postgres49.PgRelationMap<typebox111.TObject<{
81
- id: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TString, typeof _alepha_postgres49.PG_PRIMARY_KEY>, typeof _alepha_postgres49.PG_DEFAULT>;
82
- version: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TInteger, typeof _alepha_postgres49.PG_VERSION>, typeof _alepha_postgres49.PG_DEFAULT>;
83
- createdAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_CREATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
84
- updatedAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_UPDATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
85
- finishedAt: typebox111.TOptional<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>>;
86
- job: typebox111.TString;
87
- status: typebox111.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
88
- error: typebox111.TOptional<typebox111.TString>;
89
- logs: typebox111.TOptional<typebox111.TArray<typebox111.TObject<{
90
- level: typebox111.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
91
- message: typebox111.TString;
92
- service: typebox111.TString;
93
- module: typebox111.TString;
94
- context: typebox111.TOptional<typebox111.TString>;
95
- app: typebox111.TOptional<typebox111.TString>;
96
- data: typebox111.TOptional<typebox111.TAny>;
97
- timestamp: typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>;
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>;
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: typebox111.TArray<typebox111.TString>;
111
+ response: typebox86.TArray<typebox86.TString>;
112
112
  }>;
113
113
  readonly getJobExecutions: _alepha_server0.ActionDescriptorFn<{
114
- query: typebox111.TObject<{
115
- page: typebox111.TOptional<typebox111.TInteger>;
116
- size: typebox111.TOptional<typebox111.TInteger>;
117
- sort: typebox111.TOptional<typebox111.TString>;
118
- status: typebox111.TOptional<typebox111.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
119
- job: typebox111.TOptional<typebox111.TString>;
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>;
120
120
  }>;
121
- response: _alepha_postgres49.TPage<typebox111.TObject<{
122
- id: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TString, typeof _alepha_postgres49.PG_PRIMARY_KEY>, typeof _alepha_postgres49.PG_DEFAULT>;
123
- version: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TInteger, typeof _alepha_postgres49.PG_VERSION>, typeof _alepha_postgres49.PG_DEFAULT>;
124
- createdAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_CREATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
125
- updatedAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_UPDATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
126
- finishedAt: typebox111.TOptional<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>>;
127
- job: typebox111.TString;
128
- status: typebox111.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
129
- error: typebox111.TOptional<typebox111.TString>;
130
- logs: typebox111.TOptional<typebox111.TArray<typebox111.TObject<{
131
- level: typebox111.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
132
- message: typebox111.TString;
133
- service: typebox111.TString;
134
- module: typebox111.TString;
135
- context: typebox111.TOptional<typebox111.TString>;
136
- app: typebox111.TOptional<typebox111.TString>;
137
- data: typebox111.TOptional<typebox111.TAny>;
138
- timestamp: typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>;
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>;
139
139
  }>>>;
140
140
  }>>;
141
141
  }>;
142
142
  readonly triggerJob: _alepha_server0.ActionDescriptorFn<{
143
- body: typebox111.TObject<{
144
- name: typebox111.TString;
143
+ body: typebox86.TObject<{
144
+ name: typebox86.TString;
145
145
  }>;
146
- response: typebox111.TObject<{
147
- ok: typebox111.TBoolean;
148
- id: typebox111.TOptional<typebox111.TUnion<[typebox111.TString, typebox111.TInteger]>>;
149
- count: typebox111.TOptional<typebox111.TNumber>;
146
+ response: typebox86.TObject<{
147
+ ok: typebox86.TBoolean;
148
+ id: typebox86.TOptional<typebox86.TUnion<[typebox86.TString, typebox86.TInteger]>>;
149
+ count: typebox86.TOptional<typebox86.TNumber>;
150
150
  }>;
151
151
  }>;
152
152
  }
153
153
  //#endregion
154
154
  //#region src/entities/jobExecutions.d.ts
155
- declare const jobExecutions: _alepha_postgres49.EntityDescriptor<typebox111.TObject<{
156
- id: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TString, typeof _alepha_postgres49.PG_PRIMARY_KEY>, typeof _alepha_postgres49.PG_DEFAULT>;
157
- version: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TInteger, typeof _alepha_postgres49.PG_VERSION>, typeof _alepha_postgres49.PG_DEFAULT>;
158
- createdAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_CREATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
159
- updatedAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_UPDATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
160
- finishedAt: typebox111.TOptional<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>>;
161
- job: typebox111.TString;
162
- status: typebox111.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
163
- error: typebox111.TOptional<typebox111.TString>;
164
- logs: typebox111.TOptional<typebox111.TArray<typebox111.TObject<{
165
- level: typebox111.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
166
- message: typebox111.TString;
167
- service: typebox111.TString;
168
- module: typebox111.TString;
169
- context: typebox111.TOptional<typebox111.TString>;
170
- app: typebox111.TOptional<typebox111.TString>;
171
- data: typebox111.TOptional<typebox111.TAny>;
172
- timestamp: typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>;
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>;
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: typebox111.TObject<{
179
- id: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TString, typeof _alepha_postgres49.PG_PRIMARY_KEY>, typeof _alepha_postgres49.PG_DEFAULT>;
180
- version: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TInteger, typeof _alepha_postgres49.PG_VERSION>, typeof _alepha_postgres49.PG_DEFAULT>;
181
- createdAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_CREATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
182
- updatedAt: _alepha_postgres49.PgAttr<_alepha_postgres49.PgAttr<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>, typeof _alepha_postgres49.PG_UPDATED_AT>, typeof _alepha_postgres49.PG_DEFAULT>;
183
- finishedAt: typebox111.TOptional<typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>>;
184
- job: typebox111.TString;
185
- status: typebox111.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
186
- error: typebox111.TOptional<typebox111.TString>;
187
- logs: typebox111.TOptional<typebox111.TArray<typebox111.TObject<{
188
- level: typebox111.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
189
- message: typebox111.TString;
190
- service: typebox111.TString;
191
- module: typebox111.TString;
192
- context: typebox111.TOptional<typebox111.TString>;
193
- app: typebox111.TOptional<typebox111.TString>;
194
- data: typebox111.TOptional<typebox111.TAny>;
195
- timestamp: typebox111.TCodec<typebox111.TString, dayjs11.Dayjs>;
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>;
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: typebox111.TObject<{
202
- name: typebox111.TString;
201
+ declare const triggerJobSchema: typebox86.TObject<{
202
+ name: typebox86.TString;
203
203
  }>;
204
204
  type TriggerJob = Static<typeof triggerJobSchema>;
205
205
  //#endregion