@geekmidas/cli 10.0.0-alpha.44 → 10.0.0-alpha.46

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.
Files changed (80) hide show
  1. package/README.md +144 -183
  2. package/dist/{OpenApiTsGenerator-B4Kj_qNU.cjs → OpenApiTsGenerator-BN0PIZxd.cjs} +17 -71
  3. package/dist/OpenApiTsGenerator-BN0PIZxd.cjs.map +1 -0
  4. package/dist/{OpenApiTsGenerator-CEh3EKN3.mjs → OpenApiTsGenerator-BzIGy8KE.mjs} +17 -71
  5. package/dist/OpenApiTsGenerator-BzIGy8KE.mjs.map +1 -0
  6. package/dist/{config-CJ-PAb7M.cjs → config-CsYSyUya.cjs} +3 -3
  7. package/dist/{config-CJ-PAb7M.cjs.map → config-CsYSyUya.cjs.map} +1 -1
  8. package/dist/{config-5watB1D0.mjs → config-D8J5rrTb.mjs} +3 -3
  9. package/dist/{config-5watB1D0.mjs.map → config-D8J5rrTb.mjs.map} +1 -1
  10. package/dist/config.cjs +2 -2
  11. package/dist/config.d.cts +2 -2
  12. package/dist/config.d.mts +2 -2
  13. package/dist/config.mjs +2 -2
  14. package/dist/{discover-BLhf7V_J.mjs → discover-Cf2jAcgF.mjs} +4 -56
  15. package/dist/discover-Cf2jAcgF.mjs.map +1 -0
  16. package/dist/{discover-B0f_kuNN.cjs → discover-DXNviAh-.cjs} +3 -79
  17. package/dist/discover-DXNviAh-.cjs.map +1 -0
  18. package/dist/{emit-Bzq7JsMP.mjs → emit-C1e8qD08.mjs} +12 -43
  19. package/dist/emit-C1e8qD08.mjs.map +1 -0
  20. package/dist/{emit-BdoPFjZf.cjs → emit-Dmc1nvdS.cjs} +11 -54
  21. package/dist/emit-Dmc1nvdS.cjs.map +1 -0
  22. package/dist/{github-D5MthUlR.mjs → github-BfpadQWQ.mjs} +3 -3
  23. package/dist/{github-D5MthUlR.mjs.map → github-BfpadQWQ.mjs.map} +1 -1
  24. package/dist/{github-BAr8WGkR.cjs → github-BrI1tv6u.cjs} +3 -3
  25. package/dist/{github-BAr8WGkR.cjs.map → github-BrI1tv6u.cjs.map} +1 -1
  26. package/dist/{index-B3PeGOQp.d.cts → index-BQhJXpaQ.d.mts} +2 -2
  27. package/dist/{index-B3PeGOQp.d.cts.map → index-BQhJXpaQ.d.mts.map} +1 -1
  28. package/dist/{index-BOyaGcCm.d.mts → index-DHJePE0y.d.cts} +2 -2
  29. package/dist/{index-BOyaGcCm.d.mts.map → index-DHJePE0y.d.cts.map} +1 -1
  30. package/dist/index.cjs +395 -660
  31. package/dist/index.cjs.map +1 -1
  32. package/dist/index.mjs +397 -662
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/{migrate-BRklCm7b.mjs → migrate-B3opyC3o.mjs} +5 -5
  35. package/dist/{migrate-BRklCm7b.mjs.map → migrate-B3opyC3o.mjs.map} +1 -1
  36. package/dist/{migrate-PJi4b1ga.cjs → migrate-Dp5HFzuQ.cjs} +5 -5
  37. package/dist/{migrate-PJi4b1ga.cjs.map → migrate-Dp5HFzuQ.cjs.map} +1 -1
  38. package/dist/openapi.cjs +2 -2
  39. package/dist/openapi.d.cts +1 -1
  40. package/dist/openapi.d.mts +1 -1
  41. package/dist/openapi.mjs +2 -2
  42. package/dist/{ready-3RfHxdA0.cjs → ready-L7I68yXf.cjs} +67 -8
  43. package/dist/ready-L7I68yXf.cjs.map +1 -0
  44. package/dist/{ready-ZqOuNvKD.mjs → ready-V6Ou6-B6.mjs} +49 -8
  45. package/dist/ready-V6Ou6-B6.mjs.map +1 -0
  46. package/dist/reconcile/public.cjs +2 -4
  47. package/dist/reconcile/public.d.cts +6 -10
  48. package/dist/reconcile/public.d.cts.map +1 -1
  49. package/dist/reconcile/public.d.mts +6 -10
  50. package/dist/reconcile/public.d.mts.map +1 -1
  51. package/dist/reconcile/public.mjs +3 -3
  52. package/dist/{types-0R124hrY.d.mts → types-BbrNu83u.d.mts} +14 -109
  53. package/dist/{types-0R124hrY.d.mts.map → types-BbrNu83u.d.mts.map} +1 -1
  54. package/dist/{types-DfdYe31u.d.cts → types-DNqEsctD.d.cts} +14 -109
  55. package/dist/{types-DfdYe31u.d.cts.map → types-DNqEsctD.d.cts.map} +1 -1
  56. package/dist/vitest.cjs +1 -1
  57. package/dist/vitest.mjs +1 -1
  58. package/dist/workspace/index.cjs +1 -1
  59. package/dist/workspace/index.d.cts +2 -2
  60. package/dist/workspace/index.d.mts +2 -2
  61. package/dist/workspace/index.mjs +1 -1
  62. package/dist/{workspace-BKytVCzb.mjs → workspace-CHEC80sp.mjs} +6 -7
  63. package/dist/workspace-CHEC80sp.mjs.map +1 -0
  64. package/dist/{workspace-dV6f-3vv.cjs → workspace-D9z2ymBW.cjs} +11 -12
  65. package/dist/workspace-D9z2ymBW.cjs.map +1 -0
  66. package/dist/{workspace-RYSYtHP7.cjs → workspace-DEibcoBe.cjs} +11 -25
  67. package/dist/{workspace-RYSYtHP7.cjs.map → workspace-DEibcoBe.cjs.map} +1 -1
  68. package/dist/{workspace-DOmIhiau.mjs → workspace-DNzWgM1J.mjs} +11 -25
  69. package/dist/{workspace-DOmIhiau.mjs.map → workspace-DNzWgM1J.mjs.map} +1 -1
  70. package/package.json +14 -14
  71. package/dist/OpenApiTsGenerator-B4Kj_qNU.cjs.map +0 -1
  72. package/dist/OpenApiTsGenerator-CEh3EKN3.mjs.map +0 -1
  73. package/dist/discover-B0f_kuNN.cjs.map +0 -1
  74. package/dist/discover-BLhf7V_J.mjs.map +0 -1
  75. package/dist/emit-BdoPFjZf.cjs.map +0 -1
  76. package/dist/emit-Bzq7JsMP.mjs.map +0 -1
  77. package/dist/ready-3RfHxdA0.cjs.map +0 -1
  78. package/dist/ready-ZqOuNvKD.mjs.map +0 -1
  79. package/dist/workspace-BKytVCzb.mjs.map +0 -1
  80. package/dist/workspace-dV6f-3vv.cjs.map +0 -1
