@@ -120,25 +120,25 @@ const DummyApiRegistryPlugin = {
120120 init : ( ctx : any ) => {
121121 // Polyfill missing critical services to pass the Runtime health check
122122
123- ctx . registerService ( 'metadata' , {
124- getApp : ( ) => null ,
125- getObject : ( ) => null ,
126- getObjects : ( ) => [ ]
127- } ) ;
128-
129- ctx . registerService ( 'data' , {
130- find : async ( ) => [ ] ,
131- findOne : async ( ) => null ,
132- insert : async ( ) => { } ,
133- update : async ( ) => { } ,
134- delete : async ( ) => { } ,
135- count : async ( ) => 0
136- } ) ;
137-
138- ctx . registerService ( 'auth' , {
139- validate : async ( ) => true ,
140- getSession : async ( ) => ( { userId : 'mock-user' , username : 'mock' } )
141- } ) ;
123+ // ctx.registerService('metadata', {
124+ // getApp: () => null,
125+ // getObject: () => null,
126+ // getObjects: () => []
127+ // });
128+
129+ // ctx.registerService('data', {
130+ // find: async () => [],
131+ // findOne: async () => null,
132+ // insert: async () => {},
133+ // update: async () => {},
134+ // delete: async () => {},
135+ // count: async () => 0
136+ // });
137+
138+ // ctx.registerService('auth', {
139+ // validate: async () => true,
140+ // getSession: async () => ({ userId: 'mock-user', username: 'mock' })
141+ // });
142142
143143 // Mock API Registry Service
144144 const apiEndpoints : any [ ] = [ ] ;
0 commit comments