@stacksjs/types 0.46.4 → 0.47.0

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/dist/app.d.ts CHANGED
@@ -116,12 +116,4 @@ export interface AppOptions {
116
116
  * @default string "aes-256-cbc"
117
117
  */
118
118
  cipher: string;
119
- /**
120
- * **Font**
121
- *
122
- * Description WIP.
123
- *
124
- * @default object
125
- */
126
- font: object;
127
119
  }
package/dist/cli.d.ts CHANGED
@@ -218,7 +218,8 @@ export declare const enum Action {
218
218
  Test = "test",
219
219
  TestUi = "test-ui",
220
220
  TestCoverage = "test-coverage",
221
- Typecheck = "typecheck"
221
+ Typecheck = "typecheck",
222
+ KeyGenerate = "key-generate"
222
223
  }
223
224
  export type { CAC as CLI } from 'cac';
224
225
  export type { ExecaReturnValue as CommandResult } from 'execa';
package/dist/cli.mjs CHANGED
@@ -67,5 +67,6 @@ export var Action = /* @__PURE__ */ ((Action2) => {
67
67
  Action2["TestUi"] = "test-ui";
68
68
  Action2["TestCoverage"] = "test-coverage";
69
69
  Action2["Typecheck"] = "typecheck";
70
+ Action2["KeyGenerate"] = "key-generate";
70
71
  return Action2;
71
72
  })(Action || {});
package/dist/debug.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export interface DebugOptions {
2
- driver: string;
2
+ driver?: string;
3
3
  enabled: boolean;
4
4
  host: string;
5
5
  port: number;
package/dist/deploy.d.ts CHANGED
@@ -7,5 +7,5 @@ export interface DeployOptions {
7
7
  * @default string 'netlify'
8
8
  * @see https://stacksjs.dev/docs/components
9
9
  */
10
- host: 'netlify' | 'vercel';
10
+ driver: 'netlify' | 'vercel';
11
11
  }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * **Events**
3
+ *
4
+ * This configuration defines all of your events. Because Stacks is full-typed, you may
5
+ * hover any of the options below and the definitions will be provided. In case you
6
+ * have any questions, feel free to reach out via Discord or GitHub Discussions.
7
+ *
8
+ * @example To fire an event, you may use any of the following approaches:
9
+ * ```ts
10
+ * useEvent('user:registered', { name: 'Chris'})
11
+ * dispatch('user:registered', { name: 'Chris'})
12
+ * ````
13
+
14
+ * @example To capture an event, you may use any of the following approaches:
15
+ * ```ts
16
+ * useListen('user:registered', (user) => console.log(user))
17
+ * listen('user:registered', (user) => console.log(user))
18
+ * ```
19
+ */
20
+ export interface Events {
21
+ [key: string]: any;
22
+ }
File without changes
package/dist/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './deploy';
8
8
  export * from './debug';
9
9
  export * from './docs';
10
10
  export * from './errors';
11
+ export * from './events';
11
12
  export * from './exit-code';
12
13
  export * from './fs';
13
14
  export * from './git';
package/dist/index.mjs CHANGED
@@ -8,6 +8,7 @@ export * from "./deploy.mjs";
8
8
  export * from "./debug.mjs";
9
9
  export * from "./docs.mjs";
10
10
  export * from "./errors.mjs";
11
+ export * from "./events.mjs";
11
12
  export * from "./exit-code.mjs";
12
13
  export * from "./fs.mjs";
13
14
  export * from "./git.mjs";
@@ -1,10 +1,8 @@
1
1
  import type { IChatOptions, IEmailOptions, ISendMessageSuccessResponse, ISmsOptions } from '@novu/stateless';
2
2
  export interface NotificationOptions {
3
3
  driver?: string;
4
- novu: {
5
- key: string;
6
- };
7
4
  email: {
5
+ purgeCSS: boolean;
8
6
  sendgrid: {
9
7
  key: string;
10
8
  from: string;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.46.4",
5
- "packageManager": "pnpm@7.19.0",
4
+ "version": "0.47.0",
5
+ "packageManager": "pnpm@7.20.0",
6
6
  "description": "The Stacks framework types.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -34,10 +34,10 @@
34
34
  ],
35
35
  "engines": {
36
36
  "node": ">=v18.12.1",
37
- "pnpm": ">=7.19.0"
37
+ "pnpm": ">=7.20.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@mdit-vue/plugin-component": "^0.11.1",
40
+ "@mdit-vue/plugin-component": "^0.11.2",
41
41
  "@mdit-vue/plugin-frontmatter": "^0.11.1",
42
42
  "@mdit-vue/types": "^0.11.0",
43
43
  "@rollup/pluginutils": "^5.0.2",
@@ -47,7 +47,7 @@
47
47
  "@types/fs-extra": "^9.0.13",
48
48
  "@types/markdown-it-link-attributes": "^3.0.1",
49
49
  "@types/minimatch": "^5.1.2",
50
- "@types/node": "^18.11.17",
50
+ "@types/node": "^18.11.18",
51
51
  "@types/nprogress": "^0.2.0",
52
52
  "@types/pluralize": "^0.0.29",
53
53
  "@types/prompts": "^2.4.2",