@telepat/rilo 0.1.0 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -53,6 +53,7 @@ export const DEFAULT_PROJECT_CONFIG = {
53
53
  aspectRatio: '9:16',
54
54
  targetDurationSec: DEFAULT_VIDEO_CONFIG.durationSec,
55
55
  finalDurationMode: 'match_audio',
56
+ pauseAfterKeyframes: true,
56
57
  subtitleOptions: {
57
58
  ...DEFAULT_SUBTITLE_OPTIONS
58
59
  },
@@ -513,6 +514,10 @@ export function validateProjectConfig(config) {
513
514
 
514
515
  validateSubtitleOptions(config.subtitleOptions);
515
516
 
517
+ if (typeof config.pauseAfterKeyframes !== 'boolean') {
518
+ throw new Error('Invalid project config: pauseAfterKeyframes must be a boolean');
519
+ }
520
+
516
521
  const hasWidth = config.keyframeWidth !== undefined;
517
522
  const hasHeight = config.keyframeHeight !== undefined;
518
523
  if (hasWidth !== hasHeight) {
package/src/types/job.js CHANGED
@@ -2,7 +2,8 @@ export const JobStatus = {
2
2
  PENDING: 'pending',
3
3
  RUNNING: 'running',
4
4
  FAILED: 'failed',
5
- COMPLETED: 'completed'
5
+ COMPLETED: 'completed',
6
+ PAUSED: 'paused'
6
7
  };
7
8
 
8
9
  export const JobStep = {