silgi 0.34.3 → 0.34.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/dist/cli/index.mjs
CHANGED
package/dist/core/index.mjs
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
} from "h3";
|
|
7
7
|
import {
|
|
8
8
|
createError,
|
|
9
|
+
getUrlPrefix,
|
|
9
10
|
isError,
|
|
10
11
|
silgiFetch,
|
|
11
12
|
useSilgi
|
|
12
13
|
} from "silgi";
|
|
13
|
-
import { getUrlPrefix } from "../../core/utils/route.ts";
|
|
14
14
|
export async function addNitroApp(silgiContext = useSilgi()) {
|
|
15
15
|
const nitro = silgiContext.framework;
|
|
16
16
|
const prefixs = silgiContext.routerPrefixs;
|
package/dist/types/index.d.mts
CHANGED
|
@@ -898,6 +898,7 @@ interface SilgiRuntimeShareds extends SilgiRuntimeSharedsExtend {
|
|
|
898
898
|
storage: <T extends StorageValue = StorageValue>(base: StorageConfig<T>['base']) => Storage<T>;
|
|
899
899
|
runtimeConfig: SilgiRuntimeConfig;
|
|
900
900
|
$fetch: typeof silgiFetch;
|
|
901
|
+
silgi: Silgi;
|
|
901
902
|
}
|
|
902
903
|
interface SilgiRuntimeSharedsExtend {
|
|
903
904
|
}
|