create sig in flow LO

This commit is contained in:
yzned
2025-07-19 21:33:53 +03:00
committed by yzned
parent de28d80769
commit ee83aefabc
20 changed files with 880 additions and 29 deletions

View File

@@ -10,43 +10,112 @@
import { Route as rootRouteImport } from './routes/__root'
import { Route as InteractionPanelRouteImport } from './routes/interaction-panel'
import { Route as AuthRouteImport } from './routes/auth'
import { Route as IndexRouteImport } from './routes/index'
import { Route as MailCodeMailCodeRouteImport } from './routes/mail-code/$mail-code'
import { Route as AuthUsernameRouteImport } from './routes/auth/username'
import { Route as AuthMailRouteImport } from './routes/auth/mail'
import { Route as AuthCodeRouteImport } from './routes/auth/code'
const InteractionPanelRoute = InteractionPanelRouteImport.update({
id: '/interaction-panel',
path: '/interaction-panel',
getParentRoute: () => rootRouteImport,
} as any)
const AuthRoute = AuthRouteImport.update({
id: '/auth',
path: '/auth',
getParentRoute: () => rootRouteImport,
} as any)
const IndexRoute = IndexRouteImport.update({
id: '/',
path: '/',
getParentRoute: () => rootRouteImport,
} as any)
const MailCodeMailCodeRoute = MailCodeMailCodeRouteImport.update({
id: '/mail-code/$mail-code',
path: '/mail-code/$mail-code',
getParentRoute: () => rootRouteImport,
} as any)
const AuthUsernameRoute = AuthUsernameRouteImport.update({
id: '/username',
path: '/username',
getParentRoute: () => AuthRoute,
} as any)
const AuthMailRoute = AuthMailRouteImport.update({
id: '/mail',
path: '/mail',
getParentRoute: () => AuthRoute,
} as any)
const AuthCodeRoute = AuthCodeRouteImport.update({
id: '/code',
path: '/code',
getParentRoute: () => AuthRoute,
} as any)
export interface FileRoutesByFullPath {
'/': typeof IndexRoute
'/auth': typeof AuthRouteWithChildren
'/interaction-panel': typeof InteractionPanelRoute
'/auth/code': typeof AuthCodeRoute
'/auth/mail': typeof AuthMailRoute
'/auth/username': typeof AuthUsernameRoute
'/mail-code/$mail-code': typeof MailCodeMailCodeRoute
}
export interface FileRoutesByTo {
'/': typeof IndexRoute
'/auth': typeof AuthRouteWithChildren
'/interaction-panel': typeof InteractionPanelRoute
'/auth/code': typeof AuthCodeRoute
'/auth/mail': typeof AuthMailRoute
'/auth/username': typeof AuthUsernameRoute
'/mail-code/$mail-code': typeof MailCodeMailCodeRoute
}
export interface FileRoutesById {
__root__: typeof rootRouteImport
'/': typeof IndexRoute
'/auth': typeof AuthRouteWithChildren
'/interaction-panel': typeof InteractionPanelRoute
'/auth/code': typeof AuthCodeRoute
'/auth/mail': typeof AuthMailRoute
'/auth/username': typeof AuthUsernameRoute
'/mail-code/$mail-code': typeof MailCodeMailCodeRoute
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath
fullPaths: '/' | '/interaction-panel'
fullPaths:
| '/'
| '/auth'
| '/interaction-panel'
| '/auth/code'
| '/auth/mail'
| '/auth/username'
| '/mail-code/$mail-code'
fileRoutesByTo: FileRoutesByTo
to: '/' | '/interaction-panel'
id: '__root__' | '/' | '/interaction-panel'
to:
| '/'
| '/auth'
| '/interaction-panel'
| '/auth/code'
| '/auth/mail'
| '/auth/username'
| '/mail-code/$mail-code'
id:
| '__root__'
| '/'
| '/auth'
| '/interaction-panel'
| '/auth/code'
| '/auth/mail'
| '/auth/username'
| '/mail-code/$mail-code'
fileRoutesById: FileRoutesById
}
export interface RootRouteChildren {
IndexRoute: typeof IndexRoute
AuthRoute: typeof AuthRouteWithChildren
InteractionPanelRoute: typeof InteractionPanelRoute
MailCodeMailCodeRoute: typeof MailCodeMailCodeRoute
}
declare module '@tanstack/react-router' {
@@ -58,6 +127,13 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof InteractionPanelRouteImport
parentRoute: typeof rootRouteImport
}
'/auth': {
id: '/auth'
path: '/auth'
fullPath: '/auth'
preLoaderRoute: typeof AuthRouteImport
parentRoute: typeof rootRouteImport
}
'/': {
id: '/'
path: '/'
@@ -65,12 +141,56 @@ declare module '@tanstack/react-router' {
preLoaderRoute: typeof IndexRouteImport
parentRoute: typeof rootRouteImport
}
'/mail-code/$mail-code': {
id: '/mail-code/$mail-code'
path: '/mail-code/$mail-code'
fullPath: '/mail-code/$mail-code'
preLoaderRoute: typeof MailCodeMailCodeRouteImport
parentRoute: typeof rootRouteImport
}
'/auth/username': {
id: '/auth/username'
path: '/username'
fullPath: '/auth/username'
preLoaderRoute: typeof AuthUsernameRouteImport
parentRoute: typeof AuthRoute
}
'/auth/mail': {
id: '/auth/mail'
path: '/mail'
fullPath: '/auth/mail'
preLoaderRoute: typeof AuthMailRouteImport
parentRoute: typeof AuthRoute
}
'/auth/code': {
id: '/auth/code'
path: '/code'
fullPath: '/auth/code'
preLoaderRoute: typeof AuthCodeRouteImport
parentRoute: typeof AuthRoute
}
}
}
interface AuthRouteChildren {
AuthCodeRoute: typeof AuthCodeRoute
AuthMailRoute: typeof AuthMailRoute
AuthUsernameRoute: typeof AuthUsernameRoute
}
const AuthRouteChildren: AuthRouteChildren = {
AuthCodeRoute: AuthCodeRoute,
AuthMailRoute: AuthMailRoute,
AuthUsernameRoute: AuthUsernameRoute,
}
const AuthRouteWithChildren = AuthRoute._addFileChildren(AuthRouteChildren)
const rootRouteChildren: RootRouteChildren = {
IndexRoute: IndexRoute,
AuthRoute: AuthRouteWithChildren,
InteractionPanelRoute: InteractionPanelRoute,
MailCodeMailCodeRoute: MailCodeMailCodeRoute,
}
export const routeTree = rootRouteImport
._addFileChildren(rootRouteChildren)