alepha 0.9.4 → 0.10.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/LICENSE +21 -21
- package/README.md +47 -93
- package/batch.d.ts +491 -16
- package/bucket.d.ts +449 -12
- package/cache.d.ts +132 -1
- package/command.d.ts +32 -8
- package/core.d.ts +462 -369
- package/email.cjs +8 -0
- package/email.d.ts +328 -0
- package/email.js +1 -0
- package/lock.d.ts +412 -23
- package/logger.d.ts +83 -45
- package/package.json +62 -44
- package/postgres.d.ts +1731 -205
- package/queue/redis.d.ts +3 -3
- package/queue.d.ts +591 -8
- package/react/auth.d.ts +101 -112
- package/react/form.d.ts +14 -4
- package/react/head.d.ts +1 -1
- package/react/i18n.d.ts +13 -5
- package/react.d.ts +318 -180
- package/redis.d.ts +11 -11
- package/router.d.ts +1 -0
- package/security.d.ts +29 -29
- package/server/cache.d.ts +1 -0
- package/server/health.d.ts +6 -6
- package/server/links.d.ts +40 -29
- package/server/proxy.d.ts +192 -0
- package/server.d.ts +645 -88
- package/topic.d.ts +803 -12
- package/vite.d.ts +32 -4
package/vite.d.ts
CHANGED
|
@@ -47,6 +47,12 @@ interface BuildClientOptions {
|
|
|
47
47
|
* @default false
|
|
48
48
|
*/
|
|
49
49
|
prerender?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Build a sitemap.xml file based on the $pages routes.
|
|
52
|
+
*/
|
|
53
|
+
sitemap?: {
|
|
54
|
+
hostname: string;
|
|
55
|
+
};
|
|
50
56
|
config?: UserConfig;
|
|
51
57
|
}
|
|
52
58
|
//#endregion
|
|
@@ -90,10 +96,12 @@ interface VercelConfig {
|
|
|
90
96
|
projectName?: string;
|
|
91
97
|
orgId?: string;
|
|
92
98
|
projectId?: string;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
99
|
+
config?: Record<string, any> & {
|
|
100
|
+
crons?: Array<{
|
|
101
|
+
path: string;
|
|
102
|
+
schedule: string;
|
|
103
|
+
}>;
|
|
104
|
+
};
|
|
97
105
|
}
|
|
98
106
|
declare function viteAlephaBuildVercel(opts?: ViteAlephaBuildVercelOptions): Promise<{
|
|
99
107
|
name: string;
|
|
@@ -157,6 +165,26 @@ declare function viteAlepha(options?: ViteAlephaOptions): (Plugin | Promise<Plug
|
|
|
157
165
|
declare global {
|
|
158
166
|
var __alepha: Alepha;
|
|
159
167
|
}
|
|
168
|
+
/**
|
|
169
|
+
* Plugin vite for Alepha framework.
|
|
170
|
+
*
|
|
171
|
+
* This module provides Vite plugins and configurations to integrate Alepha applications with Vite's build and development processes.
|
|
172
|
+
*
|
|
173
|
+
* @example
|
|
174
|
+
* ```ts
|
|
175
|
+
* import { defineConfig } from "vite";
|
|
176
|
+
* import { viteAlepha } from "alepha/vite";
|
|
177
|
+
*
|
|
178
|
+
* export default defineConfig({
|
|
179
|
+
* plugins: [viteAlepha()],
|
|
180
|
+
* // other Vite configurations...
|
|
181
|
+
* });
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
184
|
+
* @module alepha.vite
|
|
185
|
+
*/
|
|
186
|
+
//# sourceMappingURL=index.d.ts.map
|
|
187
|
+
|
|
160
188
|
//#endregion
|
|
161
189
|
export { VercelConfig, ViteAlephaBuildOptions, ViteAlephaBuildVercelOptions, ViteAlephaDevOptions, ViteAlephaOptions, ViteCompressOptions, compressFile, viteAlepha, viteAlephaBuild, viteAlephaBuildVercel, viteAlephaDev, viteCompress };
|
|
162
190
|
//# sourceMappingURL=index.d.ts.map
|