All files / src/endpoints/tools types.ts

100% Statements 19/19
75% Branches 6/8
100% Functions 1/1
100% Lines 10/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23125x 1x     1x 1x       1x 1x       1x 1x       2x 1x    
import {Struct} from '@wharfkit/antelope'
import {ActionLog, AtomicToolsConfig, LinkObject, ResponseStruct} from '../types'
 
@Struct.type('action_logs_resp')
export class ActionLogsResponse extends ResponseStruct {
    @Struct.field(ActionLog, {array: true}) declare data: ActionLog[]
}
 
@Struct.type('get_links_resp')
export class GetLinksResponse extends ResponseStruct {
    @Struct.field(LinkObject, {array: true}) declare data: LinkObject[]
}
 
@Struct.type('get_link_resp')
export class GetLinkResponse extends ResponseStruct {
    @Struct.field(LinkObject) declare data: LinkObject
}
 
@Struct.type('get_config_resp')
export class GetConfigResponse extends ResponseStruct {
    @Struct.field(AtomicToolsConfig) declare data: AtomicToolsConfig
}