🎥 Make videos programmatically with React
import {CanvasInternals} from '@remotion/sdk';
import {stringifySequenceExpandedRowKey} from '@remotion/studio-shared';
import type {SequenceNodePathInfo} from './get-timeline-sequence-sort-key';
export const {timelineSequenceNodePathToKey}: typeof CanvasInternals =
CanvasInternals;
export const timelineNodePathInfoToKey = (info: SequenceNodePathInfo): string =>
[
stringifySequenceExpandedRowKey(info.sequenceSubscriptionKey),
info.auxiliaryKeys.join('.'),
info.index,
].join('.');