1- import {
2- queryParams ,
3- type RouteQueryOptions ,
4- type RouteDefinition ,
5- } from "./../../../../wayfinder" ;
1+ import { queryParams , type RouteQueryOptions , type RouteDefinition } from './../../../../wayfinder'
62/**
7- * @see \Cortex\Http\Controllers\AGUIController::__invoke
8- * @see Users/sean/Code/cortexphp/cortex/src/Http/Controllers/AGUIController.php:19
9- * @route '/api/agui'
10- */
11- const AGUIController = (
12- options ?: RouteQueryOptions ,
13- ) : RouteDefinition < "post" > => ( {
3+ * @see \Cortex\Http\Controllers\AGUIController::__invoke
4+ * @see Users/sean/Code/cortexphp/cortex/src/Http/Controllers/AGUIController.php:19
5+ * @route '/api/agui'
6+ */
7+ const AGUIController = ( options ?: RouteQueryOptions ) : RouteDefinition < 'post' > => ( {
148 url : AGUIController . url ( options ) ,
15- method : " post" ,
16- } ) ;
9+ method : ' post' ,
10+ } )
1711
1812AGUIController . definition = {
1913 methods : [ "post" ] ,
20- url : " /api/agui" ,
21- } satisfies RouteDefinition < [ "post" ] > ;
14+ url : ' /api/agui' ,
15+ } satisfies RouteDefinition < [ "post" ] >
2216
2317/**
24- * @see \Cortex\Http\Controllers\AGUIController::__invoke
25- * @see Users/sean/Code/cortexphp/cortex/src/Http/Controllers/AGUIController.php:19
26- * @route '/api/agui'
27- */
18+ * @see \Cortex\Http\Controllers\AGUIController::__invoke
19+ * @see Users/sean/Code/cortexphp/cortex/src/Http/Controllers/AGUIController.php:19
20+ * @route '/api/agui'
21+ */
2822AGUIController . url = ( options ?: RouteQueryOptions ) => {
29- return AGUIController . definition . url + queryParams ( options ) ;
30- } ;
23+ return AGUIController . definition . url + queryParams ( options )
24+ }
3125
3226/**
33- * @see \Cortex\Http\Controllers\AGUIController::__invoke
34- * @see Users/sean/Code/cortexphp/cortex/src/Http/Controllers/AGUIController.php:19
35- * @route '/api/agui'
36- */
37- AGUIController . post = (
38- options ?: RouteQueryOptions ,
39- ) : RouteDefinition < "post" > => ( {
27+ * @see \Cortex\Http\Controllers\AGUIController::__invoke
28+ * @see Users/sean/Code/cortexphp/cortex/src/Http/Controllers/AGUIController.php:19
29+ * @route '/api/agui'
30+ */
31+ AGUIController . post = ( options ?: RouteQueryOptions ) : RouteDefinition < 'post' > => ( {
4032 url : AGUIController . url ( options ) ,
41- method : " post" ,
42- } ) ;
33+ method : ' post' ,
34+ } )
4335
44- export default AGUIController ;
36+ export default AGUIController
0 commit comments