@@ -1,9 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_discover = require("../discover-B0f_kuNN.cjs");
3
- const require_emit = require("../emit-BdoPFjZf.cjs");
4
- exports.MANIFEST_PATH = require_emit.MANIFEST_PATH;
2
+ const require_discover = require("../discover-DXNviAh-.cjs");
3
+ const require_emit = require("../emit-Dmc1nvdS.cjs");
5
4
  exports.discover = require_discover.discover;
6
5
  exports.isDeclarable = require_discover.isDeclarable;
7
6
  exports.manifestModule = require_emit.manifestModule;
8
7
  exports.withRoutes = require_emit.withRoutes;
9
- exports.writeManifestModule = require_emit.writeManifestModule;
@@ -1,4 +1,4 @@
1
- import { n as EmailBackend, t as CacheBackend } from "../types-DfdYe31u.cjs";
1
+ import { n as EmailBackend, t as CacheBackend } from "../types-DNqEsctD.cjs";
2
2
  import { ConstructManifest, Declaration, RouteInfo } from "@geekmidas/manifest";
3
3
  //#region src/reconcile/discover.d.ts
4
4
  /** The construct face discovery needs: an id, and the ability to declare. */
@@ -75,8 +75,6 @@ interface ConstructSource {
75
75
  export declare function discover(options: DiscoverOptions): Promise<ConstructManifest>;
76
76
  //#endregion
77
77
  //#region src/reconcile/emit.d.ts
78
- /** Where the build writes it, relative to the app root. */
79
- export declare const MANIFEST_PATH = ".gkm/manifest.ts";
80
78
  /**
81
79
  * Fold the build's generated routes into the surface that serves them.
82
80
  *
@@ -91,11 +89,10 @@ export declare const MANIFEST_PATH = ".gkm/manifest.ts";
91
89
  * already knows where it wrote each handler. Asking the declaration to restate
92
90
  * any of that is how the two come to disagree.
93
91
  *
94
- * Attribution is by exclusion — routes go to the surface that declared none of
95
- * its own. A surface with static endpoints (an auth server's single wildcard)
96
- * keeps them. That is exact while an app has one API of its own, and needs a
97
- * real answer the day it has two; the alternative today would be inventing one
98
- * before anything needs it.
92
+ * Attribution is to the surface the build served — the one whose `path` is
93
+ * the app being built. Without one, routes go to the surface that declared none
94
+ * of its own; a surface with static endpoints (an auth server's single
95
+ * wildcard) keeps them.
99
96
  *
100
97
  * **Only from a provider that generates one handler per route.** The `server`
101
98
  * provider generates a single catch-all — `ALL *` pointing at the Hono app that
@@ -107,6 +104,7 @@ export declare const MANIFEST_PATH = ".gkm/manifest.ts";
107
104
  */
108
105
  export declare function withRoutes(manifest: ConstructManifest, routes: readonly RouteInfo[], options: {
109
106
  perRoute: boolean;
107
+ surface?: string;
110
108
  }): ConstructManifest;
111
109
  /**
112
110
  * The manifest as TypeScript source.
@@ -114,8 +112,6 @@ export declare function withRoutes(manifest: ConstructManifest, routes: readonly
114
112
  * Pure, so what gets written can be asserted without touching a filesystem.
115
113
  */
116
114
  export declare function manifestModule(manifest: ConstructManifest, backends?: Backends): string;
117
- /** Write it where the deploy config expects to import it from. */
118
- export declare function writeManifestModule(manifest: ConstructManifest, appRoot: string, backends?: Backends): Promise<string>;
119
115
  /** The choices that are deployment config rather than declaration. */
120
116
  interface Backends {
121
117
  cache?: CacheBackend;
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.cts","names":[],"sources":["../../src/reconcile/discover.ts","../../src/reconcile/emit.ts"],"mappings":";;;;UA8BU;EACT;EACA,WAAW;;;;;;;;;wBAUI,aAAa,iBAAiB,SAAS;UAYtC;;EAEhB;EACA;;;;;;;EAOA;;;;;;;;;;;;EAYA,UAAU,eAAe;;;;;;;;;;;;EAYzB,YAAY;;;UAII;;EAEhB;;EAEA;;;;;;;EAOA;;;;;;;;;;wBAWqB,SACrB,SAAS,kBACP,QAAQ;;;;qBC/EE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA8BG,WACf,UAAU,mBACV,iBAAiB,aACjB;EAAW;IACT;;;;;;wBA2Ja,eACf,UAAU,mBACV,WAAU;;wBA8BW,oBACrB,UAAU,mBACV,iBACA,WAAU,WACR;;UAUc;EAChB,QAAQ;EACR,QAAQ"}
1
+ {"version":3,"file":"public.d.cts","names":[],"sources":["../../src/reconcile/discover.ts","../../src/reconcile/emit.ts"],"mappings":";;;;UA8BU;EACT;EACA,WAAW;;;;;;;;;wBAUI,aAAa,iBAAiB,SAAS;UAYtC;;EAEhB;EACA;;;;;;;EAOA;;;;;;;;;;;;EAYA,UAAU,eAAe;;;;;;;;;;;;EAYzB,YAAY;;;UAII;;EAEhB;;EAEA;;;;;;;EAOA;;;;;;;;;;wBAWqB,SACrB,SAAS,kBACP,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBCvDK,WACf,UAAU,mBACV,iBAAiB,aACjB;EAAW;EAAmB;IAC5B;;;;;;wBA4Ja,eACf,UAAU,mBACV,WAAU;;UA8BM;EAChB,QAAQ;EACR,QAAQ"}
@@ -1,4 +1,4 @@
1
- import { n as EmailBackend, t as CacheBackend } from "../types-0R124hrY.mjs";
1
+ import { n as EmailBackend, t as CacheBackend } from "../types-BbrNu83u.mjs";
2
2
  import { ConstructManifest, Declaration, RouteInfo } from "@geekmidas/manifest";
3
3
  //#region src/reconcile/discover.d.ts
4
4
  /** The construct face discovery needs: an id, and the ability to declare. */
@@ -75,8 +75,6 @@ interface ConstructSource {
75
75
  export declare function discover(options: DiscoverOptions): Promise<ConstructManifest>;
76
76
  //#endregion
77
77
  //#region src/reconcile/emit.d.ts
78
- /** Where the build writes it, relative to the app root. */
79
- export declare const MANIFEST_PATH = ".gkm/manifest.ts";
80
78
  /**
81
79
  * Fold the build's generated routes into the surface that serves them.
82
80
  *
@@ -91,11 +89,10 @@ export declare const MANIFEST_PATH = ".gkm/manifest.ts";
91
89
  * already knows where it wrote each handler. Asking the declaration to restate
92
90
  * any of that is how the two come to disagree.
93
91
  *
94
- * Attribution is by exclusion — routes go to the surface that declared none of
95
- * its own. A surface with static endpoints (an auth server's single wildcard)
96
- * keeps them. That is exact while an app has one API of its own, and needs a
97
- * real answer the day it has two; the alternative today would be inventing one
98
- * before anything needs it.
92
+ * Attribution is to the surface the build served — the one whose `path` is
93
+ * the app being built. Without one, routes go to the surface that declared none
94
+ * of its own; a surface with static endpoints (an auth server's single
95
+ * wildcard) keeps them.
99
96
  *
100
97
  * **Only from a provider that generates one handler per route.** The `server`
101
98
  * provider generates a single catch-all — `ALL *` pointing at the Hono app that
@@ -107,6 +104,7 @@ export declare const MANIFEST_PATH = ".gkm/manifest.ts";
107
104
  */
108
105
  export declare function withRoutes(manifest: ConstructManifest, routes: readonly RouteInfo[], options: {
109
106
  perRoute: boolean;
107
+ surface?: string;
110
108
  }): ConstructManifest;
111
109
  /**
112
110
  * The manifest as TypeScript source.
@@ -114,8 +112,6 @@ export declare function withRoutes(manifest: ConstructManifest, routes: readonly
114
112
  * Pure, so what gets written can be asserted without touching a filesystem.
115
113
  */
116
114
  export declare function manifestModule(manifest: ConstructManifest, backends?: Backends): string;
117
- /** Write it where the deploy config expects to import it from. */
118
- export declare function writeManifestModule(manifest: ConstructManifest, appRoot: string, backends?: Backends): Promise<string>;
119
115
  /** The choices that are deployment config rather than declaration. */
120
116
  interface Backends {
121
117
  cache?: CacheBackend;
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.mts","names":[],"sources":["../../src/reconcile/discover.ts","../../src/reconcile/emit.ts"],"mappings":";;;;UA8BU;EACT;EACA,WAAW;;;;;;;;;wBAUI,aAAa,iBAAiB,SAAS;UAYtC;;EAEhB;EACA;;;;;;;EAOA;;;;;;;;;;;;EAYA,UAAU,eAAe;;;;;;;;;;;;EAYzB,YAAY;;;UAII;;EAEhB;;EAEA;;;;;;;EAOA;;;;;;;;;;wBAWqB,SACrB,SAAS,kBACP,QAAQ;;;;qBC/EE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBA8BG,WACf,UAAU,mBACV,iBAAiB,aACjB;EAAW;IACT;;;;;;wBA2Ja,eACf,UAAU,mBACV,WAAU;;wBA8BW,oBACrB,UAAU,mBACV,iBACA,WAAU,WACR;;UAUc;EAChB,QAAQ;EACR,QAAQ"}
1
+ {"version":3,"file":"public.d.mts","names":[],"sources":["../../src/reconcile/discover.ts","../../src/reconcile/emit.ts"],"mappings":";;;;UA8BU;EACT;EACA,WAAW;;;;;;;;;wBAUI,aAAa,iBAAiB,SAAS;UAYtC;;EAEhB;EACA;;;;;;;EAOA;;;;;;;;;;;;EAYA,UAAU,eAAe;;;;;;;;;;;;EAYzB,YAAY;;;UAII;;EAEhB;;EAEA;;;;;;;EAOA;;;;;;;;;;wBAWqB,SACrB,SAAS,kBACP,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBCvDK,WACf,UAAU,mBACV,iBAAiB,aACjB;EAAW;EAAmB;IAC5B;;;;;;wBA4Ja,eACf,UAAU,mBACV,WAAU;;UA8BM;EAChB,QAAQ;EACR,QAAQ"}
@@ -1,3 +1,3 @@
1
- import { r as isDeclarable, t as discover } from "../discover-BLhf7V_J.mjs";
2
- import { a as writeManifestModule, i as withRoutes, n as manifestModule, t as MANIFEST_PATH } from "../emit-Bzq7JsMP.mjs";
3
- export { MANIFEST_PATH, discover, isDeclarable, manifestModule, withRoutes, writeManifestModule };
1
+ import { r as isDeclarable, t as discover } from "../discover-Cf2jAcgF.mjs";
2
+ import { r as withRoutes, t as manifestModule } from "../emit-C1e8qD08.mjs";
3
+ export { discover, isDeclarable, manifestModule, withRoutes };
@@ -4618,7 +4618,7 @@ type Framework = output$1<typeof FrameworkSchema>;
4618
4618
  /**
4619
4619
  * Supported deploy targets (Phase 1).
4620
4620
  */
4621
- declare const SUPPORTED_DEPLOY_TARGETS: readonly ['dokploy'];
4621
+ declare const SUPPORTED_DEPLOY_TARGETS: readonly ['dokploy', 'sst'];
4622
4622
  /**
4623
4623
  * Phase 2 deploy targets (not yet implemented).
4624
4624
  */
@@ -4798,10 +4798,7 @@ type BackupsConfig = output$1<typeof BackupsConfigSchema>;
4798
4798
  */
4799
4799
  declare const WorkspaceConfigSchema: ZodObject<{
4800
4800
  name: ZodOptional<ZodString>;
4801
- constructs: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
4802
- paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
4803
- partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
4804
- }, $strip>]>>;
4801
+ constructs: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
4805
4802
  apps: ZodOptional<ZodRecord<ZodString, ZodObject<{
4806
4803
  type: ZodDefault<ZodOptional<ZodEnum<{
4807
4804
  backend: "backend";
@@ -4814,36 +4811,16 @@ declare const WorkspaceConfigSchema: ZodObject<{
4814
4811
  deploy: ZodOptional<ZodEnum<{
4815
4812
  cloudflare: "cloudflare";
4816
4813
  dokploy: "dokploy";
4814
+ sst: "sst";
4817
4815
  vercel: "vercel";
4818
4816
  }>>;
4819
- constructs: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
4820
- paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
4821
- partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
4822
- }, $strip>]>>;
4823
- routes: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
4824
- paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
4825
- partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
4826
- }, $strip>]>>;
4827
- functions: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
4828
- paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
4829
- partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
4830
- }, $strip>]>>;
4831
- crons: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
4832
- paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
4833
- partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
4834
- }, $strip>]>>;
4835
- queues: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
4836
- paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
4837
- partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
4838
- }, $strip>]>>;
4839
- topics: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
4840
- paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
4841
- partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
4842
- }, $strip>]>>;
4843
- subscribers: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodObject<{
4844
- paths: ZodUnion<readonly [ZodString, ZodArray<ZodString>]>;
4845
- partition: ZodCustom<(filepath: string) => string, (filepath: string) => string>;
4846
- }, $strip>]>>;
4817
+ constructs: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
4818
+ routes: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
4819
+ functions: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
4820
+ crons: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
4821
+ queues: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
4822
+ topics: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
4823
+ subscribers: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
4847
4824
  envParser: ZodOptional<ZodString>;
