orpc-file-based-router 0.1.2 → 0.1.3
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/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function createRouter(routesDir: string): Promise<Router>;
|
|
2
|
-
declare function cachedRouter(routesDir: string):
|
|
2
|
+
declare function cachedRouter(routesDir: string): {
|
|
3
3
|
getRouter: () => Promise<Router>;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
5
|
type GeneratorOptions = {
|
|
6
6
|
/**
|
|
7
7
|
* File extension to append to import statements in the generated router.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function createRouter(routesDir: string): Promise<Router>;
|
|
2
|
-
declare function cachedRouter(routesDir: string):
|
|
2
|
+
declare function cachedRouter(routesDir: string): {
|
|
3
3
|
getRouter: () => Promise<Router>;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
5
|
type GeneratorOptions = {
|
|
6
6
|
/**
|
|
7
7
|
* File extension to append to import statements in the generated router.
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare function createRouter(routesDir: string): Promise<Router>;
|
|
2
|
-
declare function cachedRouter(routesDir: string):
|
|
2
|
+
declare function cachedRouter(routesDir: string): {
|
|
3
3
|
getRouter: () => Promise<Router>;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
5
|
type GeneratorOptions = {
|
|
6
6
|
/**
|
|
7
7
|
* File extension to append to import statements in the generated router.
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED