@@ -388,7 +388,7 @@ export class HttpDispatcher {
388388 * Standard: /metadata/:type/:name
389389 * Fallback for backward compat: /metadata (all objects), /metadata/:objectName (get object)
390390 */
391- async handleMetadata ( path : string , context : HttpProtocolContext , method ?: string , body ?: any , query ?: any ) : Promise < HttpDispatcherResult > {
391+ async handleMetadata ( path : string , _context : HttpProtocolContext , method ?: string , body ?: any , query ?: any ) : Promise < HttpDispatcherResult > {
392392 const parts = path . replace ( / ^ \/ + / , '' ) . split ( '/' ) . filter ( Boolean ) ;
393393
394394 // GET /metadata/types
@@ -591,7 +591,7 @@ export class HttpDispatcher {
591591 * Handles Data requests
592592 * path: sub-path after /data/ (e.g. "contacts", "contacts/123", "contacts/query")
593593 */
594- async handleData ( path : string , method : string , body : any , query : any , context : HttpProtocolContext ) : Promise < HttpDispatcherResult > {
594+ async handleData ( path : string , method : string , body : any , query : any , _context : HttpProtocolContext ) : Promise < HttpDispatcherResult > {
595595 const parts = path . replace ( / ^ \/ + / , '' ) . split ( '/' ) ;
596596 const objectName = parts [ 0 ] ;
597597
@@ -836,7 +836,7 @@ export class HttpDispatcher {
836836 *
837837 * Uses ObjectQL SchemaRegistry directly (via the 'objectql' service).
838838 */
839- async handlePackages ( path : string , method : string , body : any , query : any , context : HttpProtocolContext ) : Promise < HttpDispatcherResult > {
839+ async handlePackages ( path : string , method : string , body : any , query : any , _context : HttpProtocolContext ) : Promise < HttpDispatcherResult > {
840840 const m = method . toUpperCase ( ) ;
841841 const parts = path . replace ( / ^ \/ + / , '' ) . split ( '/' ) . filter ( Boolean ) ;
842842
@@ -1195,10 +1195,6 @@ export class HttpDispatcher {
11951195 return null ;
11961196 }
11971197
1198- private capitalize ( s : string ) {
1199- return s . charAt ( 0 ) . toUpperCase ( ) + s . slice ( 1 ) ;
1200- }
1201-
12021198 /**
12031199 * Handle AI service routes (/ai/chat, /ai/models, /ai/conversations, etc.)
12041200 * Resolves the AI service and its built-in route handlers, then dispatches.
0 commit comments