4848
4825
  logger: ZodOptional<ZodString>;
4849
4826
  hooks: ZodOptional<ZodObject<{
@@ -4906,6 +4883,7 @@ declare const WorkspaceConfigSchema: ZodObject<{
4906
4883
  default: ZodOptional<ZodEnum<{
4907
4884
  cloudflare: "cloudflare";
4908
4885
  dokploy: "dokploy";
4886
+ sst: "sst";
4909
4887
  vercel: "vercel";
4910
4888
  }>>;
4911
4889
  dokploy: ZodOptional<ZodObject<{
@@ -5199,7 +5177,7 @@ declare function formatValidationErrors(error: ZodError): string;
5199
5177
  * deploy: 'cloudflare'
5200
5178
  * ```
5201
5179
  */
5202
- type DeployTarget = 'dokploy' | 'vercel' | 'cloudflare';
5180
+ type DeployTarget = 'dokploy' | 'sst' | 'vercel' | 'cloudflare';
5203
5181
  /**
5204
5182
  * Stage-based domain configuration.
5205
5183
  *
@@ -5554,8 +5532,6 @@ interface AppConfigBase {
5554
5532
  * @example './src/config/logger'
5555
5533
  */
5556
5534
  logger?: string;
5557
- /** Provider configuration (AWS, Docker, etc.) */
5558
- providers?: ProvidersConfig;
5559
5535
  /**
5560
5536
  * Server lifecycle hooks.
5561
5537
  * @example { beforeSetup: './src/hooks/setup.ts' }
@@ -6009,43 +5985,7 @@ interface LoadedConfig {
6009
5985
  declare function isWorkspaceConfig(config: GkmConfig | WorkspaceConfig): config is WorkspaceConfig;
6010
5986
  //#endregion
6011
5987
  //#region src/types.d.ts
6012
- interface PartitionedRoutes {
6013
- paths: string | string[];
6014
- partition: (filepath: string) => string;
6015
- }
6016
- type Routes = string | string[] | PartitionedRoutes;
6017
- interface ProviderConfig {
6018
- enabled?: boolean;
6019
- outputDir?: string;
6020
- }
6021
- interface AWSApiGatewayConfig extends ProviderConfig {}
6022
- interface AWSLambdaConfig extends ProviderConfig {}
6023
- interface ProductionConfig {
6024
- /** Enable production mode (default: false) */
6025
- enabled?: boolean;
6026
- /** Bundle server into single file (default: true) */
6027
- bundle?: boolean;
6028
- /** Minify bundled output (default: true) */
6029
- minify?: boolean;
6030
- /** Health check endpoint path (default: '/health') */
6031
- healthCheck?: string;
6032
- /** Enable graceful shutdown handling (default: true) */
6033
- gracefulShutdown?: boolean;
6034
- /** Packages to exclude from bundling (default: []) */
6035
- external?: string[];
6036
- /** Include subscribers in production build (default: 'exclude' for serverless) */
6037
- subscribers?: 'include' | 'exclude';
6038
- /** Include OpenAPI spec in production (default: false) */
6039
- openapi?: boolean;
6040
- /**
6041
- * Enable build-time optimized handler generation (default: true)
6042
- * Generates specialized handlers based on endpoint tier:
6043
- * - minimal: Near-raw-Hono performance for simple endpoints
6044
- * - standard: Optimized handlers for auth/services
6045
- * - full: Uses HonoEndpoint.addRoutes for complex endpoints
6046
- */
6047
- optimizedHandlers?: boolean;
6048
- }
5988
+ type Routes = string | string[];
6049
5989
  /**
6050
5990
  * Where a declared cache actually lives.
6051
5991
  *
@@ -6095,12 +6035,6 @@ interface DockerConfig {
6095
6035
  /** Container port (default: 3000) */
6096
6036
  port?: number;
6097
6037
  }
6098
- interface ServerConfig extends ProviderConfig {
6099
- enableOpenApi?: boolean;
6100
- port?: number;
6101
- /** Production build configuration */
6102
- production?: ProductionConfig;
6103
- }
6104
6038
  type Runtime = 'node' | 'bun';
6105
6039
  interface TelescopeConfig {
6106
6040
  /** Enable/disable telescope (default: true in development) */
@@ -6163,34 +6097,6 @@ interface HooksConfig {
6163
6097
  */
6164
6098
  server?: string;
6165
6099
  }
6166
- /** Dokploy deployment configuration */
6167
- interface DokployProviderConfig {
6168
- /** Dokploy API endpoint (e.g., 'https://dokploy.example.com') */
6169
- endpoint: string;
6170
- /** Project ID in Dokploy */
6171
- projectId: string;
6172
- /** Application ID in Dokploy */
6173
- applicationId: string;
6174
- /** Container registry (overrides docker.registry if set) */
6175
- registry?: string;
6176
- /** Registry ID in Dokploy (recommended for private registries) */
6177
- registryId?: string;
6178
- }
6179
- interface ProvidersConfig {
6180
- aws?: {
6181
- apiGateway?: {
6182
- v1?: boolean | AWSApiGatewayConfig;
6183
- v2?: boolean | AWSApiGatewayConfig;
6184
- };
6185
- lambda?: {
6186
- functions?: boolean | AWSLambdaConfig;
6187
- crons?: boolean | AWSLambdaConfig;
6188
- };
6189
- };
6190
- server?: boolean | ServerConfig;
6191
- /** Dokploy deployment configuration */
6192
- dokploy?: boolean | DokployProviderConfig;
6193
- }
6194
6100
  interface GkmConfig {
6195
6101
  /**
6196
6102
  * What this app is called, and therefore how everything it declares is named.
@@ -6227,7 +6133,6 @@ interface GkmConfig {
6227
6133
  * @example './src/**\/*.ts'
6228
6134
  */
6229
6135
  constructs: Routes;
6230
- providers?: ProvidersConfig;
6231
6136
  /**
6232
6137
  * Server lifecycle hooks for customizing the Hono app.
6233
6138
  * Allows adding custom routes, middleware, error handlers, etc.
@@ -6321,4 +6226,4 @@ interface GkmConfig {
6321
6226
  }
6322
6227
  //#endregion
6323
6228
  export { SUPPORTED_DEPLOY_TARGETS as A, WorkspaceInput as C, FrontendFramework as D, Framework as E, isPhase2DeployTarget as F, safeValidateWorkspaceConfig as I, validateWorkspaceConfig as L, formatValidationErrors as M, getDeployTargetError as N, MobileFramework as O, isDeployTargetSupported as P, WorkspaceConfig as S, BackendFramework as T, ModelsConfig as _, Routes as a, SecretsConfig as b, AppInput as c, DeployConfig as d, DeployTarget as f, LoadedConfig as g, InferredWorkspaceConfig as h, OpenApiConfig as i, WorkspaceConfigSchema as j, PHASE_2_DEPLOY_TARGETS as k, AppsRecord as l, InferAppNames as m, EmailBackend as n, AppConfig as o, DokployWorkspaceConfig as p, GkmConfig as r, AppConfigInput as s, CacheBackend as t, ConstrainedApps as u, NormalizedAppConfig as v, isWorkspaceConfig as w, SharedConfig as x, NormalizedWorkspace as y };
6324
- //# sourceMappingURL=types-0R124hrY.d.mts.map
6229
+ //# sourceMappingURL=types-BbrNu83u.d.mts.map