alepha 0.11.7 → 0.11.9
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 +7 -7
- package/api/jobs.d.ts +135 -135
- package/api/users.d.ts +496 -496
- package/devtools.d.ts +160 -160
- package/email.d.ts +4 -4
- package/package.json +50 -57
- package/postgres.d.ts +20 -20
- package/security.d.ts +4 -4
- package/server/links.d.ts +29 -29
- package/server.d.ts +20 -20
- package/ui.cjs +0 -8
- package/ui.d.ts +0 -813
- package/ui.js +0 -1
package/api/files.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BucketDescriptor } from "alepha/bucket";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alepha_core4 from "alepha";
|
|
3
3
|
import { Alepha, FileLike, Static } from "alepha";
|
|
4
4
|
import "alepha/server/security";
|
|
5
5
|
import * as _alepha_postgres64 from "alepha/postgres";
|
|
@@ -116,8 +116,8 @@ declare class FileService {
|
|
|
116
116
|
}>>;
|
|
117
117
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
118
118
|
protected readonly defaultBucket: BucketDescriptor;
|
|
119
|
-
protected onUploadFile:
|
|
120
|
-
protected onDeleteBucketFile:
|
|
119
|
+
protected onUploadFile: _alepha_core4.HookDescriptor<"bucket:file:uploaded">;
|
|
120
|
+
protected onDeleteBucketFile: _alepha_core4.HookDescriptor<"bucket:file:deleted">;
|
|
121
121
|
/**
|
|
122
122
|
* Calculates SHA-256 checksum of a file.
|
|
123
123
|
*
|
|
@@ -263,7 +263,7 @@ declare class FileController {
|
|
|
263
263
|
createdAfter: typebox172.TOptional<typebox172.TString>;
|
|
264
264
|
createdBefore: typebox172.TOptional<typebox172.TString>;
|
|
265
265
|
}>;
|
|
266
|
-
response:
|
|
266
|
+
response: _alepha_core4.TPage<typebox172.TObject<{
|
|
267
267
|
id: _alepha_postgres64.PgAttr<_alepha_postgres64.PgAttr<typebox172.TString, typeof _alepha_postgres64.PG_PRIMARY_KEY>, typeof _alepha_postgres64.PG_DEFAULT>;
|
|
268
268
|
version: _alepha_postgres64.PgAttr<_alepha_postgres64.PgAttr<typebox172.TInteger, typeof _alepha_postgres64.PG_VERSION>, typeof _alepha_postgres64.PG_DEFAULT>;
|
|
269
269
|
createdAt: _alepha_postgres64.PgAttr<_alepha_postgres64.PgAttr<typebox172.TString, typeof _alepha_postgres64.PG_CREATED_AT>, typeof _alepha_postgres64.PG_DEFAULT>;
|
|
@@ -302,7 +302,7 @@ declare class FileController {
|
|
|
302
302
|
*/
|
|
303
303
|
readonly uploadFile: _alepha_server0.ActionDescriptorFn<{
|
|
304
304
|
body: typebox172.TObject<{
|
|
305
|
-
file:
|
|
305
|
+
file: _alepha_core4.TFile;
|
|
306
306
|
}>;
|
|
307
307
|
query: typebox172.TObject<{
|
|
308
308
|
expirationDate: typebox172.TOptional<typebox172.TString>;
|
|
@@ -366,7 +366,7 @@ declare class FileController {
|
|
|
366
366
|
params: typebox172.TObject<{
|
|
367
367
|
id: typebox172.TString;
|
|
368
368
|
}>;
|
|
369
|
-
response:
|
|
369
|
+
response: _alepha_core4.TFile;
|
|
370
370
|
}>;
|
|
371
371
|
}
|
|
372
372
|
//#endregion
|
|
@@ -432,7 +432,7 @@ declare module "alepha/bucket" {
|
|
|
432
432
|
*
|
|
433
433
|
* @module alepha.api.files
|
|
434
434
|
*/
|
|
435
|
-
declare const AlephaApiFiles:
|
|
435
|
+
declare const AlephaApiFiles: _alepha_core4.Service<_alepha_core4.Module>;
|
|
436
436
|
//#endregion
|
|
437
437
|
export { AlephaApiFiles, BucketStats, FileController, FileEntity, FileService, MimeTypeStats, StorageStats, StorageStatsController, bucketStatsSchema, files, mimeTypeStatsSchema, storageStatsSchema };
|
|
438
438
|
//# sourceMappingURL=index.d.ts.map
|
package/api/jobs.d.ts
CHANGED
|
@@ -6,79 +6,79 @@ import * as _alepha_server0 from "alepha/server";
|
|
|
6
6
|
import { DateTime, DateTimeProvider } from "alepha/datetime";
|
|
7
7
|
import { LockDescriptor } from "alepha/lock";
|
|
8
8
|
import { CronProvider } from "alepha/scheduler";
|
|
9
|
-
import * as
|
|
9
|
+
import * as typebox152 from "typebox";
|
|
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: typebox152.TObject<{
|
|
13
|
+
page: typebox152.TOptional<typebox152.TInteger>;
|
|
14
|
+
size: typebox152.TOptional<typebox152.TInteger>;
|
|
15
|
+
sort: typebox152.TOptional<typebox152.TString>;
|
|
16
|
+
status: typebox152.TOptional<typebox152.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
|
|
17
|
+
job: typebox152.TOptional<typebox152.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_postgres0.Repository<
|
|
25
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
26
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
27
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
28
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
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_postgres0.Repository<typebox152.TObject<{
|
|
25
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
26
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
27
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
28
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
29
|
+
finishedAt: typebox152.TOptional<typebox152.TString>;
|
|
30
|
+
job: typebox152.TString;
|
|
31
|
+
status: typebox152.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
32
|
+
error: typebox152.TOptional<typebox152.TString>;
|
|
33
|
+
logs: typebox152.TOptional<typebox152.TArray<typebox152.TObject<{
|
|
34
|
+
level: typebox152.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
35
|
+
message: typebox152.TString;
|
|
36
|
+
service: typebox152.TString;
|
|
37
|
+
module: typebox152.TString;
|
|
38
|
+
context: typebox152.TOptional<typebox152.TString>;
|
|
39
|
+
app: typebox152.TOptional<typebox152.TString>;
|
|
40
|
+
data: typebox152.TOptional<typebox152.TAny>;
|
|
41
|
+
timestamp: typebox152.TString;
|
|
42
42
|
}>>>;
|
|
43
43
|
}>>;
|
|
44
44
|
getJobs(): Promise<string[]>;
|
|
45
|
-
getJobExecutions(query?: JobExecutionQuery): Promise<_alepha_core1.Page<_alepha_postgres0.PgStatic<
|
|
46
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
47
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
48
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
49
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
50
|
-
finishedAt:
|
|
51
|
-
job:
|
|
52
|
-
status:
|
|
53
|
-
error:
|
|
54
|
-
logs:
|
|
55
|
-
level:
|
|
56
|
-
message:
|
|
57
|
-
service:
|
|
58
|
-
module:
|
|
59
|
-
context:
|
|
60
|
-
app:
|
|
61
|
-
data:
|
|
62
|
-
timestamp:
|
|
45
|
+
getJobExecutions(query?: JobExecutionQuery): Promise<_alepha_core1.Page<_alepha_postgres0.PgStatic<typebox152.TObject<{
|
|
46
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
47
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
48
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
49
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
50
|
+
finishedAt: typebox152.TOptional<typebox152.TString>;
|
|
51
|
+
job: typebox152.TString;
|
|
52
|
+
status: typebox152.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
53
|
+
error: typebox152.TOptional<typebox152.TString>;
|
|
54
|
+
logs: typebox152.TOptional<typebox152.TArray<typebox152.TObject<{
|
|
55
|
+
level: typebox152.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
56
|
+
message: typebox152.TString;
|
|
57
|
+
service: typebox152.TString;
|
|
58
|
+
module: typebox152.TString;
|
|
59
|
+
context: typebox152.TOptional<typebox152.TString>;
|
|
60
|
+
app: typebox152.TOptional<typebox152.TString>;
|
|
61
|
+
data: typebox152.TOptional<typebox152.TAny>;
|
|
62
|
+
timestamp: typebox152.TString;
|
|
63
63
|
}>>>;
|
|
64
|
-
}>, _alepha_postgres0.PgRelationMap<
|
|
65
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
66
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
67
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
68
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
69
|
-
finishedAt:
|
|
70
|
-
job:
|
|
71
|
-
status:
|
|
72
|
-
error:
|
|
73
|
-
logs:
|
|
74
|
-
level:
|
|
75
|
-
message:
|
|
76
|
-
service:
|
|
77
|
-
module:
|
|
78
|
-
context:
|
|
79
|
-
app:
|
|
80
|
-
data:
|
|
81
|
-
timestamp:
|
|
64
|
+
}>, _alepha_postgres0.PgRelationMap<typebox152.TObject<{
|
|
65
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
66
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
67
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
68
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
69
|
+
finishedAt: typebox152.TOptional<typebox152.TString>;
|
|
70
|
+
job: typebox152.TString;
|
|
71
|
+
status: typebox152.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
72
|
+
error: typebox152.TOptional<typebox152.TString>;
|
|
73
|
+
logs: typebox152.TOptional<typebox152.TArray<typebox152.TObject<{
|
|
74
|
+
level: typebox152.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
75
|
+
message: typebox152.TString;
|
|
76
|
+
service: typebox152.TString;
|
|
77
|
+
module: typebox152.TString;
|
|
78
|
+
context: typebox152.TOptional<typebox152.TString>;
|
|
79
|
+
app: typebox152.TOptional<typebox152.TString>;
|
|
80
|
+
data: typebox152.TOptional<typebox152.TAny>;
|
|
81
|
+
timestamp: typebox152.TString;
|
|
82
82
|
}>>>;
|
|
83
83
|
}>>>>>;
|
|
84
84
|
triggerJob(name: string): Promise<{
|
|
@@ -92,45 +92,45 @@ declare class JobController {
|
|
|
92
92
|
protected readonly group: string;
|
|
93
93
|
protected readonly jobService: JobService;
|
|
94
94
|
readonly getJobs: _alepha_server0.ActionDescriptorFn<{
|
|
95
|
-
response:
|
|
95
|
+
response: typebox152.TArray<typebox152.TString>;
|
|
96
96
|
}>;
|
|
97
97
|
readonly getJobExecutions: _alepha_server0.ActionDescriptorFn<{
|
|
98
|
-
query:
|
|
99
|
-
page:
|
|
100
|
-
size:
|
|
101
|
-
sort:
|
|
102
|
-
status:
|
|
103
|
-
job:
|
|
98
|
+
query: typebox152.TObject<{
|
|
99
|
+
page: typebox152.TOptional<typebox152.TInteger>;
|
|
100
|
+
size: typebox152.TOptional<typebox152.TInteger>;
|
|
101
|
+
sort: typebox152.TOptional<typebox152.TString>;
|
|
102
|
+
status: typebox152.TOptional<typebox152.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
|
|
103
|
+
job: typebox152.TOptional<typebox152.TString>;
|
|
104
104
|
}>;
|
|
105
|
-
response: _alepha_core1.TPage<
|
|
106
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
107
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
108
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
109
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
110
|
-
finishedAt:
|
|
111
|
-
job:
|
|
112
|
-
status:
|
|
113
|
-
error:
|
|
114
|
-
logs:
|
|
115
|
-
level:
|
|
116
|
-
message:
|
|
117
|
-
service:
|
|
118
|
-
module:
|
|
119
|
-
context:
|
|
120
|
-
app:
|
|
121
|
-
data:
|
|
122
|
-
timestamp:
|
|
105
|
+
response: _alepha_core1.TPage<typebox152.TObject<{
|
|
106
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
107
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
108
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
109
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
110
|
+
finishedAt: typebox152.TOptional<typebox152.TString>;
|
|
111
|
+
job: typebox152.TString;
|
|
112
|
+
status: typebox152.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
113
|
+
error: typebox152.TOptional<typebox152.TString>;
|
|
114
|
+
logs: typebox152.TOptional<typebox152.TArray<typebox152.TObject<{
|
|
115
|
+
level: typebox152.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
116
|
+
message: typebox152.TString;
|
|
117
|
+
service: typebox152.TString;
|
|
118
|
+
module: typebox152.TString;
|
|
119
|
+
context: typebox152.TOptional<typebox152.TString>;
|
|
120
|
+
app: typebox152.TOptional<typebox152.TString>;
|
|
121
|
+
data: typebox152.TOptional<typebox152.TAny>;
|
|
122
|
+
timestamp: typebox152.TString;
|
|
123
123
|
}>>>;
|
|
124
124
|
}>>;
|
|
125
125
|
}>;
|
|
126
126
|
readonly triggerJob: _alepha_server0.ActionDescriptorFn<{
|
|
127
|
-
body:
|
|
128
|
-
name:
|
|
127
|
+
body: typebox152.TObject<{
|
|
128
|
+
name: typebox152.TString;
|
|
129
129
|
}>;
|
|
130
|
-
response:
|
|
131
|
-
ok:
|
|
132
|
-
id:
|
|
133
|
-
count:
|
|
130
|
+
response: typebox152.TObject<{
|
|
131
|
+
ok: typebox152.TBoolean;
|
|
132
|
+
id: typebox152.TOptional<typebox152.TUnion<[typebox152.TString, typebox152.TInteger]>>;
|
|
133
|
+
count: typebox152.TOptional<typebox152.TNumber>;
|
|
134
134
|
}>;
|
|
135
135
|
}>;
|
|
136
136
|
}
|
|
@@ -152,21 +152,21 @@ declare class JobProvider {
|
|
|
152
152
|
protected readonly cronProvider: CronProvider;
|
|
153
153
|
protected readonly executionRepository: _alepha_postgres0.Repository<_alepha_core1.TObject<{
|
|
154
154
|
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<_alepha_core1.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
155
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
155
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
156
156
|
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<_alepha_core1.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
157
157
|
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<_alepha_core1.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
158
158
|
finishedAt: _alepha_core1.TOptional<_alepha_core1.TString>;
|
|
159
159
|
job: _alepha_core1.TString;
|
|
160
|
-
status:
|
|
160
|
+
status: typebox152.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
161
161
|
error: _alepha_core1.TOptional<_alepha_core1.TString>;
|
|
162
|
-
logs: _alepha_core1.TOptional<
|
|
163
|
-
level:
|
|
162
|
+
logs: _alepha_core1.TOptional<typebox152.TArray<_alepha_core1.TObject<{
|
|
163
|
+
level: typebox152.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
164
164
|
message: _alepha_core1.TString;
|
|
165
165
|
service: _alepha_core1.TString;
|
|
166
166
|
module: _alepha_core1.TString;
|
|
167
167
|
context: _alepha_core1.TOptional<_alepha_core1.TString>;
|
|
168
168
|
app: _alepha_core1.TOptional<_alepha_core1.TString>;
|
|
169
|
-
data: _alepha_core1.TOptional<
|
|
169
|
+
data: _alepha_core1.TOptional<typebox152.TAny>;
|
|
170
170
|
timestamp: _alepha_core1.TString;
|
|
171
171
|
}>>>;
|
|
172
172
|
}>>;
|
|
@@ -261,54 +261,54 @@ interface JobHandlerArguments {
|
|
|
261
261
|
}
|
|
262
262
|
//#endregion
|
|
263
263
|
//#region src/entities/jobExecutions.d.ts
|
|
264
|
-
declare const jobExecutions: _alepha_postgres0.EntityDescriptor<
|
|
265
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
266
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
267
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
268
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
269
|
-
finishedAt:
|
|
270
|
-
job:
|
|
271
|
-
status:
|
|
272
|
-
error:
|
|
273
|
-
logs:
|
|
274
|
-
level:
|
|
275
|
-
message:
|
|
276
|
-
service:
|
|
277
|
-
module:
|
|
278
|
-
context:
|
|
279
|
-
app:
|
|
280
|
-
data:
|
|
281
|
-
timestamp:
|
|
264
|
+
declare const jobExecutions: _alepha_postgres0.EntityDescriptor<typebox152.TObject<{
|
|
265
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
266
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
267
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
268
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
269
|
+
finishedAt: typebox152.TOptional<typebox152.TString>;
|
|
270
|
+
job: typebox152.TString;
|
|
271
|
+
status: typebox152.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
272
|
+
error: typebox152.TOptional<typebox152.TString>;
|
|
273
|
+
logs: typebox152.TOptional<typebox152.TArray<typebox152.TObject<{
|
|
274
|
+
level: typebox152.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
275
|
+
message: typebox152.TString;
|
|
276
|
+
service: typebox152.TString;
|
|
277
|
+
module: typebox152.TString;
|
|
278
|
+
context: typebox152.TOptional<typebox152.TString>;
|
|
279
|
+
app: typebox152.TOptional<typebox152.TString>;
|
|
280
|
+
data: typebox152.TOptional<typebox152.TAny>;
|
|
281
|
+
timestamp: typebox152.TString;
|
|
282
282
|
}>>>;
|
|
283
283
|
}>>;
|
|
284
284
|
type JobExecutionEntity = Static<typeof jobExecutions.schema>;
|
|
285
285
|
//#endregion
|
|
286
286
|
//#region src/schemas/jobExecutionResourceSchema.d.ts
|
|
287
|
-
declare const jobExecutionResourceSchema:
|
|
288
|
-
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
289
|
-
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
290
|
-
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
291
|
-
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<
|
|
292
|
-
finishedAt:
|
|
293
|
-
job:
|
|
294
|
-
status:
|
|
295
|
-
error:
|
|
296
|
-
logs:
|
|
297
|
-
level:
|
|
298
|
-
message:
|
|
299
|
-
service:
|
|
300
|
-
module:
|
|
301
|
-
context:
|
|
302
|
-
app:
|
|
303
|
-
data:
|
|
304
|
-
timestamp:
|
|
287
|
+
declare const jobExecutionResourceSchema: typebox152.TObject<{
|
|
288
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
289
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
290
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
291
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox152.TString, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
292
|
+
finishedAt: typebox152.TOptional<typebox152.TString>;
|
|
293
|
+
job: typebox152.TString;
|
|
294
|
+
status: typebox152.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
295
|
+
error: typebox152.TOptional<typebox152.TString>;
|
|
296
|
+
logs: typebox152.TOptional<typebox152.TArray<typebox152.TObject<{
|
|
297
|
+
level: typebox152.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
298
|
+
message: typebox152.TString;
|
|
299
|
+
service: typebox152.TString;
|
|
300
|
+
module: typebox152.TString;
|
|
301
|
+
context: typebox152.TOptional<typebox152.TString>;
|
|
302
|
+
app: typebox152.TOptional<typebox152.TString>;
|
|
303
|
+
data: typebox152.TOptional<typebox152.TAny>;
|
|
304
|
+
timestamp: typebox152.TString;
|
|
305
305
|
}>>>;
|
|
306
306
|
}>;
|
|
307
307
|
type JobExecutionResource = Static<typeof jobExecutionResourceSchema>;
|
|
308
308
|
//#endregion
|
|
309
309
|
//#region src/schemas/triggerJobSchema.d.ts
|
|
310
|
-
declare const triggerJobSchema:
|
|
311
|
-
name:
|
|
310
|
+
declare const triggerJobSchema: typebox152.TObject<{
|
|
311
|
+
name: typebox152.TString;
|
|
312
312
|
}>;
|
|
313
313
|
type TriggerJob = Static<typeof triggerJobSchema>;
|
|
314
314
|
//#endregion
|