(index: number, entry: NormalizedEntry)
| 33 | * 添加标准化条目 |
| 34 | */ |
| 35 | export function addNormalizedEntry(index: number, entry: NormalizedEntry): JsonPatch { |
| 36 | return [ |
| 37 | { |
| 38 | op: 'add', |
| 39 | path: `/entries/${index}`, |
| 40 | value: entry, |
| 41 | }, |
| 42 | ] |
| 43 | } |
| 44 | |
| 45 | /** |
| 46 | * 替换标准化条目 |
no outgoing calls
no test coverage detected