Skip to content

Commit

Permalink
Prettier ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Feb 25, 2024
1 parent c42c274 commit ce6dc09
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ styles/rules/*
node_modules
packages/volto/types/*
storybook-static
app/vite-ssr/src/routeTree.gen.ts
34 changes: 17 additions & 17 deletions apps/vite-ssr/src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,44 @@

// Import Routes

import { Route as rootRoute } from './routes/__root'
import { Route as ErrorImport } from './routes/error'
import { Route as SplatImport } from './routes/$'
import { Route as IndexImport } from './routes/index'
import { Route as rootRoute } from './routes/__root';
import { Route as ErrorImport } from './routes/error';
import { Route as SplatImport } from './routes/$';
import { Route as IndexImport } from './routes/index';

// Create/Update Routes

const ErrorRoute = ErrorImport.update({
path: '/error',
getParentRoute: () => rootRoute,
} as any)
} as any);

const SplatRoute = SplatImport.update({
path: '/$',
getParentRoute: () => rootRoute,
} as any)
} as any);

const IndexRoute = IndexImport.update({
path: '/',
getParentRoute: () => rootRoute,
} as any)
} as any);

// Populate the FileRoutesByPath interface

declare module '@tanstack/react-router' {
interface FileRoutesByPath {
'/': {
preLoaderRoute: typeof IndexImport
parentRoute: typeof rootRoute
}
preLoaderRoute: typeof IndexImport;
parentRoute: typeof rootRoute;
};
'/$': {
preLoaderRoute: typeof SplatImport
parentRoute: typeof rootRoute
}
preLoaderRoute: typeof SplatImport;
parentRoute: typeof rootRoute;
};
'/error': {
preLoaderRoute: typeof ErrorImport
parentRoute: typeof rootRoute
}
preLoaderRoute: typeof ErrorImport;
parentRoute: typeof rootRoute;
};
}
}

Expand All @@ -57,6 +57,6 @@ export const routeTree = rootRoute.addChildren([
IndexRoute,
SplatRoute,
ErrorRoute,
])
]);

/* prettier-ignore-end */

0 comments on commit ce6dc09

Please sign in to comment.