@guren/server 0.2.0-alpha.7 → 1.0.0-rc.9
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/Application-DtWDHXr1.d.ts +2110 -0
- package/dist/BroadcastManager-AkIWUGJo.d.ts +466 -0
- package/dist/CacheManager-BkvHEOZX.d.ts +244 -0
- package/dist/ConsoleKernel-CqCVrdZs.d.ts +207 -0
- package/dist/EventManager-CmIoLt7r.d.ts +207 -0
- package/dist/Gate-CNkBYf8m.d.ts +268 -0
- package/dist/HealthManager-DUyMIzsZ.d.ts +141 -0
- package/dist/I18nManager-Dtgzsf5n.d.ts +270 -0
- package/dist/LogManager-7mxnkaPM.d.ts +256 -0
- package/dist/MailManager-DpMvYiP9.d.ts +292 -0
- package/dist/Scheduler-BstvSca7.d.ts +469 -0
- package/dist/StorageManager-oZTHqaza.d.ts +337 -0
- package/dist/api-token-JOif2CtG.d.ts +1792 -0
- package/dist/app-key-CsBfRC_Q.d.ts +214 -0
- package/dist/auth/index.d.ts +418 -0
- package/dist/auth/index.js +6742 -0
- package/dist/authorization/index.d.ts +129 -0
- package/dist/authorization/index.js +621 -0
- package/dist/broadcasting/index.d.ts +233 -0
- package/dist/broadcasting/index.js +907 -0
- package/dist/cache/index.d.ts +233 -0
- package/dist/cache/index.js +817 -0
- package/dist/encryption/index.d.ts +222 -0
- package/dist/encryption/index.js +602 -0
- package/dist/events/index.d.ts +155 -0
- package/dist/events/index.js +330 -0
- package/dist/health/index.d.ts +185 -0
- package/dist/health/index.js +379 -0
- package/dist/i18n/index.d.ts +101 -0
- package/dist/i18n/index.js +597 -0
- package/dist/index-9_Jzj5jo.d.ts +7 -0
- package/dist/index.d.ts +2628 -619
- package/dist/index.js +22229 -3116
- package/dist/lambda/index.d.ts +156 -0
- package/dist/lambda/index.js +91 -0
- package/dist/logging/index.d.ts +50 -0
- package/dist/logging/index.js +557 -0
- package/dist/mail/index.d.ts +288 -0
- package/dist/mail/index.js +695 -0
- package/dist/mcp/index.d.ts +139 -0
- package/dist/mcp/index.js +382 -0
- package/dist/notifications/index.d.ts +271 -0
- package/dist/notifications/index.js +741 -0
- package/dist/queue/index.d.ts +423 -0
- package/dist/queue/index.js +958 -0
- package/dist/runtime/index.d.ts +93 -0
- package/dist/runtime/index.js +834 -0
- package/dist/scheduling/index.d.ts +41 -0
- package/dist/scheduling/index.js +836 -0
- package/dist/storage/index.d.ts +196 -0
- package/dist/storage/index.js +832 -0
- package/dist/vite/index.js +203 -3
- package/package.json +93 -6
- package/dist/chunk-FK2XQSBF.js +0 -160
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { A as Application } from '../Application-DtWDHXr1.js';
|
|
2
|
+
export { D as DevBannerOptions, G as GUREN_ASCII_ART, a as StartViteDevServerOptions, b as StartedViteDevServer, l as logDevServerBanner, s as startViteDevServer } from '../Application-DtWDHXr1.js';
|
|
3
|
+
import 'hono';
|
|
4
|
+
import '../api-token-JOif2CtG.js';
|
|
5
|
+
import 'vite';
|
|
6
|
+
import '../EventManager-CmIoLt7r.js';
|
|
7
|
+
import '../CacheManager-BkvHEOZX.js';
|
|
8
|
+
import '../MailManager-DpMvYiP9.js';
|
|
9
|
+
import '../LogManager-7mxnkaPM.js';
|
|
10
|
+
import '../I18nManager-Dtgzsf5n.js';
|
|
11
|
+
import '../BroadcastManager-AkIWUGJo.js';
|
|
12
|
+
import '../index-9_Jzj5jo.js';
|
|
13
|
+
import '../app-key-CsBfRC_Q.js';
|
|
14
|
+
import '../StorageManager-oZTHqaza.js';
|
|
15
|
+
import '../HealthManager-DUyMIzsZ.js';
|
|
16
|
+
import '../Scheduler-BstvSca7.js';
|
|
17
|
+
import '../Gate-CNkBYf8m.js';
|
|
18
|
+
|
|
19
|
+
type RootPublicAssetsConfig = boolean | RootPublicAssetsOptions;
|
|
20
|
+
interface RootPublicAssetsOptions {
|
|
21
|
+
/** Enable or disable root-level public asset serving. Defaults to true. */
|
|
22
|
+
enabled?: boolean;
|
|
23
|
+
/** List of file extensions to expose from the public directory. */
|
|
24
|
+
extensions?: string[];
|
|
25
|
+
/** Cache-Control header applied to served files. */
|
|
26
|
+
cacheControlHeader?: string;
|
|
27
|
+
/** Optional prefix filter (e.g. `/assets`). Defaults to all paths. */
|
|
28
|
+
routePrefix?: string;
|
|
29
|
+
/** Override content types per extension. */
|
|
30
|
+
contentTypeMap?: Record<string, string>;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
interface DevAssetsOptions {
|
|
34
|
+
/** Absolute path to the resources directory (e.g. `/app/resources`). */
|
|
35
|
+
resourcesDir?: string;
|
|
36
|
+
/** Base import meta used to resolve relative paths. */
|
|
37
|
+
importMeta?: ImportMeta;
|
|
38
|
+
/** Relative path from `importMeta` to the resources directory. Defaults to `../resources`. */
|
|
39
|
+
resourcesPath?: string;
|
|
40
|
+
/** Path prefix to mount transpiled JS assets. Defaults to `/resources/js`. */
|
|
41
|
+
prefix?: string;
|
|
42
|
+
/** Route pattern used to serve raw CSS assets. Defaults to `/resources/css/*`. */
|
|
43
|
+
cssRoute?: string;
|
|
44
|
+
/** Absolute path to the CSS directory. Defaults to `<resourcesDir>/../css`. */
|
|
45
|
+
cssDir?: string;
|
|
46
|
+
/** Enables serving the bundled inertia client. Defaults to true. */
|
|
47
|
+
inertiaClient?: boolean;
|
|
48
|
+
/** Path to the inertia client source. Defaults to the version bundled with Guren. */
|
|
49
|
+
inertiaClientSource?: string;
|
|
50
|
+
/** Public URL for the inertia client. Defaults to `/vendor/inertia-client.tsx`. */
|
|
51
|
+
inertiaClientPath?: string;
|
|
52
|
+
/** Override the remote JSX runtime URL. */
|
|
53
|
+
jsxRuntimeUrl?: string;
|
|
54
|
+
/** Absolute path to a directory with static assets (e.g. `/app/public`). */
|
|
55
|
+
publicDir?: string;
|
|
56
|
+
/** Relative path from `importMeta` to the static assets directory. Defaults to `../public`. */
|
|
57
|
+
publicPath?: string | false;
|
|
58
|
+
/** Route pattern used when serving static assets. Defaults to `/public/*`. */
|
|
59
|
+
publicRoute?: string;
|
|
60
|
+
/** Whether to register a no-op favicon route. Defaults to true when static assets are served. */
|
|
61
|
+
favicon?: boolean;
|
|
62
|
+
/** Serve selected files from the public directory without the `/public` prefix. */
|
|
63
|
+
rootPublicAssets?: RootPublicAssetsConfig;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Registers development asset serving middleware.
|
|
67
|
+
* @param app
|
|
68
|
+
* @param options
|
|
69
|
+
*/
|
|
70
|
+
declare function registerDevAssets(app: Application, options: DevAssetsOptions): void;
|
|
71
|
+
|
|
72
|
+
interface InertiaAssetsOptions extends DevAssetsOptions {
|
|
73
|
+
/** Default stylesheet entry embedded into Inertia responses. */
|
|
74
|
+
stylesEntry?: string;
|
|
75
|
+
/** Default script entry embedded into Inertia responses (production). */
|
|
76
|
+
scriptEntry?: string;
|
|
77
|
+
/** Path to the SSR bundle entry consumed by the Inertia engine. */
|
|
78
|
+
ssrEntry?: string;
|
|
79
|
+
/** Path to the SSR manifest file generated by the build. */
|
|
80
|
+
ssrManifest?: string;
|
|
81
|
+
}
|
|
82
|
+
interface AutoConfigureInertiaOptions extends InertiaAssetsOptions {
|
|
83
|
+
/** Dev server URL used when NODE_ENV !== 'production'. */
|
|
84
|
+
devServerUrl?: string;
|
|
85
|
+
/** Output directory for Vite SSR bundles (relative to project root). */
|
|
86
|
+
ssrOutDir?: string;
|
|
87
|
+
/** Enables SSR auto-wiring (defaults to true). */
|
|
88
|
+
enableSsr?: boolean;
|
|
89
|
+
}
|
|
90
|
+
declare function configureInertiaAssets(app: Application, options: InertiaAssetsOptions): void;
|
|
91
|
+
declare function autoConfigureInertiaAssets(app: Application, options: AutoConfigureInertiaOptions): void;
|
|
92
|
+
|
|
93
|
+
export { type AutoConfigureInertiaOptions, type DevAssetsOptions, type InertiaAssetsOptions, autoConfigureInertiaAssets, configureInertiaAssets, registerDevAssets };
|