ugcinc 2.57.0 → 2.59.0
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/types.d.ts +4 -7
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ImageEditorElement
|
|
1
|
+
import type { ImageEditorElement, ImageEditorNodeConfig, DimensionPresetKey } from 'ugcinc-remotion';
|
|
2
2
|
/**
|
|
3
3
|
* API response types
|
|
4
4
|
*/
|
|
@@ -375,16 +375,14 @@ export interface ImageEditorConfig extends BaseEditorConfig {
|
|
|
375
375
|
}>;
|
|
376
376
|
dynamicCrop?: DynamicCropConfig;
|
|
377
377
|
}
|
|
378
|
-
export type ImageEditorElement
|
|
379
|
-
export
|
|
380
|
-
export type DimensionPresetKey = RemotionDimensionPresetKey;
|
|
381
|
-
export interface ImageEditorNodeInput {
|
|
378
|
+
export type { ImageEditorElement, ImageEditorNodeConfig, DimensionPresetKey };
|
|
379
|
+
export interface ImageEditorNodeInput extends Record<string, unknown> {
|
|
382
380
|
type: 'image-editor';
|
|
383
381
|
config: ImageEditorNodeConfig;
|
|
384
382
|
imageUrls: Record<string, string>;
|
|
385
383
|
textValues: Record<string, string>;
|
|
386
384
|
}
|
|
387
|
-
export interface ImageEditorNodeOutput {
|
|
385
|
+
export interface ImageEditorNodeOutput extends Record<string, unknown> {
|
|
388
386
|
output: string;
|
|
389
387
|
width: number;
|
|
390
388
|
height: number;
|
|
@@ -950,4 +948,3 @@ export interface UploadTokenResponse {
|
|
|
950
948
|
clientToken: string;
|
|
951
949
|
pathname: string;
|
|
952
950
|
}
|
|
953
|
-
export {};
|