(domainId: string, query: Filter<ProblemDoc>)
| 276 | } |
| 277 | |
| 278 | static count(domainId: string, query: Filter<ProblemDoc>) { |
| 279 | return document.count(domainId, document.TYPE_PROBLEM, query); |
| 280 | } |
| 281 | |
| 282 | static async del(domainId: string, docId: number) { |
| 283 | await bus.parallel('problem/before-del', domainId, docId); |