@@ -124,24 +124,27 @@ export function filterAndMapInboundsToManifest(inbounds: Inbound[]): ManifestNam
124124 if ( ! inbounds || inbounds . length === 0 ) {
125125 return undefined ;
126126 }
127- const filteredInbounds = inbounds . reduce ( ( acc : { [ key : string ] : InboundContent } , inbound ) => {
128- // Skip if hideLauncher is not false
129- if ( ! inbound ?. content || inbound . content . hideLauncher !== false ) {
130- return acc ;
131- }
132- const { semanticObject, action, signature } = inbound . content ;
133- if ( semanticObject && action ) {
134- const key = `${ semanticObject } -${ action } ` ;
135-
136- // Temporary filtration of parameters to avoid issues with merged manifest until release of ABAP Platform Cloud 2508
137- if ( signature ?. parameters ) {
138- filterIboundsParameters ( signature ) ;
127+ const filteredInbounds = inbounds . reduce (
128+ ( acc : { [ key : string ] : InboundContent } , inbound ) => {
129+ // Skip if hideLauncher is not false
130+ if ( ! inbound ?. content || inbound . content . hideLauncher !== false ) {
131+ return acc ;
139132 }
133+ const { semanticObject, action, signature } = inbound . content ;
134+ if ( semanticObject && action ) {
135+ const key = `${ semanticObject } -${ action } ` ;
140136
141- acc [ key ] = inbound . content ;
142- }
143- return acc ;
144- } , { } as { [ key : string ] : InboundContent } ) ;
137+ // Temporary filtration of parameters to avoid issues with merged manifest until release of ABAP Platform Cloud 2508
138+ if ( signature ?. parameters ) {
139+ filterIboundsParameters ( signature ) ;
140+ }
141+
142+ acc [ key ] = inbound . content ;
143+ }
144+ return acc ;
145+ } ,
146+ { } as { [ key : string ] : InboundContent }
147+ ) ;
145148
146149 return Object . keys ( filteredInbounds ) . length === 0 ? undefined : filteredInbounds ;
147150}
0 commit comments