social overhaul
This commit is contained in:
@@ -29,6 +29,9 @@ import { Route as ApiSpotifyResumeRouteImport } from './routes/api/spotify/resum
|
||||
import { Route as ApiSpotifyPlaybackRouteImport } from './routes/api/spotify/playback'
|
||||
import { Route as ApiSpotifyCaptureRouteImport } from './routes/api/spotify/capture'
|
||||
import { Route as ApiSpotifyCallbackRouteImport } from './routes/api/spotify/callback'
|
||||
import { Route as ApiPushUnsubscribeRouteImport } from './routes/api/push/unsubscribe'
|
||||
import { Route as ApiPushTestRouteImport } from './routes/api/push/test'
|
||||
import { Route as ApiPushSubscribeRouteImport } from './routes/api/push/subscribe'
|
||||
import { Route as ApiEventsSplatRouteImport } from './routes/api/events.$'
|
||||
import { Route as ApiAuthSplatRouteImport } from './routes/api/auth.$'
|
||||
import { Route as AuthedTournamentsTournamentIdRouteImport } from './routes/_authed/tournaments/$tournamentId'
|
||||
@@ -149,6 +152,21 @@ const ApiSpotifyCallbackRoute = ApiSpotifyCallbackRouteImport.update({
|
||||
path: '/api/spotify/callback',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const ApiPushUnsubscribeRoute = ApiPushUnsubscribeRouteImport.update({
|
||||
id: '/api/push/unsubscribe',
|
||||
path: '/api/push/unsubscribe',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const ApiPushTestRoute = ApiPushTestRouteImport.update({
|
||||
id: '/api/push/test',
|
||||
path: '/api/push/test',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const ApiPushSubscribeRoute = ApiPushSubscribeRouteImport.update({
|
||||
id: '/api/push/subscribe',
|
||||
path: '/api/push/subscribe',
|
||||
getParentRoute: () => rootRouteImport,
|
||||
} as any)
|
||||
const ApiEventsSplatRoute = ApiEventsSplatRouteImport.update({
|
||||
id: '/api/events/$',
|
||||
path: '/api/events/$',
|
||||
@@ -275,6 +293,9 @@ export interface FileRoutesByFullPath {
|
||||
'/tournaments/$tournamentId': typeof AuthedTournamentsTournamentIdRoute
|
||||
'/api/auth/$': typeof ApiAuthSplatRoute
|
||||
'/api/events/$': typeof ApiEventsSplatRoute
|
||||
'/api/push/subscribe': typeof ApiPushSubscribeRoute
|
||||
'/api/push/test': typeof ApiPushTestRoute
|
||||
'/api/push/unsubscribe': typeof ApiPushUnsubscribeRoute
|
||||
'/api/spotify/callback': typeof ApiSpotifyCallbackRoute
|
||||
'/api/spotify/capture': typeof ApiSpotifyCaptureRoute
|
||||
'/api/spotify/playback': typeof ApiSpotifyPlaybackRoute
|
||||
@@ -314,6 +335,9 @@ export interface FileRoutesByTo {
|
||||
'/tournaments/$tournamentId': typeof AuthedTournamentsTournamentIdRoute
|
||||
'/api/auth/$': typeof ApiAuthSplatRoute
|
||||
'/api/events/$': typeof ApiEventsSplatRoute
|
||||
'/api/push/subscribe': typeof ApiPushSubscribeRoute
|
||||
'/api/push/test': typeof ApiPushTestRoute
|
||||
'/api/push/unsubscribe': typeof ApiPushUnsubscribeRoute
|
||||
'/api/spotify/callback': typeof ApiSpotifyCallbackRoute
|
||||
'/api/spotify/capture': typeof ApiSpotifyCaptureRoute
|
||||
'/api/spotify/playback': typeof ApiSpotifyPlaybackRoute
|
||||
@@ -356,6 +380,9 @@ export interface FileRoutesById {
|
||||
'/_authed/tournaments/$tournamentId': typeof AuthedTournamentsTournamentIdRoute
|
||||
'/api/auth/$': typeof ApiAuthSplatRoute
|
||||
'/api/events/$': typeof ApiEventsSplatRoute
|
||||
'/api/push/subscribe': typeof ApiPushSubscribeRoute
|
||||
'/api/push/test': typeof ApiPushTestRoute
|
||||
'/api/push/unsubscribe': typeof ApiPushUnsubscribeRoute
|
||||
'/api/spotify/callback': typeof ApiSpotifyCallbackRoute
|
||||
'/api/spotify/capture': typeof ApiSpotifyCaptureRoute
|
||||
'/api/spotify/playback': typeof ApiSpotifyPlaybackRoute
|
||||
@@ -398,6 +425,9 @@ export interface FileRouteTypes {
|
||||
| '/tournaments/$tournamentId'
|
||||
| '/api/auth/$'
|
||||
| '/api/events/$'
|
||||
| '/api/push/subscribe'
|
||||
| '/api/push/test'
|
||||
| '/api/push/unsubscribe'
|
||||
| '/api/spotify/callback'
|
||||
| '/api/spotify/capture'
|
||||
| '/api/spotify/playback'
|
||||
@@ -437,6 +467,9 @@ export interface FileRouteTypes {
|
||||
| '/tournaments/$tournamentId'
|
||||
| '/api/auth/$'
|
||||
| '/api/events/$'
|
||||
| '/api/push/subscribe'
|
||||
| '/api/push/test'
|
||||
| '/api/push/unsubscribe'
|
||||
| '/api/spotify/callback'
|
||||
| '/api/spotify/capture'
|
||||
| '/api/spotify/playback'
|
||||
@@ -478,6 +511,9 @@ export interface FileRouteTypes {
|
||||
| '/_authed/tournaments/$tournamentId'
|
||||
| '/api/auth/$'
|
||||
| '/api/events/$'
|
||||
| '/api/push/subscribe'
|
||||
| '/api/push/test'
|
||||
| '/api/push/unsubscribe'
|
||||
| '/api/spotify/callback'
|
||||
| '/api/spotify/capture'
|
||||
| '/api/spotify/playback'
|
||||
@@ -509,6 +545,9 @@ export interface RootRouteChildren {
|
||||
ApiHealthRoute: typeof ApiHealthRoute
|
||||
ApiAuthSplatRoute: typeof ApiAuthSplatRoute
|
||||
ApiEventsSplatRoute: typeof ApiEventsSplatRoute
|
||||
ApiPushSubscribeRoute: typeof ApiPushSubscribeRoute
|
||||
ApiPushTestRoute: typeof ApiPushTestRoute
|
||||
ApiPushUnsubscribeRoute: typeof ApiPushUnsubscribeRoute
|
||||
ApiSpotifyCallbackRoute: typeof ApiSpotifyCallbackRoute
|
||||
ApiSpotifyCaptureRoute: typeof ApiSpotifyCaptureRoute
|
||||
ApiSpotifyPlaybackRoute: typeof ApiSpotifyPlaybackRoute
|
||||
@@ -662,6 +701,27 @@ declare module '@tanstack/react-router' {
|
||||
preLoaderRoute: typeof ApiSpotifyCallbackRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/api/push/unsubscribe': {
|
||||
id: '/api/push/unsubscribe'
|
||||
path: '/api/push/unsubscribe'
|
||||
fullPath: '/api/push/unsubscribe'
|
||||
preLoaderRoute: typeof ApiPushUnsubscribeRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/api/push/test': {
|
||||
id: '/api/push/test'
|
||||
path: '/api/push/test'
|
||||
fullPath: '/api/push/test'
|
||||
preLoaderRoute: typeof ApiPushTestRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/api/push/subscribe': {
|
||||
id: '/api/push/subscribe'
|
||||
path: '/api/push/subscribe'
|
||||
fullPath: '/api/push/subscribe'
|
||||
preLoaderRoute: typeof ApiPushSubscribeRouteImport
|
||||
parentRoute: typeof rootRouteImport
|
||||
}
|
||||
'/api/events/$': {
|
||||
id: '/api/events/$'
|
||||
path: '/api/events/$'
|
||||
@@ -874,6 +934,9 @@ const rootRouteChildren: RootRouteChildren = {
|
||||
ApiHealthRoute: ApiHealthRoute,
|
||||
ApiAuthSplatRoute: ApiAuthSplatRoute,
|
||||
ApiEventsSplatRoute: ApiEventsSplatRoute,
|
||||
ApiPushSubscribeRoute: ApiPushSubscribeRoute,
|
||||
ApiPushTestRoute: ApiPushTestRoute,
|
||||
ApiPushUnsubscribeRoute: ApiPushUnsubscribeRoute,
|
||||
ApiSpotifyCallbackRoute: ApiSpotifyCallbackRoute,
|
||||
ApiSpotifyCaptureRoute: ApiSpotifyCaptureRoute,
|
||||
ApiSpotifyPlaybackRoute: ApiSpotifyPlaybackRoute,
|
||||
|
||||
Reference in New Issue
Block a user