@milkio/astra 1.0.0-beta.94 → 1.0.0-beta.97

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/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@milkio/astra","version":"1.0.0-beta.94","type":"module","module":"./index.js","types":"./index.d.ts","dependencies":{}}
1
+ {"name":"@milkio/astra","version":"1.0.0-beta.97","type":"module","module":"./index.js","types":"./index.d.ts","dependencies":{}}
@@ -1,53 +1,71 @@
1
1
  /**
2
- * The content of this file is automatically generated by Typia.
3
- * It can be edited in the /packages/cookbook-dto/src/* file, and each time you run bun run dev, the generated file will be synced to another location based on the content of the /develop.ts.
4
- */
2
+ * The content of this file is automatically generated by Typia.
3
+ * It can be edited in the /packages/cookbook-dto/src/* file, and each time you run bun run dev, the generated file will be synced to another location based on the content of the /develop.ts.
4
+ */
5
5
  export interface CookbookOptions {
6
6
  projects: Record<string, {
7
- type: 'milkio' | 'custom';
7
+ type: "milkio" | "custom";
8
8
  port: number;
9
- start: Array<string>;
10
- build: Array<string>;
9
+ start: string;
10
+ build: string;
11
+ meta: Partial<{
12
+ inspect: boolean;
13
+ }>;
14
+ runtime?: "node" | "deno" | "bun";
15
+ name?: string;
11
16
  lazyRoutes?: boolean;
12
- typiaMode?: 'generation' | 'bundler';
13
17
  watcher?: Array<string>;
18
+ autoStart?: boolean;
19
+ autoStartDelay?: number;
20
+ connectTestUrl?: string;
21
+ drizzle?: Array<{
22
+ mode: string;
23
+ migrateDatabaseUrl: string;
24
+ migrateMode: "generate" | "push" | "any";
25
+ schemaDir?: string;
26
+ }>;
14
27
  }>;
15
28
  general: {
16
29
  start: string;
30
+ packageManager: string;
17
31
  cookbookPort: number;
32
+ modes: Array<string>;
33
+ };
34
+ config: {
35
+ [key: string]: string | number | boolean;
18
36
  };
19
37
  }
20
38
  export type CookbookActionParams = {
21
- type: 'milkio@ping';
39
+ type: "milkio@ping";
22
40
  } | {
23
- type: 'milkio@logger';
41
+ type: "milkio@logger";
24
42
  log: Array<any>;
25
43
  } | {
26
- type: 'milkio@template';
44
+ type: "milkio@template";
27
45
  name: string;
28
46
  fsPath: string;
29
47
  template: string;
30
48
  } | {
31
- type: 'workers@list';
49
+ type: "workers@list";
32
50
  } | {
33
- type: 'workers@get';
51
+ type: "workers@get";
34
52
  key: string;
35
53
  index: number;
36
54
  };
37
55
  export type CookbookSubscribeEmits = {
38
- type: 'workers@stdout';
56
+ type: "workers@stdout";
39
57
  key: string;
40
58
  chunk: string;
41
59
  } | {
42
- type: 'workers@state';
60
+ type: "workers@state";
43
61
  key: string;
44
- state: 'running' | 'stopped';
45
- code: number | null | 'kill' | 'running';
62
+ state: "running" | "stopped";
63
+ code: number | null | "kill" | "running";
46
64
  } | {
47
- type: 'watcher@change';
48
- event: 'rename' | 'change';
65
+ type: "watcher@change";
66
+ event: "rename" | "change";
49
67
  path: string;
50
68
  } | {
51
- type: 'milkio@logger';
69
+ type: "milkio@logger";
52
70
  log: Array<any>;
53
71
  };