@@ -92,13 +92,27 @@ export class DlqController {
9292 type : Number ,
9393 description : 'Maximum records per page (default 20, max 100)' ,
9494 } )
95- @ApiOperation ( { summary : 'List failed contract transactions available for review and replay' } )
96- @ApiResponse ( { status : 200 , description : 'Failed transaction records returned.' } )
95+ @ApiOperation ( {
96+ summary :
97+ 'List failed contract transactions available for review and replay' ,
98+ } )
99+ @ApiResponse ( {
100+ status : 200 ,
101+ description : 'Failed transaction records returned.' ,
102+ } )
97103 @ApiResponse ( { status : 401 , description : 'Unauthorized.' } )
98104 @ApiResponse ( { status : 403 , description : 'Admin access required.' } )
99105 @ApiQuery ( { name : 'status' , required : false , example : 'failed' } )
100- @ApiQuery ( { name : 'operation' , required : false , example : 'submitAutoRelease' } )
101- @ApiQuery ( { name : 'escrowId' , required : false , example : '9d9e2e16-0c78-4a84-9c8c-0f3a5eb2d4e3' } )
106+ @ApiQuery ( {
107+ name : 'operation' ,
108+ required : false ,
109+ example : 'submitAutoRelease' ,
110+ } )
111+ @ApiQuery ( {
112+ name : 'escrowId' ,
113+ required : false ,
114+ example : '9d9e2e16-0c78-4a84-9c8c-0f3a5eb2d4e3' ,
115+ } )
102116 @Throttle ( { auth : { limit : 20 , ttl : 60000 } } )
103117 @Get ( )
104118 list (
@@ -118,10 +132,16 @@ export class DlqController {
118132 }
119133
120134 @ApiOperation ( { summary : 'Get details for a failed transaction record' } )
121- @ApiResponse ( { status : 200 , description : 'Failed transaction record returned.' } )
135+ @ApiResponse ( {
136+ status : 200 ,
137+ description : 'Failed transaction record returned.' ,
138+ } )
122139 @ApiResponse ( { status : 401 , description : 'Unauthorized.' } )
123140 @ApiResponse ( { status : 403 , description : 'Admin access required.' } )
124- @ApiResponse ( { status : 404 , description : 'Failed transaction record not found.' } )
141+ @ApiResponse ( {
142+ status : 404 ,
143+ description : 'Failed transaction record not found.' ,
144+ } )
125145 @ApiParam ( { name : 'id' , example : 'abc123-def4-5678-90ab-cdef12345678' } )
126146 @Throttle ( { auth : { limit : 30 , ttl : 60000 } } )
127147 @Get ( ':id' )
@@ -135,10 +155,16 @@ export class DlqController {
135155 * hand. Either way the record is updated on the outcome.
136156 */
137157 @ApiOperation ( { summary : 'Replay a failed on-chain transaction attempt' } )
138- @ApiResponse ( { status : 200 , description : 'Replay request accepted and replay execution started.' } )
158+ @ApiResponse ( {
159+ status : 200 ,
160+ description : 'Replay request accepted and replay execution started.' ,
161+ } )
139162 @ApiResponse ( { status : 401 , description : 'Unauthorized.' } )
140163 @ApiResponse ( { status : 403 , description : 'Admin access required.' } )
141- @ApiResponse ( { status : 404 , description : 'Failed transaction record not found.' } )
164+ @ApiResponse ( {
165+ status : 404 ,
166+ description : 'Failed transaction record not found.' ,
167+ } )
142168 @ApiParam ( { name : 'id' , example : 'abc123-def4-5678-90ab-cdef12345678' } )
143169 @Throttle ( { auth : { limit : 5 , ttl : 60000 } } )
144170 @Post ( ':id/replay' )
@@ -157,11 +183,20 @@ export class DlqController {
157183 } ) ;
158184 }
159185
160- @ApiOperation ( { summary : 'Abandon a failed transaction record and prevent future replay attempts' } )
161- @ApiResponse ( { status : 200 , description : 'Failed transaction record abandoned.' } )
186+ @ApiOperation ( {
187+ summary :
188+ 'Abandon a failed transaction record and prevent future replay attempts' ,
189+ } )
190+ @ApiResponse ( {
191+ status : 200 ,
192+ description : 'Failed transaction record abandoned.' ,
193+ } )
162194 @ApiResponse ( { status : 401 , description : 'Unauthorized.' } )
163195 @ApiResponse ( { status : 403 , description : 'Admin access required.' } )
164- @ApiResponse ( { status : 404 , description : 'Failed transaction record not found.' } )
196+ @ApiResponse ( {
197+ status : 404 ,
198+ description : 'Failed transaction record not found.' ,
199+ } )
165200 @ApiParam ( { name : 'id' , example : 'abc123-def4-5678-90ab-cdef12345678' } )
166201 @Throttle ( { auth : { limit : 5 , ttl : 60000 } } )
167202 @Post ( ':id/abandon' )
0 commit comments