@stacksjs/types 0.50.0 → 0.52.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/README.md +1 -1
- package/dist/app.d.ts +4 -15
- package/dist/auto-imports.d.ts +1 -2
- package/dist/build.d.ts +1 -1
- package/dist/build.mjs +0 -1
- package/dist/cache.d.ts +69 -0
- package/dist/cache.mjs +0 -0
- package/dist/cdn.d.ts +15 -0
- package/dist/cdn.mjs +0 -0
- package/dist/cli.d.ts +71 -40
- package/dist/cli.mjs +28 -19
- package/dist/components.d.ts +1 -2
- package/dist/cron-jobs.d.ts +16 -0
- package/dist/cron-jobs.mjs +0 -0
- package/dist/database.d.ts +32 -2
- package/dist/deploy.d.ts +7 -9
- package/dist/dns.d.ts +43 -0
- package/dist/dns.mjs +0 -0
- package/dist/docs.d.ts +1 -0
- package/dist/events.d.ts +1 -1
- package/dist/git.d.ts +1 -1
- package/dist/index.d.ts +10 -2
- package/dist/index.mjs +10 -2
- package/dist/library.d.ts +6 -2
- package/dist/model.d.ts +41 -0
- package/dist/model.mjs +0 -0
- package/dist/notifications.d.ts +118 -98
- package/dist/pages.d.ts +10 -7
- package/dist/payments.d.ts +59 -0
- package/dist/payments.mjs +0 -0
- package/dist/reactivity.d.ts +1 -2
- package/dist/router.d.ts +26 -0
- package/dist/router.mjs +0 -0
- package/dist/search-engine.d.ts +48 -8
- package/dist/ssg.d.ts +1 -1
- package/dist/stacks.d.ts +163 -0
- package/dist/stacks.mjs +0 -0
- package/dist/ui.d.ts +1 -1
- package/package.json +33 -24
package/dist/stacks.d.ts
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { AppOptions, CacheOptions, CdnOptions, UserCliOptions, DatabaseOptions, DebugOptions, DnsOptions, DocsOptions, EmailOptions, EventOptions, GitOptions, HashingOptions, LibraryOptions, NotificationOptions, PaymentOptions, SearchEngineOptions, ServicesOptions, StorageOptions, UiOptions } from "./";
|
|
2
|
+
/**
|
|
3
|
+
* **Stacks Options**
|
|
4
|
+
*
|
|
5
|
+
* This configuration defines all of your Stacks options. Because Stacks is fully-typed,
|
|
6
|
+
* you may hover any of the options below and the definitions will be provided. In case
|
|
7
|
+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
8
|
+
*/
|
|
9
|
+
export interface StacksOptions {
|
|
10
|
+
/**
|
|
11
|
+
* **Application Options**
|
|
12
|
+
*
|
|
13
|
+
* This configuration defines all of your Application options. Because Stacks is fully-typed,
|
|
14
|
+
* you may hover any of the options below and the definitions will be provided. In case
|
|
15
|
+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
16
|
+
*/
|
|
17
|
+
app: Partial<AppOptions>;
|
|
18
|
+
/**
|
|
19
|
+
* **Cache Options**
|
|
20
|
+
*
|
|
21
|
+
* This configuration defines all of your Cache options. Because Stacks is fully-typed, you
|
|
22
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
23
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
24
|
+
*/
|
|
25
|
+
cache: Partial<CacheOptions>;
|
|
26
|
+
/**
|
|
27
|
+
* **CDN Options**
|
|
28
|
+
*
|
|
29
|
+
* This configuration defines all of your CDN options. Because Stacks is fully-typed, you
|
|
30
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
31
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
32
|
+
*/
|
|
33
|
+
cdn: Partial<CdnOptions>;
|
|
34
|
+
/**
|
|
35
|
+
* **CLI Options**
|
|
36
|
+
*
|
|
37
|
+
* This configuration defines all of your CLI options. Because Stacks is fully-typed, you
|
|
38
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
39
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
40
|
+
*/
|
|
41
|
+
cli: Partial<UserCliOptions>;
|
|
42
|
+
/**
|
|
43
|
+
* **Database Options**
|
|
44
|
+
*
|
|
45
|
+
* This configuration defines all of your Database options. Because Stacks is fully-typed, you
|
|
46
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
47
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
48
|
+
*/
|
|
49
|
+
database: Partial<DatabaseOptions>;
|
|
50
|
+
/**
|
|
51
|
+
* **Debug Options**
|
|
52
|
+
*
|
|
53
|
+
* This configuration defines all of your Debug options. Because Stacks is fully-typed, you
|
|
54
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
55
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
56
|
+
*/
|
|
57
|
+
debug: Partial<DebugOptions>;
|
|
58
|
+
/**
|
|
59
|
+
* **DNS Options**
|
|
60
|
+
*
|
|
61
|
+
* This configuration defines all of your DNS options. Because Stacks is fully-typed, you
|
|
62
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
63
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
64
|
+
*/
|
|
65
|
+
dns: Partial<DnsOptions>;
|
|
66
|
+
/**
|
|
67
|
+
* **Docs Options**
|
|
68
|
+
*
|
|
69
|
+
* This configuration defines all of your Docs options. Because Stacks is fully-typed, you
|
|
70
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
71
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
72
|
+
*/
|
|
73
|
+
docs: Partial<DocsOptions>;
|
|
74
|
+
/**
|
|
75
|
+
* **Email Options**
|
|
76
|
+
*
|
|
77
|
+
* This configuration defines all of your Email options. Because Stacks is fully-typed, you
|
|
78
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
79
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
80
|
+
*/
|
|
81
|
+
email: Partial<EmailOptions>;
|
|
82
|
+
/**
|
|
83
|
+
* **Event Options**
|
|
84
|
+
*
|
|
85
|
+
* This configuration defines all of your Event options. Because Stacks is fully-typed, you
|
|
86
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
87
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
88
|
+
*/
|
|
89
|
+
event: Partial<EventOptions>;
|
|
90
|
+
/**
|
|
91
|
+
* **Git Options**
|
|
92
|
+
*
|
|
93
|
+
* This configuration defines all of your Git options. Because Stacks is fully-typed, you
|
|
94
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
95
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
96
|
+
*/
|
|
97
|
+
git: Partial<GitOptions>;
|
|
98
|
+
/**
|
|
99
|
+
* **Hashing Options**
|
|
100
|
+
*
|
|
101
|
+
* This configuration defines all of your Hashing options. Because Stacks is fully-typed, you
|
|
102
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
103
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
104
|
+
*/
|
|
105
|
+
hashing: Partial<HashingOptions>;
|
|
106
|
+
/**
|
|
107
|
+
* **Library Options**
|
|
108
|
+
*
|
|
109
|
+
* This configuration defines all of your Library options. Because Stacks is fully-typed, you
|
|
110
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
111
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
112
|
+
*/
|
|
113
|
+
library: Partial<LibraryOptions>;
|
|
114
|
+
/**
|
|
115
|
+
* **Notification Options**
|
|
116
|
+
*
|
|
117
|
+
* This configuration defines all of your Notification options. Because Stacks is fully-typed,
|
|
118
|
+
* you may hover any of the options below and the definitions will be provided. In case
|
|
119
|
+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
120
|
+
*/
|
|
121
|
+
notification: Partial<NotificationOptions>;
|
|
122
|
+
/**
|
|
123
|
+
* **Payment Options**
|
|
124
|
+
*
|
|
125
|
+
* This configuration defines all of your Payment options. Because Stacks is fully-typed,
|
|
126
|
+
* you may hover any of the options below and the definitions will be provided. In case
|
|
127
|
+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
128
|
+
*/
|
|
129
|
+
payment: Partial<PaymentOptions>;
|
|
130
|
+
/**
|
|
131
|
+
* **Search Engine Options**
|
|
132
|
+
*
|
|
133
|
+
* This configuration defines all of your Search Engine options. Because Stacks is fully-typed,
|
|
134
|
+
* you may hover any of the options below and the definitions will be provided. In case
|
|
135
|
+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
136
|
+
*/
|
|
137
|
+
searchEngine: Partial<SearchEngineOptions>;
|
|
138
|
+
/**
|
|
139
|
+
* **Services Options**
|
|
140
|
+
*
|
|
141
|
+
* This configuration defines all of your Services options. Because Stacks is fully-typed,
|
|
142
|
+
* you may hover any of the options below and the definitions will be provided. In case
|
|
143
|
+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
144
|
+
*/
|
|
145
|
+
services: Partial<ServicesOptions>;
|
|
146
|
+
/**
|
|
147
|
+
* **Storage Options**
|
|
148
|
+
*
|
|
149
|
+
* This configuration defines all of your Storage options. Because Stacks is fully-typed,
|
|
150
|
+
* you may hover any of the options below and the definitions will be provided. In case
|
|
151
|
+
* you have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
152
|
+
*/
|
|
153
|
+
storage: Partial<StorageOptions>;
|
|
154
|
+
/**
|
|
155
|
+
* **UI Options**
|
|
156
|
+
*
|
|
157
|
+
* This configuration defines all of your UI options. Because Stacks is fully-typed, you
|
|
158
|
+
* may hover any of the options below and the definitions will be provided. In case you
|
|
159
|
+
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
160
|
+
*/
|
|
161
|
+
ui: Partial<UiOptions>;
|
|
162
|
+
}
|
|
163
|
+
export type ResolvedStacksOptions = Required<StacksOptions>;
|
package/dist/stacks.mjs
ADDED
|
File without changes
|
package/dist/ui.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export interface WebFontMeta {
|
|
|
16
16
|
/**
|
|
17
17
|
* **UI Engine Options**
|
|
18
18
|
*
|
|
19
|
-
* This type defines all of your UI Engine options. Because Stacks is
|
|
19
|
+
* This type defines all of your UI Engine options. Because Stacks is fully-typed, you may
|
|
20
20
|
* hover any of the options below and the definitions will be provided. In case you
|
|
21
21
|
* have any questions, feel free to reach out via Discord or GitHub Discussions.
|
|
22
22
|
*/
|
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@
|
|
4
|
+
"version": "0.52.0",
|
|
5
|
+
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks framework types.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -22,6 +22,12 @@
|
|
|
22
22
|
"framework",
|
|
23
23
|
"typescript"
|
|
24
24
|
],
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.mjs"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
25
31
|
"main": "dist/index.mjs",
|
|
26
32
|
"module": "dist/index.mjs",
|
|
27
33
|
"types": "dist/index.d.ts",
|
|
@@ -32,40 +38,43 @@
|
|
|
32
38
|
"dist",
|
|
33
39
|
"README.md"
|
|
34
40
|
],
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"@mdit-vue/plugin-component": "^0.11.2",
|
|
41
|
-
"@mdit-vue/plugin-frontmatter": "^0.11.1",
|
|
42
|
-
"@mdit-vue/types": "^0.11.0",
|
|
43
|
-
"@prisma/client": "^4.9.0",
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"@mdit-vue/plugin-component": "^0.12.0",
|
|
43
|
+
"@mdit-vue/plugin-frontmatter": "^0.12.0",
|
|
44
|
+
"@mdit-vue/types": "^0.12.0",
|
|
45
|
+
"@novu/stateless": "^0.14.0",
|
|
44
46
|
"@rollup/pluginutils": "^5.0.2",
|
|
45
47
|
"@types/bcryptjs": "^2.4.2",
|
|
46
48
|
"@types/crypto-js": "^4.1.1",
|
|
47
|
-
"@types/eslint": "^8.
|
|
49
|
+
"@types/eslint": "^8.37.0",
|
|
48
50
|
"@types/fs-extra": "^11.0.1",
|
|
49
51
|
"@types/markdown-it-link-attributes": "^3.0.1",
|
|
50
52
|
"@types/minimatch": "^5.1.2",
|
|
51
|
-
"@types/node": "^18.
|
|
53
|
+
"@types/node": "^18.16.10",
|
|
52
54
|
"@types/nprogress": "^0.2.0",
|
|
53
55
|
"@types/pluralize": "^0.0.29",
|
|
54
|
-
"@types/prompts": "^2.4.2",
|
|
55
56
|
"cac": "^6.7.14",
|
|
57
|
+
"execa": "^7.1.1",
|
|
56
58
|
"markdown-it": "^13.0.1",
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"vite
|
|
64
|
-
"
|
|
59
|
+
"meilisearch": "^0.32.3",
|
|
60
|
+
"neverthrow": "^6.0.0",
|
|
61
|
+
"ora": "^6.3.1",
|
|
62
|
+
"unocss": "^0.51.13",
|
|
63
|
+
"unplugin-auto-import": "^0.16.0",
|
|
64
|
+
"unplugin-vue-components": "^0.24.1",
|
|
65
|
+
"vite": "^4.3.7",
|
|
66
|
+
"vite-plugin-inspect": "^0.7.26",
|
|
67
|
+
"vite-plugin-pwa": "^0.14.7",
|
|
68
|
+
"vite-plugin-vue-layouts": "^0.8.0",
|
|
69
|
+
"vite-ssg": "^0.22.2",
|
|
70
|
+
"vitepress": "1.0.0-alpha.75",
|
|
71
|
+
"vue": "^3.3.2",
|
|
72
|
+
"zod": "^3.21.4",
|
|
73
|
+
"@stacksjs/development": "0.52.0"
|
|
65
74
|
},
|
|
66
75
|
"scripts": {
|
|
67
|
-
"build": "
|
|
68
|
-
"dev": "
|
|
76
|
+
"build": "unbuild",
|
|
77
|
+
"dev": "unbuild --stub",
|
|
69
78
|
"typecheck": "tsc --noEmit"
|
|
70
79
|
}
|
|
71
80
|
}
|