@remotion/lambda 3.0.0-lambda.414 → 3.0.0-lambda.424
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/.turbo/turbo-build.log +3 -3
- package/dist/admin/bundle-lambda.d.ts +0 -0
- package/dist/admin/bundle-lambda.d.ts.map +0 -0
- package/dist/admin/bundle-lambda.js +0 -0
- package/dist/admin/bundle-lambda.js.map +0 -0
- package/dist/admin/make-layer-public.d.ts +0 -0
- package/dist/admin/make-layer-public.d.ts.map +0 -0
- package/dist/admin/make-layer-public.js +0 -0
- package/dist/admin/make-layer-public.js.map +0 -0
- package/dist/api/bucket-exists.d.ts +0 -0
- package/dist/api/bucket-exists.d.ts.map +0 -0
- package/dist/api/bucket-exists.js +0 -0
- package/dist/api/bucket-exists.js.map +0 -0
- package/dist/api/clean-items.d.ts +0 -0
- package/dist/api/clean-items.d.ts.map +0 -0
- package/dist/api/clean-items.js +0 -0
- package/dist/api/clean-items.js.map +0 -0
- package/dist/api/create-bucket.d.ts +0 -0
- package/dist/api/create-bucket.d.ts.map +0 -0
- package/dist/api/create-bucket.js +0 -0
- package/dist/api/create-bucket.js.map +0 -0
- package/dist/api/create-function.d.ts +2 -1
- package/dist/api/create-function.d.ts.map +1 -1
- package/dist/api/create-function.js +4 -1
- package/dist/api/create-function.js.map +1 -1
- package/dist/api/delete-function.d.ts +0 -0
- package/dist/api/delete-function.d.ts.map +0 -0
- package/dist/api/delete-function.js +0 -0
- package/dist/api/delete-function.js.map +0 -0
- package/dist/api/delete-site.d.ts +0 -0
- package/dist/api/delete-site.d.ts.map +0 -0
- package/dist/api/delete-site.js +0 -0
- package/dist/api/delete-site.js.map +0 -0
- package/dist/api/deploy-function.d.ts +2 -0
- package/dist/api/deploy-function.d.ts.map +1 -1
- package/dist/api/deploy-function.js +15 -4
- package/dist/api/deploy-function.js.map +1 -1
- package/dist/api/deploy-site.d.ts +0 -0
- package/dist/api/deploy-site.d.ts.map +0 -0
- package/dist/api/deploy-site.js +0 -0
- package/dist/api/deploy-site.js.map +0 -0
- package/dist/api/download-media.d.ts +0 -0
- package/dist/api/download-media.d.ts.map +0 -0
- package/dist/api/download-media.js +0 -0
- package/dist/api/download-media.js.map +0 -0
- package/dist/api/enable-s3-website.d.ts +0 -0
- package/dist/api/enable-s3-website.d.ts.map +0 -0
- package/dist/api/enable-s3-website.js +0 -0
- package/dist/api/enable-s3-website.js.map +0 -0
- package/dist/api/estimate-price.d.ts +5 -1
- package/dist/api/estimate-price.d.ts.map +1 -1
- package/dist/api/estimate-price.js +21 -4
- package/dist/api/estimate-price.js.map +1 -1
- package/dist/api/get-aws-client.d.ts +0 -0
- package/dist/api/get-aws-client.d.ts.map +0 -0
- package/dist/api/get-aws-client.js +0 -0
- package/dist/api/get-aws-client.js.map +0 -0
- package/dist/api/get-buckets.d.ts +0 -0
- package/dist/api/get-buckets.d.ts.map +0 -0
- package/dist/api/get-buckets.js +0 -0
- package/dist/api/get-buckets.js.map +0 -0
- package/dist/api/get-function-info.d.ts +1 -0
- package/dist/api/get-function-info.d.ts.map +1 -1
- package/dist/api/get-function-info.js +3 -1
- package/dist/api/get-function-info.js.map +1 -1
- package/dist/api/get-functions.d.ts +0 -0
- package/dist/api/get-functions.d.ts.map +1 -1
- package/dist/api/get-functions.js +2 -0
- package/dist/api/get-functions.js.map +1 -1
- package/dist/api/get-or-create-bucket.d.ts +0 -0
- package/dist/api/get-or-create-bucket.d.ts.map +0 -0
- package/dist/api/get-or-create-bucket.js +0 -0
- package/dist/api/get-or-create-bucket.js.map +0 -0
- package/dist/api/get-regions.d.ts +0 -0
- package/dist/api/get-regions.d.ts.map +0 -0
- package/dist/api/get-regions.js +0 -0
- package/dist/api/get-regions.js.map +0 -0
- package/dist/api/get-render-progress.d.ts +0 -0
- package/dist/api/get-render-progress.d.ts.map +0 -0
- package/dist/api/get-render-progress.js +0 -0
- package/dist/api/get-render-progress.js.map +0 -0
- package/dist/api/get-sites.d.ts +0 -0
- package/dist/api/get-sites.d.ts.map +0 -0
- package/dist/api/get-sites.js +0 -0
- package/dist/api/get-sites.js.map +0 -0
- package/dist/api/iam-validation/role-permissions.d.ts +0 -0
- package/dist/api/iam-validation/role-permissions.d.ts.map +0 -0
- package/dist/api/iam-validation/role-permissions.js +0 -0
- package/dist/api/iam-validation/role-permissions.js.map +0 -0
- package/dist/api/iam-validation/simulate-rule.d.ts +0 -0
- package/dist/api/iam-validation/simulate-rule.d.ts.map +0 -0
- package/dist/api/iam-validation/simulate-rule.js +0 -0
- package/dist/api/iam-validation/simulate-rule.js.map +0 -0
- package/dist/api/iam-validation/simulate.d.ts +0 -0
- package/dist/api/iam-validation/simulate.d.ts.map +0 -0
- package/dist/api/iam-validation/simulate.js +0 -0
- package/dist/api/iam-validation/simulate.js.map +0 -0
- package/dist/api/iam-validation/suggested-policy.d.ts +0 -0
- package/dist/api/iam-validation/suggested-policy.d.ts.map +0 -0
- package/dist/api/iam-validation/suggested-policy.js +0 -0
- package/dist/api/iam-validation/suggested-policy.js.map +0 -0
- package/dist/api/iam-validation/user-permissions.d.ts +0 -0
- package/dist/api/iam-validation/user-permissions.d.ts.map +0 -0
- package/dist/api/iam-validation/user-permissions.js +0 -0
- package/dist/api/iam-validation/user-permissions.js.map +0 -0
- package/dist/api/mock-functions.d.ts +0 -0
- package/dist/api/mock-functions.d.ts.map +0 -0
- package/dist/api/mock-functions.js +0 -0
- package/dist/api/mock-functions.js.map +0 -0
- package/dist/api/presign-url.d.ts +0 -0
- package/dist/api/presign-url.d.ts.map +0 -0
- package/dist/api/presign-url.js +0 -0
- package/dist/api/presign-url.js.map +0 -0
- package/dist/api/render-media-on-lambda.d.ts +0 -0
- package/dist/api/render-media-on-lambda.d.ts.map +0 -0
- package/dist/api/render-media-on-lambda.js +0 -0
- package/dist/api/render-media-on-lambda.js.map +0 -0
- package/dist/api/render-still-on-lambda.d.ts +0 -0
- package/dist/api/render-still-on-lambda.d.ts.map +0 -0
- package/dist/api/render-still-on-lambda.js +0 -0
- package/dist/api/render-still-on-lambda.js.map +0 -0
- package/dist/api/upload-dir.d.ts +0 -0
- package/dist/api/upload-dir.d.ts.map +0 -0
- package/dist/api/upload-dir.js +0 -0
- package/dist/api/upload-dir.js.map +0 -0
- package/dist/cli/args.d.ts +1 -0
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +0 -0
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/commands/functions/deploy.d.ts +0 -0
- package/dist/cli/commands/functions/deploy.d.ts.map +1 -1
- package/dist/cli/commands/functions/deploy.js +8 -3
- package/dist/cli/commands/functions/deploy.js.map +1 -1
- package/dist/cli/commands/functions/index.d.ts +0 -0
- package/dist/cli/commands/functions/index.d.ts.map +0 -0
- package/dist/cli/commands/functions/index.js +0 -0
- package/dist/cli/commands/functions/index.js.map +0 -0
- package/dist/cli/commands/functions/ls.d.ts +0 -0
- package/dist/cli/commands/functions/ls.d.ts.map +1 -1
- package/dist/cli/commands/functions/ls.js +3 -0
- package/dist/cli/commands/functions/ls.js.map +1 -1
- package/dist/cli/commands/functions/rm.d.ts +0 -0
- package/dist/cli/commands/functions/rm.d.ts.map +0 -0
- package/dist/cli/commands/functions/rm.js +0 -0
- package/dist/cli/commands/functions/rm.js.map +0 -0
- package/dist/cli/commands/functions/rmall.d.ts +0 -0
- package/dist/cli/commands/functions/rmall.d.ts.map +0 -0
- package/dist/cli/commands/functions/rmall.js +0 -0
- package/dist/cli/commands/functions/rmall.js.map +0 -0
- package/dist/cli/commands/policies/policies.d.ts +0 -0
- package/dist/cli/commands/policies/policies.d.ts.map +0 -0
- package/dist/cli/commands/policies/policies.js +0 -0
- package/dist/cli/commands/policies/policies.js.map +0 -0
- package/dist/cli/commands/policies/role.d.ts +0 -0
- package/dist/cli/commands/policies/role.d.ts.map +0 -0
- package/dist/cli/commands/policies/role.js +0 -0
- package/dist/cli/commands/policies/role.js.map +0 -0
- package/dist/cli/commands/policies/user.d.ts +0 -0
- package/dist/cli/commands/policies/user.d.ts.map +0 -0
- package/dist/cli/commands/policies/user.js +0 -0
- package/dist/cli/commands/policies/user.js.map +0 -0
- package/dist/cli/commands/policies/validate.d.ts +0 -0
- package/dist/cli/commands/policies/validate.d.ts.map +0 -0
- package/dist/cli/commands/policies/validate.js +0 -0
- package/dist/cli/commands/policies/validate.js.map +0 -0
- package/dist/cli/commands/quotas/increase.d.ts +0 -0
- package/dist/cli/commands/quotas/increase.d.ts.map +0 -0
- package/dist/cli/commands/quotas/increase.js +0 -0
- package/dist/cli/commands/quotas/increase.js.map +0 -0
- package/dist/cli/commands/quotas/index.d.ts +0 -0
- package/dist/cli/commands/quotas/index.d.ts.map +0 -0
- package/dist/cli/commands/quotas/index.js +0 -0
- package/dist/cli/commands/quotas/index.js.map +0 -0
- package/dist/cli/commands/quotas/list.d.ts +0 -0
- package/dist/cli/commands/quotas/list.d.ts.map +0 -0
- package/dist/cli/commands/quotas/list.js +0 -0
- package/dist/cli/commands/quotas/list.js.map +0 -0
- package/dist/cli/commands/regions.d.ts +0 -0
- package/dist/cli/commands/regions.d.ts.map +0 -0
- package/dist/cli/commands/regions.js +0 -0
- package/dist/cli/commands/regions.js.map +0 -0
- package/dist/cli/commands/render/progress.d.ts +0 -0
- package/dist/cli/commands/render/progress.d.ts.map +0 -0
- package/dist/cli/commands/render/progress.js +0 -0
- package/dist/cli/commands/render/progress.js.map +0 -0
- package/dist/cli/commands/render/render.d.ts +0 -0
- package/dist/cli/commands/render/render.d.ts.map +1 -1
- package/dist/cli/commands/render/render.js +1 -1
- package/dist/cli/commands/render/render.js.map +1 -1
- package/dist/cli/commands/sites/create.d.ts +0 -0
- package/dist/cli/commands/sites/create.d.ts.map +0 -0
- package/dist/cli/commands/sites/create.js +0 -0
- package/dist/cli/commands/sites/create.js.map +0 -0
- package/dist/cli/commands/sites/index.d.ts +0 -0
- package/dist/cli/commands/sites/index.d.ts.map +0 -0
- package/dist/cli/commands/sites/index.js +0 -0
- package/dist/cli/commands/sites/index.js.map +0 -0
- package/dist/cli/commands/sites/ls.d.ts +0 -0
- package/dist/cli/commands/sites/ls.d.ts.map +0 -0
- package/dist/cli/commands/sites/ls.js +0 -0
- package/dist/cli/commands/sites/ls.js.map +0 -0
- package/dist/cli/commands/sites/rm.d.ts +0 -0
- package/dist/cli/commands/sites/rm.d.ts.map +0 -0
- package/dist/cli/commands/sites/rm.js +0 -0
- package/dist/cli/commands/sites/rm.js.map +0 -0
- package/dist/cli/commands/sites/rmall.d.ts +0 -0
- package/dist/cli/commands/sites/rmall.d.ts.map +0 -0
- package/dist/cli/commands/sites/rmall.js +0 -0
- package/dist/cli/commands/sites/rmall.js.map +0 -0
- package/dist/cli/commands/still.d.ts +0 -0
- package/dist/cli/commands/still.d.ts.map +0 -0
- package/dist/cli/commands/still.js +0 -0
- package/dist/cli/commands/still.js.map +0 -0
- package/dist/cli/get-aws-region.d.ts +0 -0
- package/dist/cli/get-aws-region.d.ts.map +0 -0
- package/dist/cli/get-aws-region.js +0 -0
- package/dist/cli/get-aws-region.js.map +0 -0
- package/dist/cli/help.d.ts +0 -0
- package/dist/cli/help.d.ts.map +0 -0
- package/dist/cli/help.js +0 -0
- package/dist/cli/help.js.map +0 -0
- package/dist/cli/helpers/confirm.d.ts +0 -0
- package/dist/cli/helpers/confirm.d.ts.map +0 -0
- package/dist/cli/helpers/confirm.js +0 -0
- package/dist/cli/helpers/confirm.js.map +0 -0
- package/dist/cli/helpers/date-string.d.ts +0 -0
- package/dist/cli/helpers/date-string.d.ts.map +0 -0
- package/dist/cli/helpers/date-string.js +0 -0
- package/dist/cli/helpers/date-string.js.map +0 -0
- package/dist/cli/helpers/find-function-name.d.ts +0 -0
- package/dist/cli/helpers/find-function-name.d.ts.map +0 -0
- package/dist/cli/helpers/find-function-name.js +0 -0
- package/dist/cli/helpers/find-function-name.js.map +0 -0
- package/dist/cli/helpers/format-bytes.d.ts +0 -0
- package/dist/cli/helpers/format-bytes.d.ts.map +0 -0
- package/dist/cli/helpers/format-bytes.js +0 -0
- package/dist/cli/helpers/format-bytes.js.map +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.d.ts +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.d.ts.map +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.js +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.js.map +0 -0
- package/dist/cli/helpers/progress-bar.d.ts +0 -0
- package/dist/cli/helpers/progress-bar.d.ts.map +0 -0
- package/dist/cli/helpers/progress-bar.js +0 -0
- package/dist/cli/helpers/progress-bar.js.map +0 -0
- package/dist/cli/helpers/quit.d.ts +0 -0
- package/dist/cli/helpers/quit.d.ts.map +0 -0
- package/dist/cli/helpers/quit.js +0 -0
- package/dist/cli/helpers/quit.js.map +0 -0
- package/dist/cli/helpers/yes-or-no.d.ts +0 -0
- package/dist/cli/helpers/yes-or-no.d.ts.map +0 -0
- package/dist/cli/helpers/yes-or-no.js +0 -0
- package/dist/cli/helpers/yes-or-no.js.map +0 -0
- package/dist/cli/index.d.ts +0 -0
- package/dist/cli/index.d.ts.map +0 -0
- package/dist/cli/index.js +0 -0
- package/dist/cli/index.js.map +0 -0
- package/dist/cli/is-cli.d.ts +0 -0
- package/dist/cli/is-cli.d.ts.map +0 -0
- package/dist/cli/is-cli.js +0 -0
- package/dist/cli/is-cli.js.map +0 -0
- package/dist/cli/log.d.ts +0 -0
- package/dist/cli/log.d.ts.map +0 -0
- package/dist/cli/log.js +0 -0
- package/dist/cli/log.js.map +0 -0
- package/dist/client.d.ts +0 -0
- package/dist/client.d.ts.map +0 -0
- package/dist/client.js +0 -0
- package/dist/client.js.map +0 -0
- package/dist/defaults.d.ts +0 -0
- package/dist/defaults.d.ts.map +0 -0
- package/dist/defaults.js +0 -0
- package/dist/defaults.js.map +0 -0
- package/dist/functions/chunk-optimization/can-use-optimization.d.ts +0 -0
- package/dist/functions/chunk-optimization/can-use-optimization.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/can-use-optimization.js +0 -0
- package/dist/functions/chunk-optimization/can-use-optimization.js.map +0 -0
- package/dist/functions/chunk-optimization/collect-data.d.ts +0 -0
- package/dist/functions/chunk-optimization/collect-data.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/collect-data.js +0 -0
- package/dist/functions/chunk-optimization/collect-data.js.map +0 -0
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts +1 -4
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.js +0 -0
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.js.map +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.d.ts +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.js +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.js.map +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.d.ts +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.js +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.js.map +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.d.ts +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.js +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.js.map +0 -0
- package/dist/functions/chunk-optimization/optimize-profile.d.ts +2 -8
- package/dist/functions/chunk-optimization/optimize-profile.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/optimize-profile.js +0 -0
- package/dist/functions/chunk-optimization/optimize-profile.js.map +0 -0
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +1 -4
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/plan-frame-ranges.js +0 -0
- package/dist/functions/chunk-optimization/plan-frame-ranges.js.map +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.d.ts +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.js +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.js.map +0 -0
- package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts +1 -4
- package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/simulate-frame-ranges.js +0 -0
- package/dist/functions/chunk-optimization/simulate-frame-ranges.js.map +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.d.ts +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.js +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.js.map +0 -0
- package/dist/functions/chunk-optimization/types.d.ts +0 -0
- package/dist/functions/chunk-optimization/types.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/types.js +0 -0
- package/dist/functions/chunk-optimization/types.js.map +0 -0
- package/dist/functions/fire.d.ts +0 -0
- package/dist/functions/fire.d.ts.map +0 -0
- package/dist/functions/fire.js +0 -0
- package/dist/functions/fire.js.map +0 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.d.ts +0 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.d.ts.map +0 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.js +0 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.js.map +0 -0
- package/dist/functions/helpers/calculate-chunk-times.d.ts +0 -0
- package/dist/functions/helpers/calculate-chunk-times.d.ts.map +0 -0
- package/dist/functions/helpers/calculate-chunk-times.js +0 -0
- package/dist/functions/helpers/calculate-chunk-times.js.map +0 -0
- package/dist/functions/helpers/calculate-price-from-bucket.d.ts +5 -1
- package/dist/functions/helpers/calculate-price-from-bucket.d.ts.map +1 -1
- package/dist/functions/helpers/calculate-price-from-bucket.js +4 -1
- package/dist/functions/helpers/calculate-price-from-bucket.js.map +1 -1
- package/dist/functions/helpers/clean-tmpdir.d.ts +0 -0
- package/dist/functions/helpers/clean-tmpdir.d.ts.map +0 -0
- package/dist/functions/helpers/clean-tmpdir.js +0 -0
- package/dist/functions/helpers/clean-tmpdir.js.map +0 -0
- package/dist/functions/helpers/concat-videos.d.ts +0 -0
- package/dist/functions/helpers/concat-videos.d.ts.map +0 -0
- package/dist/functions/helpers/concat-videos.js +0 -0
- package/dist/functions/helpers/concat-videos.js.map +0 -0
- package/dist/functions/helpers/create-post-render-data.d.ts +0 -0
- package/dist/functions/helpers/create-post-render-data.d.ts.map +1 -1
- package/dist/functions/helpers/create-post-render-data.js +6 -0
- package/dist/functions/helpers/create-post-render-data.js.map +1 -1
- package/dist/functions/helpers/delete-chunks.d.ts +0 -0
- package/dist/functions/helpers/delete-chunks.d.ts.map +0 -0
- package/dist/functions/helpers/delete-chunks.js +0 -0
- package/dist/functions/helpers/delete-chunks.js.map +0 -0
- package/dist/functions/helpers/expected-out-name.d.ts +0 -0
- package/dist/functions/helpers/expected-out-name.d.ts.map +0 -0
- package/dist/functions/helpers/expected-out-name.js +0 -0
- package/dist/functions/helpers/expected-out-name.js.map +0 -0
- package/dist/functions/helpers/find-output-file-in-bucket.d.ts +0 -0
- package/dist/functions/helpers/find-output-file-in-bucket.d.ts.map +0 -0
- package/dist/functions/helpers/find-output-file-in-bucket.js +0 -0
- package/dist/functions/helpers/find-output-file-in-bucket.js.map +0 -0
- package/dist/functions/helpers/format-costs-info.d.ts +0 -0
- package/dist/functions/helpers/format-costs-info.d.ts.map +0 -0
- package/dist/functions/helpers/format-costs-info.js +0 -0
- package/dist/functions/helpers/format-costs-info.js.map +0 -0
- package/dist/functions/helpers/get-browser-instance.d.ts +0 -0
- package/dist/functions/helpers/get-browser-instance.d.ts.map +0 -0
- package/dist/functions/helpers/get-browser-instance.js +0 -0
- package/dist/functions/helpers/get-browser-instance.js.map +0 -0
- package/dist/functions/helpers/get-chromium-executable-path.d.ts +0 -0
- package/dist/functions/helpers/get-chromium-executable-path.d.ts.map +0 -0
- package/dist/functions/helpers/get-chromium-executable-path.js +0 -0
- package/dist/functions/helpers/get-chromium-executable-path.js.map +0 -0
- package/dist/functions/helpers/get-cleanup-progress.d.ts +0 -0
- package/dist/functions/helpers/get-cleanup-progress.d.ts.map +0 -0
- package/dist/functions/helpers/get-cleanup-progress.js +0 -0
- package/dist/functions/helpers/get-cleanup-progress.js.map +0 -0
- package/dist/functions/helpers/get-current-architecture.d.ts +3 -0
- package/dist/functions/helpers/get-current-architecture.d.ts.map +1 -0
- package/dist/functions/helpers/get-current-architecture.js +12 -0
- package/dist/functions/helpers/get-current-architecture.js.map +1 -0
- package/dist/functions/helpers/get-current-region.d.ts +0 -0
- package/dist/functions/helpers/get-current-region.d.ts.map +0 -0
- package/dist/functions/helpers/get-current-region.js +0 -0
- package/dist/functions/helpers/get-current-region.js.map +0 -0
- package/dist/functions/helpers/get-encoding-metadata.d.ts +0 -0
- package/dist/functions/helpers/get-encoding-metadata.d.ts.map +0 -0
- package/dist/functions/helpers/get-encoding-metadata.js +0 -0
- package/dist/functions/helpers/get-encoding-metadata.js.map +0 -0
- package/dist/functions/helpers/get-files-in-folder.d.ts +0 -0
- package/dist/functions/helpers/get-files-in-folder.d.ts.map +0 -0
- package/dist/functions/helpers/get-files-in-folder.js +0 -0
- package/dist/functions/helpers/get-files-in-folder.js.map +0 -0
- package/dist/functions/helpers/get-files-to-delete.d.ts +0 -0
- package/dist/functions/helpers/get-files-to-delete.d.ts.map +0 -0
- package/dist/functions/helpers/get-files-to-delete.js +0 -0
- package/dist/functions/helpers/get-files-to-delete.js.map +0 -0
- package/dist/functions/helpers/get-final-encoding-status.d.ts +0 -0
- package/dist/functions/helpers/get-final-encoding-status.d.ts.map +0 -0
- package/dist/functions/helpers/get-final-encoding-status.js +0 -0
- package/dist/functions/helpers/get-final-encoding-status.js.map +0 -0
- package/dist/functions/helpers/get-folder-size.d.ts +0 -0
- package/dist/functions/helpers/get-folder-size.d.ts.map +0 -0
- package/dist/functions/helpers/get-folder-size.js +0 -0
- package/dist/functions/helpers/get-folder-size.js.map +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.d.ts +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.d.ts.map +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.js +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.js.map +0 -0
- package/dist/functions/helpers/get-output-url-from-metadata.d.ts +0 -0
- package/dist/functions/helpers/get-output-url-from-metadata.d.ts.map +0 -0
- package/dist/functions/helpers/get-output-url-from-metadata.js +0 -0
- package/dist/functions/helpers/get-output-url-from-metadata.js.map +0 -0
- package/dist/functions/helpers/get-overall-progress.d.ts +0 -0
- package/dist/functions/helpers/get-overall-progress.d.ts.map +0 -0
- package/dist/functions/helpers/get-overall-progress.js +0 -0
- package/dist/functions/helpers/get-overall-progress.js.map +0 -0
- package/dist/functions/helpers/get-post-render-data.d.ts +0 -0
- package/dist/functions/helpers/get-post-render-data.d.ts.map +0 -0
- package/dist/functions/helpers/get-post-render-data.js +0 -0
- package/dist/functions/helpers/get-post-render-data.js.map +0 -0
- package/dist/functions/helpers/get-progress.d.ts +0 -0
- package/dist/functions/helpers/get-progress.d.ts.map +1 -1
- package/dist/functions/helpers/get-progress.js +15 -9
- package/dist/functions/helpers/get-progress.js.map +1 -1
- package/dist/functions/helpers/get-render-metadata.d.ts +0 -0
- package/dist/functions/helpers/get-render-metadata.d.ts.map +0 -0
- package/dist/functions/helpers/get-render-metadata.js +0 -0
- package/dist/functions/helpers/get-render-metadata.js.map +0 -0
- package/dist/functions/helpers/get-retry-stats.d.ts +0 -0
- package/dist/functions/helpers/get-retry-stats.d.ts.map +0 -0
- package/dist/functions/helpers/get-retry-stats.js +0 -0
- package/dist/functions/helpers/get-retry-stats.js.map +0 -0
- package/dist/functions/helpers/get-time-to-finish.d.ts +0 -0
- package/dist/functions/helpers/get-time-to-finish.d.ts.map +0 -0
- package/dist/functions/helpers/get-time-to-finish.js +0 -0
- package/dist/functions/helpers/get-time-to-finish.js.map +0 -0
- package/dist/functions/helpers/inspect-errors.d.ts +0 -0
- package/dist/functions/helpers/inspect-errors.d.ts.map +0 -0
- package/dist/functions/helpers/inspect-errors.js +0 -0
- package/dist/functions/helpers/inspect-errors.js.map +0 -0
- package/dist/functions/helpers/io.d.ts +0 -0
- package/dist/functions/helpers/io.d.ts.map +0 -0
- package/dist/functions/helpers/io.js +0 -0
- package/dist/functions/helpers/io.js.map +0 -0
- package/dist/functions/helpers/is-enosp-err.d.ts +0 -0
- package/dist/functions/helpers/is-enosp-err.d.ts.map +0 -0
- package/dist/functions/helpers/is-enosp-err.js +0 -0
- package/dist/functions/helpers/is-enosp-err.js.map +0 -0
- package/dist/functions/helpers/is-warm.d.ts +0 -0
- package/dist/functions/helpers/is-warm.d.ts.map +0 -0
- package/dist/functions/helpers/is-warm.js +0 -0
- package/dist/functions/helpers/is-warm.js.map +0 -0
- package/dist/functions/helpers/min-max.d.ts +0 -0
- package/dist/functions/helpers/min-max.d.ts.map +0 -0
- package/dist/functions/helpers/min-max.js +0 -0
- package/dist/functions/helpers/min-max.js.map +0 -0
- package/dist/functions/helpers/presign-url.d.ts +0 -0
- package/dist/functions/helpers/presign-url.d.ts.map +0 -0
- package/dist/functions/helpers/presign-url.js +0 -0
- package/dist/functions/helpers/presign-url.js.map +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.d.ts +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.d.ts.map +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.js +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.js.map +0 -0
- package/dist/functions/helpers/print-concurrency-curve.d.ts +0 -0
- package/dist/functions/helpers/print-concurrency-curve.d.ts.map +0 -0
- package/dist/functions/helpers/print-concurrency-curve.js +0 -0
- package/dist/functions/helpers/print-concurrency-curve.js.map +0 -0
- package/dist/functions/helpers/read-with-progress.d.ts +0 -0
- package/dist/functions/helpers/read-with-progress.d.ts.map +0 -0
- package/dist/functions/helpers/read-with-progress.js +0 -0
- package/dist/functions/helpers/read-with-progress.js.map +0 -0
- package/dist/functions/helpers/timer.d.ts +0 -0
- package/dist/functions/helpers/timer.d.ts.map +0 -0
- package/dist/functions/helpers/timer.js +0 -0
- package/dist/functions/helpers/timer.js.map +0 -0
- package/dist/functions/helpers/validate-composition.d.ts +0 -0
- package/dist/functions/helpers/validate-composition.d.ts.map +0 -0
- package/dist/functions/helpers/validate-composition.js +0 -0
- package/dist/functions/helpers/validate-composition.js.map +0 -0
- package/dist/functions/helpers/write-lambda-error.d.ts +0 -0
- package/dist/functions/helpers/write-lambda-error.d.ts.map +0 -0
- package/dist/functions/helpers/write-lambda-error.js +0 -0
- package/dist/functions/helpers/write-lambda-error.js.map +0 -0
- package/dist/functions/helpers/write-post-render-data.d.ts +0 -0
- package/dist/functions/helpers/write-post-render-data.d.ts.map +0 -0
- package/dist/functions/helpers/write-post-render-data.js +0 -0
- package/dist/functions/helpers/write-post-render-data.js.map +0 -0
- package/dist/functions/index.d.ts +0 -0
- package/dist/functions/index.d.ts.map +0 -0
- package/dist/functions/index.js +0 -0
- package/dist/functions/index.js.map +0 -0
- package/dist/functions/info.d.ts +0 -0
- package/dist/functions/info.d.ts.map +0 -0
- package/dist/functions/info.js +0 -0
- package/dist/functions/info.js.map +0 -0
- package/dist/functions/launch.d.ts +0 -0
- package/dist/functions/launch.d.ts.map +0 -0
- package/dist/functions/launch.js +0 -0
- package/dist/functions/launch.js.map +0 -0
- package/dist/functions/progress.d.ts +0 -0
- package/dist/functions/progress.d.ts.map +0 -0
- package/dist/functions/progress.js +0 -0
- package/dist/functions/progress.js.map +0 -0
- package/dist/functions/renderer.d.ts +0 -0
- package/dist/functions/renderer.d.ts.map +1 -1
- package/dist/functions/renderer.js +3 -0
- package/dist/functions/renderer.js.map +1 -1
- package/dist/functions/start.d.ts +0 -0
- package/dist/functions/start.d.ts.map +0 -0
- package/dist/functions/start.js +0 -0
- package/dist/functions/start.js.map +0 -0
- package/dist/functions/still.d.ts +0 -0
- package/dist/functions/still.d.ts.map +1 -1
- package/dist/functions/still.js +6 -0
- package/dist/functions/still.js.map +1 -1
- package/dist/index.d.ts +0 -0
- package/dist/index.d.ts.map +0 -0
- package/dist/index.js +0 -0
- package/dist/index.js.map +0 -0
- package/dist/internals.d.ts +0 -0
- package/dist/internals.d.ts.map +0 -0
- package/dist/internals.js +0 -0
- package/dist/internals.js.map +0 -0
- package/dist/pricing/aws-regions.d.ts +0 -0
- package/dist/pricing/aws-regions.d.ts.map +0 -0
- package/dist/pricing/aws-regions.js +0 -0
- package/dist/pricing/aws-regions.js.map +0 -0
- package/dist/pricing/price-per-1-s.d.ts +8 -0
- package/dist/pricing/price-per-1-s.d.ts.map +1 -1
- package/dist/pricing/price-per-1-s.js +82 -2
- package/dist/pricing/price-per-1-s.js.map +1 -1
- package/dist/regions.d.ts +0 -0
- package/dist/regions.d.ts.map +0 -0
- package/dist/regions.js +0 -0
- package/dist/regions.js.map +0 -0
- package/dist/shared/await.d.ts +0 -0
- package/dist/shared/await.d.ts.map +0 -0
- package/dist/shared/await.js +0 -0
- package/dist/shared/await.js.map +0 -0
- package/dist/shared/aws-clients.d.ts +0 -0
- package/dist/shared/aws-clients.d.ts.map +0 -0
- package/dist/shared/aws-clients.js +0 -0
- package/dist/shared/aws-clients.js.map +0 -0
- package/dist/shared/bundle-site.d.ts +0 -0
- package/dist/shared/bundle-site.d.ts.map +0 -0
- package/dist/shared/bundle-site.js +0 -0
- package/dist/shared/bundle-site.js.map +0 -0
- package/dist/shared/call-lambda.d.ts +0 -0
- package/dist/shared/call-lambda.d.ts.map +0 -0
- package/dist/shared/call-lambda.js +0 -0
- package/dist/shared/call-lambda.js.map +0 -0
- package/dist/shared/check-credentials.d.ts +0 -0
- package/dist/shared/check-credentials.d.ts.map +0 -0
- package/dist/shared/check-credentials.js +0 -0
- package/dist/shared/check-credentials.js.map +0 -0
- package/dist/shared/chunk.d.ts +0 -0
- package/dist/shared/chunk.d.ts.map +0 -0
- package/dist/shared/chunk.js +0 -0
- package/dist/shared/chunk.js.map +0 -0
- package/dist/shared/constants.d.ts +4 -1
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +5 -2
- package/dist/shared/constants.js.map +1 -1
- package/dist/shared/convert-to-serve-url.d.ts +0 -0
- package/dist/shared/convert-to-serve-url.d.ts.map +0 -0
- package/dist/shared/convert-to-serve-url.js +0 -0
- package/dist/shared/convert-to-serve-url.js.map +0 -0
- package/dist/shared/docs-url.d.ts +0 -0
- package/dist/shared/docs-url.d.ts.map +0 -0
- package/dist/shared/docs-url.js +0 -0
- package/dist/shared/docs-url.js.map +0 -0
- package/dist/shared/function-zip-path.d.ts +0 -0
- package/dist/shared/function-zip-path.d.ts.map +0 -0
- package/dist/shared/function-zip-path.js +0 -0
- package/dist/shared/function-zip-path.js.map +0 -0
- package/dist/shared/get-account-id.d.ts +0 -0
- package/dist/shared/get-account-id.d.ts.map +0 -0
- package/dist/shared/get-account-id.js +0 -0
- package/dist/shared/get-account-id.js.map +0 -0
- package/dist/shared/get-function-version.d.ts +0 -0
- package/dist/shared/get-function-version.d.ts.map +0 -0
- package/dist/shared/get-function-version.js +0 -0
- package/dist/shared/get-function-version.js.map +0 -0
- package/dist/shared/hosted-layers.d.ts +0 -0
- package/dist/shared/hosted-layers.d.ts.map +0 -0
- package/dist/shared/hosted-layers.js +0 -0
- package/dist/shared/hosted-layers.js.map +0 -0
- package/dist/shared/is-in-lambda.d.ts +0 -0
- package/dist/shared/is-in-lambda.d.ts.map +0 -0
- package/dist/shared/is-in-lambda.js +0 -0
- package/dist/shared/is-in-lambda.js.map +0 -0
- package/dist/shared/make-s3-url.d.ts +0 -0
- package/dist/shared/make-s3-url.d.ts.map +0 -0
- package/dist/shared/make-s3-url.js +0 -0
- package/dist/shared/make-s3-url.js.map +0 -0
- package/dist/shared/parse-lambda-initialized-key.d.ts +0 -0
- package/dist/shared/parse-lambda-initialized-key.d.ts.map +0 -0
- package/dist/shared/parse-lambda-initialized-key.js +0 -0
- package/dist/shared/parse-lambda-initialized-key.js.map +0 -0
- package/dist/shared/parse-lambda-timings-key.d.ts +0 -0
- package/dist/shared/parse-lambda-timings-key.d.ts.map +0 -0
- package/dist/shared/parse-lambda-timings-key.js +0 -0
- package/dist/shared/parse-lambda-timings-key.js.map +0 -0
- package/dist/shared/random-hash.d.ts +0 -0
- package/dist/shared/random-hash.d.ts.map +0 -0
- package/dist/shared/random-hash.js +0 -0
- package/dist/shared/random-hash.js.map +0 -0
- package/dist/shared/return-values.d.ts +0 -0
- package/dist/shared/return-values.d.ts.map +0 -0
- package/dist/shared/return-values.js +0 -0
- package/dist/shared/return-values.js.map +0 -0
- package/dist/shared/sleep.d.ts +0 -0
- package/dist/shared/sleep.d.ts.map +0 -0
- package/dist/shared/sleep.js +0 -0
- package/dist/shared/sleep.js.map +0 -0
- package/dist/shared/stream-to-string.d.ts +0 -0
- package/dist/shared/stream-to-string.d.ts.map +0 -0
- package/dist/shared/stream-to-string.js +0 -0
- package/dist/shared/stream-to-string.js.map +0 -0
- package/dist/shared/validate-architecture.d.ts +0 -0
- package/dist/shared/validate-architecture.d.ts.map +0 -0
- package/dist/shared/validate-architecture.js +0 -0
- package/dist/shared/validate-architecture.js.map +0 -0
- package/dist/shared/validate-aws-region.d.ts +0 -0
- package/dist/shared/validate-aws-region.d.ts.map +0 -0
- package/dist/shared/validate-aws-region.js +0 -0
- package/dist/shared/validate-aws-region.js.map +0 -0
- package/dist/shared/validate-bucketname.d.ts +0 -0
- package/dist/shared/validate-bucketname.d.ts.map +0 -0
- package/dist/shared/validate-bucketname.js +0 -0
- package/dist/shared/validate-bucketname.js.map +0 -0
- package/dist/shared/validate-disk-size-in-mb.d.ts +2 -0
- package/dist/shared/validate-disk-size-in-mb.d.ts.map +1 -0
- package/dist/shared/validate-disk-size-in-mb.js +24 -0
- package/dist/shared/validate-disk-size-in-mb.js.map +1 -0
- package/dist/shared/validate-frames-per-lambda.d.ts +0 -0
- package/dist/shared/validate-frames-per-lambda.d.ts.map +0 -0
- package/dist/shared/validate-frames-per-lambda.js +0 -0
- package/dist/shared/validate-frames-per-lambda.js.map +0 -0
- package/dist/shared/validate-memory-size.d.ts +0 -0
- package/dist/shared/validate-memory-size.d.ts.map +0 -0
- package/dist/shared/validate-memory-size.js +0 -0
- package/dist/shared/validate-memory-size.js.map +0 -0
- package/dist/shared/validate-outname.d.ts +0 -0
- package/dist/shared/validate-outname.d.ts.map +0 -0
- package/dist/shared/validate-outname.js +2 -2
- package/dist/shared/validate-outname.js.map +1 -1
- package/dist/shared/validate-presign-expiration.d.ts +0 -0
- package/dist/shared/validate-presign-expiration.d.ts.map +0 -0
- package/dist/shared/validate-presign-expiration.js +0 -0
- package/dist/shared/validate-presign-expiration.js.map +0 -0
- package/dist/shared/validate-privacy.d.ts +0 -0
- package/dist/shared/validate-privacy.d.ts.map +0 -0
- package/dist/shared/validate-privacy.js +0 -0
- package/dist/shared/validate-privacy.js.map +0 -0
- package/dist/shared/validate-retention-period.d.ts +0 -0
- package/dist/shared/validate-retention-period.d.ts.map +0 -0
- package/dist/shared/validate-retention-period.js +0 -0
- package/dist/shared/validate-retention-period.js.map +0 -0
- package/dist/shared/validate-retries.d.ts +0 -0
- package/dist/shared/validate-retries.d.ts.map +0 -0
- package/dist/shared/validate-retries.js +0 -0
- package/dist/shared/validate-retries.js.map +0 -0
- package/dist/shared/validate-serveurl.d.ts +0 -0
- package/dist/shared/validate-serveurl.d.ts.map +0 -0
- package/dist/shared/validate-serveurl.js +0 -0
- package/dist/shared/validate-serveurl.js.map +0 -0
- package/dist/shared/validate-site-name.d.ts +0 -0
- package/dist/shared/validate-site-name.d.ts.map +0 -0
- package/dist/shared/validate-site-name.js +0 -0
- package/dist/shared/validate-site-name.js.map +0 -0
- package/dist/shared/validate-timeout.d.ts +0 -0
- package/dist/shared/validate-timeout.d.ts.map +0 -0
- package/dist/shared/validate-timeout.js +0 -0
- package/dist/shared/validate-timeout.js.map +0 -0
- package/package.json +14 -14
- package/remotionlambda.zip +0 -0
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { TimingProfile } from './types';
|
|
2
2
|
export declare const assignFrameToOther: ({ frameRanges, fromChunk, toChunk, framesToShift, }: {
|
|
3
|
-
frameRanges: [
|
|
4
|
-
number,
|
|
5
|
-
number
|
|
6
|
-
][];
|
|
3
|
+
frameRanges: [number, number][];
|
|
7
4
|
fromChunk: number;
|
|
8
5
|
toChunk: number;
|
|
9
6
|
framesToShift: number;
|
|
10
|
-
}) => [
|
|
11
|
-
number,
|
|
12
|
-
number
|
|
13
|
-
][];
|
|
7
|
+
}) => [number, number][];
|
|
14
8
|
export declare const optimizeProfile: (_profile: TimingProfile) => TimingProfile;
|
|
15
9
|
export declare const optimizeProfileRecursively: (profile: TimingProfile, amount: number) => TimingProfile;
|
|
16
10
|
//# sourceMappingURL=optimize-profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optimize-profile.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/optimize-profile.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,kBAAkB;iBAMjB
|
|
1
|
+
{"version":3,"file":"optimize-profile.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/optimize-profile.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,kBAAkB;iBAMjB,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;eACpB,MAAM;aACR,MAAM;mBACA,MAAM;MAClB,CAAC,MAAM,EAAE,MAAM,CAAC,EAkCnB,CAAC;AAEF,eAAO,MAAM,eAAe,4CAsC3B,CAAC;AAEF,eAAO,MAAM,0BAA0B,mCAE9B,MAAM,kBAQd,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -6,10 +6,7 @@ export declare const planFrameRanges: ({ chunkCount, framesPerLambda, optimizati
|
|
|
6
6
|
shouldUseOptimization: boolean;
|
|
7
7
|
frameRange: [number, number];
|
|
8
8
|
}) => {
|
|
9
|
-
chunks: [
|
|
10
|
-
number,
|
|
11
|
-
number
|
|
12
|
-
][];
|
|
9
|
+
chunks: [number, number][];
|
|
13
10
|
didUseOptimization: boolean;
|
|
14
11
|
};
|
|
15
12
|
//# sourceMappingURL=plan-frame-ranges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-frame-ranges.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/plan-frame-ranges.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,eAAe;gBAOf,MAAM;qBACD,MAAM;kBACT,mBAAmB,GAAG,IAAI;2BACjB,OAAO;gBAClB,CAAC,MAAM,EAAE,MAAM,CAAC;MACzB;IAAC,MAAM,EAAE
|
|
1
|
+
{"version":3,"file":"plan-frame-ranges.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/plan-frame-ranges.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,eAAe;gBAOf,MAAM;qBACD,MAAM;kBACT,mBAAmB,GAAG,IAAI;2BACjB,OAAO;gBAClB,CAAC,MAAM,EAAE,MAAM,CAAC;MACzB;IAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAAC,kBAAkB,EAAE,OAAO,CAAA;CA0B3D,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -3,9 +3,6 @@ export declare const getTimingForFrame: (profile: TimingProfile, frame: number)
|
|
|
3
3
|
export declare const getSimulatedTimingForFrameRange: (profile: TimingProfile, frameRange: [number, number]) => ChunkTimingData['timings'];
|
|
4
4
|
export declare const simulateFrameRanges: ({ profile, newFrameRanges, }: {
|
|
5
5
|
profile: TimingProfile;
|
|
6
|
-
newFrameRanges: [
|
|
7
|
-
number,
|
|
8
|
-
number
|
|
9
|
-
][];
|
|
6
|
+
newFrameRanges: [number, number][];
|
|
10
7
|
}) => TimingProfile;
|
|
11
8
|
//# sourceMappingURL=simulate-frame-ranges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulate-frame-ranges.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/simulate-frame-ranges.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,iBAAiB,kCAAmC,MAAM,WAoBtE,CAAC;AAEF,eAAO,MAAM,+BAA+B,uCAE/B,CAAC,MAAM,EAAE,MAAM,CAAC,KAC1B,eAAe,CAAC,SAAS,CAW3B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;oBAKf
|
|
1
|
+
{"version":3,"file":"simulate-frame-ranges.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/simulate-frame-ranges.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,iBAAiB,kCAAmC,MAAM,WAoBtE,CAAC;AAEF,eAAO,MAAM,+BAA+B,uCAE/B,CAAC,MAAM,EAAE,MAAM,CAAC,KAC1B,eAAe,CAAC,SAAS,CAW3B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;oBAKf,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;mBAclC,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/functions/fire.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/dist/functions/fire.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { _Object } from '@aws-sdk/client-s3';
|
|
2
2
|
import { RenderMetadata } from '../../shared/constants';
|
|
3
|
+
import { LambdaArchitecture } from '../../shared/validate-architecture';
|
|
3
4
|
import { OutputFileMetadata } from './find-output-file-in-bucket';
|
|
4
|
-
export declare const estimatePriceFromBucket: ({ contents, renderMetadata, memorySizeInMb, outputFileMetadata, }: {
|
|
5
|
+
export declare const estimatePriceFromBucket: ({ contents, renderMetadata, memorySizeInMb, outputFileMetadata, architecture, diskSizeInMb, lambdasInvoked, }: {
|
|
5
6
|
contents: _Object[];
|
|
6
7
|
renderMetadata: RenderMetadata | null;
|
|
7
8
|
memorySizeInMb: number;
|
|
8
9
|
outputFileMetadata: OutputFileMetadata | null;
|
|
10
|
+
architecture: LambdaArchitecture;
|
|
11
|
+
diskSizeInMb: number;
|
|
12
|
+
lambdasInvoked: number;
|
|
9
13
|
}) => number | null;
|
|
10
14
|
//# sourceMappingURL=calculate-price-from-bucket.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calculate-price-from-bucket.d.ts","sourceRoot":"","sources":["../../../src/functions/helpers/calculate-price-from-bucket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAsB,cAAc,EAAC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"calculate-price-from-bucket.d.ts","sourceRoot":"","sources":["../../../src/functions/helpers/calculate-price-from-bucket.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAsB,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAE3E,OAAO,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAEtE,OAAO,EAAC,kBAAkB,EAAC,MAAM,8BAA8B,CAAC;AAIhE,eAAO,MAAM,uBAAuB;cASzB,OAAO,EAAE;oBACH,cAAc,GAAG,IAAI;oBACrB,MAAM;wBACF,kBAAkB,GAAG,IAAI;kBAC/B,kBAAkB;kBAClB,MAAM;oBACJ,MAAM;mBA+CtB,CAAC"}
|
|
@@ -7,7 +7,7 @@ const parse_lambda_timings_key_1 = require("../../shared/parse-lambda-timings-ke
|
|
|
7
7
|
const calculate_chunk_times_1 = require("./calculate-chunk-times");
|
|
8
8
|
const get_current_region_1 = require("./get-current-region");
|
|
9
9
|
const get_time_to_finish_1 = require("./get-time-to-finish");
|
|
10
|
-
const estimatePriceFromBucket = ({ contents, renderMetadata, memorySizeInMb, outputFileMetadata, }) => {
|
|
10
|
+
const estimatePriceFromBucket = ({ contents, renderMetadata, memorySizeInMb, outputFileMetadata, architecture, diskSizeInMb, lambdasInvoked, }) => {
|
|
11
11
|
var _a, _b, _c;
|
|
12
12
|
if (!renderMetadata) {
|
|
13
13
|
return null;
|
|
@@ -35,6 +35,9 @@ const estimatePriceFromBucket = ({ contents, renderMetadata, memorySizeInMb, out
|
|
|
35
35
|
type: 'combined-time-for-cost-calculation',
|
|
36
36
|
}) + timeElapsedOfUnfinished,
|
|
37
37
|
memorySizeInMb,
|
|
38
|
+
architecture,
|
|
39
|
+
diskSizeInMb,
|
|
40
|
+
lambdasInvoked,
|
|
38
41
|
}).toPrecision(5));
|
|
39
42
|
return accruedSoFar;
|
|
40
43
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calculate-price-from-bucket.js","sourceRoot":"","sources":["../../../src/functions/helpers/calculate-price-from-bucket.ts"],"names":[],"mappings":";;;AACA,6DAAuD;AACvD,sDAA2E;AAC3E,oFAA4E;
|
|
1
|
+
{"version":3,"file":"calculate-price-from-bucket.js","sourceRoot":"","sources":["../../../src/functions/helpers/calculate-price-from-bucket.ts"],"names":[],"mappings":";;;AACA,6DAAuD;AACvD,sDAA2E;AAC3E,oFAA4E;AAE5E,mEAA4D;AAE5D,6DAAgE;AAChE,6DAAqD;AAE9C,MAAM,uBAAuB,GAAG,CAAC,EACvC,QAAQ,EACR,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,YAAY,EACZ,YAAY,EACZ,cAAc,GASd,EAAE,EAAE;;IACJ,IAAI,CAAC,cAAc,EAAE;QACpB,OAAO,IAAI,CAAC;KACZ;IAED,MAAM,aAAa,GAAG,QAAQ;SAC5B,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,WACb,OAAA,MAAA,CAAC,CAAC,GAAG,0CAAE,UAAU,CAAC,IAAA,+BAAmB,EAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAA,EAAA,CAC/D;SACA,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAA,gDAAqB,EAAC,CAAC,CAAC,GAAa,CAAC,CAAC,CAAC;IAErD,MAAM,YAAY,GAAG,IAAA,oCAAe,EAAC;QACpC,YAAY,EAAE,MAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,YAAY,mCAAI,IAAI;QACtD,cAAc;KACd,CAAC,CAAC;IAEH,MAAM,WAAW,GAChB,YAAY,KAAK,IAAI;QACpB,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,EAAE,GAAG,CAAC,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,WAAW,mCAAI,CAAC,CAAC,CAAC;QAC9D,CAAC,CAAC,YAAY,CAAC;IAEjB,MAAM,UAAU,GAAG,IAAI,CAAC,GAAG,CAC1B,CAAC,EACD,CAAC,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,WAAW,mCAAI,CAAC,CAAC,GAAG,aAAa,CAAC,MAAM,CACzD,CAAC;IACF,MAAM,uBAAuB,GAAG,IAAI,KAAK,CAAC,UAAU,CAAC;SACnD,IAAI,CAAC,IAAI,CAAC;SACV,GAAG,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC;SACtB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAE7B,MAAM,YAAY,GAAG,MAAM,CAC1B,IAAA,8BAAa,EAAC;QACb,MAAM,EAAE,IAAA,+CAA0B,GAAE;QACpC,qBAAqB,EACpB,IAAA,2CAAmB,EAAC;YACnB,QAAQ;YACR,QAAQ,EAAE,cAAc,CAAC,QAAQ;YACjC,IAAI,EAAE,oCAAoC;SAC1C,CAAC,GAAG,uBAAuB;QAC7B,cAAc;QACd,YAAY;QACZ,YAAY;QACZ,cAAc;KACd,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CACjB,CAAC;IACF,OAAO,YAAY,CAAC;AACrB,CAAC,CAAC;AA9DW,QAAA,uBAAuB,2BA8DlC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-post-render-data.d.ts","sourceRoot":"","sources":["../../../src/functions/helpers/create-post-render-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AACpD,OAAO,
|
|
1
|
+
{"version":3,"file":"create-post-render-data.d.ts","sourceRoot":"","sources":["../../../src/functions/helpers/create-post-render-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,oBAAoB,CAAC;AAE3C,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAGN,cAAc,EACd,cAAc,EACd,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAC,kBAAkB,EAAC,MAAM,8BAA8B,CAAC;AAMhE,OAAO,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AAIvD,eAAO,MAAM,oBAAoB;cAWtB,MAAM;yBACK,MAAM;YACnB,SAAS;oBACD,MAAM;oBACN,cAAc;cACpB,OAAO,EAAE;kBACL,MAAM;kBACN,MAAM;uBACD,iBAAiB,EAAE;gBAC1B,kBAAkB;6BA2F9B,CAAC"}
|
|
@@ -5,6 +5,7 @@ const estimate_price_1 = require("../../api/estimate-price");
|
|
|
5
5
|
const constants_1 = require("../../shared/constants");
|
|
6
6
|
const parse_lambda_timings_key_1 = require("../../shared/parse-lambda-timings-key");
|
|
7
7
|
const calculate_chunk_times_1 = require("./calculate-chunk-times");
|
|
8
|
+
const get_current_architecture_1 = require("./get-current-architecture");
|
|
8
9
|
const get_files_to_delete_1 = require("./get-files-to-delete");
|
|
9
10
|
const get_lambdas_invoked_stats_1 = require("./get-lambdas-invoked-stats");
|
|
10
11
|
const get_retry_stats_1 = require("./get-retry-stats");
|
|
@@ -21,6 +22,11 @@ const createPostRenderData = async ({ renderId, region, memorySizeInMb, renderMe
|
|
|
21
22
|
durationInMiliseconds: times,
|
|
22
23
|
memorySizeInMb,
|
|
23
24
|
region,
|
|
25
|
+
architecture: (0, get_current_architecture_1.getCurrentArchitecture)(),
|
|
26
|
+
lambdasInvoked: renderMetadata.estimatedTotalLambdaInvokations,
|
|
27
|
+
// We cannot determine the ephemeral storage size, so we
|
|
28
|
+
// overestimate the price, but will only have a miniscule effect (~0.2%)
|
|
29
|
+
diskSizeInMb: constants_1.MAX_EPHEMERAL_STORAGE_IN_MB,
|
|
24
30
|
});
|
|
25
31
|
if (!outputFile) {
|
|
26
32
|
throw new Error('Cannot wrap up without an output file in the S3 bucket.');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-post-render-data.js","sourceRoot":"","sources":["../../../src/functions/helpers/create-post-render-data.ts"],"names":[],"mappings":";;;AACA,6DAAuD;AAEvD,
|
|
1
|
+
{"version":3,"file":"create-post-render-data.js","sourceRoot":"","sources":["../../../src/functions/helpers/create-post-render-data.ts"],"names":[],"mappings":";;;AACA,6DAAuD;AAEvD,sDAKgC;AAChC,oFAA4E;AAC5E,mEAA4D;AAE5D,yEAAkE;AAClE,+DAAuD;AACvD,2EAAmE;AACnE,uDAAgD;AAChD,6DAAqD;AAGrD,MAAM,wBAAwB,GAAG,GAAG,CAAC;AAE9B,MAAM,oBAAoB,GAAG,KAAK,EAAE,EAC1C,QAAQ,EACR,MAAM,EACN,cAAc,EACd,cAAc,EACd,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,UAAU,GAYV,EAAE,EAAE;;IACJ,MAAM,eAAe,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,WAC7C,OAAA,MAAA,CAAC,CAAC,GAAG,0CAAE,UAAU,CAAC,IAAA,+BAAmB,EAAC,QAAQ,CAAC,CAAC,CAAA,EAAA,CAChD,CAAC;IAEF,MAAM,aAAa,GAAG,eAAe,CAAC,GAAG,CAAC,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CACnD,IAAA,gDAAqB,EAAC,GAAa,CAAC,CACpC,CAAC;IAEF,MAAM,KAAK,GAAG,aAAa;SACzB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,KAAK,GAAG,wBAAwB,CAAC;SAC3D,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAE1B,MAAM,IAAI,GAAG,IAAA,8BAAa,EAAC;QAC1B,qBAAqB,EAAE,KAAK;QAC5B,cAAc;QACd,MAAM;QACN,YAAY,EAAE,IAAA,iDAAsB,GAAE;QACtC,cAAc,EAAE,cAAc,CAAC,+BAA+B;QAC9D,wDAAwD;QACxD,wEAAwE;QACxE,YAAY,EAAE,uCAA2B;KACzC,CAAC,CAAC;IAEH,IAAI,CAAC,UAAU,EAAE;QAChB,MAAM,IAAI,KAAK,CAAC,yDAAyD,CAAC,CAAC;KAC3E;IAED,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;IAE3B,MAAM,YAAY,GAAG,IAAA,oCAAe,EAAC;QACpC,cAAc;QACd,YAAY,EAAE,OAAO;KACrB,CAAC,CAAC;IAEH,IAAI,CAAC,YAAY,EAAE;QAClB,MAAM,IAAI,SAAS,CAAC,qCAAqC,CAAC,CAAC;KAC3D;IAED,MAAM,UAAU,GAAG,QAAQ;SACzB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,WAAC,OAAA,MAAA,CAAC,CAAC,IAAI,mCAAI,CAAC,CAAA,EAAA,CAAC;SACvB,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;IAE7B,MAAM,EAAC,mBAAmB,EAAC,GAAG,IAAA,kDAAsB,EACnD,QAAQ,EACR,QAAQ,EACR,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,gCAAgC,mCAAI,IAAI,EACxD,cAAc,CAAC,WAAW,CAC1B,CAAC;IACF,MAAM,WAAW,GAAG,IAAA,+BAAa,EAAC,EAAC,QAAQ,EAAE,QAAQ,EAAC,CAAC,CAAC;IAExD,IAAI,mBAAmB,KAAK,IAAI,EAAE;QACjC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;KACtD;IAED,MAAM,IAAI,GAAmB;QAC5B,IAAI,EAAE;YACL,QAAQ,EAAE,KAAK;YACf,UAAU,EACT,qGAAqG;YACtG,aAAa,EAAE,IAAI;YACnB,oBAAoB,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;gBACpD,QAAQ,EAAE,KAAK;gBACf,eAAe,EAAE,cAAc;aAC/B,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC;SACf;QACD,UAAU,EAAE,UAAU,CAAC,GAAG;QAC1B,YAAY;QACZ,MAAM,EAAE,iBAAiB;QACzB,SAAS,EAAE,cAAc,CAAC,WAAW;QACrC,OAAO;QACP,UAAU,EAAE,UAAU,CAAC,IAAI;QAC3B,UAAU;QACV,cAAc;QACd,cAAc,EAAE,IAAA,sCAAgB,EAAC;YAChC,UAAU,EAAE,cAAc,CAAC,WAAW;YACtC,QAAQ;SACR,CAAC,CAAC,MAAM;QACT,YAAY;QACZ,aAAa,EAAE,YAAY;QAC3B,kBAAkB,EAAE,IAAA,2CAAmB,EAAC;YACvC,QAAQ;YACR,QAAQ;YACR,IAAI,EAAE,eAAe;SACrB,CAAC;QACF,mBAAmB;QACnB,WAAW;KACX,CAAC;IAEF,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AA/GW,QAAA,oBAAoB,wBA+G/B"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-current-architecture.d.ts","sourceRoot":"","sources":["../../../src/functions/helpers/get-current-architecture.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAEtE,eAAO,MAAM,sBAAsB,QAAO,kBAQzC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrentArchitecture = void 0;
|
|
4
|
+
const is_in_lambda_1 = require("../../shared/is-in-lambda");
|
|
5
|
+
const getCurrentArchitecture = () => {
|
|
6
|
+
if (!(0, is_in_lambda_1.isInsideLambda)()) {
|
|
7
|
+
throw new Error('Should not call getCurrentArchitecture() if not inside a lambda function');
|
|
8
|
+
}
|
|
9
|
+
return process.arch.includes('arm') ? 'arm64' : 'x86_64';
|
|
10
|
+
};
|
|
11
|
+
exports.getCurrentArchitecture = getCurrentArchitecture;
|
|
12
|
+
//# sourceMappingURL=get-current-architecture.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-current-architecture.js","sourceRoot":"","sources":["../../../src/functions/helpers/get-current-architecture.ts"],"names":[],"mappings":";;;AAAA,4DAAyD;AAGlD,MAAM,sBAAsB,GAAG,GAAuB,EAAE;IAC9D,IAAI,CAAC,IAAA,6BAAc,GAAE,EAAE;QACtB,MAAM,IAAI,KAAK,CACd,0EAA0E,CAC1E,CAAC;KACF;IAED,OAAO,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;AAC1D,CAAC,CAAC;AARW,QAAA,sBAAsB,0BAQjC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-progress.d.ts","sourceRoot":"","sources":["../../../src/functions/helpers/get-progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AACpD,OAAO,
|
|
1
|
+
{"version":3,"file":"get-progress.d.ts","sourceRoot":"","sources":["../../../src/functions/helpers/get-progress.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAKN,cAAc,EAEd,MAAM,wBAAwB,CAAC;AAqBhC,eAAO,MAAM,WAAW;gBAQX,MAAM;cACR,MAAM;yBACK,MAAM;YACnB,SAAS;oBACD,MAAM;0BACA,MAAM;MACzB,QAAQ,cAAc,CAoOzB,CAAC"}
|
|
@@ -9,6 +9,7 @@ const expected_out_name_1 = require("./expected-out-name");
|
|
|
9
9
|
const find_output_file_in_bucket_1 = require("./find-output-file-in-bucket");
|
|
10
10
|
const format_costs_info_1 = require("./format-costs-info");
|
|
11
11
|
const get_cleanup_progress_1 = require("./get-cleanup-progress");
|
|
12
|
+
const get_current_architecture_1 = require("./get-current-architecture");
|
|
12
13
|
const get_current_region_1 = require("./get-current-region");
|
|
13
14
|
const get_encoding_metadata_1 = require("./get-encoding-metadata");
|
|
14
15
|
const get_final_encoding_status_1 = require("./get-final-encoding-status");
|
|
@@ -21,7 +22,7 @@ const get_time_to_finish_1 = require("./get-time-to-finish");
|
|
|
21
22
|
const inspect_errors_1 = require("./inspect-errors");
|
|
22
23
|
const io_1 = require("./io");
|
|
23
24
|
const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region, memorySizeInMb, timeoutInMiliseconds, }) => {
|
|
24
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
25
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
25
26
|
const postRenderData = await (0, get_post_render_data_1.getPostRenderData)({
|
|
26
27
|
bucketName,
|
|
27
28
|
region,
|
|
@@ -111,23 +112,28 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
|
|
|
111
112
|
renderMetadata,
|
|
112
113
|
memorySizeInMb,
|
|
113
114
|
outputFileMetadata: outputFile,
|
|
115
|
+
architecture: (0, get_current_architecture_1.getCurrentArchitecture)(),
|
|
116
|
+
lambdasInvoked: (_a = renderMetadata === null || renderMetadata === void 0 ? void 0 : renderMetadata.estimatedRenderLambdaInvokations) !== null && _a !== void 0 ? _a : 0,
|
|
117
|
+
// We cannot determine the ephemeral storage size, so we
|
|
118
|
+
// overestimate the price, but will only have a miniscule effect (~0.2%)
|
|
119
|
+
diskSizeInMb: constants_1.MAX_EPHEMERAL_STORAGE_IN_MB,
|
|
114
120
|
}));
|
|
115
121
|
const cleanup = (0, get_cleanup_progress_1.getCleanupProgress)({
|
|
116
|
-
chunkCount: (
|
|
122
|
+
chunkCount: (_b = renderMetadata === null || renderMetadata === void 0 ? void 0 : renderMetadata.totalChunks) !== null && _b !== void 0 ? _b : 0,
|
|
117
123
|
contents,
|
|
118
|
-
output: (
|
|
124
|
+
output: (_c = outputFile === null || outputFile === void 0 ? void 0 : outputFile.url) !== null && _c !== void 0 ? _c : null,
|
|
119
125
|
renderId,
|
|
120
126
|
});
|
|
121
127
|
const timeToFinish = (0, get_time_to_finish_1.getTimeToFinish)({
|
|
122
|
-
lastModified: (
|
|
128
|
+
lastModified: (_d = outputFile === null || outputFile === void 0 ? void 0 : outputFile.lastModified) !== null && _d !== void 0 ? _d : null,
|
|
123
129
|
renderMetadata,
|
|
124
130
|
});
|
|
125
131
|
const chunks = contents.filter((c) => { var _a; return (_a = c.Key) === null || _a === void 0 ? void 0 : _a.startsWith((0, constants_1.chunkKey)(renderId)); });
|
|
126
|
-
const allChunks = chunks.length === ((
|
|
132
|
+
const allChunks = chunks.length === ((_e = renderMetadata === null || renderMetadata === void 0 ? void 0 : renderMetadata.totalChunks) !== null && _e !== void 0 ? _e : Infinity);
|
|
127
133
|
const renderSize = contents
|
|
128
134
|
.map((c) => { var _a; return (_a = c.Size) !== null && _a !== void 0 ? _a : 0; })
|
|
129
135
|
.reduce((a, b) => a + b, 0);
|
|
130
|
-
const lambdasInvokedStats = (0, get_lambdas_invoked_stats_1.getLambdasInvokedStats)(contents, renderId, (
|
|
136
|
+
const lambdasInvokedStats = (0, get_lambdas_invoked_stats_1.getLambdasInvokedStats)(contents, renderId, (_f = renderMetadata === null || renderMetadata === void 0 ? void 0 : renderMetadata.estimatedRenderLambdaInvokations) !== null && _f !== void 0 ? _f : null, (_g = renderMetadata === null || renderMetadata === void 0 ? void 0 : renderMetadata.startedDate) !== null && _g !== void 0 ? _g : null);
|
|
131
137
|
const retriesInfo = (0, get_retry_stats_1.getRetryStats)({
|
|
132
138
|
contents,
|
|
133
139
|
renderId,
|
|
@@ -139,7 +145,7 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
|
|
|
139
145
|
lambdaInvokeStatus: lambdasInvokedStats,
|
|
140
146
|
});
|
|
141
147
|
const chunkCount = outputFile
|
|
142
|
-
? (
|
|
148
|
+
? (_h = renderMetadata === null || renderMetadata === void 0 ? void 0 : renderMetadata.totalChunks) !== null && _h !== void 0 ? _h : 0
|
|
143
149
|
: chunks.length;
|
|
144
150
|
// We add a 20 second buffer for it, since AWS timeshifts can be quite a lot. Once it's 20sec over the limit, we consider it timed out
|
|
145
151
|
const isBeyondTimeout = renderMetadata &&
|
|
@@ -170,7 +176,7 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
|
|
|
170
176
|
renderId,
|
|
171
177
|
renderMetadata,
|
|
172
178
|
bucket: bucketName,
|
|
173
|
-
outputFile: (
|
|
179
|
+
outputFile: (_j = outputFile === null || outputFile === void 0 ? void 0 : outputFile.url) !== null && _j !== void 0 ? _j : null,
|
|
174
180
|
timeToFinish,
|
|
175
181
|
errors: allErrors,
|
|
176
182
|
fatalErrorEncountered: allErrors.some((f) => f.isFatal && !f.willRetry),
|
|
@@ -185,7 +191,7 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
|
|
|
185
191
|
type: 'absolute-time',
|
|
186
192
|
})
|
|
187
193
|
: null,
|
|
188
|
-
timeToInvokeLambdas: (
|
|
194
|
+
timeToInvokeLambdas: (_k = encodingStatus === null || encodingStatus === void 0 ? void 0 : encodingStatus.timeToInvoke) !== null && _k !== void 0 ? _k : lambdasInvokedStats.timeToInvokeLambdas,
|
|
189
195
|
overallProgress: (0, get_overall_progress_1.getOverallProgress)({
|
|
190
196
|
cleanup: cleanup ? cleanup.filesDeleted / cleanup.minFilesToDelete : 0,
|
|
191
197
|
encoding: finalEncodingStatus && renderMetadata
|