@hyperframes/studio-server 0.8.138 → 0.8.140

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/index.d.ts CHANGED
@@ -27,6 +27,7 @@ declare function createStudioApi(adapter: StudioApiAdapter): Hono;
27
27
 
28
28
  declare const MAX_UPLOAD_BYTES: number;
29
29
 
30
+ declare const STUDIO_SIGNATURE_MANIFEST_PATHS: readonly [".hyperframes/studio-manual-edits.json", ".hyperframes/studio-motion.json"];
30
31
  /**
31
32
  * Whether a write at `changedPath` can change `createProjectSignature(projectDir)`.
32
33
  *
@@ -228,4 +229,4 @@ type BackgroundRemovalRender = (options: {
228
229
  }>;
229
230
  declare function createBackgroundRemovalJob(opts: BackgroundRemovalJobOptions, render: BackgroundRemovalRender): MediaProcessingJobState;
230
231
 
231
- export { type AppliedFileMutation, type BackgroundRemovalRender, DELETED_VERSION, type DuplicateElementResult, type FileMutationInput, type FileWriteReceipt, MAX_UPLOAD_BYTES, MIME_TYPES, MediaProcessingJobState, PREVIEW_BUNDLE_OPTIONS, SourceMutationTarget, StudioApiAdapter, type ThumbnailOutputDimensions, affectsPreview, affectsProjectSignature, applyFileMutations, buildSubCompositionHtml, cleanupProxyCache, compositionsAffectedBy, consumeFileWriteReceipt, createBackgroundRemovalJob, createPreviewDocumentStore, createProjectSignature, createStudioApi, duplicateElementInHtml, fileContentVersion, getMimeType, identifyFileWrite, requestSubPath, settledFileTag, thumbnailDeviceScaleFactor };
232
+ export { type AppliedFileMutation, type BackgroundRemovalRender, DELETED_VERSION, type DuplicateElementResult, type FileMutationInput, type FileWriteReceipt, MAX_UPLOAD_BYTES, MIME_TYPES, MediaProcessingJobState, PREVIEW_BUNDLE_OPTIONS, STUDIO_SIGNATURE_MANIFEST_PATHS, SourceMutationTarget, StudioApiAdapter, type ThumbnailOutputDimensions, affectsPreview, affectsProjectSignature, applyFileMutations, buildSubCompositionHtml, cleanupProxyCache, compositionsAffectedBy, consumeFileWriteReceipt, createBackgroundRemovalJob, createPreviewDocumentStore, createProjectSignature, createStudioApi, duplicateElementInHtml, fileContentVersion, getMimeType, identifyFileWrite, requestSubPath, settledFileTag, thumbnailDeviceScaleFactor };
package/dist/index.js CHANGED
@@ -1924,7 +1924,7 @@ function clipRetimeOf(mutation) {
1924
1924
  function retimeRun(script, run, root) {
1925
1925
  const live = run.filter((slot) => slot !== "no-op");
1926
1926
  const retimed = retimeClipTweensInScript(script, live, root);
1927
- const synced = syncPositionHoldsBeforeKeyframes(retimed.script);
1927
+ const synced = syncPositionHoldsBeforeKeyframes(retimed.script, script);
1928
1928
  let next = 0;
1929
1929
  const changed = run.map((slot) => slot !== "no-op" && retimed.changed[next++]);
1930
1930
  if (synced !== retimed.script) changed[changed.length - 1] = true;
@@ -6460,6 +6460,7 @@ export {
6460
6460
  CACHE_DIR_NAME as PROXY_CACHE_DIR_NAME,
6461
6461
  STUDIO_MANUAL_EDITS_PATH,
6462
6462
  STUDIO_MOTION_PATH,
6463
+ STUDIO_SIGNATURE_MANIFEST_PATHS,
6463
6464
  UNDO_MODES,
6464
6465
  affectsPreview,
6465
6466
  affectsProjectSignature,