(typeid, type, selectValue)
| 120 | }); |
| 121 | } |
| 122 | listCount(typeid, type, selectValue) { |
| 123 | const params = { |
| 124 | type: type, |
| 125 | typeid: typeid |
| 126 | }; |
| 127 | |
| 128 | if (selectValue === 'wiki') { |
| 129 | params['data.type'] = selectValue; |
| 130 | } |
| 131 | |
| 132 | if (selectValue && !isNaN(selectValue)) { |
| 133 | params['data.interface_id'] = +selectValue; |
| 134 | } |
| 135 | return this.model.countDocuments(params); |
| 136 | } |
| 137 | |
| 138 | listWithCatid(typeid, type, interfaceId) { |
| 139 | const params = { |
no outgoing calls
no test coverage detected