@remotion/renderer 4.0.425 → 4.0.426

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.
Files changed (49) hide show
  1. package/dist/client.d.ts +289 -0
  2. package/dist/esm/client.mjs +1426 -619
  3. package/dist/esm/index.mjs +12 -7
  4. package/dist/index.d.ts +3 -1
  5. package/dist/options/browser.d.ts +19 -0
  6. package/dist/options/browser.js +30 -0
  7. package/dist/options/bundle-cache.d.ts +16 -0
  8. package/dist/options/bundle-cache.js +34 -0
  9. package/dist/options/concurrency.js +22 -1
  10. package/dist/options/config.d.ts +19 -0
  11. package/dist/options/config.js +29 -0
  12. package/dist/options/env-file.d.ts +19 -0
  13. package/dist/options/env-file.js +38 -0
  14. package/dist/options/experimental-client-side-rendering.js +2 -3
  15. package/dist/options/frames.d.ts +17 -0
  16. package/dist/options/frames.js +83 -0
  17. package/dist/options/image-sequence.d.ts +16 -0
  18. package/dist/options/image-sequence.js +30 -0
  19. package/dist/options/index.d.ts +289 -0
  20. package/dist/options/index.js +32 -0
  21. package/dist/options/no-open.d.ts +19 -0
  22. package/dist/options/no-open.js +30 -0
  23. package/dist/options/out-dir.d.ts +19 -0
  24. package/dist/options/out-dir.js +41 -0
  25. package/dist/options/package-manager.d.ts +19 -0
  26. package/dist/options/package-manager.js +47 -0
  27. package/dist/options/port.d.ts +19 -0
  28. package/dist/options/port.js +36 -0
  29. package/dist/options/props.d.ts +19 -0
  30. package/dist/options/props.js +33 -0
  31. package/dist/options/rspack.d.ts +16 -0
  32. package/dist/options/rspack.js +31 -0
  33. package/dist/options/runs.d.ts +16 -0
  34. package/dist/options/runs.js +37 -0
  35. package/dist/options/still-frame.d.ts +19 -0
  36. package/dist/options/still-frame.js +51 -0
  37. package/dist/options/version-flag.d.ts +19 -0
  38. package/dist/options/version-flag.js +29 -0
  39. package/dist/options/webpack-poll.d.ts +19 -0
  40. package/dist/options/webpack-poll.js +43 -0
  41. package/dist/prespawn-ffmpeg.d.ts +1 -0
  42. package/dist/prespawn-ffmpeg.js +4 -3
  43. package/dist/render-frames.d.ts +43 -3
  44. package/dist/render-media.d.ts +4 -2
  45. package/dist/render-media.js +4 -2
  46. package/dist/render-still.d.ts +1 -0
  47. package/dist/render-still.js +5 -1
  48. package/dist/select-composition.d.ts +25 -3
  49. package/package.json +13 -13
package/dist/client.d.ts CHANGED
@@ -703,6 +703,41 @@ export declare const BrowserSafeApis: {
703
703
  setConfig: (should: boolean) => void;
704
704
  id: "repro";
705
705
  };
