( targetPath: string, animationId: string, position: number, value: Record<string, unknown>, sdkSession: Composition | null | undefined, deps: CutoverDeps, options?: CutoverOptions, )
| 294 | } |
| 295 | |
| 296 | export function sdkGsapKeyframePersist( |
| 297 | targetPath: string, |
| 298 | animationId: string, |
| 299 | position: number, |
| 300 | value: Record<string, unknown>, |
| 301 | sdkSession: Composition | null | undefined, |
| 302 | deps: CutoverDeps, |
| 303 | options?: CutoverOptions, |
| 304 | ): Promise<boolean> { |
| 305 | return dispatchGsapOpAndPersist( |
| 306 | targetPath, |
| 307 | sdkSession, |
| 308 | deps, |
| 309 | options, |
| 310 | (s) => s.batch(() => s.dispatch({ type: "addGsapKeyframe", animationId, position, value })), |
| 311 | { animationId, opLabel: "addGsapKeyframe" }, |
| 312 | ); |
| 313 | } |
| 314 | |
| 315 | export function sdkGsapRemoveKeyframePersist( |
| 316 | targetPath: string, |
no test coverage detected