@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 +0 -8
- package/dist/cli.d.ts +2 -1
- package/dist/cli.mjs +1 -0
- package/dist/debug.d.ts +1 -1
- package/dist/deploy.d.ts +1 -1
- package/dist/events.d.ts +22 -0
- package/dist/events.mjs +0 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1 -0
- package/dist/notifications.d.ts +1 -3
- package/package.json +5 -5
package/dist/app.d.ts
CHANGED
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
package/dist/debug.d.ts
CHANGED
package/dist/deploy.d.ts
CHANGED
package/dist/events.d.ts
ADDED
|
@@ -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
|
+
}
|
package/dist/events.mjs
ADDED
|
File without changes
|
package/dist/index.d.ts
CHANGED
package/dist/index.mjs
CHANGED
package/dist/notifications.d.ts
CHANGED
|
@@ -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.
|
|
5
|
-
"packageManager": "pnpm@7.
|
|
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.
|
|
37
|
+
"pnpm": ">=7.20.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@mdit-vue/plugin-component": "^0.11.
|
|
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.
|
|
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",
|