(parsed: ParsedDocument, op: EditOp)
| 224 | } |
| 225 | |
| 226 | function applyGsapWithKeyframesOp(parsed: ParsedDocument, op: EditOp): MutationResult | undefined { |
| 227 | switch (op.type) { |
| 228 | case "addWithKeyframes": |
| 229 | return handleAddWithKeyframes(parsed, op); |
| 230 | case "replaceWithKeyframes": |
| 231 | return handleReplaceWithKeyframes(parsed, op); |
| 232 | default: |
| 233 | return undefined; |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | function applyGsapOp(parsed: ParsedDocument, op: EditOp): MutationResult | undefined { |
| 238 | const kf = applyGsapKeyframeOp(parsed, op); |
no test coverage detected