alepha 0.10.7 → 0.11.1
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 +172 -235
- package/api/jobs.d.ts +134 -209
- package/api/notifications.d.ts +112 -225
- package/api/users.d.ts +479 -766
- package/batch.d.ts +8 -8
- package/bucket.d.ts +1 -1
- package/cache.d.ts +12 -12
- package/command.d.ts +15 -15
- package/core.d.ts +312 -221
- package/datetime.d.ts +41 -10
- package/lock.d.ts +8 -8
- package/logger.d.ts +19 -9
- package/package.json +52 -65
- package/postgres.d.ts +488 -1172
- package/queue.d.ts +14 -14
- package/react/auth.d.ts +1 -1
- package/react/form.d.ts +33 -22
- package/react/i18n.d.ts +8 -8
- package/react.d.ts +76 -56
- package/retry.d.ts +8 -8
- package/scheduler.d.ts +7 -7
- package/security.d.ts +2 -1
- package/server/cookies.d.ts +13 -12
- package/server/health.d.ts +31 -8
- package/server/links.d.ts +3 -3
- package/server/multipart.d.ts +2 -2
- package/server/swagger.d.ts +4 -0
- package/server.d.ts +43 -42
- package/topic.d.ts +17 -17
- package/ui.d.ts +365 -46
- package/vite.d.ts +7 -2
package/api/jobs.d.ts
CHANGED
|
@@ -2,80 +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
|
|
5
|
+
import * as _alepha_postgres49 from "alepha/postgres";
|
|
6
6
|
import * as _alepha_server0 from "alepha/server";
|
|
7
7
|
import { DateTimeProvider } from "alepha/datetime";
|
|
8
|
-
import * as
|
|
8
|
+
import * as typebox111 from "typebox";
|
|
9
|
+
import * as dayjs11 from "dayjs";
|
|
9
10
|
|
|
10
11
|
//#region src/schemas/jobExecutionQuerySchema.d.ts
|
|
11
|
-
declare const jobExecutionQuerySchema:
|
|
12
|
-
page:
|
|
13
|
-
size:
|
|
14
|
-
sort:
|
|
15
|
-
status:
|
|
16
|
-
job:
|
|
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>;
|
|
17
18
|
}>;
|
|
18
19
|
type JobExecutionQuery = Static<typeof jobExecutionQuerySchema>;
|
|
19
20
|
//#endregion
|
|
20
21
|
//#region src/services/JobService.d.ts
|
|
21
22
|
declare class JobService {
|
|
22
23
|
protected readonly alepha: Alepha;
|
|
23
|
-
protected readonly executionRepository:
|
|
24
|
-
id:
|
|
25
|
-
version:
|
|
26
|
-
createdAt:
|
|
27
|
-
updatedAt:
|
|
28
|
-
finishedAt:
|
|
29
|
-
job:
|
|
30
|
-
status:
|
|
31
|
-
error:
|
|
32
|
-
logs:
|
|
33
|
-
level:
|
|
34
|
-
message:
|
|
35
|
-
service:
|
|
36
|
-
module:
|
|
37
|
-
context:
|
|
38
|
-
app:
|
|
39
|
-
data:
|
|
40
|
-
timestamp:
|
|
41
|
-
}>>>;
|
|
42
|
-
}>, _alepha_postgres0.FromSchema<typebox124.TObject<{
|
|
43
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
44
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
45
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
46
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
47
|
-
finishedAt: typebox124.TOptional<typebox124.TString>;
|
|
48
|
-
job: typebox124.TString;
|
|
49
|
-
status: typebox124.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
50
|
-
error: typebox124.TOptional<typebox124.TString>;
|
|
51
|
-
logs: typebox124.TOptional<typebox124.TArray<typebox124.TObject<{
|
|
52
|
-
level: typebox124.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
53
|
-
message: typebox124.TString;
|
|
54
|
-
service: typebox124.TString;
|
|
55
|
-
module: typebox124.TString;
|
|
56
|
-
context: typebox124.TOptional<typebox124.TString>;
|
|
57
|
-
app: typebox124.TOptional<typebox124.TString>;
|
|
58
|
-
data: typebox124.TOptional<typebox124.TAny>;
|
|
59
|
-
timestamp: typebox124.TString;
|
|
60
|
-
}>>>;
|
|
61
|
-
}>>>, typebox124.TObject<{
|
|
62
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
63
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
64
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
65
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
66
|
-
finishedAt: typebox124.TOptional<typebox124.TString>;
|
|
67
|
-
job: typebox124.TString;
|
|
68
|
-
status: typebox124.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
69
|
-
error: typebox124.TOptional<typebox124.TString>;
|
|
70
|
-
logs: typebox124.TOptional<typebox124.TArray<typebox124.TObject<{
|
|
71
|
-
level: typebox124.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
72
|
-
message: typebox124.TString;
|
|
73
|
-
service: typebox124.TString;
|
|
74
|
-
module: typebox124.TString;
|
|
75
|
-
context: typebox124.TOptional<typebox124.TString>;
|
|
76
|
-
app: typebox124.TOptional<typebox124.TString>;
|
|
77
|
-
data: typebox124.TOptional<typebox124.TAny>;
|
|
78
|
-
timestamp: typebox124.TString;
|
|
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>;
|
|
79
42
|
}>>>;
|
|
80
43
|
}>>;
|
|
81
44
|
protected readonly dtp: DateTimeProvider;
|
|
@@ -87,7 +50,7 @@ declare class JobService {
|
|
|
87
50
|
message: string;
|
|
88
51
|
service: string;
|
|
89
52
|
module: string;
|
|
90
|
-
timestamp:
|
|
53
|
+
timestamp: dayjs11.Dayjs;
|
|
91
54
|
}[]>;
|
|
92
55
|
protected readonly onLogs: _alepha_core1.HookDescriptor<"log">;
|
|
93
56
|
protected readonly onSchedulerBegin: _alepha_core1.HookDescriptor<"scheduler:begin">;
|
|
@@ -95,43 +58,43 @@ declare class JobService {
|
|
|
95
58
|
readonly onSchedulerSuccess: _alepha_core1.HookDescriptor<"scheduler:success">;
|
|
96
59
|
readonly onSchedulerEnd: _alepha_core1.HookDescriptor<"scheduler:end">;
|
|
97
60
|
getJobs(): Promise<string[]>;
|
|
98
|
-
getJobExecutions(query?: JobExecutionQuery): Promise<
|
|
99
|
-
id:
|
|
100
|
-
version:
|
|
101
|
-
createdAt:
|
|
102
|
-
updatedAt:
|
|
103
|
-
finishedAt:
|
|
104
|
-
job:
|
|
105
|
-
status:
|
|
106
|
-
error:
|
|
107
|
-
logs:
|
|
108
|
-
level:
|
|
109
|
-
message:
|
|
110
|
-
service:
|
|
111
|
-
module:
|
|
112
|
-
context:
|
|
113
|
-
app:
|
|
114
|
-
data:
|
|
115
|
-
timestamp:
|
|
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>;
|
|
116
79
|
}>>>;
|
|
117
|
-
}>,
|
|
118
|
-
id:
|
|
119
|
-
version:
|
|
120
|
-
createdAt:
|
|
121
|
-
updatedAt:
|
|
122
|
-
finishedAt:
|
|
123
|
-
job:
|
|
124
|
-
status:
|
|
125
|
-
error:
|
|
126
|
-
logs:
|
|
127
|
-
level:
|
|
128
|
-
message:
|
|
129
|
-
service:
|
|
130
|
-
module:
|
|
131
|
-
context:
|
|
132
|
-
app:
|
|
133
|
-
data:
|
|
134
|
-
timestamp:
|
|
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>;
|
|
135
98
|
}>>>;
|
|
136
99
|
}>>>>>;
|
|
137
100
|
triggerJob(name: string): Promise<{
|
|
@@ -145,136 +108,98 @@ declare class JobController {
|
|
|
145
108
|
protected readonly group: string;
|
|
146
109
|
protected readonly jobService: JobService;
|
|
147
110
|
readonly getJobs: _alepha_server0.ActionDescriptorFn<{
|
|
148
|
-
response:
|
|
111
|
+
response: typebox111.TArray<typebox111.TString>;
|
|
149
112
|
}>;
|
|
150
113
|
readonly getJobExecutions: _alepha_server0.ActionDescriptorFn<{
|
|
151
|
-
query:
|
|
152
|
-
page:
|
|
153
|
-
size:
|
|
154
|
-
sort:
|
|
155
|
-
status:
|
|
156
|
-
job:
|
|
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>;
|
|
157
120
|
}>;
|
|
158
|
-
response:
|
|
159
|
-
id:
|
|
160
|
-
version:
|
|
161
|
-
createdAt:
|
|
162
|
-
updatedAt:
|
|
163
|
-
finishedAt:
|
|
164
|
-
job:
|
|
165
|
-
status:
|
|
166
|
-
error:
|
|
167
|
-
logs:
|
|
168
|
-
level:
|
|
169
|
-
message:
|
|
170
|
-
service:
|
|
171
|
-
module:
|
|
172
|
-
context:
|
|
173
|
-
app:
|
|
174
|
-
data:
|
|
175
|
-
timestamp:
|
|
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>;
|
|
176
139
|
}>>>;
|
|
177
140
|
}>>;
|
|
178
141
|
}>;
|
|
179
142
|
readonly triggerJob: _alepha_server0.ActionDescriptorFn<{
|
|
180
|
-
body:
|
|
181
|
-
name:
|
|
143
|
+
body: typebox111.TObject<{
|
|
144
|
+
name: typebox111.TString;
|
|
182
145
|
}>;
|
|
183
|
-
response:
|
|
184
|
-
ok:
|
|
185
|
-
id:
|
|
186
|
-
count:
|
|
146
|
+
response: typebox111.TObject<{
|
|
147
|
+
ok: typebox111.TBoolean;
|
|
148
|
+
id: typebox111.TOptional<typebox111.TUnion<[typebox111.TString, typebox111.TInteger]>>;
|
|
149
|
+
count: typebox111.TOptional<typebox111.TNumber>;
|
|
187
150
|
}>;
|
|
188
151
|
}>;
|
|
189
152
|
}
|
|
190
153
|
//#endregion
|
|
191
154
|
//#region src/entities/jobExecutions.d.ts
|
|
192
|
-
declare const jobExecutions:
|
|
193
|
-
id:
|
|
194
|
-
version:
|
|
195
|
-
createdAt:
|
|
196
|
-
updatedAt:
|
|
197
|
-
finishedAt:
|
|
198
|
-
job:
|
|
199
|
-
status:
|
|
200
|
-
error:
|
|
201
|
-
logs:
|
|
202
|
-
level:
|
|
203
|
-
message:
|
|
204
|
-
service:
|
|
205
|
-
module:
|
|
206
|
-
context:
|
|
207
|
-
app:
|
|
208
|
-
data:
|
|
209
|
-
timestamp:
|
|
210
|
-
}>>>;
|
|
211
|
-
}>, _alepha_postgres0.FromSchema<typebox124.TObject<{
|
|
212
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
213
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
214
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
215
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
216
|
-
finishedAt: typebox124.TOptional<typebox124.TString>;
|
|
217
|
-
job: typebox124.TString;
|
|
218
|
-
status: typebox124.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
219
|
-
error: typebox124.TOptional<typebox124.TString>;
|
|
220
|
-
logs: typebox124.TOptional<typebox124.TArray<typebox124.TObject<{
|
|
221
|
-
level: typebox124.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
222
|
-
message: typebox124.TString;
|
|
223
|
-
service: typebox124.TString;
|
|
224
|
-
module: typebox124.TString;
|
|
225
|
-
context: typebox124.TOptional<typebox124.TString>;
|
|
226
|
-
app: typebox124.TOptional<typebox124.TString>;
|
|
227
|
-
data: typebox124.TOptional<typebox124.TAny>;
|
|
228
|
-
timestamp: typebox124.TString;
|
|
229
|
-
}>>>;
|
|
230
|
-
}>>>, typebox124.TObject<{
|
|
231
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
232
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
233
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
234
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox124.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
235
|
-
finishedAt: typebox124.TOptional<typebox124.TString>;
|
|
236
|
-
job: typebox124.TString;
|
|
237
|
-
status: typebox124.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
238
|
-
error: typebox124.TOptional<typebox124.TString>;
|
|
239
|
-
logs: typebox124.TOptional<typebox124.TArray<typebox124.TObject<{
|
|
240
|
-
level: typebox124.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
241
|
-
message: typebox124.TString;
|
|
242
|
-
service: typebox124.TString;
|
|
243
|
-
module: typebox124.TString;
|
|
244
|
-
context: typebox124.TOptional<typebox124.TString>;
|
|
245
|
-
app: typebox124.TOptional<typebox124.TString>;
|
|
246
|
-
data: typebox124.TOptional<typebox124.TAny>;
|
|
247
|
-
timestamp: typebox124.TString;
|
|
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>;
|
|
248
173
|
}>>>;
|
|
249
174
|
}>>;
|
|
250
|
-
type JobExecutionEntity = Static<typeof jobExecutions
|
|
175
|
+
type JobExecutionEntity = Static<typeof jobExecutions.schema>;
|
|
251
176
|
//#endregion
|
|
252
177
|
//#region src/schemas/jobExecutionResourceSchema.d.ts
|
|
253
|
-
declare const jobExecutionResourceSchema:
|
|
254
|
-
id:
|
|
255
|
-
version:
|
|
256
|
-
createdAt:
|
|
257
|
-
updatedAt:
|
|
258
|
-
finishedAt:
|
|
259
|
-
job:
|
|
260
|
-
status:
|
|
261
|
-
error:
|
|
262
|
-
logs:
|
|
263
|
-
level:
|
|
264
|
-
message:
|
|
265
|
-
service:
|
|
266
|
-
module:
|
|
267
|
-
context:
|
|
268
|
-
app:
|
|
269
|
-
data:
|
|
270
|
-
timestamp:
|
|
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>;
|
|
271
196
|
}>>>;
|
|
272
197
|
}>;
|
|
273
198
|
type JobExecutionResource = Static<typeof jobExecutionResourceSchema>;
|
|
274
199
|
//#endregion
|
|
275
200
|
//#region src/schemas/triggerJobSchema.d.ts
|
|
276
|
-
declare const triggerJobSchema:
|
|
277
|
-
name:
|
|
201
|
+
declare const triggerJobSchema: typebox111.TObject<{
|
|
202
|
+
name: typebox111.TString;
|
|
278
203
|
}>;
|
|
279
204
|
type TriggerJob = Static<typeof triggerJobSchema>;
|
|
280
205
|
//#endregion
|