alepha 0.20.6 → 0.20.7
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/AGENTS.md +0 -1
- package/CLAUDE.md +0 -1
- package/assets/agents-template.md +0 -1
- package/dist/api/audits/index.browser.js +1 -0
- package/dist/api/audits/index.browser.js.map +1 -1
- package/dist/api/audits/index.d.ts +370 -355
- package/dist/api/audits/index.d.ts.map +1 -1
- package/dist/api/audits/index.js +1 -0
- package/dist/api/audits/index.js.map +1 -1
- package/dist/api/files/index.browser.js +1 -0
- package/dist/api/files/index.browser.js.map +1 -1
- package/dist/api/files/index.d.ts +179 -170
- package/dist/api/files/index.d.ts.map +1 -1
- package/dist/api/files/index.js +1 -0
- package/dist/api/files/index.js.map +1 -1
- package/dist/api/jobs/index.browser.js +7 -0
- package/dist/api/jobs/index.browser.js.map +1 -1
- package/dist/api/jobs/index.d.ts +271 -262
- package/dist/api/jobs/index.d.ts.map +1 -1
- package/dist/api/jobs/index.js +21 -3
- package/dist/api/jobs/index.js.map +1 -1
- package/dist/api/keys/index.d.ts +198 -192
- package/dist/api/keys/index.d.ts.map +1 -1
- package/dist/api/keys/index.js +1 -0
- package/dist/api/keys/index.js.map +1 -1
- package/dist/api/notifications/index.d.ts +246 -245
- package/dist/api/notifications/index.d.ts.map +1 -1
- package/dist/api/organizations/index.d.ts +100 -97
- package/dist/api/organizations/index.d.ts.map +1 -1
- package/dist/api/parameters/index.d.ts +323 -320
- package/dist/api/parameters/index.d.ts.map +1 -1
- package/dist/api/payments/index.d.ts +431 -376
- package/dist/api/payments/index.d.ts.map +1 -1
- package/dist/api/payments/index.js +202 -87
- package/dist/api/payments/index.js.map +1 -1
- package/dist/api/subscriptions/index.d.ts +1695 -0
- package/dist/api/subscriptions/index.d.ts.map +1 -0
- package/dist/api/subscriptions/index.js +1919 -0
- package/dist/api/subscriptions/index.js.map +1 -0
- package/dist/api/users/index.d.ts +863 -847
- package/dist/api/users/index.d.ts.map +1 -1
- package/dist/api/verifications/index.d.ts +126 -125
- package/dist/api/verifications/index.d.ts.map +1 -1
- package/dist/bucket/index.d.ts +3 -2
- package/dist/bucket/index.d.ts.map +1 -1
- package/dist/cache/core/index.d.ts +114 -4
- package/dist/cache/core/index.d.ts.map +1 -1
- package/dist/cache/core/index.js +181 -15
- package/dist/cache/core/index.js.map +1 -1
- package/dist/cache/core/index.workerd.js +181 -15
- package/dist/cache/core/index.workerd.js.map +1 -1
- package/dist/cache/database/index.d.ts +20 -19
- package/dist/cache/database/index.d.ts.map +1 -1
- package/dist/cache/redis/index.d.ts +3 -2
- package/dist/cache/redis/index.d.ts.map +1 -1
- package/dist/cli/core/index.d.ts +113 -129
- package/dist/cli/core/index.d.ts.map +1 -1
- package/dist/cli/core/index.js +75 -7
- package/dist/cli/core/index.js.map +1 -1
- package/dist/cli/devtools/index.d.ts +3 -2
- package/dist/cli/devtools/index.d.ts.map +1 -1
- package/dist/cli/platform/index.d.ts +346 -290
- package/dist/cli/platform/index.d.ts.map +1 -1
- package/dist/cli/platform/index.js +105 -6
- package/dist/cli/platform/index.js.map +1 -1
- package/dist/cli/vendor/index.d.ts +12 -11
- package/dist/cli/vendor/index.d.ts.map +1 -1
- package/dist/command/index.d.ts +5 -4
- package/dist/command/index.d.ts.map +1 -1
- package/dist/core/index.browser.js +1 -1
- package/dist/core/index.browser.js.map +1 -1
- package/dist/core/index.d.ts +119 -118
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/index.js.map +1 -1
- package/dist/core/index.native.js +1 -1
- package/dist/core/index.native.js.map +1 -1
- package/dist/core/index.workerd.js +1 -1
- package/dist/core/index.workerd.js.map +1 -1
- package/dist/crypto/index.d.ts +3 -2
- package/dist/crypto/index.d.ts.map +1 -1
- package/dist/email/core/index.d.ts +3 -2
- package/dist/email/core/index.d.ts.map +1 -1
- package/dist/email/smtp/index.d.ts +7 -6
- package/dist/email/smtp/index.d.ts.map +1 -1
- package/dist/lock/core/index.d.ts +5 -4
- package/dist/lock/core/index.d.ts.map +1 -1
- package/dist/logger/index.d.ts +10 -9
- package/dist/logger/index.d.ts.map +1 -1
- package/dist/mcp/index.d.ts +9 -8
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/orm/core/index.browser.js +9 -3
- package/dist/orm/core/index.browser.js.map +1 -1
- package/dist/orm/core/index.bun.js +31 -10
- package/dist/orm/core/index.bun.js.map +1 -1
- package/dist/orm/core/index.d.ts +33 -14
- package/dist/orm/core/index.d.ts.map +1 -1
- package/dist/orm/core/index.js +31 -10
- package/dist/orm/core/index.js.map +1 -1
- package/dist/orm/postgres/index.d.ts +6 -5
- package/dist/orm/postgres/index.d.ts.map +1 -1
- package/dist/queue/core/index.d.ts +5 -4
- package/dist/queue/core/index.d.ts.map +1 -1
- package/dist/queue/redis/index.d.ts +3 -2
- package/dist/queue/redis/index.d.ts.map +1 -1
- package/dist/react/form/index.d.ts +5 -0
- package/dist/react/form/index.d.ts.map +1 -1
- package/dist/react/form/index.js +6 -4
- package/dist/react/form/index.js.map +1 -1
- package/dist/react/i18n/index.d.ts +2 -1
- package/dist/react/i18n/index.d.ts.map +1 -1
- package/dist/react/router/index.d.ts +206 -205
- package/dist/react/router/index.d.ts.map +1 -1
- package/dist/react/ui/index.d.ts +11 -11
- package/dist/react/ui/index.d.ts.map +1 -1
- package/dist/scheduler/index.d.ts +3 -2
- package/dist/scheduler/index.d.ts.map +1 -1
- package/dist/security/index.browser.js +29 -1
- package/dist/security/index.browser.js.map +1 -1
- package/dist/security/index.d.ts +82 -35
- package/dist/security/index.d.ts.map +1 -1
- package/dist/security/index.js +56 -3
- package/dist/security/index.js.map +1 -1
- package/dist/server/auth/index.d.ts +163 -158
- package/dist/server/auth/index.d.ts.map +1 -1
- package/dist/server/auth/index.js +16 -4
- package/dist/server/auth/index.js.map +1 -1
- package/dist/server/core/index.d.ts +35 -34
- package/dist/server/core/index.d.ts.map +1 -1
- package/dist/server/cors/index.d.ts +7 -6
- package/dist/server/cors/index.d.ts.map +1 -1
- package/dist/server/health/index.d.ts +16 -15
- package/dist/server/health/index.d.ts.map +1 -1
- package/dist/server/links/index.d.ts +51 -50
- package/dist/server/links/index.d.ts.map +1 -1
- package/dist/server/rate-limit/index.d.ts +6 -5
- package/dist/server/rate-limit/index.d.ts.map +1 -1
- package/dist/server/swagger/index.d.ts +2 -1
- package/dist/server/swagger/index.d.ts.map +1 -1
- package/dist/topic/redis/index.d.ts +3 -2
- package/dist/topic/redis/index.d.ts.map +1 -1
- package/package.json +16 -32
- package/src/api/audits/entities/audits.ts +1 -0
- package/src/api/files/entities/files.ts +1 -0
- package/src/api/jobs/__tests__/$job.spec.ts +92 -40
- package/src/api/jobs/entities/jobExecutionEntity.ts +1 -0
- package/src/api/jobs/providers/JobProvider.ts +20 -5
- package/src/api/jobs/schemas/jobConfigAtom.ts +5 -0
- package/src/api/keys/entities/apiKeyEntity.ts +1 -0
- package/src/api/payments/controllers/MockCheckoutController.ts +146 -0
- package/src/api/payments/index.ts +3 -0
- package/src/api/payments/providers/MemoryPaymentProvider.ts +9 -4
- package/src/api/payments/providers/PaymentProvider.ts +25 -9
- package/src/api/payments/services/PaymentService.ts +3 -0
- package/src/api/subscriptions/__tests__/BillingService.spec.ts +218 -0
- package/src/api/subscriptions/__tests__/SubscriptionService.spec.ts +278 -0
- package/src/api/subscriptions/controllers/AdminSubscriptionController.ts +212 -0
- package/src/api/subscriptions/controllers/SubscriptionController.ts +189 -0
- package/src/api/subscriptions/entities/subscriptionEvents.ts +54 -0
- package/src/api/subscriptions/entities/subscriptions.ts +68 -0
- package/src/api/subscriptions/index.ts +133 -0
- package/src/api/subscriptions/jobs/SubscriptionJobs.ts +382 -0
- package/src/api/subscriptions/middleware/$requireLimit.ts +50 -0
- package/src/api/subscriptions/middleware/$requirePlan.ts +49 -0
- package/src/api/subscriptions/notifications/SubscriptionNotifications.ts +110 -0
- package/src/api/subscriptions/schemas/cancelSubscriptionSchema.ts +8 -0
- package/src/api/subscriptions/schemas/changePlanSchema.ts +9 -0
- package/src/api/subscriptions/schemas/createSubscriptionSchema.ts +11 -0
- package/src/api/subscriptions/schemas/entitlementsSchema.ts +21 -0
- package/src/api/subscriptions/schemas/mrrSchema.ts +13 -0
- package/src/api/subscriptions/schemas/planDefinitionSchema.ts +71 -0
- package/src/api/subscriptions/schemas/planResourceSchema.ts +25 -0
- package/src/api/subscriptions/schemas/subscriptionEventResourceSchema.ts +8 -0
- package/src/api/subscriptions/schemas/subscriptionQuerySchema.ts +19 -0
- package/src/api/subscriptions/schemas/subscriptionResourceSchema.ts +6 -0
- package/src/api/subscriptions/schemas/subscriptionSettingsSchema.ts +32 -0
- package/src/api/subscriptions/schemas/subscriptionStatsSchema.ts +23 -0
- package/src/api/subscriptions/services/BillingService.ts +437 -0
- package/src/api/subscriptions/services/SubscriptionConfig.ts +56 -0
- package/src/api/subscriptions/services/SubscriptionService.ts +867 -0
- package/src/api/subscriptions/services/UsageService.ts +118 -0
- package/src/cache/core/__tests__/$cache.memory.spec.ts +450 -0
- package/src/cache/core/__tests__/$cache.swr.spec.ts +394 -0
- package/src/cache/core/index.ts +16 -0
- package/src/cache/core/primitives/$cache.ts +347 -21
- package/src/cli/core/tasks/BuildCloudflareTask.ts +16 -0
- package/src/cli/core/templates/agentMd.ts +39 -4
- package/src/cli/core/templates/biomeJson.ts +25 -1
- package/src/cli/core/templates/saasAdminLayoutTsx.ts +2 -2
- package/src/cli/platform/__tests__/CloudflareAdapter.spec.ts +117 -0
- package/src/cli/platform/adapters/CloudflareAdapter.ts +104 -7
- package/src/cli/platform/atoms/platformOptions.ts +13 -0
- package/src/cli/platform/schemas/platform.ts +1 -0
- package/src/cli/platform/services/CloudflareApi.ts +61 -0
- package/src/cli/platform/services/PlatformOrchestrator.ts +9 -4
- package/src/core/__tests__/$module.spec.ts +2 -2
- package/src/core/primitives/$module.ts +4 -4
- package/src/mcp/providers/McpServerProvider.ts +1 -1
- package/src/orm/core/providers/DatabaseTypeProvider.ts +9 -3
- package/src/orm/core/providers/drivers/DatabaseProvider.ts +1 -1
- package/src/orm/core/schemas/insertSchema.ts +10 -2
- package/src/orm/core/services/Repository.ts +27 -7
- package/src/react/form/hooks/useFormState.ts +8 -1
- package/src/react/form/index.ts +10 -1
- package/src/react/form/services/FormModel.ts +9 -3
- package/src/security/atoms/currentTenantAtom.ts +34 -0
- package/src/security/index.browser.ts +1 -0
- package/src/security/index.ts +12 -1
- package/src/security/primitives/$issuer.ts +17 -1
- package/src/security/providers/SecurityProvider.ts +37 -0
- package/src/server/auth/__tests__/validateRedirectUri.spec.ts +78 -0
- package/src/server/auth/providers/ServerAuthProvider.ts +21 -5
- package/tsconfig.base.json +2 -1
- package/dist/react/websocket/index.d.ts +0 -117
- package/dist/react/websocket/index.d.ts.map +0 -1
- package/dist/react/websocket/index.js +0 -108
- package/dist/react/websocket/index.js.map +0 -1
- package/dist/websocket/index.browser.js +0 -848
- package/dist/websocket/index.browser.js.map +0 -1
- package/dist/websocket/index.d.ts +0 -876
- package/dist/websocket/index.d.ts.map +0 -1
- package/dist/websocket/index.js +0 -1185
- package/dist/websocket/index.js.map +0 -1
- package/src/react/websocket/hooks/useRoom.tsx +0 -251
- package/src/react/websocket/index.ts +0 -7
- package/src/websocket/__tests__/$channel.spec.ts +0 -30
- package/src/websocket/__tests__/$websocket-new.spec.ts +0 -195
- package/src/websocket/__tests__/RoomManager.spec.ts +0 -146
- package/src/websocket/__tests__/websocket-integration.spec.ts +0 -951
- package/src/websocket/errors/WebSocketError.ts +0 -34
- package/src/websocket/index.browser.ts +0 -25
- package/src/websocket/index.shared.ts +0 -8
- package/src/websocket/index.ts +0 -85
- package/src/websocket/interfaces/WebSocketInterfaces.ts +0 -252
- package/src/websocket/primitives/$channel.ts +0 -131
- package/src/websocket/primitives/$websocket.ts +0 -107
- package/src/websocket/providers/NodeWebSocketServerProvider.ts +0 -617
- package/src/websocket/providers/WebSocketServerProvider.ts +0 -56
- package/src/websocket/services/RoomManager.ts +0 -160
- package/src/websocket/services/WebSocketClient.ts +0 -642
- package/src/websocket/services/WebSocketTopicService.ts +0 -108
package/dist/cli/core/index.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ import { ConsoleColorProvider } from "alepha/logger";
|
|
|
7
7
|
import { FileSystemProvider, ShellProvider } from "alepha/system";
|
|
8
8
|
import { BrotliOptions, ZlibOptions, brotliCompress, gzip } from "node:zlib";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
|
+
import * as _$typebox from "typebox";
|
|
10
11
|
import * as _$vite from "vite";
|
|
11
12
|
import { Logger, Plugin, ViteDevServer } from "vite";
|
|
12
|
-
import * as _$typebox from "typebox";
|
|
13
13
|
import { DatabaseProvider } from "alepha/orm";
|
|
14
14
|
|
|
15
15
|
//#region ../../src/cli/core/alephaPackageJson.d.ts
|
|
@@ -38,7 +38,6 @@ declare const alephaPackageJson: {
|
|
|
38
38
|
typebox: string;
|
|
39
39
|
typescript: string;
|
|
40
40
|
"vite-bundle-analyzer": string;
|
|
41
|
-
ws: string;
|
|
42
41
|
};
|
|
43
42
|
devDependencies: {
|
|
44
43
|
"@biomejs/biome": string;
|
|
@@ -53,7 +52,6 @@ declare const alephaPackageJson: {
|
|
|
53
52
|
"@types/nodemailer": string;
|
|
54
53
|
"@types/react": string;
|
|
55
54
|
"@types/react-dom": string;
|
|
56
|
-
"@types/ws": string;
|
|
57
55
|
"cron-schedule": string;
|
|
58
56
|
"drizzle-kit": string;
|
|
59
57
|
jose: string;
|
|
@@ -152,6 +150,11 @@ declare const alephaPackageJson: {
|
|
|
152
150
|
import: string;
|
|
153
151
|
default: string;
|
|
154
152
|
};
|
|
153
|
+
"./api/subscriptions": {
|
|
154
|
+
types: string;
|
|
155
|
+
import: string;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
155
158
|
"./api/users": {
|
|
156
159
|
types: string;
|
|
157
160
|
"react-native": string;
|
|
@@ -370,11 +373,6 @@ declare const alephaPackageJson: {
|
|
|
370
373
|
import: string;
|
|
371
374
|
default: string;
|
|
372
375
|
};
|
|
373
|
-
"./react/websocket": {
|
|
374
|
-
types: string;
|
|
375
|
-
import: string;
|
|
376
|
-
default: string;
|
|
377
|
-
};
|
|
378
376
|
"./redis": {
|
|
379
377
|
types: string;
|
|
380
378
|
bun: string;
|
|
@@ -495,13 +493,6 @@ declare const alephaPackageJson: {
|
|
|
495
493
|
import: string;
|
|
496
494
|
default: string;
|
|
497
495
|
};
|
|
498
|
-
"./websocket": {
|
|
499
|
-
types: string;
|
|
500
|
-
"react-native": string;
|
|
501
|
-
browser: string;
|
|
502
|
-
import: string;
|
|
503
|
-
default: string;
|
|
504
|
-
};
|
|
505
496
|
"./tsconfig.base": string;
|
|
506
497
|
"./package.json": string;
|
|
507
498
|
};
|
|
@@ -562,6 +553,11 @@ declare const alephaPackageJson: {
|
|
|
562
553
|
import: string;
|
|
563
554
|
default: string;
|
|
564
555
|
};
|
|
556
|
+
"./api/subscriptions": {
|
|
557
|
+
types: string;
|
|
558
|
+
import: string;
|
|
559
|
+
default: string;
|
|
560
|
+
};
|
|
565
561
|
"./api/users": {
|
|
566
562
|
types: string;
|
|
567
563
|
"react-native": string;
|
|
@@ -780,11 +776,6 @@ declare const alephaPackageJson: {
|
|
|
780
776
|
import: string;
|
|
781
777
|
default: string;
|
|
782
778
|
};
|
|
783
|
-
"./react/websocket": {
|
|
784
|
-
types: string;
|
|
785
|
-
import: string;
|
|
786
|
-
default: string;
|
|
787
|
-
};
|
|
788
779
|
"./redis": {
|
|
789
780
|
types: string;
|
|
790
781
|
bun: string;
|
|
@@ -905,13 +896,6 @@ declare const alephaPackageJson: {
|
|
|
905
896
|
import: string;
|
|
906
897
|
default: string;
|
|
907
898
|
};
|
|
908
|
-
"./websocket": {
|
|
909
|
-
types: string;
|
|
910
|
-
"react-native": string;
|
|
911
|
-
browser: string;
|
|
912
|
-
import: string;
|
|
913
|
-
default: string;
|
|
914
|
-
};
|
|
915
899
|
"./tsconfig.base": string;
|
|
916
900
|
"./package.json": string;
|
|
917
901
|
};
|
|
@@ -920,10 +904,10 @@ declare const alephaPackageJson: {
|
|
|
920
904
|
declare const version: string;
|
|
921
905
|
//#endregion
|
|
922
906
|
//#region ../../src/cli/core/atoms/appEntryOptions.d.ts
|
|
923
|
-
declare const appEntryOptions: _$alepha.Atom<_$
|
|
924
|
-
server: _$
|
|
925
|
-
browser: _$
|
|
926
|
-
style: _$
|
|
907
|
+
declare const appEntryOptions: _$alepha.Atom<_$typebox.TObject<{
|
|
908
|
+
server: _$typebox.TOptional<_$typebox.TString>;
|
|
909
|
+
browser: _$typebox.TOptional<_$typebox.TString>;
|
|
910
|
+
style: _$typebox.TOptional<_$typebox.TString>;
|
|
927
911
|
}>, "alepha.cli.appEntry.options">;
|
|
928
912
|
type AppEntryOptions = Static<typeof appEntryOptions.schema>;
|
|
929
913
|
//#endregion
|
|
@@ -950,14 +934,14 @@ type BuildRuntime = "node" | "bun" | "workerd";
|
|
|
950
934
|
* Defines the available build configuration options with their defaults.
|
|
951
935
|
* Options can be overridden via alepha.config.ts or CLI flags.
|
|
952
936
|
*/
|
|
953
|
-
declare const buildOptions: _$alepha.Atom<_$
|
|
937
|
+
declare const buildOptions: _$alepha.Atom<_$typebox.TObject<{
|
|
954
938
|
/**
|
|
955
939
|
* Generate build stats report.
|
|
956
940
|
*
|
|
957
941
|
* - `true` - Generate a static HTML report
|
|
958
942
|
* - `"json"` - Generate a JSON report
|
|
959
943
|
*/
|
|
960
|
-
stats: _$
|
|
944
|
+
stats: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TUnsafe<"json">]>>;
|
|
961
945
|
/**
|
|
962
946
|
* Deployment target for the build output.
|
|
963
947
|
*
|
|
@@ -965,7 +949,7 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
965
949
|
* - `vercel` - Generate Vercel deployment configuration (forces node runtime)
|
|
966
950
|
* - `cloudflare` - Generate Cloudflare Workers configuration (forces workerd runtime)
|
|
967
951
|
*/
|
|
968
|
-
target: _$
|
|
952
|
+
target: _$typebox.TOptional<_$typebox.TUnsafe<"bare" | "docker" | "vercel" | "cloudflare" | "static">>;
|
|
969
953
|
/**
|
|
970
954
|
* JavaScript runtime for the build output.
|
|
971
955
|
*
|
|
@@ -977,23 +961,23 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
977
961
|
* - `cloudflare` always uses `workerd`
|
|
978
962
|
* - `vercel` always uses `node`
|
|
979
963
|
*/
|
|
980
|
-
runtime: _$
|
|
964
|
+
runtime: _$typebox.TOptional<_$typebox.TUnsafe<"node" | "bun" | "workerd">>;
|
|
981
965
|
/**
|
|
982
966
|
* Output directory configuration.
|
|
983
967
|
*/
|
|
984
|
-
output: _$
|
|
968
|
+
output: _$typebox.TOptional<_$typebox.TObject<{
|
|
985
969
|
/**
|
|
986
970
|
* Root dist directory.
|
|
987
971
|
*
|
|
988
972
|
* @default "dist"
|
|
989
973
|
*/
|
|
990
|
-
dist: _$
|
|
974
|
+
dist: _$typebox.TOptional<_$typebox.TString>;
|
|
991
975
|
/**
|
|
992
976
|
* Public/client subdirectory.
|
|
993
977
|
*
|
|
994
978
|
* @default "public"
|
|
995
979
|
*/
|
|
996
|
-
public: _$
|
|
980
|
+
public: _$typebox.TOptional<_$typebox.TString>;
|
|
997
981
|
}>>;
|
|
998
982
|
/**
|
|
999
983
|
* Vercel-specific deployment configuration.
|
|
@@ -1001,14 +985,14 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
1001
985
|
* Note: Set `target: "vercel"` to enable Vercel deployment.
|
|
1002
986
|
* This object is only for additional configuration.
|
|
1003
987
|
*/
|
|
1004
|
-
vercel: _$
|
|
1005
|
-
projectName: _$
|
|
1006
|
-
orgId: _$
|
|
1007
|
-
projectId: _$
|
|
1008
|
-
config: _$
|
|
1009
|
-
crons: _$
|
|
1010
|
-
path: _$
|
|
1011
|
-
schedule: _$
|
|
988
|
+
vercel: _$typebox.TOptional<_$typebox.TObject<{
|
|
989
|
+
projectName: _$typebox.TOptional<_$typebox.TString>;
|
|
990
|
+
orgId: _$typebox.TOptional<_$typebox.TString>;
|
|
991
|
+
projectId: _$typebox.TOptional<_$typebox.TString>;
|
|
992
|
+
config: _$typebox.TOptional<_$typebox.TObject<{
|
|
993
|
+
crons: _$typebox.TOptional<_$typebox.TArray<_$typebox.TObject<{
|
|
994
|
+
path: _$typebox.TString;
|
|
995
|
+
schedule: _$typebox.TString;
|
|
1012
996
|
}>>>;
|
|
1013
997
|
}>>;
|
|
1014
998
|
}>>;
|
|
@@ -1018,8 +1002,8 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
1018
1002
|
* Note: Set `target: "cloudflare"` to enable Cloudflare deployment.
|
|
1019
1003
|
* This object is only for additional configuration.
|
|
1020
1004
|
*/
|
|
1021
|
-
cloudflare: _$
|
|
1022
|
-
config: _$
|
|
1005
|
+
cloudflare: _$typebox.TOptional<_$typebox.TObject<{
|
|
1006
|
+
config: _$typebox.TOptional<_$typebox.TRecord<string, _$typebox.TAny>>;
|
|
1023
1007
|
}>>;
|
|
1024
1008
|
/**
|
|
1025
1009
|
* Docker-specific deployment configuration.
|
|
@@ -1027,25 +1011,25 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
1027
1011
|
* Note: Set `target: "docker"` to enable Docker deployment.
|
|
1028
1012
|
* This object is only for additional configuration.
|
|
1029
1013
|
*/
|
|
1030
|
-
docker: _$
|
|
1014
|
+
docker: _$typebox.TOptional<_$typebox.TObject<{
|
|
1031
1015
|
/**
|
|
1032
1016
|
* Base image for the Dockerfile (FROM instruction).
|
|
1033
1017
|
*
|
|
1034
1018
|
* @default "node:24-alpine" for node runtime
|
|
1035
1019
|
* @default "oven/bun:alpine" for bun runtime
|
|
1036
1020
|
*/
|
|
1037
|
-
from: _$
|
|
1021
|
+
from: _$typebox.TOptional<_$typebox.TString>;
|
|
1038
1022
|
/**
|
|
1039
1023
|
* Command to run in the Docker container.
|
|
1040
1024
|
*
|
|
1041
1025
|
* @default "node" for node runtime
|
|
1042
1026
|
* @default "bun" for bun runtime
|
|
1043
1027
|
*/
|
|
1044
|
-
command: _$
|
|
1028
|
+
command: _$typebox.TOptional<_$typebox.TString>;
|
|
1045
1029
|
/**
|
|
1046
1030
|
* Docker build options (used when --image flag is passed).
|
|
1047
1031
|
*/
|
|
1048
|
-
image: _$
|
|
1032
|
+
image: _$typebox.TOptional<_$typebox.TObject<{
|
|
1049
1033
|
/**
|
|
1050
1034
|
* Default image tag (name without version).
|
|
1051
1035
|
*
|
|
@@ -1057,13 +1041,13 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
1057
1041
|
* @example "myproject/myapp"
|
|
1058
1042
|
* @example "ghcr.io/myorg/myapp"
|
|
1059
1043
|
*/
|
|
1060
|
-
tag: _$
|
|
1044
|
+
tag: _$typebox.TString;
|
|
1061
1045
|
/**
|
|
1062
1046
|
* Additional arguments to pass to `docker build`.
|
|
1063
1047
|
*
|
|
1064
1048
|
* @example '--platform linux/amd64 --no-cache'
|
|
1065
1049
|
*/
|
|
1066
|
-
args: _$
|
|
1050
|
+
args: _$typebox.TOptional<_$typebox.TString>;
|
|
1067
1051
|
/**
|
|
1068
1052
|
* Auto-add OCI standard labels (revision, created, version).
|
|
1069
1053
|
*
|
|
@@ -1072,7 +1056,7 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
1072
1056
|
* - org.opencontainers.image.created (build timestamp)
|
|
1073
1057
|
* - org.opencontainers.image.version (from image tag)
|
|
1074
1058
|
*/
|
|
1075
|
-
oci: _$
|
|
1059
|
+
oci: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
1076
1060
|
}>>;
|
|
1077
1061
|
}>>;
|
|
1078
1062
|
/**
|
|
@@ -1080,7 +1064,7 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
1080
1064
|
*
|
|
1081
1065
|
* Note: Set `target: "static"` to enable static site generation.
|
|
1082
1066
|
*/
|
|
1083
|
-
static: _$
|
|
1067
|
+
static: _$typebox.TOptional<_$typebox.TObject<{
|
|
1084
1068
|
/**
|
|
1085
1069
|
* Surge domain for deployment.
|
|
1086
1070
|
*
|
|
@@ -1090,7 +1074,7 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
1090
1074
|
* @example "my-app.surge.sh"
|
|
1091
1075
|
* @example "my-custom-domain.com"
|
|
1092
1076
|
*/
|
|
1093
|
-
domain: _$
|
|
1077
|
+
domain: _$typebox.TOptional<_$typebox.TString>;
|
|
1094
1078
|
}>>;
|
|
1095
1079
|
/**
|
|
1096
1080
|
* PWA (Progressive Web App) configuration.
|
|
@@ -1098,29 +1082,29 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
1098
1082
|
* Generates a web app manifest and enables installability.
|
|
1099
1083
|
* Requires a client-side bundle (React).
|
|
1100
1084
|
*/
|
|
1101
|
-
pwa: _$
|
|
1085
|
+
pwa: _$typebox.TOptional<_$typebox.TObject<{
|
|
1102
1086
|
/**
|
|
1103
1087
|
* Full application name displayed on the splash screen
|
|
1104
1088
|
* and in the OS app switcher.
|
|
1105
1089
|
*/
|
|
1106
|
-
name: _$
|
|
1090
|
+
name: _$typebox.TString;
|
|
1107
1091
|
/**
|
|
1108
1092
|
* Short name displayed on the home screen icon.
|
|
1109
1093
|
* Falls back to `name` if omitted.
|
|
1110
1094
|
*/
|
|
1111
|
-
shortName: _$
|
|
1095
|
+
shortName: _$typebox.TOptional<_$typebox.TString>;
|
|
1112
1096
|
/**
|
|
1113
1097
|
* Theme color used for the browser toolbar and OS chrome.
|
|
1114
1098
|
*
|
|
1115
1099
|
* @default "#ffffff"
|
|
1116
1100
|
*/
|
|
1117
|
-
themeColor: _$
|
|
1101
|
+
themeColor: _$typebox.TOptional<_$typebox.TString>;
|
|
1118
1102
|
/**
|
|
1119
1103
|
* Background color for the splash screen.
|
|
1120
1104
|
*
|
|
1121
1105
|
* @default "#ffffff"
|
|
1122
1106
|
*/
|
|
1123
|
-
backgroundColor: _$
|
|
1107
|
+
backgroundColor: _$typebox.TOptional<_$typebox.TString>;
|
|
1124
1108
|
/**
|
|
1125
1109
|
* Display mode for the installed PWA.
|
|
1126
1110
|
*
|
|
@@ -1131,22 +1115,22 @@ declare const buildOptions: _$alepha.Atom<_$alepha.TObject<{
|
|
|
1131
1115
|
*
|
|
1132
1116
|
* @default "standalone"
|
|
1133
1117
|
*/
|
|
1134
|
-
display: _$
|
|
1118
|
+
display: _$typebox.TOptional<_$typebox.TUnsafe<"browser" | "standalone" | "fullscreen" | "minimal-ui">>;
|
|
1135
1119
|
/**
|
|
1136
1120
|
* Enable offline support via service worker.
|
|
1137
1121
|
*
|
|
1138
1122
|
* TODO: Not yet implemented.
|
|
1139
1123
|
*/
|
|
1140
|
-
offline: _$
|
|
1124
|
+
offline: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
1141
1125
|
}>>;
|
|
1142
1126
|
/**
|
|
1143
1127
|
* Sitemap generation configuration.
|
|
1144
1128
|
*/
|
|
1145
|
-
sitemap: _$
|
|
1129
|
+
sitemap: _$typebox.TOptional<_$typebox.TObject<{
|
|
1146
1130
|
/**
|
|
1147
1131
|
* Base URL for sitemap entries.
|
|
1148
1132
|
*/
|
|
1149
|
-
hostname: _$
|
|
1133
|
+
hostname: _$typebox.TString;
|
|
1150
1134
|
}>>;
|
|
1151
1135
|
}>, "alepha.cli.build.options">;
|
|
1152
1136
|
/**
|
|
@@ -1172,12 +1156,12 @@ declare const DEFAULT_IGNORE: string[];
|
|
|
1172
1156
|
* });
|
|
1173
1157
|
* ```
|
|
1174
1158
|
*/
|
|
1175
|
-
declare const changelogOptions: _$alepha.Atom<_$
|
|
1159
|
+
declare const changelogOptions: _$alepha.Atom<_$typebox.TObject<{
|
|
1176
1160
|
/**
|
|
1177
1161
|
* Scopes to ignore (e.g., "project", "release", "chore").
|
|
1178
1162
|
* Commits like `feat(chore): ...` will be excluded from changelog.
|
|
1179
1163
|
*/
|
|
1180
|
-
ignore: _$
|
|
1164
|
+
ignore: _$typebox.TOptional<_$typebox.TArray<_$typebox.TString>>;
|
|
1181
1165
|
}>, "alepha.cli.changelog.options">;
|
|
1182
1166
|
type ChangelogOptions = Static<typeof changelogOptions.schema>;
|
|
1183
1167
|
//#endregion
|
|
@@ -1188,11 +1172,11 @@ type ChangelogOptions = Static<typeof changelogOptions.schema>;
|
|
|
1188
1172
|
* Defines the available dev configuration options with their defaults.
|
|
1189
1173
|
* Options can be overridden via alepha.config.ts or CLI flags.
|
|
1190
1174
|
*/
|
|
1191
|
-
declare const devOptions: _$alepha.Atom<_$
|
|
1175
|
+
declare const devOptions: _$alepha.Atom<_$typebox.TObject<{
|
|
1192
1176
|
/**
|
|
1193
1177
|
* Disable Vite React plugin.
|
|
1194
1178
|
*/
|
|
1195
|
-
noViteReactPlugin: _$
|
|
1179
|
+
noViteReactPlugin: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
1196
1180
|
}>, "alepha.cli.dev.options">;
|
|
1197
1181
|
/**
|
|
1198
1182
|
* Type for dev options.
|
|
@@ -1208,9 +1192,9 @@ type DevOptions = Static<typeof devOptions.schema>;
|
|
|
1208
1192
|
declare class AppEntryProvider {
|
|
1209
1193
|
protected readonly fs: FileSystemProvider;
|
|
1210
1194
|
protected readonly options: Readonly<{
|
|
1195
|
+
server?: string | undefined;
|
|
1211
1196
|
browser?: string | undefined;
|
|
1212
1197
|
style?: string | undefined;
|
|
1213
|
-
server?: string | undefined;
|
|
1214
1198
|
}>;
|
|
1215
1199
|
protected readonly serverEntries: readonly ["main.server.ts", "main.server.tsx", "main.ts", "main.tsx"];
|
|
1216
1200
|
protected readonly browserEntries: readonly ["main.browser.ts", "main.browser.tsx", "main.ts", "main.tsx"];
|
|
@@ -2070,7 +2054,7 @@ declare class BuildCommand {
|
|
|
2070
2054
|
shortName?: string | undefined;
|
|
2071
2055
|
themeColor?: string | undefined;
|
|
2072
2056
|
backgroundColor?: string | undefined;
|
|
2073
|
-
display?: "standalone" | "fullscreen" | "minimal-ui" |
|
|
2057
|
+
display?: "browser" | "standalone" | "fullscreen" | "minimal-ui" | undefined;
|
|
2074
2058
|
offline?: boolean | undefined;
|
|
2075
2059
|
name: string;
|
|
2076
2060
|
} | undefined;
|
|
@@ -2095,13 +2079,13 @@ declare class BuildCommand {
|
|
|
2095
2079
|
* @throws {AlephaError} If an incompatible runtime is specified for a target
|
|
2096
2080
|
*/
|
|
2097
2081
|
protected resolveRuntime(target: BuildTarget | undefined, runtime: BuildRuntime | undefined): BuildRuntime;
|
|
2098
|
-
readonly build: _$alepha_command0.CommandPrimitive<_$
|
|
2099
|
-
stats: _$
|
|
2100
|
-
target: _$
|
|
2101
|
-
runtime: _$
|
|
2102
|
-
image: _$
|
|
2103
|
-
sitemap: _$
|
|
2104
|
-
}>, _$
|
|
2082
|
+
readonly build: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2083
|
+
stats: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TUnsafe<"json">]>>;
|
|
2084
|
+
target: _$typebox.TOptional<_$typebox.TUnsafe<"bare" | "docker" | "vercel" | "cloudflare" | "static">>;
|
|
2085
|
+
runtime: _$typebox.TOptional<_$typebox.TUnsafe<"node" | "bun" | "workerd">>;
|
|
2086
|
+
image: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TString]>>;
|
|
2087
|
+
sitemap: _$typebox.TOptional<_$typebox.TString>;
|
|
2088
|
+
}>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2105
2089
|
}
|
|
2106
2090
|
//#endregion
|
|
2107
2091
|
//#region ../../src/cli/core/commands/clean.d.ts
|
|
@@ -2124,44 +2108,44 @@ declare class DbCommand {
|
|
|
2124
2108
|
/**
|
|
2125
2109
|
* Check if database migrations are up to date.
|
|
2126
2110
|
*/
|
|
2127
|
-
protected readonly check: _$alepha_command0.CommandPrimitive<_$
|
|
2128
|
-
provider: _$
|
|
2129
|
-
}>, _$
|
|
2111
|
+
protected readonly check: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2112
|
+
provider: _$typebox.TOptional<_$typebox.TString>;
|
|
2113
|
+
}>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2130
2114
|
/**
|
|
2131
2115
|
* Generate database migration files
|
|
2132
2116
|
*/
|
|
2133
|
-
protected readonly create: _$alepha_command0.CommandPrimitive<_$
|
|
2134
|
-
provider: _$
|
|
2135
|
-
custom: _$
|
|
2136
|
-
name: _$
|
|
2137
|
-
}>, _$
|
|
2117
|
+
protected readonly create: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2118
|
+
provider: _$typebox.TOptional<_$typebox.TString>;
|
|
2119
|
+
custom: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
2120
|
+
name: _$typebox.TOptional<_$typebox.TString>;
|
|
2121
|
+
}>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2138
2122
|
/**
|
|
2139
2123
|
* Push database schema changes directly to the database
|
|
2140
2124
|
*/
|
|
2141
|
-
protected readonly push: _$alepha_command0.CommandPrimitive<_$
|
|
2142
|
-
provider: _$
|
|
2143
|
-
dryRun: _$
|
|
2144
|
-
}>, _$
|
|
2125
|
+
protected readonly push: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2126
|
+
provider: _$typebox.TOptional<_$typebox.TString>;
|
|
2127
|
+
dryRun: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
2128
|
+
}>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2145
2129
|
/**
|
|
2146
2130
|
* Apply pending database migrations
|
|
2147
2131
|
*/
|
|
2148
|
-
protected readonly apply: _$alepha_command0.CommandPrimitive<_$
|
|
2149
|
-
provider: _$
|
|
2150
|
-
}>, _$
|
|
2132
|
+
protected readonly apply: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2133
|
+
provider: _$typebox.TOptional<_$typebox.TString>;
|
|
2134
|
+
}>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2151
2135
|
/**
|
|
2152
2136
|
* Launch Drizzle Studio database browser
|
|
2153
2137
|
*/
|
|
2154
|
-
protected readonly studio: _$alepha_command0.CommandPrimitive<_$
|
|
2155
|
-
provider: _$
|
|
2156
|
-
}>, _$
|
|
2138
|
+
protected readonly studio: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2139
|
+
provider: _$typebox.TOptional<_$typebox.TString>;
|
|
2140
|
+
}>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2157
2141
|
/**
|
|
2158
2142
|
* Parent command for migration operations.
|
|
2159
2143
|
*/
|
|
2160
|
-
protected readonly migrations: _$alepha_command0.CommandPrimitive<_$
|
|
2144
|
+
protected readonly migrations: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2161
2145
|
/**
|
|
2162
2146
|
* Parent command for database operations.
|
|
2163
2147
|
*/
|
|
2164
|
-
readonly db: _$alepha_command0.CommandPrimitive<_$
|
|
2148
|
+
readonly db: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2165
2149
|
/**
|
|
2166
2150
|
* Run a drizzle-kit command for all database providers in an Alepha instance.
|
|
2167
2151
|
*/
|
|
@@ -2408,9 +2392,9 @@ declare class DevCommand {
|
|
|
2408
2392
|
* When run from a workspace root (with apps/ directory), spawns all apps in parallel.
|
|
2409
2393
|
* When run from an app directory, starts a single Vite dev server.
|
|
2410
2394
|
*/
|
|
2411
|
-
readonly dev: _$alepha_command0.CommandPrimitive<_$
|
|
2412
|
-
only: _$
|
|
2413
|
-
}>, _$
|
|
2395
|
+
readonly dev: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2396
|
+
only: _$typebox.TOptional<_$typebox.TString>;
|
|
2397
|
+
}>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2414
2398
|
/**
|
|
2415
2399
|
* Discover apps in the workspace root.
|
|
2416
2400
|
*
|
|
@@ -2533,20 +2517,20 @@ declare class ChangelogCommand {
|
|
|
2533
2517
|
* Get the latest version tag.
|
|
2534
2518
|
*/
|
|
2535
2519
|
protected getLatestTag(git: (cmd: string) => Promise<string>): Promise<string | null>;
|
|
2536
|
-
readonly command: _$alepha_command0.CommandPrimitive<_$
|
|
2520
|
+
readonly command: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2537
2521
|
/**
|
|
2538
2522
|
* Show changes from this ref (tag, commit, branch).
|
|
2539
2523
|
* Defaults to the latest version tag.
|
|
2540
2524
|
* Example: --from=1.0.0
|
|
2541
2525
|
*/
|
|
2542
|
-
from: _$
|
|
2526
|
+
from: _$typebox.TOptional<_$typebox.TString>;
|
|
2543
2527
|
/**
|
|
2544
2528
|
* Show changes up to this ref (tag, commit, branch).
|
|
2545
2529
|
* Defaults to HEAD.
|
|
2546
2530
|
* Example: --to=main
|
|
2547
2531
|
*/
|
|
2548
|
-
to: _$
|
|
2549
|
-
}>, _$
|
|
2532
|
+
to: _$typebox.TOptional<_$typebox.TString>;
|
|
2533
|
+
}>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2550
2534
|
}
|
|
2551
2535
|
//#endregion
|
|
2552
2536
|
//#region ../../src/cli/core/commands/gen/openapi.d.ts
|
|
@@ -2554,9 +2538,9 @@ declare class OpenApiCommand {
|
|
|
2554
2538
|
protected readonly log: _$alepha_logger0.Logger;
|
|
2555
2539
|
protected readonly utils: AlephaCliUtils;
|
|
2556
2540
|
protected readonly fs: FileSystemProvider;
|
|
2557
|
-
readonly command: _$alepha_command0.CommandPrimitive<_$
|
|
2558
|
-
out: _$
|
|
2559
|
-
}>, _$
|
|
2541
|
+
readonly command: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2542
|
+
out: _$typebox.TOptional<_$typebox.TString>;
|
|
2543
|
+
}>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2560
2544
|
}
|
|
2561
2545
|
//#endregion
|
|
2562
2546
|
//#region ../../src/cli/core/commands/init.d.ts
|
|
@@ -2566,16 +2550,16 @@ declare class InitCommand {
|
|
|
2566
2550
|
* Ensure the project has the necessary Alepha configuration files.
|
|
2567
2551
|
* Add the correct dependencies to package.json and install them.
|
|
2568
2552
|
*/
|
|
2569
|
-
readonly init: _$alepha_command0.CommandPrimitive<_$
|
|
2570
|
-
pm: _$
|
|
2571
|
-
api: _$
|
|
2572
|
-
react: _$
|
|
2573
|
-
tailwind: _$
|
|
2574
|
-
shadcn: _$
|
|
2575
|
-
saas: _$
|
|
2576
|
-
test: _$
|
|
2577
|
-
force: _$
|
|
2578
|
-
}>, _$
|
|
2553
|
+
readonly init: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2554
|
+
pm: _$typebox.TOptional<_$typebox.TUnsafe<"bun" | "yarn" | "npm" | "pnpm">>;
|
|
2555
|
+
api: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
2556
|
+
react: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
2557
|
+
tailwind: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
2558
|
+
shadcn: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TString]>>;
|
|
2559
|
+
saas: _$typebox.TOptional<_$typebox.TUnion<[_$typebox.TBoolean, _$typebox.TString]>>;
|
|
2560
|
+
test: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
2561
|
+
force: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
2562
|
+
}>, _$typebox.TOptional<_$typebox.TString>, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2579
2563
|
}
|
|
2580
2564
|
//#endregion
|
|
2581
2565
|
//#region ../../src/cli/core/commands/lint.d.ts
|
|
@@ -2583,7 +2567,7 @@ declare class LintCommand {
|
|
|
2583
2567
|
protected readonly utils: AlephaCliUtils;
|
|
2584
2568
|
protected readonly pm: PackageManagerUtils;
|
|
2585
2569
|
protected readonly scaffolder: ProjectScaffolder;
|
|
2586
|
-
readonly lint: _$alepha_command0.CommandPrimitive<_$
|
|
2570
|
+
readonly lint: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2587
2571
|
}
|
|
2588
2572
|
//#endregion
|
|
2589
2573
|
//#region ../../src/cli/core/commands/root.d.ts
|
|
@@ -2595,9 +2579,9 @@ declare class RootCommand {
|
|
|
2595
2579
|
/**
|
|
2596
2580
|
* Called when no command is provided
|
|
2597
2581
|
*/
|
|
2598
|
-
readonly root: _$alepha_command0.CommandPrimitive<_$
|
|
2599
|
-
version: _$
|
|
2600
|
-
}>, _$
|
|
2582
|
+
readonly root: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2583
|
+
version: _$typebox.TOptional<_$typebox.TBoolean>;
|
|
2584
|
+
}>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2601
2585
|
}
|
|
2602
2586
|
//#endregion
|
|
2603
2587
|
//#region ../../src/cli/core/commands/test.d.ts
|
|
@@ -2605,10 +2589,10 @@ declare class TestCommand {
|
|
|
2605
2589
|
protected readonly utils: AlephaCliUtils;
|
|
2606
2590
|
protected readonly pm: PackageManagerUtils;
|
|
2607
2591
|
protected readonly scaffolder: ProjectScaffolder;
|
|
2608
|
-
readonly test: _$alepha_command0.CommandPrimitive<_$
|
|
2609
|
-
config: _$
|
|
2610
|
-
}>, _$
|
|
2611
|
-
VITEST_ARGS: _$
|
|
2592
|
+
readonly test: _$alepha_command0.CommandPrimitive<_$typebox.TObject<{
|
|
2593
|
+
config: _$typebox.TOptional<_$typebox.TString>;
|
|
2594
|
+
}>, _$typebox.TSchema, _$typebox.TObject<{
|
|
2595
|
+
VITEST_ARGS: _$typebox.TOptional<_$typebox.TString>;
|
|
2612
2596
|
}>>;
|
|
2613
2597
|
}
|
|
2614
2598
|
//#endregion
|
|
@@ -2621,7 +2605,7 @@ declare class TypecheckCommand {
|
|
|
2621
2605
|
/**
|
|
2622
2606
|
* Run TypeScript type checking across the codebase with no emit.
|
|
2623
2607
|
*/
|
|
2624
|
-
readonly typecheck: _$alepha_command0.CommandPrimitive<_$
|
|
2608
|
+
readonly typecheck: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2625
2609
|
}
|
|
2626
2610
|
//#endregion
|
|
2627
2611
|
//#region ../../src/cli/core/commands/verify.d.ts
|
|
@@ -2641,7 +2625,7 @@ declare class VerifyCommand {
|
|
|
2641
2625
|
* - Build the project
|
|
2642
2626
|
* - Clean the project again
|
|
2643
2627
|
*/
|
|
2644
|
-
readonly verify: _$alepha_command0.CommandPrimitive<_$
|
|
2628
|
+
readonly verify: _$alepha_command0.CommandPrimitive<_$typebox.TObject<_$typebox.TProperties>, _$typebox.TSchema, _$typebox.TObject<_$typebox.TProperties>>;
|
|
2645
2629
|
}
|
|
2646
2630
|
//#endregion
|
|
2647
2631
|
//#region ../../src/cli/core/providers/AlephaCliExtensionProvider.d.ts
|