refactor: update router import path and add random ID utility
- Changed the import path for router types from '@kevisual/router' to './route.ts' in src/router-define.ts. - Added a new lock file (bun.lock) to manage dependencies. - Introduced a new utility function in src/utils/random.ts to generate random IDs using the nanoid library.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { QueryRouterServer, RouteOpts, Run, RouteMiddleware } from '@kevisual/router';
|
||||
import type { QueryRouterServer, RouteOpts, Run, RouteMiddleware } from './route.ts';
|
||||
import type { DataOpts, Query, Result } from '@kevisual/query/query';
|
||||
// export type RouteObject<T extends readonly string[]> = {
|
||||
// [K in T[number]]: RouteOpts;
|
||||
|
||||
Reference in New Issue
Block a user