From 85bae8f1c2882ae5959eae336e91064dfb4042f4 Mon Sep 17 00:00:00 2001 From: Nir Maoz <47939921+maoznir@users.noreply.github.com> Date: Mon, 15 Aug 2022 22:26:22 +0300 Subject: [PATCH] Fix action imports (#537) --- src/actions/conditional.ts | 2 +- src/actions/customFunction.ts | 2 +- src/actions/effect.ts | 2 +- src/actions/extract.ts | 2 +- src/actions/namedTransformation.ts | 2 +- src/actions/psdTools.ts | 2 +- src/actions/reshape.ts | 2 +- src/actions/roundCorners.ts | 2 +- src/actions/transcode.ts | 2 +- src/actions/underlay.ts | 2 +- src/actions/variable.ts | 2 +- src/actions/videoEdit.ts | 2 +- src/assets/CloudinaryFile.ts | 2 +- src/assets/CloudinaryTransformable.ts | 14 +++++++------- .../rotate/RotationModeQualifierValue.ts | 2 +- 15 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/actions/conditional.ts b/src/actions/conditional.ts index e012c167..19411b01 100644 --- a/src/actions/conditional.ts +++ b/src/actions/conditional.ts @@ -1,2 +1,2 @@ -import {Conditional, ifCondition, ConditionalAction } from "@cloudinary/transformation-builder-sdk/actions/conditional.js"; +import {Conditional, ifCondition, ConditionalAction } from "@cloudinary/transformation-builder-sdk/actions/conditional"; export {Conditional, ifCondition, ConditionalAction}; diff --git a/src/actions/customFunction.ts b/src/actions/customFunction.ts index e15eef4b..febfb255 100644 --- a/src/actions/customFunction.ts +++ b/src/actions/customFunction.ts @@ -1,2 +1,2 @@ -import {CustomFunction, remote, wasm} from "@cloudinary/transformation-builder-sdk/actions/customFunction.js"; +import {CustomFunction, remote, wasm} from "@cloudinary/transformation-builder-sdk/actions/customFunction"; export {CustomFunction, remote, wasm}; diff --git a/src/actions/effect.ts b/src/actions/effect.ts index 85207213..cc50c4ff 100644 --- a/src/actions/effect.ts +++ b/src/actions/effect.ts @@ -34,7 +34,7 @@ import { dither, removeBackground, theme -} from "@cloudinary/transformation-builder-sdk/actions/effect.js"; +} from "@cloudinary/transformation-builder-sdk/actions/effect"; export { EffectActions, diff --git a/src/actions/extract.ts b/src/actions/extract.ts index b774a7e2..5991f655 100644 --- a/src/actions/extract.ts +++ b/src/actions/extract.ts @@ -1,2 +1,2 @@ -import {getFrame, getPage, ExtractAction, Extract} from "@cloudinary/transformation-builder-sdk/actions/extract.js"; +import {getFrame, getPage, ExtractAction, Extract} from "@cloudinary/transformation-builder-sdk/actions/extract"; export {getFrame, getPage, ExtractAction, Extract}; diff --git a/src/actions/namedTransformation.ts b/src/actions/namedTransformation.ts index 5d76ecf4..08f3c613 100644 --- a/src/actions/namedTransformation.ts +++ b/src/actions/namedTransformation.ts @@ -1,3 +1,3 @@ -import {NamedTransformation, name} from "@cloudinary/transformation-builder-sdk/actions/namedTransformation.js"; +import {NamedTransformation, name} from "@cloudinary/transformation-builder-sdk/actions/namedTransformation"; export {NamedTransformation, name}; diff --git a/src/actions/psdTools.ts b/src/actions/psdTools.ts index 392d9599..38ea6c8d 100644 --- a/src/actions/psdTools.ts +++ b/src/actions/psdTools.ts @@ -1,2 +1,2 @@ -import {PSDTools, clip, getLayer, smartObject} from "@cloudinary/transformation-builder-sdk/actions/psdTools.js"; +import {PSDTools, clip, getLayer, smartObject} from "@cloudinary/transformation-builder-sdk/actions/psdTools"; export {PSDTools, clip, getLayer, smartObject}; diff --git a/src/actions/reshape.ts b/src/actions/reshape.ts index d70c932a..ab4f9e85 100644 --- a/src/actions/reshape.ts +++ b/src/actions/reshape.ts @@ -1,3 +1,3 @@ import {cutByImage, Reshape, IReshape, distortArc, distort, shear, trim} - from "@cloudinary/transformation-builder-sdk/actions/reshape.js"; + from "@cloudinary/transformation-builder-sdk/actions/reshape"; export {cutByImage, Reshape, IReshape, distortArc, distort, shear, trim}; diff --git a/src/actions/roundCorners.ts b/src/actions/roundCorners.ts index 599e9262..00e98b07 100644 --- a/src/actions/roundCorners.ts +++ b/src/actions/roundCorners.ts @@ -1,4 +1,4 @@ -import {RoundCorners, byRadius, max} from "@cloudinary/transformation-builder-sdk/actions/roundCorners.js"; +import {RoundCorners, byRadius, max} from "@cloudinary/transformation-builder-sdk/actions/roundCorners"; export {RoundCorners, byRadius, max}; diff --git a/src/actions/transcode.ts b/src/actions/transcode.ts index 4bc6dbec..82b49cb2 100644 --- a/src/actions/transcode.ts +++ b/src/actions/transcode.ts @@ -1,4 +1,4 @@ import {ITranscodeAction, Transcode, bitRate, audioCodec, audioFrequency, fps, fpsRange, keyframeInterval, streamingProfile, toAnimated, videoCodec} - from "@cloudinary/transformation-builder-sdk/actions/transcode.js"; + from "@cloudinary/transformation-builder-sdk/actions/transcode"; export {ITranscodeAction, Transcode, bitRate, audioCodec, audioFrequency, fps, fpsRange, keyframeInterval, streamingProfile, toAnimated, videoCodec}; diff --git a/src/actions/underlay.ts b/src/actions/underlay.ts index d8368402..ab2b8712 100644 --- a/src/actions/underlay.ts +++ b/src/actions/underlay.ts @@ -1,3 +1,3 @@ -import {Underlay, source} from "@cloudinary/transformation-builder-sdk/actions/underlay.js"; +import {Underlay, source} from "@cloudinary/transformation-builder-sdk/actions/underlay"; export {Underlay, source}; diff --git a/src/actions/variable.ts b/src/actions/variable.ts index 82b50961..c4def947 100644 --- a/src/actions/variable.ts +++ b/src/actions/variable.ts @@ -7,7 +7,7 @@ import { setFromContext, setFromMetadata, Variable -} from "@cloudinary/transformation-builder-sdk/actions/variable.js"; +} from "@cloudinary/transformation-builder-sdk/actions/variable"; export { set, diff --git a/src/actions/videoEdit.ts b/src/actions/videoEdit.ts index 12c52549..1b917e5a 100644 --- a/src/actions/videoEdit.ts +++ b/src/actions/videoEdit.ts @@ -1,3 +1,3 @@ -import {VideoEdit, concatenate, trim, volume, preview, videoEditType} from "@cloudinary/transformation-builder-sdk/actions/videoEdit.js"; +import {VideoEdit, concatenate, trim, volume, preview, videoEditType} from "@cloudinary/transformation-builder-sdk/actions/videoEdit"; export {VideoEdit, concatenate, trim, volume, preview, videoEditType}; diff --git a/src/assets/CloudinaryFile.ts b/src/assets/CloudinaryFile.ts index 36858ddb..67e84f0c 100644 --- a/src/assets/CloudinaryFile.ts +++ b/src/assets/CloudinaryFile.ts @@ -4,7 +4,7 @@ import { handleAssetType, handleDeliveryType } from "../internal/url/cloudinaryURL.js"; -import {Transformation} from "@cloudinary/transformation-builder-sdk/transformation/Transformation.js"; +import {Transformation} from "@cloudinary/transformation-builder-sdk/transformation/Transformation"; import ICloudConfig from "../config/interfaces/Config/ICloudConfig.js"; import IURLConfig from "../config/interfaces/Config/IURLConfig.js"; import IAuthTokenConfig from "../config/interfaces/Config/IAuthTokenConfig.js"; diff --git a/src/assets/CloudinaryTransformable.ts b/src/assets/CloudinaryTransformable.ts index 803546b8..0d3ac958 100644 --- a/src/assets/CloudinaryTransformable.ts +++ b/src/assets/CloudinaryTransformable.ts @@ -1,20 +1,20 @@ import { BorderAction } from "../actions/border.js"; import { IReshape } from "../actions/reshape.js"; -import { ResizeSimpleAction } from "@cloudinary/transformation-builder-sdk/actions/resize/ResizeSimpleAction.js"; -import RoundCornersAction from "@cloudinary/transformation-builder-sdk/actions/roundCorners/RoundCornersAction.js"; +import { ResizeSimpleAction } from "@cloudinary/transformation-builder-sdk/actions/resize/ResizeSimpleAction"; +import RoundCornersAction from "@cloudinary/transformation-builder-sdk/actions/roundCorners/RoundCornersAction"; import { LayerAction } from "../actions/layer/LayerAction.js"; -import VariableAction from "@cloudinary/transformation-builder-sdk/actions/variable/VariableAction.js"; +import VariableAction from "@cloudinary/transformation-builder-sdk/actions/variable/VariableAction"; import { ConditionalAction } from "../actions/conditional.js"; import { Action } from "../internal/Action.js"; -import RotateAction from "@cloudinary/transformation-builder-sdk/actions/rotate/RotateAction.js"; -import { NamedTransformationAction } from "@cloudinary/transformation-builder-sdk/actions/namedTransformation/NamedTransformationAction.js"; +import RotateAction from "@cloudinary/transformation-builder-sdk/actions/rotate/RotateAction"; +import { NamedTransformationAction } from "@cloudinary/transformation-builder-sdk/actions/namedTransformation/NamedTransformationAction"; import { SystemColors } from "../qualifiers/color.js"; import { ExtractAction } from "../actions/extract.js"; import { SmartObjectAction } from "../actions/psdTools/SmartObjectAction.js"; import { ClipAction } from "../actions/psdTools/ClipAction.js"; import { GetLayerAction } from "../actions/psdTools/GetLayerAction.js"; import { FlagQualifier } from "../qualifiers/flag/FlagQualifier.js"; -import CustomFunctionAction from "@cloudinary/transformation-builder-sdk/actions/customFunction/CustomFunctionAction.js"; +import CustomFunctionAction from "@cloudinary/transformation-builder-sdk/actions/customFunction/CustomFunctionAction"; import { EffectActions } from "../actions/effect.js"; import { CloudinaryFile } from "./CloudinaryFile.js"; import { Transformation } from "../transformation/Transformation.js"; @@ -24,7 +24,7 @@ import { IDeliveryAction } from "../actions/delivery.js"; import { IAdjustAction } from "../actions/adjust.js"; import { ITrackedPropertiesThroughAnalytics } from "../sdkAnalytics/interfaces/ITrackedPropertiesThroughAnalytics.js"; import { AnimatedAction } from "../actions/animated.js"; -import { DeliveryFormatAction } from "@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction.js"; +import { DeliveryFormatAction } from "@cloudinary/transformation-builder-sdk/actions/delivery/DeliveryFormatAction"; /** * @desc Cloudinary Transformable interface, extended by any class that needs a Transformation Interface diff --git a/src/qualifiers/rotate/RotationModeQualifierValue.ts b/src/qualifiers/rotate/RotationModeQualifierValue.ts index 3a6ff641..0fd74e8f 100644 --- a/src/qualifiers/rotate/RotationModeQualifierValue.ts +++ b/src/qualifiers/rotate/RotationModeQualifierValue.ts @@ -1,3 +1,3 @@ -import { RotationModeQualifierValue } from "@cloudinary/transformation-builder-sdk/qualifiers/rotate/RotationModeQualifierValue.js"; +import { RotationModeQualifierValue } from "@cloudinary/transformation-builder-sdk/qualifiers/rotate/RotationModeQualifierValue"; export {RotationModeQualifierValue};