alepha 0.15.0 → 0.15.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/README.md +43 -98
- package/dist/api/audits/index.d.ts +240 -240
- package/dist/api/audits/index.d.ts.map +1 -1
- package/dist/api/audits/index.js +2 -2
- package/dist/api/audits/index.js.map +1 -1
- package/dist/api/files/index.d.ts +185 -185
- package/dist/api/files/index.d.ts.map +1 -1
- package/dist/api/files/index.js +2 -2
- package/dist/api/files/index.js.map +1 -1
- package/dist/api/jobs/index.d.ts +245 -245
- package/dist/api/jobs/index.d.ts.map +1 -1
- package/dist/api/notifications/index.browser.js +4 -4
- package/dist/api/notifications/index.browser.js.map +1 -1
- package/dist/api/notifications/index.d.ts +74 -74
- package/dist/api/notifications/index.d.ts.map +1 -1
- package/dist/api/notifications/index.js +4 -4
- package/dist/api/notifications/index.js.map +1 -1
- package/dist/api/parameters/index.d.ts +221 -221
- package/dist/api/parameters/index.d.ts.map +1 -1
- package/dist/api/users/index.d.ts +1632 -1631
- package/dist/api/users/index.d.ts.map +1 -1
- package/dist/api/users/index.js +26 -34
- package/dist/api/users/index.js.map +1 -1
- package/dist/api/verifications/index.d.ts +132 -132
- package/dist/api/verifications/index.d.ts.map +1 -1
- package/dist/batch/index.d.ts +122 -122
- package/dist/batch/index.d.ts.map +1 -1
- package/dist/bucket/index.d.ts +163 -163
- package/dist/bucket/index.d.ts.map +1 -1
- package/dist/cache/core/index.d.ts +46 -46
- package/dist/cache/core/index.d.ts.map +1 -1
- package/dist/cache/redis/index.d.ts.map +1 -1
- package/dist/cache/redis/index.js +2 -2
- package/dist/cache/redis/index.js.map +1 -1
- package/dist/cli/index.d.ts +5933 -201
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +609 -169
- package/dist/cli/index.js.map +1 -1
- package/dist/command/index.d.ts +296 -296
- package/dist/command/index.d.ts.map +1 -1
- package/dist/command/index.js +19 -19
- package/dist/command/index.js.map +1 -1
- package/dist/core/index.browser.js +268 -79
- package/dist/core/index.browser.js.map +1 -1
- package/dist/core/index.d.ts +768 -694
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +268 -79
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.native.js +268 -79
- package/dist/core/index.native.js.map +1 -1
- package/dist/datetime/index.d.ts +44 -44
- package/dist/datetime/index.d.ts.map +1 -1
- package/dist/email/index.d.ts +25 -25
- package/dist/email/index.d.ts.map +1 -1
- package/dist/fake/index.d.ts +5409 -5409
- package/dist/fake/index.d.ts.map +1 -1
- package/dist/fake/index.js +22 -22
- package/dist/fake/index.js.map +1 -1
- package/dist/file/index.d.ts +435 -435
- package/dist/file/index.d.ts.map +1 -1
- package/dist/lock/core/index.d.ts +208 -208
- package/dist/lock/core/index.d.ts.map +1 -1
- package/dist/lock/redis/index.d.ts.map +1 -1
- package/dist/logger/index.d.ts +24 -24
- package/dist/logger/index.d.ts.map +1 -1
- package/dist/logger/index.js +1 -5
- package/dist/logger/index.js.map +1 -1
- package/dist/mcp/index.d.ts +216 -198
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +28 -4
- package/dist/mcp/index.js.map +1 -1
- package/dist/orm/index.browser.js +9 -9
- package/dist/orm/index.browser.js.map +1 -1
- package/dist/orm/index.bun.js +83 -76
- package/dist/orm/index.bun.js.map +1 -1
- package/dist/orm/index.d.ts +961 -960
- package/dist/orm/index.d.ts.map +1 -1
- package/dist/orm/index.js +88 -81
- package/dist/orm/index.js.map +1 -1
- package/dist/queue/core/index.d.ts +244 -244
- package/dist/queue/core/index.d.ts.map +1 -1
- package/dist/queue/redis/index.d.ts.map +1 -1
- package/dist/redis/index.d.ts +105 -105
- package/dist/redis/index.d.ts.map +1 -1
- package/dist/retry/index.d.ts +69 -69
- package/dist/retry/index.d.ts.map +1 -1
- package/dist/router/index.d.ts +6 -6
- package/dist/router/index.d.ts.map +1 -1
- package/dist/scheduler/index.d.ts +108 -26
- package/dist/scheduler/index.d.ts.map +1 -1
- package/dist/scheduler/index.js +393 -1
- package/dist/scheduler/index.js.map +1 -1
- package/dist/security/index.d.ts +532 -209
- package/dist/security/index.d.ts.map +1 -1
- package/dist/security/index.js +1422 -11
- package/dist/security/index.js.map +1 -1
- package/dist/server/auth/index.d.ts +1296 -271
- package/dist/server/auth/index.d.ts.map +1 -1
- package/dist/server/auth/index.js +1249 -18
- package/dist/server/auth/index.js.map +1 -1
- package/dist/server/cache/index.d.ts +56 -56
- package/dist/server/cache/index.d.ts.map +1 -1
- package/dist/server/compress/index.d.ts +3 -3
- package/dist/server/compress/index.d.ts.map +1 -1
- package/dist/server/cookies/index.d.ts +6 -6
- package/dist/server/cookies/index.d.ts.map +1 -1
- package/dist/server/core/index.d.ts +196 -186
- package/dist/server/core/index.d.ts.map +1 -1
- package/dist/server/core/index.js +43 -27
- package/dist/server/core/index.js.map +1 -1
- package/dist/server/cors/index.d.ts +11 -11
- package/dist/server/cors/index.d.ts.map +1 -1
- package/dist/server/health/index.d.ts.map +1 -1
- package/dist/server/helmet/index.d.ts +2 -2
- package/dist/server/helmet/index.d.ts.map +1 -1
- package/dist/server/links/index.browser.js +9 -1
- package/dist/server/links/index.browser.js.map +1 -1
- package/dist/server/links/index.d.ts +83 -83
- package/dist/server/links/index.d.ts.map +1 -1
- package/dist/server/links/index.js +13 -5
- package/dist/server/links/index.js.map +1 -1
- package/dist/server/metrics/index.d.ts +514 -1
- package/dist/server/metrics/index.d.ts.map +1 -1
- package/dist/server/metrics/index.js +4462 -4
- package/dist/server/metrics/index.js.map +1 -1
- package/dist/server/multipart/index.d.ts +6 -6
- package/dist/server/multipart/index.d.ts.map +1 -1
- package/dist/server/proxy/index.d.ts +102 -102
- package/dist/server/proxy/index.d.ts.map +1 -1
- package/dist/server/rate-limit/index.d.ts +16 -16
- package/dist/server/rate-limit/index.d.ts.map +1 -1
- package/dist/server/static/index.d.ts +44 -44
- package/dist/server/static/index.d.ts.map +1 -1
- package/dist/server/swagger/index.d.ts +47 -47
- package/dist/server/swagger/index.d.ts.map +1 -1
- package/dist/sms/index.d.ts +11 -11
- package/dist/sms/index.d.ts.map +1 -1
- package/dist/sms/index.js +3 -3
- package/dist/sms/index.js.map +1 -1
- package/dist/thread/index.d.ts +71 -71
- package/dist/thread/index.d.ts.map +1 -1
- package/dist/thread/index.js +2 -2
- package/dist/thread/index.js.map +1 -1
- package/dist/topic/core/index.d.ts +318 -318
- package/dist/topic/core/index.d.ts.map +1 -1
- package/dist/topic/redis/index.d.ts +6 -6
- package/dist/topic/redis/index.d.ts.map +1 -1
- package/dist/vite/index.d.ts +2324 -1719
- package/dist/vite/index.d.ts.map +1 -1
- package/dist/vite/index.js +123 -475
- package/dist/vite/index.js.map +1 -1
- package/dist/websocket/index.browser.js +3 -3
- package/dist/websocket/index.browser.js.map +1 -1
- package/dist/websocket/index.d.ts +275 -275
- package/dist/websocket/index.d.ts.map +1 -1
- package/dist/websocket/index.js +3 -3
- package/dist/websocket/index.js.map +1 -1
- package/package.json +9 -9
- package/src/api/users/services/SessionService.ts +0 -10
- package/src/cli/apps/AlephaCli.ts +2 -2
- package/src/cli/apps/AlephaPackageBuilderCli.ts +9 -1
- package/src/cli/assets/apiHelloControllerTs.ts +2 -1
- package/src/cli/assets/biomeJson.ts +2 -1
- package/src/cli/assets/claudeMd.ts +9 -4
- package/src/cli/assets/dummySpecTs.ts +2 -1
- package/src/cli/assets/editorconfig.ts +2 -1
- package/src/cli/assets/mainBrowserTs.ts +2 -1
- package/src/cli/assets/mainCss.ts +24 -0
- package/src/cli/assets/tsconfigJson.ts +2 -1
- package/src/cli/assets/webAppRouterTs.ts +2 -1
- package/src/cli/assets/webHelloComponentTsx.ts +6 -2
- package/src/cli/atoms/appEntryOptions.ts +13 -0
- package/src/cli/atoms/buildOptions.ts +1 -1
- package/src/cli/atoms/changelogOptions.ts +1 -1
- package/src/cli/commands/build.ts +63 -47
- package/src/cli/commands/dev.ts +16 -33
- package/src/cli/commands/gen/env.ts +1 -1
- package/src/cli/commands/init.ts +17 -8
- package/src/cli/commands/lint.ts +1 -1
- package/src/cli/defineConfig.ts +9 -0
- package/src/cli/index.ts +2 -1
- package/src/cli/providers/AppEntryProvider.ts +131 -0
- package/src/cli/providers/ViteBuildProvider.ts +82 -0
- package/src/cli/providers/ViteDevServerProvider.ts +350 -0
- package/src/cli/providers/ViteTemplateProvider.ts +27 -0
- package/src/cli/services/AlephaCliUtils.ts +33 -2
- package/src/cli/services/PackageManagerUtils.ts +13 -6
- package/src/cli/services/ProjectScaffolder.ts +72 -49
- package/src/core/Alepha.ts +2 -8
- package/src/core/primitives/$module.ts +12 -0
- package/src/core/providers/KeylessJsonSchemaCodec.spec.ts +257 -0
- package/src/core/providers/KeylessJsonSchemaCodec.ts +396 -14
- package/src/core/providers/SchemaValidator.spec.ts +236 -0
- package/src/logger/providers/PrettyFormatterProvider.ts +0 -9
- package/src/mcp/errors/McpError.ts +30 -0
- package/src/mcp/index.ts +3 -0
- package/src/mcp/transports/SseMcpTransport.ts +16 -6
- package/src/orm/providers/DrizzleKitProvider.ts +3 -5
- package/src/orm/services/Repository.ts +11 -0
- package/src/server/core/index.ts +1 -1
- package/src/server/core/providers/BunHttpServerProvider.ts +1 -1
- package/src/server/core/providers/NodeHttpServerProvider.spec.ts +125 -0
- package/src/server/core/providers/NodeHttpServerProvider.ts +71 -22
- package/src/server/core/providers/ServerLoggerProvider.ts +2 -2
- package/src/server/core/providers/ServerProvider.ts +9 -12
- package/src/server/links/atoms/apiLinksAtom.ts +7 -0
- package/src/server/links/index.browser.ts +2 -0
- package/src/server/links/index.ts +2 -0
- package/src/vite/index.ts +3 -2
- package/src/vite/tasks/buildClient.ts +0 -1
- package/src/vite/tasks/buildServer.ts +68 -21
- package/src/vite/tasks/copyAssets.ts +5 -4
- package/src/vite/tasks/generateSitemap.ts +64 -23
- package/src/vite/tasks/index.ts +0 -2
- package/src/vite/tasks/prerenderPages.ts +49 -24
- package/src/cli/assets/indexHtml.ts +0 -15
- package/src/cli/commands/format.ts +0 -23
- package/src/vite/helpers/boot.ts +0 -117
- package/src/vite/plugins/viteAlephaDev.ts +0 -177
- package/src/vite/tasks/devServer.ts +0 -71
- package/src/vite/tasks/runAlepha.ts +0 -270
- /package/dist/orm/{chunk-DtkW-qnP.js → chunk-DH6iiROE.js} +0 -0
package/dist/api/jobs/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as alepha103 from "alepha";
|
|
2
2
|
import { Alepha, Async, KIND, Primitive, Static, TNull, TObject, TOptional, TSchema, TUnion } from "alepha";
|
|
3
3
|
import * as alepha_server0 from "alepha/server";
|
|
4
|
-
import * as
|
|
4
|
+
import * as alepha_orm33 from "alepha/orm";
|
|
5
5
|
import "alepha/logger";
|
|
6
6
|
import { DateTime, DateTimeProvider } from "alepha/datetime";
|
|
7
7
|
import { LockPrimitive } from "alepha/lock";
|
|
@@ -42,114 +42,114 @@ type TObjectUpdate<T extends TObject> = TObject<{ [K in keyof T["properties"]]:
|
|
|
42
42
|
//#region ../../src/orm/primitives/$entity.d.ts
|
|
43
43
|
interface EntityPrimitiveOptions<T extends TObject, Keys = keyof Static<T>> {
|
|
44
44
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
* The database table name that will be created for this entity.
|
|
46
|
+
* If not provided, name will be inferred from the $repository variable name.
|
|
47
|
+
*/
|
|
48
48
|
name: string;
|
|
49
49
|
/**
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
* TypeBox schema defining the table structure and column types.
|
|
51
|
+
*/
|
|
52
52
|
schema: T;
|
|
53
53
|
/**
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
* Database indexes to create for query optimization.
|
|
55
|
+
*/
|
|
56
56
|
indexes?: (Keys | {
|
|
57
57
|
/**
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
* Single column to index.
|
|
59
|
+
*/
|
|
60
60
|
column: Keys;
|
|
61
61
|
/**
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
* Whether this should be a unique index (enforces uniqueness constraint).
|
|
63
|
+
*/
|
|
64
64
|
unique?: boolean;
|
|
65
65
|
/**
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
* Custom name for the index. If not provided, generates name automatically.
|
|
67
|
+
*/
|
|
68
68
|
name?: string;
|
|
69
69
|
} | {
|
|
70
70
|
/**
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
* Multiple columns for composite index (order matters for query optimization).
|
|
72
|
+
*/
|
|
73
73
|
columns: Keys[];
|
|
74
74
|
/**
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
* Whether this should be a unique index (enforces uniqueness constraint).
|
|
76
|
+
*/
|
|
77
77
|
unique?: boolean;
|
|
78
78
|
/**
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
* Custom name for the index. If not provided, generates name automatically.
|
|
80
|
+
*/
|
|
81
81
|
name?: string;
|
|
82
82
|
})[];
|
|
83
83
|
/**
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
* Foreign key constraints to maintain referential integrity.
|
|
85
|
+
*/
|
|
86
86
|
foreignKeys?: Array<{
|
|
87
87
|
/**
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
* Optional name for the foreign key constraint.
|
|
89
|
+
*/
|
|
90
90
|
name?: string;
|
|
91
91
|
/**
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
* Local columns that reference the foreign table.
|
|
93
|
+
*/
|
|
94
94
|
columns: Array<keyof Static<T>>;
|
|
95
95
|
/**
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
96
|
+
* Referenced columns in the foreign table.
|
|
97
|
+
* Must be EntityColumn references from other entities.
|
|
98
|
+
*/
|
|
99
99
|
foreignColumns: Array<() => EntityColumn<any>>;
|
|
100
100
|
}>;
|
|
101
101
|
/**
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
102
|
+
* Additional table constraints for data validation.
|
|
103
|
+
*
|
|
104
|
+
* Constraints enforce business rules at the database level, providing
|
|
105
|
+
* an additional layer of data integrity beyond application validation.
|
|
106
|
+
*
|
|
107
|
+
* **Constraint Types**:
|
|
108
|
+
* - **Unique constraints**: Prevent duplicate values across columns
|
|
109
|
+
* - **Check constraints**: Enforce custom validation rules with SQL expressions
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```ts
|
|
113
|
+
* constraints: [
|
|
114
|
+
* {
|
|
115
|
+
* name: "unique_user_email",
|
|
116
|
+
* columns: ["email"],
|
|
117
|
+
* unique: true
|
|
118
|
+
* },
|
|
119
|
+
* {
|
|
120
|
+
* name: "valid_age_range",
|
|
121
|
+
* columns: ["age"],
|
|
122
|
+
* check: sql`age >= 0 AND age <= 150`
|
|
123
|
+
* },
|
|
124
|
+
* {
|
|
125
|
+
* name: "unique_user_username_per_tenant",
|
|
126
|
+
* columns: ["tenantId", "username"],
|
|
127
|
+
* unique: true
|
|
128
|
+
* }
|
|
129
|
+
* ]
|
|
130
|
+
* ```
|
|
131
|
+
*/
|
|
132
132
|
constraints?: Array<{
|
|
133
133
|
/**
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
* Columns involved in this constraint.
|
|
135
|
+
*/
|
|
136
136
|
columns: Array<keyof Static<T>>;
|
|
137
137
|
/**
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
* Optional name for the constraint.
|
|
139
|
+
*/
|
|
140
140
|
name?: string;
|
|
141
141
|
/**
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
* Whether this is a unique constraint.
|
|
143
|
+
*/
|
|
144
144
|
unique?: boolean | {};
|
|
145
145
|
/**
|
|
146
|
-
|
|
147
|
-
|
|
146
|
+
* SQL expression for check constraint validation.
|
|
147
|
+
*/
|
|
148
148
|
check?: SQL;
|
|
149
149
|
}>;
|
|
150
150
|
/**
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
* Advanced Drizzle ORM configuration for complex table setups.
|
|
152
|
+
*/
|
|
153
153
|
config?: (self: BuildExtraConfigColumns<string, FromSchema<T>, "pg">) => PgTableExtraConfigValue[];
|
|
154
154
|
}
|
|
155
155
|
declare class EntityPrimitive<T extends TObject = TObject> {
|
|
@@ -197,8 +197,8 @@ type PgSymbols = {
|
|
|
197
197
|
[PG_REF]: PgRefOptions;
|
|
198
198
|
[PG_ENUM]: PgEnumOptions;
|
|
199
199
|
/**
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
* @deprecated Use `PG_IDENTITY` instead.
|
|
201
|
+
*/
|
|
202
202
|
[PG_SERIAL]: {};
|
|
203
203
|
};
|
|
204
204
|
type PgSymbolKeys = keyof PgSymbols;
|
|
@@ -229,76 +229,76 @@ interface PgRefOptions {
|
|
|
229
229
|
type PgAttr<T extends TSchema, TAttr extends PgSymbolKeys> = T & { [K in TAttr]: PgSymbols[K] };
|
|
230
230
|
//#endregion
|
|
231
231
|
//#region ../../src/api/jobs/schemas/jobExecutionQuerySchema.d.ts
|
|
232
|
-
declare const jobExecutionQuerySchema:
|
|
233
|
-
page:
|
|
234
|
-
size:
|
|
235
|
-
sort:
|
|
236
|
-
status:
|
|
237
|
-
job:
|
|
232
|
+
declare const jobExecutionQuerySchema: alepha103.TObject<{
|
|
233
|
+
page: alepha103.TOptional<alepha103.TInteger>;
|
|
234
|
+
size: alepha103.TOptional<alepha103.TInteger>;
|
|
235
|
+
sort: alepha103.TOptional<alepha103.TString>;
|
|
236
|
+
status: alepha103.TOptional<alepha103.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
|
|
237
|
+
job: alepha103.TOptional<alepha103.TString>;
|
|
238
238
|
}>;
|
|
239
239
|
type JobExecutionQuery = Static<typeof jobExecutionQuerySchema>;
|
|
240
240
|
//#endregion
|
|
241
241
|
//#region ../../src/api/jobs/services/JobService.d.ts
|
|
242
242
|
declare class JobService {
|
|
243
243
|
protected readonly alepha: Alepha;
|
|
244
|
-
protected readonly executionRepository:
|
|
245
|
-
id:
|
|
246
|
-
version:
|
|
247
|
-
createdAt:
|
|
248
|
-
updatedAt:
|
|
249
|
-
finishedAt:
|
|
250
|
-
job:
|
|
251
|
-
status:
|
|
252
|
-
error:
|
|
253
|
-
logs:
|
|
254
|
-
level:
|
|
255
|
-
message:
|
|
256
|
-
service:
|
|
257
|
-
module:
|
|
258
|
-
context:
|
|
259
|
-
app:
|
|
260
|
-
data:
|
|
261
|
-
timestamp:
|
|
244
|
+
protected readonly executionRepository: alepha_orm33.Repository<alepha103.TObject<{
|
|
245
|
+
id: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_PRIMARY_KEY>, typeof alepha_orm33.PG_DEFAULT>;
|
|
246
|
+
version: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TInteger, typeof alepha_orm33.PG_VERSION>, typeof alepha_orm33.PG_DEFAULT>;
|
|
247
|
+
createdAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_CREATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
248
|
+
updatedAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_UPDATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
249
|
+
finishedAt: alepha103.TOptional<alepha103.TString>;
|
|
250
|
+
job: alepha103.TString;
|
|
251
|
+
status: alepha103.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
252
|
+
error: alepha103.TOptional<alepha103.TString>;
|
|
253
|
+
logs: alepha103.TOptional<alepha103.TArray<alepha103.TObject<{
|
|
254
|
+
level: alepha103.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
255
|
+
message: alepha103.TString;
|
|
256
|
+
service: alepha103.TString;
|
|
257
|
+
module: alepha103.TString;
|
|
258
|
+
context: alepha103.TOptional<alepha103.TString>;
|
|
259
|
+
app: alepha103.TOptional<alepha103.TString>;
|
|
260
|
+
data: alepha103.TOptional<alepha103.TAny>;
|
|
261
|
+
timestamp: alepha103.TNumber;
|
|
262
262
|
}>>>;
|
|
263
263
|
}>>;
|
|
264
264
|
getJobs(): Promise<string[]>;
|
|
265
|
-
getJobExecutions(query?: JobExecutionQuery): Promise<
|
|
266
|
-
id:
|
|
267
|
-
version:
|
|
268
|
-
createdAt:
|
|
269
|
-
updatedAt:
|
|
270
|
-
finishedAt:
|
|
271
|
-
job:
|
|
272
|
-
status:
|
|
273
|
-
error:
|
|
274
|
-
logs:
|
|
275
|
-
level:
|
|
276
|
-
message:
|
|
277
|
-
service:
|
|
278
|
-
module:
|
|
279
|
-
context:
|
|
280
|
-
app:
|
|
281
|
-
data:
|
|
282
|
-
timestamp:
|
|
265
|
+
getJobExecutions(query?: JobExecutionQuery): Promise<alepha103.Page<alepha_orm33.PgStatic<alepha103.TObject<{
|
|
266
|
+
id: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_PRIMARY_KEY>, typeof alepha_orm33.PG_DEFAULT>;
|
|
267
|
+
version: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TInteger, typeof alepha_orm33.PG_VERSION>, typeof alepha_orm33.PG_DEFAULT>;
|
|
268
|
+
createdAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_CREATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
269
|
+
updatedAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_UPDATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
270
|
+
finishedAt: alepha103.TOptional<alepha103.TString>;
|
|
271
|
+
job: alepha103.TString;
|
|
272
|
+
status: alepha103.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
273
|
+
error: alepha103.TOptional<alepha103.TString>;
|
|
274
|
+
logs: alepha103.TOptional<alepha103.TArray<alepha103.TObject<{
|
|
275
|
+
level: alepha103.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
276
|
+
message: alepha103.TString;
|
|
277
|
+
service: alepha103.TString;
|
|
278
|
+
module: alepha103.TString;
|
|
279
|
+
context: alepha103.TOptional<alepha103.TString>;
|
|
280
|
+
app: alepha103.TOptional<alepha103.TString>;
|
|
281
|
+
data: alepha103.TOptional<alepha103.TAny>;
|
|
282
|
+
timestamp: alepha103.TNumber;
|
|
283
283
|
}>>>;
|
|
284
|
-
}>,
|
|
285
|
-
id:
|
|
286
|
-
version:
|
|
287
|
-
createdAt:
|
|
288
|
-
updatedAt:
|
|
289
|
-
finishedAt:
|
|
290
|
-
job:
|
|
291
|
-
status:
|
|
292
|
-
error:
|
|
293
|
-
logs:
|
|
294
|
-
level:
|
|
295
|
-
message:
|
|
296
|
-
service:
|
|
297
|
-
module:
|
|
298
|
-
context:
|
|
299
|
-
app:
|
|
300
|
-
data:
|
|
301
|
-
timestamp:
|
|
284
|
+
}>, alepha_orm33.PgRelationMap<alepha103.TObject<{
|
|
285
|
+
id: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_PRIMARY_KEY>, typeof alepha_orm33.PG_DEFAULT>;
|
|
286
|
+
version: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TInteger, typeof alepha_orm33.PG_VERSION>, typeof alepha_orm33.PG_DEFAULT>;
|
|
287
|
+
createdAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_CREATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
288
|
+
updatedAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_UPDATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
289
|
+
finishedAt: alepha103.TOptional<alepha103.TString>;
|
|
290
|
+
job: alepha103.TString;
|
|
291
|
+
status: alepha103.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
292
|
+
error: alepha103.TOptional<alepha103.TString>;
|
|
293
|
+
logs: alepha103.TOptional<alepha103.TArray<alepha103.TObject<{
|
|
294
|
+
level: alepha103.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
295
|
+
message: alepha103.TString;
|
|
296
|
+
service: alepha103.TString;
|
|
297
|
+
module: alepha103.TString;
|
|
298
|
+
context: alepha103.TOptional<alepha103.TString>;
|
|
299
|
+
app: alepha103.TOptional<alepha103.TString>;
|
|
300
|
+
data: alepha103.TOptional<alepha103.TAny>;
|
|
301
|
+
timestamp: alepha103.TNumber;
|
|
302
302
|
}>>>;
|
|
303
303
|
}>>>>>;
|
|
304
304
|
triggerJob(name: string): Promise<{
|
|
@@ -312,75 +312,75 @@ declare class AdminJobController {
|
|
|
312
312
|
protected readonly group: string;
|
|
313
313
|
protected readonly jobService: JobService;
|
|
314
314
|
readonly getJobs: alepha_server0.ActionPrimitiveFn<{
|
|
315
|
-
response:
|
|
315
|
+
response: alepha103.TArray<alepha103.TString>;
|
|
316
316
|
}>;
|
|
317
317
|
readonly getJobExecutions: alepha_server0.ActionPrimitiveFn<{
|
|
318
|
-
query:
|
|
319
|
-
page:
|
|
320
|
-
size:
|
|
321
|
-
sort:
|
|
322
|
-
status:
|
|
323
|
-
job:
|
|
318
|
+
query: alepha103.TObject<{
|
|
319
|
+
page: alepha103.TOptional<alepha103.TInteger>;
|
|
320
|
+
size: alepha103.TOptional<alepha103.TInteger>;
|
|
321
|
+
sort: alepha103.TOptional<alepha103.TString>;
|
|
322
|
+
status: alepha103.TOptional<alepha103.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">>;
|
|
323
|
+
job: alepha103.TOptional<alepha103.TString>;
|
|
324
324
|
}>;
|
|
325
|
-
response:
|
|
326
|
-
id: PgAttr<PgAttr<
|
|
327
|
-
version: PgAttr<PgAttr<
|
|
328
|
-
createdAt: PgAttr<PgAttr<
|
|
329
|
-
updatedAt: PgAttr<PgAttr<
|
|
330
|
-
finishedAt:
|
|
331
|
-
job:
|
|
332
|
-
status:
|
|
333
|
-
error:
|
|
334
|
-
logs:
|
|
335
|
-
level:
|
|
336
|
-
message:
|
|
337
|
-
service:
|
|
338
|
-
module:
|
|
339
|
-
context:
|
|
340
|
-
app:
|
|
341
|
-
data:
|
|
342
|
-
timestamp:
|
|
325
|
+
response: alepha103.TPage<alepha103.TObject<{
|
|
326
|
+
id: PgAttr<PgAttr<alepha103.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
327
|
+
version: PgAttr<PgAttr<alepha103.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
328
|
+
createdAt: PgAttr<PgAttr<alepha103.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
329
|
+
updatedAt: PgAttr<PgAttr<alepha103.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
330
|
+
finishedAt: alepha103.TOptional<alepha103.TString>;
|
|
331
|
+
job: alepha103.TString;
|
|
332
|
+
status: alepha103.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
333
|
+
error: alepha103.TOptional<alepha103.TString>;
|
|
334
|
+
logs: alepha103.TOptional<alepha103.TArray<alepha103.TObject<{
|
|
335
|
+
level: alepha103.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
336
|
+
message: alepha103.TString;
|
|
337
|
+
service: alepha103.TString;
|
|
338
|
+
module: alepha103.TString;
|
|
339
|
+
context: alepha103.TOptional<alepha103.TString>;
|
|
340
|
+
app: alepha103.TOptional<alepha103.TString>;
|
|
341
|
+
data: alepha103.TOptional<alepha103.TAny>;
|
|
342
|
+
timestamp: alepha103.TNumber;
|
|
343
343
|
}>>>;
|
|
344
344
|
}>>;
|
|
345
345
|
}>;
|
|
346
346
|
readonly triggerJob: alepha_server0.ActionPrimitiveFn<{
|
|
347
|
-
body:
|
|
348
|
-
name:
|
|
347
|
+
body: alepha103.TObject<{
|
|
348
|
+
name: alepha103.TString;
|
|
349
349
|
}>;
|
|
350
|
-
response:
|
|
351
|
-
ok:
|
|
352
|
-
id:
|
|
353
|
-
count:
|
|
350
|
+
response: alepha103.TObject<{
|
|
351
|
+
ok: alepha103.TBoolean;
|
|
352
|
+
id: alepha103.TOptional<alepha103.TUnion<[alepha103.TString, alepha103.TInteger]>>;
|
|
353
|
+
count: alepha103.TOptional<alepha103.TNumber>;
|
|
354
354
|
}>;
|
|
355
355
|
}>;
|
|
356
356
|
}
|
|
357
357
|
//#endregion
|
|
358
358
|
//#region ../../src/api/jobs/entities/jobExecutions.d.ts
|
|
359
|
-
declare const jobExecutions:
|
|
360
|
-
id:
|
|
361
|
-
version:
|
|
362
|
-
createdAt:
|
|
363
|
-
updatedAt:
|
|
364
|
-
finishedAt:
|
|
365
|
-
job:
|
|
366
|
-
status:
|
|
367
|
-
error:
|
|
368
|
-
logs:
|
|
369
|
-
level:
|
|
370
|
-
message:
|
|
371
|
-
service:
|
|
372
|
-
module:
|
|
373
|
-
context:
|
|
374
|
-
app:
|
|
375
|
-
data:
|
|
376
|
-
timestamp:
|
|
359
|
+
declare const jobExecutions: alepha_orm33.EntityPrimitive<alepha103.TObject<{
|
|
360
|
+
id: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_PRIMARY_KEY>, typeof alepha_orm33.PG_DEFAULT>;
|
|
361
|
+
version: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TInteger, typeof alepha_orm33.PG_VERSION>, typeof alepha_orm33.PG_DEFAULT>;
|
|
362
|
+
createdAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_CREATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
363
|
+
updatedAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_UPDATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
364
|
+
finishedAt: alepha103.TOptional<alepha103.TString>;
|
|
365
|
+
job: alepha103.TString;
|
|
366
|
+
status: alepha103.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
367
|
+
error: alepha103.TOptional<alepha103.TString>;
|
|
368
|
+
logs: alepha103.TOptional<alepha103.TArray<alepha103.TObject<{
|
|
369
|
+
level: alepha103.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
370
|
+
message: alepha103.TString;
|
|
371
|
+
service: alepha103.TString;
|
|
372
|
+
module: alepha103.TString;
|
|
373
|
+
context: alepha103.TOptional<alepha103.TString>;
|
|
374
|
+
app: alepha103.TOptional<alepha103.TString>;
|
|
375
|
+
data: alepha103.TOptional<alepha103.TAny>;
|
|
376
|
+
timestamp: alepha103.TNumber;
|
|
377
377
|
}>>>;
|
|
378
378
|
}>>;
|
|
379
379
|
type JobExecutionEntity = Static<typeof jobExecutions.schema>;
|
|
380
380
|
//#endregion
|
|
381
381
|
//#region ../../src/api/jobs/providers/JobProvider.d.ts
|
|
382
|
-
declare const envSchema:
|
|
383
|
-
JOB_PREFIX:
|
|
382
|
+
declare const envSchema: alepha103.TObject<{
|
|
383
|
+
JOB_PREFIX: alepha103.TOptional<alepha103.TString>;
|
|
384
384
|
}>;
|
|
385
385
|
declare module "alepha" {
|
|
386
386
|
interface Env extends Partial<Static<typeof envSchema>> {}
|
|
@@ -393,24 +393,24 @@ declare class JobProvider {
|
|
|
393
393
|
protected readonly alepha: Alepha;
|
|
394
394
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
395
395
|
protected readonly cronProvider: CronProvider;
|
|
396
|
-
protected readonly executionRepository:
|
|
397
|
-
id:
|
|
398
|
-
version:
|
|
399
|
-
createdAt:
|
|
400
|
-
updatedAt:
|
|
401
|
-
finishedAt:
|
|
402
|
-
job:
|
|
403
|
-
status:
|
|
404
|
-
error:
|
|
405
|
-
logs:
|
|
406
|
-
level:
|
|
407
|
-
message:
|
|
408
|
-
service:
|
|
409
|
-
module:
|
|
410
|
-
context:
|
|
411
|
-
app:
|
|
412
|
-
data:
|
|
413
|
-
timestamp:
|
|
396
|
+
protected readonly executionRepository: alepha_orm33.Repository<alepha103.TObject<{
|
|
397
|
+
id: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_PRIMARY_KEY>, typeof alepha_orm33.PG_DEFAULT>;
|
|
398
|
+
version: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TInteger, typeof alepha_orm33.PG_VERSION>, typeof alepha_orm33.PG_DEFAULT>;
|
|
399
|
+
createdAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_CREATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
400
|
+
updatedAt: alepha_orm33.PgAttr<alepha_orm33.PgAttr<alepha103.TString, typeof alepha_orm33.PG_UPDATED_AT>, typeof alepha_orm33.PG_DEFAULT>;
|
|
401
|
+
finishedAt: alepha103.TOptional<alepha103.TString>;
|
|
402
|
+
job: alepha103.TString;
|
|
403
|
+
status: alepha103.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
404
|
+
error: alepha103.TOptional<alepha103.TString>;
|
|
405
|
+
logs: alepha103.TOptional<alepha103.TArray<alepha103.TObject<{
|
|
406
|
+
level: alepha103.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
407
|
+
message: alepha103.TString;
|
|
408
|
+
service: alepha103.TString;
|
|
409
|
+
module: alepha103.TString;
|
|
410
|
+
context: alepha103.TOptional<alepha103.TString>;
|
|
411
|
+
app: alepha103.TOptional<alepha103.TString>;
|
|
412
|
+
data: alepha103.TOptional<alepha103.TAny>;
|
|
413
|
+
timestamp: alepha103.TNumber;
|
|
414
414
|
}>>>;
|
|
415
415
|
}>>;
|
|
416
416
|
protected readonly env: {
|
|
@@ -428,49 +428,49 @@ declare class JobProvider {
|
|
|
428
428
|
}[]>;
|
|
429
429
|
protected readonly jobs: Map<string, JobRegistration>;
|
|
430
430
|
/**
|
|
431
|
-
|
|
432
|
-
|
|
431
|
+
* Register and set up a job for execution (called during primitive initialization).
|
|
432
|
+
*/
|
|
433
433
|
registerJob(options: Job): JobRegistration;
|
|
434
434
|
/**
|
|
435
|
-
|
|
436
|
-
|
|
435
|
+
* Trigger a job by name.
|
|
436
|
+
*/
|
|
437
437
|
triggerJob(jobName: string): Promise<void>;
|
|
438
438
|
/**
|
|
439
|
-
|
|
440
|
-
|
|
439
|
+
* Execute a job handler (called by the job primitive).
|
|
440
|
+
*/
|
|
441
441
|
executeJob(jobName: string, handler: (args: {
|
|
442
442
|
now: DateTime;
|
|
443
443
|
}) => Async<void>): Promise<void>;
|
|
444
444
|
}
|
|
445
445
|
interface Job {
|
|
446
446
|
/**
|
|
447
|
-
|
|
448
|
-
|
|
447
|
+
* Name of the job.
|
|
448
|
+
*/
|
|
449
449
|
name: string;
|
|
450
450
|
/**
|
|
451
|
-
|
|
452
|
-
|
|
451
|
+
* Optional description of the job.
|
|
452
|
+
*/
|
|
453
453
|
description?: string;
|
|
454
454
|
/**
|
|
455
|
-
|
|
456
|
-
|
|
455
|
+
* Function to run on schedule.
|
|
456
|
+
*/
|
|
457
457
|
handler: (args: {
|
|
458
458
|
now: DateTime;
|
|
459
459
|
}) => Async<void>;
|
|
460
460
|
/**
|
|
461
|
-
|
|
462
|
-
|
|
461
|
+
* Cron expression to run the job.
|
|
462
|
+
*/
|
|
463
463
|
cron?: string;
|
|
464
464
|
/**
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
465
|
+
* If true, the job will be locked and only one instance will run at a time.
|
|
466
|
+
* You probably need to import {@link AlephaLockRedis} for distributed locking.
|
|
467
|
+
*
|
|
468
|
+
* @default true
|
|
469
|
+
*/
|
|
470
470
|
lock?: boolean;
|
|
471
471
|
/**
|
|
472
|
-
|
|
473
|
-
|
|
472
|
+
* Optional prefix for job lock keys.
|
|
473
|
+
*/
|
|
474
474
|
lockPrefix?: string;
|
|
475
475
|
}
|
|
476
476
|
interface JobRegistration {
|
|
@@ -489,8 +489,8 @@ declare const $job: {
|
|
|
489
489
|
};
|
|
490
490
|
type JobPrimitiveOptions = Omit<Job, "name"> & {
|
|
491
491
|
/**
|
|
492
|
-
|
|
493
|
-
|
|
492
|
+
* Name of the job. Defaults to the primitive property name.
|
|
493
|
+
*/
|
|
494
494
|
name?: string;
|
|
495
495
|
};
|
|
496
496
|
declare class JobPrimitive extends Primitive<JobPrimitiveOptions> {
|
|
@@ -504,31 +504,31 @@ interface JobHandlerArguments {
|
|
|
504
504
|
}
|
|
505
505
|
//#endregion
|
|
506
506
|
//#region ../../src/api/jobs/schemas/jobExecutionResourceSchema.d.ts
|
|
507
|
-
declare const jobExecutionResourceSchema:
|
|
508
|
-
id: PgAttr<PgAttr<
|
|
509
|
-
version: PgAttr<PgAttr<
|
|
510
|
-
createdAt: PgAttr<PgAttr<
|
|
511
|
-
updatedAt: PgAttr<PgAttr<
|
|
512
|
-
finishedAt:
|
|
513
|
-
job:
|
|
514
|
-
status:
|
|
515
|
-
error:
|
|
516
|
-
logs:
|
|
517
|
-
level:
|
|
518
|
-
message:
|
|
519
|
-
service:
|
|
520
|
-
module:
|
|
521
|
-
context:
|
|
522
|
-
app:
|
|
523
|
-
data:
|
|
524
|
-
timestamp:
|
|
507
|
+
declare const jobExecutionResourceSchema: alepha103.TObject<{
|
|
508
|
+
id: PgAttr<PgAttr<alepha103.TString, typeof PG_PRIMARY_KEY>, typeof PG_DEFAULT>;
|
|
509
|
+
version: PgAttr<PgAttr<alepha103.TInteger, typeof PG_VERSION>, typeof PG_DEFAULT>;
|
|
510
|
+
createdAt: PgAttr<PgAttr<alepha103.TString, typeof PG_CREATED_AT>, typeof PG_DEFAULT>;
|
|
511
|
+
updatedAt: PgAttr<PgAttr<alepha103.TString, typeof PG_UPDATED_AT>, typeof PG_DEFAULT>;
|
|
512
|
+
finishedAt: alepha103.TOptional<alepha103.TString>;
|
|
513
|
+
job: alepha103.TString;
|
|
514
|
+
status: alepha103.TUnsafe<"STARTED" | "FAILED" | "COMPLETED">;
|
|
515
|
+
error: alepha103.TOptional<alepha103.TString>;
|
|
516
|
+
logs: alepha103.TOptional<alepha103.TArray<alepha103.TObject<{
|
|
517
|
+
level: alepha103.TUnsafe<"SILENT" | "TRACE" | "DEBUG" | "INFO" | "WARN" | "ERROR">;
|
|
518
|
+
message: alepha103.TString;
|
|
519
|
+
service: alepha103.TString;
|
|
520
|
+
module: alepha103.TString;
|
|
521
|
+
context: alepha103.TOptional<alepha103.TString>;
|
|
522
|
+
app: alepha103.TOptional<alepha103.TString>;
|
|
523
|
+
data: alepha103.TOptional<alepha103.TAny>;
|
|
524
|
+
timestamp: alepha103.TNumber;
|
|
525
525
|
}>>>;
|
|
526
526
|
}>;
|
|
527
527
|
type JobExecutionResource = Static<typeof jobExecutionResourceSchema>;
|
|
528
528
|
//#endregion
|
|
529
529
|
//#region ../../src/api/jobs/schemas/triggerJobSchema.d.ts
|
|
530
|
-
declare const triggerJobSchema:
|
|
531
|
-
name:
|
|
530
|
+
declare const triggerJobSchema: alepha103.TObject<{
|
|
531
|
+
name: alepha103.TString;
|
|
532
532
|
}>;
|
|
533
533
|
type TriggerJob = Static<typeof triggerJobSchema>;
|
|
534
534
|
//#endregion
|
|
@@ -541,7 +541,7 @@ type TriggerJob = Static<typeof triggerJobSchema>;
|
|
|
541
541
|
*
|
|
542
542
|
* @module alepha.api.jobs
|
|
543
543
|
*/
|
|
544
|
-
declare const AlephaApiJobs:
|
|
544
|
+
declare const AlephaApiJobs: alepha103.Service<alepha103.Module>;
|
|
545
545
|
//#endregion
|
|
546
546
|
export { $job, AdminJobController, AlephaApiJobs, Job, JobExecutionEntity, JobExecutionQuery, JobExecutionResource, JobHandlerArguments, JobPrimitive, JobPrimitiveOptions, JobProvider, JobRegistration, JobService, TriggerJob, jobExecutionQuerySchema, jobExecutionResourceSchema, jobExecutions, triggerJobSchema };
|
|
547
547
|
//# sourceMappingURL=index.d.ts.map
|