@hyperframes/core 0.8.168 → 0.8.169
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.
- package/dist/core.types.d.ts +0 -4
- package/dist/core.types.js +0 -5
- package/dist/distributedFps.d.ts +4 -0
- package/dist/distributedFps.js +5 -0
- package/dist/generated/runtime-inline.js +1 -1
- package/dist/hyperframe.runtime.iife.js +57 -57
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -1
- package/package.json +8 -4
package/dist/core.types.d.ts
CHANGED
|
@@ -65,10 +65,6 @@ export declare function parseFps(input: string | number): FpsParseResult;
|
|
|
65
65
|
* errors — those still surface via the discriminated result.
|
|
66
66
|
*/
|
|
67
67
|
export declare function parseFpsWithDefault(input: string | number | undefined): FpsParseResult;
|
|
68
|
-
/** Integer rates the distributed renderer (Lambda, Cloud Run) accepts; fractional fps renders in-process only. */
|
|
69
|
-
export declare const DISTRIBUTED_FPS: readonly [24, 25, 30, 60];
|
|
70
|
-
export type DistributedFps = (typeof DISTRIBUTED_FPS)[number];
|
|
71
|
-
export declare function isDistributedFps(value: unknown): value is DistributedFps;
|
|
72
68
|
/** Video orientation / aspect ratio. */
|
|
73
69
|
export type Orientation = "16:9" | "9:16";
|
|
74
70
|
export type { Asset, TimelineElementType, MediaElementType, TimelineElementBase, TimelineMediaElement, WaveformData, TimelineTextElement, TimelineCompositionElement, CompositionVariableType, CompositionVariableBase, StringVariable, NumberVariable, ColorVariable, BooleanVariable, EnumVariable, CompositionVariable, CompositionSpec, TimelineElement, MediaFile, CanvasResolution, CompositionAPI, PlayerAPI, AddElementData, ValidationResult, CompositionAsset, Keyframe, KeyframeProperties, ElementKeyframes, StageZoom, StageZoomKeyframe, } from "@hyperframes/parsers";
|
package/dist/core.types.js
CHANGED
|
@@ -101,9 +101,4 @@ export function parseFpsWithDefault(input) {
|
|
|
101
101
|
return { ok: true, value: { num: 30, den: 1 } };
|
|
102
102
|
return parseFps(input);
|
|
103
103
|
}
|
|
104
|
-
/** Integer rates the distributed renderer (Lambda, Cloud Run) accepts; fractional fps renders in-process only. */
|
|
105
|
-
export const DISTRIBUTED_FPS = [24, 25, 30, 60];
|
|
106
|
-
export function isDistributedFps(value) {
|
|
107
|
-
return DISTRIBUTED_FPS.includes(value);
|
|
108
|
-
}
|
|
109
104
|
export { CANVAS_DIMENSIONS, VALID_CANVAS_RESOLUTIONS, normalizeResolutionFlag, isAspectAgnosticResolutionAlias, resolveResolutionFlagPair, checkOutputResolutionCompatibility, suggestMatchingPreset, COMPOSITION_VARIABLE_TYPES, TIMELINE_COLORS, DEFAULT_DURATIONS, getDefaultStageZoom, isTextElement, isMediaElement, isCompositionElement, } from "@hyperframes/parsers";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/** Integer rates the distributed renderer (Lambda, Cloud Run) accepts; fractional fps renders in-process only. */
|
|
2
|
+
export declare const DISTRIBUTED_FPS: readonly [24, 25, 30, 60];
|
|
3
|
+
export type DistributedFps = (typeof DISTRIBUTED_FPS)[number];
|
|
4
|
+
export declare function isDistributedFps(value: unknown): value is DistributedFps;
|