alepha 0.11.3 → 0.11.5
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/api/files.d.ts +1 -1
- package/api/jobs.d.ts +140 -140
- package/api/users.d.ts +496 -496
- package/batch.d.ts +3 -0
- package/bucket.d.ts +4 -0
- package/command.d.ts +14 -0
- package/core.d.ts +274 -11
- package/datetime.d.ts +2 -1
- package/devtools.d.ts +261 -259
- package/fake.cjs +8 -0
- package/fake.d.ts +73 -0
- package/fake.js +1 -0
- package/file.d.ts +476 -1
- package/logger.d.ts +2 -1
- package/package.json +63 -49
- package/postgres.d.ts +34 -104
- package/react/i18n.d.ts +26 -1
- package/react.d.ts +373 -64
- package/security.d.ts +28 -28
- package/server/swagger.d.ts +3 -3
- package/server.d.ts +20 -20
- package/ui.cjs +8 -0
- package/ui.d.ts +683 -0
- package/ui.js +1 -0
- package/vite.d.ts +18 -29
package/vite.d.ts
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
import { Alepha } from "alepha";
|
|
2
1
|
import { Options } from "@vitejs/plugin-react";
|
|
2
|
+
import { Alepha } from "alepha";
|
|
3
3
|
import { BrotliOptions, ZlibOptions } from "node:zlib";
|
|
4
|
-
import { Plugin, UserConfig } from "vite";
|
|
4
|
+
import { Plugin, UserConfig, defineConfig } from "vite";
|
|
5
5
|
|
|
6
|
-
//#region src/helpers/getEntryFiles.d.ts
|
|
7
|
-
declare const getClientEntry: (root?: string) => Promise<string | undefined>;
|
|
8
|
-
declare const getServerEntry: (root?: string) => Promise<string>;
|
|
9
|
-
declare function extractFirstModuleScriptSrc(html: string): string;
|
|
10
|
-
//#endregion
|
|
11
6
|
//#region src/viteCompress.d.ts
|
|
12
7
|
interface ViteCompressOptions {
|
|
13
8
|
/**
|
|
@@ -44,12 +39,15 @@ declare function compressFile(options: ViteCompressOptions | undefined, filePath
|
|
|
44
39
|
//#region src/helpers/buildClient.d.ts
|
|
45
40
|
interface BuildClientOptions {
|
|
46
41
|
dist: string;
|
|
47
|
-
html: string;
|
|
48
42
|
/**
|
|
43
|
+
* If true, precompress assets using gzip and brotli compression.
|
|
44
|
+
*
|
|
49
45
|
* @default false
|
|
50
46
|
*/
|
|
51
47
|
precompress?: ViteCompressOptions | boolean;
|
|
52
48
|
/**
|
|
49
|
+
* If true, prerender all static routes found in the $pages directory.
|
|
50
|
+
*
|
|
53
51
|
* @default false
|
|
54
52
|
*/
|
|
55
53
|
prerender?: boolean;
|
|
@@ -59,7 +57,14 @@ interface BuildClientOptions {
|
|
|
59
57
|
sitemap?: {
|
|
60
58
|
hostname: string;
|
|
61
59
|
};
|
|
60
|
+
/**
|
|
61
|
+
* Override Vite config options.
|
|
62
|
+
*/
|
|
62
63
|
config?: UserConfig;
|
|
64
|
+
/**
|
|
65
|
+
* If true, generate build stats report.
|
|
66
|
+
*/
|
|
67
|
+
stats?: boolean;
|
|
63
68
|
}
|
|
64
69
|
//#endregion
|
|
65
70
|
//#region src/viteAlephaBuildDocker.d.ts
|
|
@@ -140,6 +145,10 @@ interface ViteAlephaBuildOptions {
|
|
|
140
145
|
* Additionally, it will generate a Dockerfile in the dist directory.
|
|
141
146
|
*/
|
|
142
147
|
docker?: boolean | ViteAlephaBuildDockerOptions;
|
|
148
|
+
/**
|
|
149
|
+
* If true, build statistics will be printed after the build completes.
|
|
150
|
+
*/
|
|
151
|
+
stats?: boolean;
|
|
143
152
|
}
|
|
144
153
|
declare function viteAlephaBuild(options?: ViteAlephaBuildOptions): Promise<Plugin>;
|
|
145
154
|
//#endregion
|
|
@@ -172,26 +181,6 @@ declare function viteAlepha(options?: ViteAlephaOptions): (Plugin | Promise<Plug
|
|
|
172
181
|
declare global {
|
|
173
182
|
var __alepha: Alepha;
|
|
174
183
|
}
|
|
175
|
-
/**
|
|
176
|
-
* Plugin vite for Alepha framework.
|
|
177
|
-
*
|
|
178
|
-
* This module provides Vite plugins and configurations to integrate Alepha applications with Vite's build and development processes.
|
|
179
|
-
*
|
|
180
|
-
* @example
|
|
181
|
-
* ```ts
|
|
182
|
-
* import { defineConfig } from "vite";
|
|
183
|
-
* import { viteAlepha } from "alepha/vite";
|
|
184
|
-
*
|
|
185
|
-
* export default defineConfig({
|
|
186
|
-
* plugins: [viteAlepha()],
|
|
187
|
-
* // other Vite configurations...
|
|
188
|
-
* });
|
|
189
|
-
* ```
|
|
190
|
-
*
|
|
191
|
-
* @module alepha.vite
|
|
192
|
-
*/
|
|
193
|
-
//# sourceMappingURL=index.d.ts.map
|
|
194
|
-
|
|
195
184
|
//#endregion
|
|
196
|
-
export { VercelConfig, ViteAlephaBuildOptions, ViteAlephaBuildVercelOptions, ViteAlephaDevOptions, ViteAlephaOptions, ViteCompressOptions, compressFile,
|
|
185
|
+
export { VercelConfig, ViteAlephaBuildOptions, ViteAlephaBuildVercelOptions, ViteAlephaDevOptions, ViteAlephaOptions, ViteCompressOptions, compressFile, defineConfig, viteAlepha, viteAlephaBuild, viteAlephaBuildVercel, viteAlephaDev, viteCompress };
|
|
197
186
|
//# sourceMappingURL=index.d.ts.map
|