* feat: add markdown-backed legal pages Move privacy into the Fumadocs content pipeline and add a terms page so legal copy can be managed as markdown alongside other generated pages. * save terms draft * clean up notes * Add privacy policy * Update policies * save * simplify legal page routes
241 lines
7.1 KiB
TypeScript
241 lines
7.1 KiB
TypeScript
/* eslint-disable */
|
|
|
|
// @ts-nocheck
|
|
|
|
// noinspection JSUnusedGlobalSymbols
|
|
|
|
// This file was automatically generated by TanStack Router.
|
|
// You should NOT make any changes in this file as it will be overwritten.
|
|
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
|
|
import { Route as rootRouteImport } from './routes/__root'
|
|
import { Route as TermsAndConditionsRouteImport } from './routes/terms-and-conditions'
|
|
import { Route as PrivacyRouteImport } from './routes/privacy'
|
|
import { Route as PricingRouteImport } from './routes/pricing'
|
|
import { Route as IndexRouteImport } from './routes/index'
|
|
import { Route as BlogsIndexRouteImport } from './routes/blogs/index'
|
|
import { Route as JsScriptDotjsRouteImport } from './routes/js/script[.]js'
|
|
import { Route as BlogsSplatRouteImport } from './routes/blogs/$'
|
|
import { Route as ApiSubscribeRouteImport } from './routes/api/subscribe'
|
|
import { Route as ApiEventRouteImport } from './routes/api/event'
|
|
|
|
const TermsAndConditionsRoute = TermsAndConditionsRouteImport.update({
|
|
id: '/terms-and-conditions',
|
|
path: '/terms-and-conditions',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const PrivacyRoute = PrivacyRouteImport.update({
|
|
id: '/privacy',
|
|
path: '/privacy',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const PricingRoute = PricingRouteImport.update({
|
|
id: '/pricing',
|
|
path: '/pricing',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const IndexRoute = IndexRouteImport.update({
|
|
id: '/',
|
|
path: '/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const BlogsIndexRoute = BlogsIndexRouteImport.update({
|
|
id: '/blogs/',
|
|
path: '/blogs/',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const JsScriptDotjsRoute = JsScriptDotjsRouteImport.update({
|
|
id: '/js/script.js',
|
|
path: '/js/script.js',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const BlogsSplatRoute = BlogsSplatRouteImport.update({
|
|
id: '/blogs/$',
|
|
path: '/blogs/$',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiSubscribeRoute = ApiSubscribeRouteImport.update({
|
|
id: '/api/subscribe',
|
|
path: '/api/subscribe',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
const ApiEventRoute = ApiEventRouteImport.update({
|
|
id: '/api/event',
|
|
path: '/api/event',
|
|
getParentRoute: () => rootRouteImport,
|
|
} as any)
|
|
|
|
export interface FileRoutesByFullPath {
|
|
'/': typeof IndexRoute
|
|
'/pricing': typeof PricingRoute
|
|
'/privacy': typeof PrivacyRoute
|
|
'/terms-and-conditions': typeof TermsAndConditionsRoute
|
|
'/api/event': typeof ApiEventRoute
|
|
'/api/subscribe': typeof ApiSubscribeRoute
|
|
'/blogs/$': typeof BlogsSplatRoute
|
|
'/js/script.js': typeof JsScriptDotjsRoute
|
|
'/blogs/': typeof BlogsIndexRoute
|
|
}
|
|
export interface FileRoutesByTo {
|
|
'/': typeof IndexRoute
|
|
'/pricing': typeof PricingRoute
|
|
'/privacy': typeof PrivacyRoute
|
|
'/terms-and-conditions': typeof TermsAndConditionsRoute
|
|
'/api/event': typeof ApiEventRoute
|
|
'/api/subscribe': typeof ApiSubscribeRoute
|
|
'/blogs/$': typeof BlogsSplatRoute
|
|
'/js/script.js': typeof JsScriptDotjsRoute
|
|
'/blogs': typeof BlogsIndexRoute
|
|
}
|
|
export interface FileRoutesById {
|
|
__root__: typeof rootRouteImport
|
|
'/': typeof IndexRoute
|
|
'/pricing': typeof PricingRoute
|
|
'/privacy': typeof PrivacyRoute
|
|
'/terms-and-conditions': typeof TermsAndConditionsRoute
|
|
'/api/event': typeof ApiEventRoute
|
|
'/api/subscribe': typeof ApiSubscribeRoute
|
|
'/blogs/$': typeof BlogsSplatRoute
|
|
'/js/script.js': typeof JsScriptDotjsRoute
|
|
'/blogs/': typeof BlogsIndexRoute
|
|
}
|
|
export interface FileRouteTypes {
|
|
fileRoutesByFullPath: FileRoutesByFullPath
|
|
fullPaths:
|
|
| '/'
|
|
| '/pricing'
|
|
| '/privacy'
|
|
| '/terms-and-conditions'
|
|
| '/api/event'
|
|
| '/api/subscribe'
|
|
| '/blogs/$'
|
|
| '/js/script.js'
|
|
| '/blogs/'
|
|
fileRoutesByTo: FileRoutesByTo
|
|
to:
|
|
| '/'
|
|
| '/pricing'
|
|
| '/privacy'
|
|
| '/terms-and-conditions'
|
|
| '/api/event'
|
|
| '/api/subscribe'
|
|
| '/blogs/$'
|
|
| '/js/script.js'
|
|
| '/blogs'
|
|
id:
|
|
| '__root__'
|
|
| '/'
|
|
| '/pricing'
|
|
| '/privacy'
|
|
| '/terms-and-conditions'
|
|
| '/api/event'
|
|
| '/api/subscribe'
|
|
| '/blogs/$'
|
|
| '/js/script.js'
|
|
| '/blogs/'
|
|
fileRoutesById: FileRoutesById
|
|
}
|
|
export interface RootRouteChildren {
|
|
IndexRoute: typeof IndexRoute
|
|
PricingRoute: typeof PricingRoute
|
|
PrivacyRoute: typeof PrivacyRoute
|
|
TermsAndConditionsRoute: typeof TermsAndConditionsRoute
|
|
ApiEventRoute: typeof ApiEventRoute
|
|
ApiSubscribeRoute: typeof ApiSubscribeRoute
|
|
BlogsSplatRoute: typeof BlogsSplatRoute
|
|
JsScriptDotjsRoute: typeof JsScriptDotjsRoute
|
|
BlogsIndexRoute: typeof BlogsIndexRoute
|
|
}
|
|
|
|
declare module '@tanstack/react-router' {
|
|
interface FileRoutesByPath {
|
|
'/terms-and-conditions': {
|
|
id: '/terms-and-conditions'
|
|
path: '/terms-and-conditions'
|
|
fullPath: '/terms-and-conditions'
|
|
preLoaderRoute: typeof TermsAndConditionsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/privacy': {
|
|
id: '/privacy'
|
|
path: '/privacy'
|
|
fullPath: '/privacy'
|
|
preLoaderRoute: typeof PrivacyRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/pricing': {
|
|
id: '/pricing'
|
|
path: '/pricing'
|
|
fullPath: '/pricing'
|
|
preLoaderRoute: typeof PricingRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/': {
|
|
id: '/'
|
|
path: '/'
|
|
fullPath: '/'
|
|
preLoaderRoute: typeof IndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/blogs/': {
|
|
id: '/blogs/'
|
|
path: '/blogs'
|
|
fullPath: '/blogs/'
|
|
preLoaderRoute: typeof BlogsIndexRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/js/script.js': {
|
|
id: '/js/script.js'
|
|
path: '/js/script.js'
|
|
fullPath: '/js/script.js'
|
|
preLoaderRoute: typeof JsScriptDotjsRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/blogs/$': {
|
|
id: '/blogs/$'
|
|
path: '/blogs/$'
|
|
fullPath: '/blogs/$'
|
|
preLoaderRoute: typeof BlogsSplatRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/subscribe': {
|
|
id: '/api/subscribe'
|
|
path: '/api/subscribe'
|
|
fullPath: '/api/subscribe'
|
|
preLoaderRoute: typeof ApiSubscribeRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
'/api/event': {
|
|
id: '/api/event'
|
|
path: '/api/event'
|
|
fullPath: '/api/event'
|
|
preLoaderRoute: typeof ApiEventRouteImport
|
|
parentRoute: typeof rootRouteImport
|
|
}
|
|
}
|
|
}
|
|
|
|
const rootRouteChildren: RootRouteChildren = {
|
|
IndexRoute: IndexRoute,
|
|
PricingRoute: PricingRoute,
|
|
PrivacyRoute: PrivacyRoute,
|
|
TermsAndConditionsRoute: TermsAndConditionsRoute,
|
|
ApiEventRoute: ApiEventRoute,
|
|
ApiSubscribeRoute: ApiSubscribeRoute,
|
|
BlogsSplatRoute: BlogsSplatRoute,
|
|
JsScriptDotjsRoute: JsScriptDotjsRoute,
|
|
BlogsIndexRoute: BlogsIndexRoute,
|
|
}
|
|
export const routeTree = rootRouteImport
|
|
._addFileChildren(rootRouteChildren)
|
|
._addFileTypes<FileRouteTypes>()
|
|
|
|
import type { getRouter } from './router.tsx'
|
|
import type { createStart } from '@tanstack/react-start'
|
|
declare module '@tanstack/react-start' {
|
|
interface Register {
|
|
ssr: true
|
|
router: Awaited<ReturnType<typeof getRouter>>
|
|
}
|
|
}
|