Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

index.ts

53 lines1.2 KB

1export {
2 configSchema,
3 getConfig,
4 resolveConfigPath,
5 baseConfigSchema,
6} from './config'
7export type { Config, BaseConfig } from './config'
8​
9export { Generator } from './generator'
10export type { FileEventType, FileEvent, GeneratorEvent } from './generator'
11​
12export type { GeneratorPlugin } from './plugin/types'
13​
14export {
15 capitalize,
16 cleanPath,
17 trimPathLeft,
18 removeLeadingSlash,
19 removeTrailingSlash,
20 determineInitialRoutePath,
21 replaceBackslash,
22 routePathToVariable,
23 removeUnderscores,
24 resetRegex,
25 multiSortBy,
26 writeIfDifferent,
27 format,
28 removeExt,
29 checkRouteFullPathUniqueness,
30} from './utils'
31​
32export type {
33 RouteNode,
34 GetRouteNodesResult,
35 GetRoutesByFileMapResult,
36 GetRoutesByFileMapResultValue,
37 ImportDeclaration,
38 ImportSpecifier,
39 HandleNodeAccumulator,
40} from './types'
41​
42export { getRouteNodes as physicalGetRouteNodes } from './filesystem/physical/getRouteNodes'
43export { getRouteNodes as virtualGetRouteNodes } from './filesystem/virtual/getRouteNodes'
44​
45export { rootPathId } from './filesystem/physical/rootPathId'
46​
47export { ensureStringArgument } from './transform/utils'
48​
49export type {
50 TransformImportsConfig,
51 TransformContext,
52 TransformOptions,
53} from './transform/types'