@@ -8,22 +8,22 @@ import { route } from '@stacksjs/router'
8
8
* @see https://docs.stacksjs.org/routing
9
9
*/
10
10
11
- route . get ( '/foo/bar/{id}' , ( ) => 'hello world, foo bar' ) // $API_URL/hello/world
12
- route . get ( '/' , ( ) => 'hello world' ) // $API_URL
13
- route . get ( '/hello/world' , ( ) => 'hello world, buddy' ) // $API_URL/hello/world
14
-
15
- route . post ( '/email/subscribe' , 'Actions/SubscriberEmailAction' )
16
- route . post ( '/login' , 'Actions/LoginAction' )
17
- route . get ( '/generate-registration-options' , 'Actions/Auth/GenerateRegistrationAction' )
18
- route . post ( '/verify-registration' , 'Actions/Auth/VerifyRegistrationAction' )
19
- route . get ( '/generate-authentication-options' , 'Actions/Auth/GenerateAuthenticationAction' )
20
- route . post ( '/verify-authentication' , 'Actions/Auth/VerifyAuthenticationAction' )
21
-
22
- // route.email('/welcome')
23
- route . health ( ) // adds a GET `/health` route
24
- route . get ( '/install' , 'Actions/InstallAction' )
25
- route . post ( '/ai/ask' , 'Actions/AI/AskAction' )
26
- route . post ( '/ai/summary' , 'Actions/AI/SummaryAction' )
11
+ // route.get('/foo/bar/{id}', () => 'hello world, foo bar') // $API_URL/hello/world
12
+ // route.get('/', () => 'hello world') // $API_URL
13
+ // route.get('/hello/world', () => 'hello world, buddy') // $API_URL/hello/world
14
+
15
+ // route.post('/email/subscribe', 'Actions/SubscriberEmailAction')
16
+ // route.post('/login', 'Actions/LoginAction')
17
+ // route.get('/generate-registration-options', 'Actions/Auth/GenerateRegistrationAction')
18
+ // route.post('/verify-registration', 'Actions/Auth/VerifyRegistrationAction')
19
+ // route.get('/generate-authentication-options', 'Actions/Auth/GenerateAuthenticationAction')
20
+ // route.post('/verify-authentication', 'Actions/Auth/VerifyAuthenticationAction')
21
+
22
+ // // route.email('/welcome')
23
+ // route.health() // adds a GET `/health` route
24
+ // route.get('/install', 'Actions/InstallAction')
25
+ // route.post('/ai/ask', 'Actions/AI/AskAction')
26
+ // route.post('/ai/summary', 'Actions/AI/SummaryAction')
27
27
28
28
route . group ( { prefix : '/payments' } , async ( ) => {
29
29
route . get ( '/fetch-customer/{id}' , 'Actions/Payment/FetchPaymentCustomerAction' )
@@ -51,6 +51,10 @@ route.group({ prefix: '/payments' }, async () => {
51
51
route . post ( '/store-transaction/{id}' , 'Actions/Payment/StoreTransactionAction' )
52
52
} )
53
53
54
+ route . group ( { prefix : '/queues' } , async ( ) => {
55
+ route . get ( '/' , 'Actions/Queue/FetchQueuesAction' )
56
+ } )
57
+
54
58
// route.action('/example') // equivalent to `route.get('/example', 'ExampleAction')`
55
59
// route.action('Dashboard/GetProjects')
56
60
// route.action('Dashboard/Settings/UpdateAiConfig')
0 commit comments