706
+ runsOption: {
707
+ name: string;
708
+ cliFlag: "runs";
709
+ description: () => import("react/jsx-runtime").JSX.Element;
710
+ ssrName: null;
711
+ docLink: string;
712
+ type: number;
713
+ getValue: ({ commandLine }: {
714
+ commandLine: Record<string, unknown>;
715
+ }) => {
716
+ value: number;
717
+ source: string;
718
+ };
719
+ setConfig: (value: number) => void;
720
+ id: "runs";
721
+ };
722
+ noOpenOption: {
723
+ name: string;
724
+ cliFlag: "no-open";
725
+ description: () => import("react/jsx-runtime").JSX.Element;
726
+ ssrName: null;
727
+ docLink: string;
728
+ type: boolean;
729
+ getValue: ({ commandLine }: {
730
+ commandLine: Record<string, unknown>;
731
+ }) => {
732
+ value: true;
733
+ source: string;
734
+ } | {
735
+ value: false;
736
+ source: string;
737
+ };
738
+ setConfig: (shouldOpen: boolean) => void;
739
+ id: "no-open";
740
+ };
706
741
  pixelFormatOption: {
707
742
  name: string;
708
743
  cliFlag: "pixel-format";
@@ -1239,6 +1274,22 @@ export declare const BrowserSafeApis: {
1239
1274
  setConfig(value: boolean): void;
1240
1275
  id: "disable-keyboard-shortcuts";
1241
1276
  };
1277
+ framesOption: {
1278
+ name: string;
1279
+ cliFlag: "frames";
1280
+ description: () => import("react/jsx-runtime").JSX.Element;
1281
+ ssrName: "frameRange";
1282
+ docLink: string;
1283
+ type: import("./frame-range").FrameRange | null;
1284
+ getValue: ({ commandLine }: {
1285
+ commandLine: Record<string, unknown>;
1286
+ }) => {
1287
+ source: string;
1288
+ value: import("./frame-range").FrameRange | null;
1289
+ };
1290
+ setConfig: (value: import("./frame-range").FrameRange | null) => void;
1291
+ id: "frames";
1292
+ };
1242
1293
  forceNewStudioOption: {
1243
1294
  name: string;
1244
1295
  cliFlag: "force-new";
@@ -1420,6 +1471,244 @@ export declare const BrowserSafeApis: {
1420
1471
  setConfig: (duration: number | null) => void;
1421
1472
  id: "duration";
1422
1473
  };
1474
+ rspackOption: {
1475
+ name: string;
1476
+ cliFlag: "experimental-rspack";
1477
+ description: () => import("react/jsx-runtime").JSX.Element;
1478
+ ssrName: null;
1479
+ docLink: null;
1480
+ type: boolean;
1481
+ getValue: ({ commandLine }: {
1482
+ commandLine: Record<string, unknown>;
1483
+ }) => {
1484
+ value: boolean;
1485
+ source: string;
1486
+ };
1487
+ setConfig(value: boolean): void;
1488
+ id: "experimental-rspack";
1489
+ };
1490
+ outDirOption: {
1491
+ name: string;
1492
+ cliFlag: "out-dir";
1493
+ description: () => import("react/jsx-runtime").JSX.Element;
1494
+ ssrName: "outDir";
1495
+ docLink: string;
1496
+ getValue: ({ commandLine }: {
1497
+ commandLine: Record<string, unknown>;
1498
+ }) => {
1499
+ source: string;
1500
+ value: string;
1501
+ } | {
1502
+ source: string;
1503
+ value: null;
1504
+ };
1505
+ setConfig: (value: string | null) => void;
1506
+ type: string | null;
1507
+ id: "out-dir";
1508
+ };
1509
+ packageManagerOption: {
1510
+ name: string;
1511
+ cliFlag: "package-manager";
1512
+ description: () => import("react/jsx-runtime").JSX.Element;
1513
+ ssrName: "packageManager";
1514
+ docLink: string;
1515
+ getValue: ({ commandLine }: {
1516
+ commandLine: Record<string, unknown>;
1517
+ }) => {
1518
+ source: string;
1519
+ value: string;
1520
+ } | {
1521
+ source: string;
1522
+ value: null;
1523
+ };
1524
+ setConfig: (value: string | null) => void;
1525
+ type: string | null;
1526
+ id: "package-manager";
1527
+ };
1528
+ webpackPollOption: {
1529
+ name: string;
1530
+ cliFlag: "webpack-poll";
1531
+ description: () => import("react/jsx-runtime").JSX.Element;
1532
+ ssrName: null;
1533
+ docLink: string;
1534
+ getValue: ({ commandLine }: {
1535
+ commandLine: Record<string, unknown>;
1536
+ }) => {
1537
+ source: string;
1538
+ value: number;
1539
+ } | {
1540
+ source: string;
1541
+ value: null;
1542
+ };
1543
+ setConfig: (value: number | null) => void;
1544
+ type: number | null;
1545
+ id: "webpack-poll";
1546
+ };
1547
+ stillFrameOption: {
1548
+ name: string;
1549
+ cliFlag: "frame";
1550
+ description: () => import("react/jsx-runtime").JSX.Element;
1551
+ ssrName: "frame";
1552
+ docLink: string;
1553
+ getValue: ({ commandLine }: {
1554
+ commandLine: Record<string, unknown>;
1555
+ }) => {
1556
+ source: string;
1557
+ value: number;
1558
+ } | {
1559
+ source: string;
1560
+ value: null;
1561
+ };
1562
+ setConfig: (value: number | null) => void;
1563
+ type: number | null;
1564
+ id: "frame";
1565
+ };
1566
+ imageSequenceOption: {
1567
+ name: string;
1568
+ cliFlag: "sequence";
1569
+ description: () => import("react/jsx-runtime").JSX.Element;
1570
+ ssrName: null;
1571
+ docLink: string;
1572
+ getValue: ({ commandLine }: {
1573
+ commandLine: Record<string, unknown>;
1574
+ }) => {
1575
+ source: string;
1576
+ value: boolean;
1577
+ };
1578
+ setConfig: (value: boolean) => void;
1579
+ type: boolean;
1580
+ id: "sequence";
1581
+ };
1582
+ versionFlagOption: {
1583
+ name: string;
1584
+ cliFlag: "version";
1585
+ description: () => import("react/jsx-runtime").JSX.Element;
1586
+ ssrName: null;
1587
+ docLink: string;
1588
+ getValue: ({ commandLine }: {
1589
+ commandLine: Record<string, unknown>;
1590
+ }) => {
1591
+ source: string;
1592
+ value: string;
1593
+ } | {
1594
+ source: string;
1595
+ value: null;
1596
+ };
1597
+ setConfig: () => never;
1598
+ type: string | null;
1599
+ id: "version";
1600
+ };
1601
+ bundleCacheOption: {
1602
+ name: string;
1603
+ cliFlag: "bundle-cache";
1604
+ description: () => import("react/jsx-runtime").JSX.Element;
1605
+ ssrName: null;
1606
+ docLink: string;
1607
+ getValue: ({ commandLine }: {
1608
+ commandLine: Record<string, unknown>;
1609
+ }) => {
1610
+ source: string;
1611
+ value: boolean;
1612
+ };
1613
+ setConfig: (value: boolean) => void;
1614
+ type: boolean;
1615
+ id: "bundle-cache";
1616
+ };
1617
+ envFileOption: {
1618
+ name: string;
1619
+ cliFlag: "env-file";
1620
+ description: () => import("react/jsx-runtime").JSX.Element;
1621
+ ssrName: null;
1622
+ docLink: string;
1623
+ getValue: ({ commandLine }: {
1624
+ commandLine: Record<string, unknown>;
1625
+ }) => {
1626
+ source: string;
1627
+ value: string;
1628
+ } | {
1629
+ source: string;
1630
+ value: null;
1631
+ };
1632
+ setConfig: (value: string | null) => void;
1633
+ type: string | null;
1634
+ id: "env-file";
1635
+ };
1636
+ portOption: {
1637
+ name: string;
1638
+ cliFlag: "port";
1639
+ description: () => import("react/jsx-runtime").JSX.Element;
1640
+ ssrName: null;
1641
+ docLink: string;
1642
+ getValue: ({ commandLine }: {
1643
+ commandLine: Record<string, unknown>;
1644
+ }) => {
1645
+ source: string;
1646
+ value: number;
1647
+ } | {
1648
+ source: string;
1649
+ value: null;
1650
+ };
1651
+ setConfig: (value: number | null) => void;
1652
+ type: number | null;
1653
+ id: "port";
1654
+ };
1655
+ propsOption: {
1656
+ name: string;
1657
+ cliFlag: "props";
1658
+ description: () => import("react/jsx-runtime").JSX.Element;
1659
+ ssrName: null;
1660
+ docLink: string;
1661
+ getValue: ({ commandLine }: {
1662
+ commandLine: Record<string, unknown>;
1663
+ }) => {
1664
+ source: string;
1665
+ value: string;
1666
+ } | {
1667
+ source: string;
1668
+ value: null;
1669
+ };
1670
+ setConfig: () => never;
1671
+ type: string | null;
1672
+ id: "props";
1673
+ };
1674
+ configOption: {
1675
+ name: string;
1676
+ cliFlag: "config";
1677
+ description: () => import("react/jsx-runtime").JSX.Element;
1678
+ ssrName: null;
1679
+ docLink: string;
1680
+ getValue: ({ commandLine }: {
1681
+ commandLine: Record<string, unknown>;
1682
+ }) => {
1683
+ source: string;
1684
+ value: string;
1685
+ } | {
1686
+ source: string;
1687
+ value: null;
1688
+ };
1689
+ setConfig: () => never;
1690
+ type: string | null;
1691
+ id: "config";
1692
+ };
1693
+ browserOption: {
1694
+ name: string;
1695
+ cliFlag: "browser";
1696
+ description: () => import("react/jsx-runtime").JSX.Element;
1697
+ ssrName: null;
1698
+ docLink: string;
1699
+ getValue: ({ commandLine }: {
1700
+ commandLine: Record<string, unknown>;
1701
+ }) => {
1702
+ source: string;
1703
+ value: string;
1704
+ } | {
1705
+ source: string;
1706
+ value: null;
1707
+ };
1708
+ setConfig: () => never;
1709
+ type: string | null;
1710
+ id: "browser";
1711
+ };
1423
1712
  };
1424
1713
  validColorSpaces: readonly ["default", "bt601", "bt709", "bt2020-ncl"];
1425
1714
  optionsMap: {