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