silgi 0.37.20 → 0.37.22
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/cli/build.mjs +3 -1
- package/dist/cli/index.mjs +1 -1
- package/dist/cli/prepare.mjs +0 -4
- package/dist/core/index.d.mts +31 -2
- package/dist/core/index.mjs +28 -6
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -1
- package/dist/runtime/internal/config.d.mts +1 -5
- package/dist/runtime/internal/config.mjs +25 -45
- package/dist/types/index.d.mts +8 -2
- package/package.json +1 -1
package/dist/cli/build.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { consola } from 'consola';
|
|
2
2
|
import { createHooks, createDebugger } from 'hookable';
|
|
3
3
|
import { resolve, join, relative, extname, basename, dirname, isAbsolute } from 'pathe';
|
|
4
|
-
import { useSilgiCLI, replaceRuntimeValues, silgiCLICtx, autoImportTypes } from 'silgi';
|
|
4
|
+
import { useSilgiCLI, replaceRuntimeValues, silgiCLICtx, updateRuntimeStorage, autoImportTypes } from 'silgi';
|
|
5
5
|
import { isPresents, addTemplate, addCoreFile, genEnsureSafeVar, writeFile, relativeWithDot, hash, removeExtension, resolveAlias, directoryToURL, addImports, baseHeaderBannerComment, normalizeTemplate, useLogger, resolveSilgiPath, hasSilgiModule, toArray, isDirectory } from 'silgi/kit';
|
|
6
6
|
import { runtimeDir } from 'silgi/runtime/meta';
|
|
7
7
|
import { scanExports, createUnimport, toExports } from 'unimport';
|
|
@@ -1491,6 +1491,7 @@ async function createSilgiCLI(config = {}, opts = {}) {
|
|
|
1491
1491
|
await framework(silgi);
|
|
1492
1492
|
}
|
|
1493
1493
|
await writeScanFiles(silgi);
|
|
1494
|
+
updateRuntimeStorage(silgi.options.runtimeConfig);
|
|
1494
1495
|
silgi.storage = await createStorageCLI(silgi);
|
|
1495
1496
|
silgi.hooks.hook("close", async () => {
|
|
1496
1497
|
await silgi.storage.dispose();
|
|
@@ -1527,6 +1528,7 @@ async function createSilgiCLI(config = {}, opts = {}) {
|
|
|
1527
1528
|
}
|
|
1528
1529
|
await registerModuleExportScan(silgi);
|
|
1529
1530
|
await writeScanFiles(silgi);
|
|
1531
|
+
updateRuntimeStorage(silgi.options.runtimeConfig);
|
|
1530
1532
|
return silgi;
|
|
1531
1533
|
}
|
|
1532
1534
|
|
package/dist/cli/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -70,10 +70,6 @@ const command$1 = defineCommand({
|
|
|
70
70
|
throw new Error("Silgi is not initialized");
|
|
71
71
|
}
|
|
72
72
|
const commands = silgi.options.commands;
|
|
73
|
-
globalThis.__silgi__ = globalThis.__silgi__ || {};
|
|
74
|
-
globalThis.__silgi__.useRuntimeConfig = function() {
|
|
75
|
-
return silgi?.options?.runtimeConfig || {};
|
|
76
|
-
};
|
|
77
73
|
const tags = args.tag?.split(",").map((t) => t.trim());
|
|
78
74
|
const silgiConfig = await loadOptions({});
|
|
79
75
|
await prepareEnv(silgiConfig);
|
package/dist/core/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SilgiConfig, Silgi, SilgiEvent, SilgiSchema, ServiceSetup, CustomRequestInit, SilgiRuntimeContext, AllPrefixes, NamespacesForPrefix, RoutesForPrefixAndNamespace, MethodSchemas, MergeAll, ServiceMethods, SilgiRuntimeShareds, RouteConfig, SilgiURL, StorageConfig, SilgiCLI, SilgiStorageBase } from 'silgi/types';
|
|
1
|
+
import { SilgiConfig, Silgi, SilgiEvent, SilgiSchema, ServiceSetup, CustomRequestInit, SilgiRuntimeContext, AllPrefixes, NamespacesForPrefix, RoutesForPrefixAndNamespace, MethodSchemas, MergeAll, ServiceMethods, SilgiRuntimeShareds, RouteConfig, SilgiURL, StorageConfig, SilgiCLI, SilgiStorageBase, SilgiRuntimeConfig } from 'silgi/types';
|
|
2
2
|
import { StandardSchemaV1 } from '@standard-schema/spec';
|
|
3
3
|
import { Storage, StorageValue } from 'unstorage';
|
|
4
4
|
import { UseContext } from 'unctx';
|
|
@@ -278,6 +278,35 @@ declare function tryUseSilgiCLI(): SilgiCLI | null;
|
|
|
278
278
|
|
|
279
279
|
declare function storageMount<T extends Storage = Storage>(silgi?: Silgi): (base: keyof SilgiStorageBase, driver: Parameters<Storage['mount']>[1]) => T;
|
|
280
280
|
|
|
281
|
+
/** async local storage for the name of the current silgi instance */
|
|
282
|
+
declare const asyncRuntimeStorage: UseContext<SilgiRuntimeConfig>;
|
|
283
|
+
declare function updateRuntimeStorage(runtime: any): void;
|
|
284
|
+
/** Direct access to the silgi context with asyncLocalStorage - see https://github.com/unjs/unctx. */
|
|
285
|
+
declare const getRuntimeCtx: () => SilgiRuntimeConfig | null;
|
|
286
|
+
/**
|
|
287
|
+
* Get access to silgi instance.
|
|
288
|
+
*
|
|
289
|
+
* Throws an error if silgi instance is unavailable.
|
|
290
|
+
* @example
|
|
291
|
+
* ```js
|
|
292
|
+
* const runtime = useRuntime()
|
|
293
|
+
* ```
|
|
294
|
+
*/
|
|
295
|
+
declare function useRuntime(): SilgiRuntimeConfig;
|
|
296
|
+
/**
|
|
297
|
+
* Get access to Runtime instance.
|
|
298
|
+
*
|
|
299
|
+
* Returns null if Runtime instance is unavailable.
|
|
300
|
+
* @example
|
|
301
|
+
* ```js
|
|
302
|
+
* const runtime = tryUseRuntime()
|
|
303
|
+
* if (runtime) {
|
|
304
|
+
* // Do something
|
|
305
|
+
* }
|
|
306
|
+
* ```
|
|
307
|
+
*/
|
|
308
|
+
declare function tryUseRuntime(): SilgiRuntimeConfig | null;
|
|
309
|
+
|
|
281
310
|
declare const autoImportTypes: string[];
|
|
282
311
|
|
|
283
|
-
export { SilgiError, autoImportTypes, createError, createRoute, createSchema, createService, createShared, createSilgi, createSilgiCore, createStorage, deepMergeObjects, getEvent, getEventContext, getUrlPrefix, handleResponse, isError, replaceRuntimeValues, silgiCLICtx, silgiCtx, silgiFetch, storageMount, tryUseSilgi, tryUseSilgiCLI, useSilgi, useSilgiCLI, useSilgiStorage };
|
|
312
|
+
export { SilgiError, asyncRuntimeStorage, autoImportTypes, createError, createRoute, createSchema, createService, createShared, createSilgi, createSilgiCore, createStorage, deepMergeObjects, getEvent, getEventContext, getRuntimeCtx, getUrlPrefix, handleResponse, isError, replaceRuntimeValues, silgiCLICtx, silgiCtx, silgiFetch, storageMount, tryUseRuntime, tryUseSilgi, tryUseSilgiCLI, updateRuntimeStorage, useRuntime, useSilgi, useSilgiCLI, useSilgiStorage };
|
package/dist/core/index.mjs
CHANGED
|
@@ -2,7 +2,8 @@ import { createConsola } from 'consola';
|
|
|
2
2
|
import { defu } from 'defu';
|
|
3
3
|
import { createHooks } from 'hookable';
|
|
4
4
|
import { createRouter, addRoute, findRoute } from 'rou3';
|
|
5
|
-
import {
|
|
5
|
+
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
6
|
+
import { createContext, getContext } from 'unctx';
|
|
6
7
|
import { Buffer } from 'node:buffer';
|
|
7
8
|
import { klona } from 'klona';
|
|
8
9
|
import { useSilgiRuntimeConfig } from 'silgi/runtime';
|
|
@@ -10,6 +11,30 @@ import { createStorage as createStorage$1, builtinDrivers, prefixStorage } from
|
|
|
10
11
|
import { FastURL, FastResponse } from 'srvx';
|
|
11
12
|
export { s as silgiCLICtx, t as tryUseSilgiCLI, u as useSilgiCLI } from '../_chunks/silgiApp.mjs';
|
|
12
13
|
|
|
14
|
+
const asyncRuntimeStorage = createContext({
|
|
15
|
+
asyncContext: true,
|
|
16
|
+
AsyncLocalStorage
|
|
17
|
+
});
|
|
18
|
+
function updateRuntimeStorage(runtime) {
|
|
19
|
+
if (asyncRuntimeStorage.tryUse()) {
|
|
20
|
+
asyncRuntimeStorage.unset();
|
|
21
|
+
asyncRuntimeStorage.set(runtime);
|
|
22
|
+
} else {
|
|
23
|
+
asyncRuntimeStorage.set(runtime);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
const getRuntimeCtx = () => asyncRuntimeStorage.tryUse();
|
|
27
|
+
function useRuntime() {
|
|
28
|
+
const instance = asyncRuntimeStorage.tryUse();
|
|
29
|
+
if (!instance) {
|
|
30
|
+
throw new Error("Runtime instance is unavailable!");
|
|
31
|
+
}
|
|
32
|
+
return instance;
|
|
33
|
+
}
|
|
34
|
+
function tryUseRuntime() {
|
|
35
|
+
return asyncRuntimeStorage.tryUse();
|
|
36
|
+
}
|
|
37
|
+
|
|
13
38
|
const silgiCtx = getContext("silgi");
|
|
14
39
|
function useSilgi() {
|
|
15
40
|
const instance = silgiCtx.tryUse();
|
|
@@ -282,10 +307,7 @@ async function createSilgi(config) {
|
|
|
282
307
|
captureError: config.captureError ?? (() => {
|
|
283
308
|
})
|
|
284
309
|
};
|
|
285
|
-
|
|
286
|
-
globalThis.__silgi__.useRuntimeConfig = function() {
|
|
287
|
-
return silgi?.options?.runtimeConfig || {};
|
|
288
|
-
};
|
|
310
|
+
updateRuntimeStorage(silgi.options.runtimeConfig);
|
|
289
311
|
if (!silgi.router) {
|
|
290
312
|
silgi.router = createRouter();
|
|
291
313
|
}
|
|
@@ -973,4 +995,4 @@ const autoImportTypes = [
|
|
|
973
995
|
"ExtractQueryParamsFromURI"
|
|
974
996
|
];
|
|
975
997
|
|
|
976
|
-
export { SilgiError, autoImportTypes, createError, createRoute, createSchema, createService, createShared, createSilgi, createSilgiCore, createStorage, deepMergeObjects, getEvent, getEventContext, getUrlPrefix, handleResponse, isError, replaceRuntimeValues, silgiCtx, silgiFetch, storageMount, tryUseSilgi, useSilgi, useSilgiStorage };
|
|
998
|
+
export { SilgiError, asyncRuntimeStorage, autoImportTypes, createError, createRoute, createSchema, createService, createShared, createSilgi, createSilgiCore, createStorage, deepMergeObjects, getEvent, getEventContext, getRuntimeCtx, getUrlPrefix, handleResponse, isError, replaceRuntimeValues, silgiCtx, silgiFetch, storageMount, tryUseRuntime, tryUseSilgi, updateRuntimeStorage, useRuntime, useSilgi, useSilgiStorage };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SilgiError, autoImportTypes, createError, createRoute, createSchema, createService, createShared, createSilgi, createSilgiCore, createStorage, deepMergeObjects, getEvent, getEventContext, getUrlPrefix, handleResponse, isError, replaceRuntimeValues, silgiCLICtx, silgiCtx, silgiFetch, storageMount, tryUseSilgi, tryUseSilgiCLI, useSilgi, useSilgiCLI, useSilgiStorage } from './core/index.mjs';
|
|
1
|
+
export { SilgiError, asyncRuntimeStorage, autoImportTypes, createError, createRoute, createSchema, createService, createShared, createSilgi, createSilgiCore, createStorage, deepMergeObjects, getEvent, getEventContext, getRuntimeCtx, getUrlPrefix, handleResponse, isError, replaceRuntimeValues, silgiCLICtx, silgiCtx, silgiFetch, storageMount, tryUseRuntime, tryUseSilgi, tryUseSilgiCLI, updateRuntimeStorage, useRuntime, useSilgi, useSilgiCLI, useSilgiStorage } from './core/index.mjs';
|
|
2
2
|
import 'silgi/types';
|
|
3
3
|
import '@standard-schema/spec';
|
|
4
4
|
import 'unstorage';
|
package/dist/index.mjs
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { SilgiError, autoImportTypes, createError, createRoute, createSchema, createService, createShared, createSilgi, createSilgiCore, createStorage, deepMergeObjects, getEvent, getEventContext, getUrlPrefix, handleResponse, isError, replaceRuntimeValues, silgiCtx, silgiFetch, storageMount, tryUseSilgi, useSilgi, useSilgiStorage } from './core/index.mjs';
|
|
1
|
+
export { SilgiError, asyncRuntimeStorage, autoImportTypes, createError, createRoute, createSchema, createService, createShared, createSilgi, createSilgiCore, createStorage, deepMergeObjects, getEvent, getEventContext, getRuntimeCtx, getUrlPrefix, handleResponse, isError, replaceRuntimeValues, silgiCtx, silgiFetch, storageMount, tryUseRuntime, tryUseSilgi, updateRuntimeStorage, useRuntime, useSilgi, useSilgiStorage } from './core/index.mjs';
|
|
2
2
|
export { s as silgiCLICtx, t as tryUseSilgiCLI, u as useSilgiCLI } from './_chunks/silgiApp.mjs';
|
|
3
3
|
import 'consola';
|
|
4
4
|
import 'defu';
|
|
5
5
|
import 'hookable';
|
|
6
6
|
import 'rou3';
|
|
7
|
+
import 'node:async_hooks';
|
|
7
8
|
import 'unctx';
|
|
8
9
|
import 'node:buffer';
|
|
9
10
|
import 'klona';
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import type { EnvOptions, SilgiEvent, SilgiRuntimeConfig } from 'silgi/types';
|
|
2
|
-
|
|
3
|
-
* Access 'resolved' Nuxt runtime configuration, with values updated from environment.
|
|
4
|
-
*
|
|
5
|
-
* This mirrors the runtime behavior of Nitro.
|
|
6
|
-
*/
|
|
2
|
+
export declare function updateEnvOptions(): EnvOptions;
|
|
7
3
|
export declare function useSilgiRuntimeConfig<T extends SilgiRuntimeConfig>(event?: SilgiEvent, inlineRuntimeConfig?: Record<string, any>): SilgiRuntimeConfig;
|
|
8
4
|
export declare function initRuntimeConfig(envOptions?: EnvOptions, inlineRuntimeConfig?: Record<string, any>): Readonly<Record<string, any>>;
|
|
9
5
|
export declare function updateRuntimeConfig(runtimeConfig: Record<string, unknown>): void;
|
|
@@ -2,62 +2,42 @@ import { defu } from "defu";
|
|
|
2
2
|
import destr from "destr";
|
|
3
3
|
import { klona } from "klona";
|
|
4
4
|
import { snakeCase } from "scule";
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
)
|
|
5
|
+
import { asyncRuntimeStorage, useRuntime, useSilgi } from "silgi";
|
|
6
|
+
export function updateEnvOptions() {
|
|
7
|
+
const runtime = useRuntime();
|
|
8
|
+
const envOptions = {
|
|
9
|
+
prefix: "NITRO_",
|
|
10
|
+
altPrefix: runtime?.silgi?.envPrefix ?? process.env.NITRO_ENV_PREFIX ?? "_",
|
|
11
|
+
silgiPrefix: "SILGI_",
|
|
12
|
+
envExpansion: runtime?.silgi?.envExpansion ?? process.env.NITRO_ENV_EXPANSION ?? false
|
|
13
|
+
};
|
|
14
|
+
const _sharedRuntimeConfig = _deepFreeze(
|
|
15
|
+
applyEnv(klona(runtime ?? {}), envOptions)
|
|
16
|
+
);
|
|
17
|
+
asyncRuntimeStorage.set(_sharedRuntimeConfig);
|
|
18
|
+
return envOptions;
|
|
19
|
+
}
|
|
16
20
|
export function useSilgiRuntimeConfig(event, inlineRuntimeConfig = {}) {
|
|
17
|
-
|
|
18
|
-
_inlineSilgiRuntimeConfig = globalThis.__silgi__?.useRuntimeConfig?.();
|
|
19
|
-
envOptions = {
|
|
20
|
-
prefix: "NITRO_",
|
|
21
|
-
altPrefix: _inlineSilgiRuntimeConfig?.nitro?.envPrefix ?? process.env.NITRO_ENV_PREFIX ?? "_",
|
|
22
|
-
silgiPrefix: "SILGI_",
|
|
23
|
-
envExpansion: _inlineSilgiRuntimeConfig?.nitro?.envExpansion ?? process.env.NITRO_ENV_EXPANSION ?? false
|
|
24
|
-
};
|
|
25
|
-
_sharedRuntimeConfig = _deepFreeze(
|
|
26
|
-
applyEnv(klona(_inlineSilgiRuntimeConfig ?? {}), envOptions)
|
|
27
|
-
);
|
|
28
|
-
}
|
|
29
|
-
const silgi = tryUseSilgi();
|
|
30
|
-
if (!silgi) {
|
|
31
|
-
if (globalThis._silgi_runtime) {
|
|
32
|
-
inlineRuntimeConfig = globalThis._silgi_runtime;
|
|
33
|
-
}
|
|
34
|
-
if (!_inlineSilgiRuntimeConfig) {
|
|
35
|
-
_sharedRuntimeConfig = initRuntimeConfig(envOptions, inlineRuntimeConfig);
|
|
36
|
-
}
|
|
37
|
-
if (!event) {
|
|
38
|
-
return _sharedRuntimeConfig;
|
|
39
|
-
}
|
|
40
|
-
const runtimeConfig2 = klona(_inlineSilgiRuntimeConfig);
|
|
41
|
-
applyEnv(runtimeConfig2, envOptions);
|
|
42
|
-
return runtimeConfig2;
|
|
43
|
-
}
|
|
44
|
-
if (!_inlineSilgiRuntimeConfig) {
|
|
45
|
-
_sharedRuntimeConfig = initRuntimeConfig(envOptions, inlineRuntimeConfig);
|
|
46
|
-
}
|
|
21
|
+
const runtime = useRuntime();
|
|
47
22
|
if (!event) {
|
|
48
|
-
return
|
|
23
|
+
return runtime;
|
|
24
|
+
}
|
|
25
|
+
if (event.context.nitro.runtimeConfig) {
|
|
26
|
+
return event.context.nitro.runtimeConfig;
|
|
49
27
|
}
|
|
50
|
-
const runtimeConfig = klona(
|
|
28
|
+
const runtimeConfig = klona(runtime);
|
|
29
|
+
const envOptions = updateEnvOptions();
|
|
51
30
|
applyEnv(runtimeConfig, envOptions);
|
|
31
|
+
event.context.nitro.runtimeConfig = runtimeConfig;
|
|
52
32
|
return runtimeConfig;
|
|
53
33
|
}
|
|
54
|
-
export function initRuntimeConfig(
|
|
34
|
+
export function initRuntimeConfig(envOptions = {}, inlineRuntimeConfig = {}) {
|
|
55
35
|
const finalEnvOptions = {
|
|
56
36
|
prefix: "NITRO_",
|
|
57
37
|
altPrefix: inlineRuntimeConfig?.nitro?.envPrefix ?? process.env.NITRO_ENV_PREFIX ?? "_",
|
|
58
38
|
silgiPrefix: "SILGI_",
|
|
59
39
|
envExpansion: inlineRuntimeConfig?.nitro?.envExpansion ?? process.env.NITRO_ENV_EXPANSION ?? false,
|
|
60
|
-
...
|
|
40
|
+
...envOptions
|
|
61
41
|
};
|
|
62
42
|
return _deepFreeze(
|
|
63
43
|
applyEnv(klona(inlineRuntimeConfig), finalEnvOptions)
|
package/dist/types/index.d.mts
CHANGED
|
@@ -484,7 +484,13 @@ interface StorageKeyParams<TInput = unknown> {
|
|
|
484
484
|
storageOptions?: Pick<StorageConfig<TInput>, 'base' | 'options' | 'scope'>;
|
|
485
485
|
}
|
|
486
486
|
|
|
487
|
-
interface
|
|
487
|
+
interface SilgiRuntimeDefaultConfig {
|
|
488
|
+
silgi?: {
|
|
489
|
+
envPrefix?: string;
|
|
490
|
+
envExpansion?: boolean;
|
|
491
|
+
};
|
|
492
|
+
}
|
|
493
|
+
interface SilgiRuntimeConfig extends SilgiRuntimeDefaultConfig {
|
|
488
494
|
}
|
|
489
495
|
interface SilgiOptions {
|
|
490
496
|
consolaOptions?: Partial<ConsolaOptions>;
|
|
@@ -1198,4 +1204,4 @@ interface GraphQLJSON {
|
|
|
1198
1204
|
references: any;
|
|
1199
1205
|
}
|
|
1200
1206
|
|
|
1201
|
-
export type { AllPaths, AllPrefixes, AppConfig, Awaitable, BuildSilgi, CaptureError, CapturedErrorContext, CommandType, Commands, CustomRequestInit, DeepPartial, DeepRequired, DefaultHooks, DefineFrameworkOptions, DotenvOptions, EnvOptions, EventHandlerResponse, ExtendContext, ExtendShared, ExtractNamespace, ExtractPathParamKeys, ExtractPathParams, ExtractPrefix, ExtractRoute, GenImport, GenerateAppOptions, GraphQLJSON, HTTPMethod, HookResult, HttpMethod, LoadConfigOptions, MergeAll, MergedSilgiSchema, MethodSchemas, ModuleDefinition, ModuleHookContext, ModuleMeta, ModuleOptionsCustom, ModuleSetupInstallResult, ModuleSetupReturn, NamespacesForPrefix, NitroBuildInfo, RequiredServiceType, ResolvedModuleMeta, ResolvedModuleOptions, ResolvedSchema, ResolvedSchemaDefinition, ResolvedServiceDefinition, ResolvedSilgiTemplate, RouteConfig, RouteConfigService, RouterParams, Routers, RoutesForPrefixAndNamespace, ScanFile, Schema, ServiceHandler, ServiceHandlerInput, ServiceHandlerOutput, ServiceHandlerSource, ServiceMethods, ServiceSetup, Silgi, SilgiAppPlugin, SilgiCLI, SilgiCLIConfig, SilgiCLIDynamicConfig, SilgiCLIHooks, SilgiCLIOptions, SilgiCommands, SilgiCompatibility, SilgiCompatibilityIssue, SilgiCompatibilityIssues, SilgiConfig, SilgiEvent, SilgiFetchClient, SilgiFetchOptions, SilgiFrameworkInfo, SilgiHooks, SilgiModule, SilgiModuleInput, SilgiModuleOptions, SilgiOptions, SilgiPreset, SilgiPresetMeta, SilgiRoute, SilgiRouterTypes, SilgiRuntimeActions, SilgiRuntimeConfig, SilgiRuntimeContext, SilgiRuntimeHooks, SilgiRuntimeMethods, SilgiRuntimeOptions, SilgiRuntimeShareds, SilgiRuntimeSharedsExtend, SilgiSchema, SilgiStorageBase, SilgiTemplate, SilgiURL, StandardHTTPMethod, StorageConfig, StorageKeyGenerator, StorageKeyParams, StorageMounts, TSReference, TrimAfterFourSlashes, WithPathParams };
|
|
1207
|
+
export type { AllPaths, AllPrefixes, AppConfig, Awaitable, BuildSilgi, CaptureError, CapturedErrorContext, CommandType, Commands, CustomRequestInit, DeepPartial, DeepRequired, DefaultHooks, DefineFrameworkOptions, DotenvOptions, EnvOptions, EventHandlerResponse, ExtendContext, ExtendShared, ExtractNamespace, ExtractPathParamKeys, ExtractPathParams, ExtractPrefix, ExtractRoute, GenImport, GenerateAppOptions, GraphQLJSON, HTTPMethod, HookResult, HttpMethod, LoadConfigOptions, MergeAll, MergedSilgiSchema, MethodSchemas, ModuleDefinition, ModuleHookContext, ModuleMeta, ModuleOptionsCustom, ModuleSetupInstallResult, ModuleSetupReturn, NamespacesForPrefix, NitroBuildInfo, RequiredServiceType, ResolvedModuleMeta, ResolvedModuleOptions, ResolvedSchema, ResolvedSchemaDefinition, ResolvedServiceDefinition, ResolvedSilgiTemplate, RouteConfig, RouteConfigService, RouterParams, Routers, RoutesForPrefixAndNamespace, ScanFile, Schema, ServiceHandler, ServiceHandlerInput, ServiceHandlerOutput, ServiceHandlerSource, ServiceMethods, ServiceSetup, Silgi, SilgiAppPlugin, SilgiCLI, SilgiCLIConfig, SilgiCLIDynamicConfig, SilgiCLIHooks, SilgiCLIOptions, SilgiCommands, SilgiCompatibility, SilgiCompatibilityIssue, SilgiCompatibilityIssues, SilgiConfig, SilgiEvent, SilgiFetchClient, SilgiFetchOptions, SilgiFrameworkInfo, SilgiHooks, SilgiModule, SilgiModuleInput, SilgiModuleOptions, SilgiOptions, SilgiPreset, SilgiPresetMeta, SilgiRoute, SilgiRouterTypes, SilgiRuntimeActions, SilgiRuntimeConfig, SilgiRuntimeContext, SilgiRuntimeDefaultConfig, SilgiRuntimeHooks, SilgiRuntimeMethods, SilgiRuntimeOptions, SilgiRuntimeShareds, SilgiRuntimeSharedsExtend, SilgiSchema, SilgiStorageBase, SilgiTemplate, SilgiURL, StandardHTTPMethod, StorageConfig, StorageKeyGenerator, StorageKeyParams, StorageMounts, TSReference, TrimAfterFourSlashes, WithPathParams };
|