microboard-temp 0.14.6 → 0.14.7

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.
Files changed (78) hide show
  1. package/dist/cjs/browser.js +51728 -55206
  2. package/dist/cjs/index.js +56609 -60082
  3. package/dist/cjs/node.js +69238 -72716
  4. package/dist/esm/browser.js +56095 -59510
  5. package/dist/esm/index.js +46759 -50169
  6. package/dist/esm/node.js +54322 -57731
  7. package/dist/types/Color/Color.schema.d.ts +21 -0
  8. package/dist/types/Events/BaseCommand.d.ts +4 -4
  9. package/dist/types/Events/EventsOperations.d.ts +9 -1
  10. package/dist/types/Events/MessageRouter/socketContract.d.ts +54 -54
  11. package/dist/types/Events/index.d.ts +1 -1
  12. package/dist/types/Items/AINode/AINode.d.ts +7 -1
  13. package/dist/types/Items/AINode/AINode.schema.d.ts +47 -0
  14. package/dist/types/Items/Audio/Audio.d.ts +4 -4
  15. package/dist/types/Items/Audio/Audio.schema.d.ts +15 -0
  16. package/dist/types/Items/BaseItem/BaseItem.d.ts +38 -10
  17. package/dist/types/Items/BaseItem/TransformContext.d.ts +40 -0
  18. package/dist/types/Items/BaseItem/toLocalTransformOp.d.ts +10 -0
  19. package/dist/types/Items/Comment/Comment.d.ts +7 -4
  20. package/dist/types/Items/Comment/Comment.schema.d.ts +51 -0
  21. package/dist/types/Items/Connector/Connector.d.ts +9 -12
  22. package/dist/types/Items/Connector/Connector.schema.d.ts +172 -0
  23. package/dist/types/Items/Connector/connectorOps.d.ts +0 -11
  24. package/dist/types/Items/Drawing/Drawing.d.ts +8 -5
  25. package/dist/types/Items/Drawing/Drawing.schema.d.ts +42 -0
  26. package/dist/types/Items/Drawing/index.d.ts +0 -1
  27. package/dist/types/Items/Examples/CardGame/Card/Card.d.ts +1 -1
  28. package/dist/types/Items/Examples/CardGame/Deck/Deck.d.ts +0 -1
  29. package/dist/types/Items/Examples/CardGame/Dice/Dice.d.ts +1 -1
  30. package/dist/types/Items/Examples/CardGame/Screen/Screen.d.ts +1 -1
  31. package/dist/types/Items/Examples/Star/Star.d.ts +3 -0
  32. package/dist/types/Items/Frame/Frame.d.ts +12 -13
  33. package/dist/types/Items/Frame/Frame.schema.d.ts +84 -0
  34. package/dist/types/Items/Geometry.d.ts +4 -0
  35. package/dist/types/Items/Group/Group.d.ts +4 -4
  36. package/dist/types/Items/Group/Group.schema.d.ts +16 -0
  37. package/dist/types/Items/Image/Image.d.ts +4 -5
  38. package/dist/types/Items/Image/Image.schema.d.ts +23 -0
  39. package/dist/types/Items/Item.d.ts +1 -1
  40. package/dist/types/Items/Mbr/Mbr.d.ts +0 -1
  41. package/dist/types/Items/Placeholder/Placeholder.d.ts +7 -8
  42. package/dist/types/Items/Placeholder/Placeholder.schema.d.ts +16 -0
  43. package/dist/types/Items/Point/Point.schema.d.ts +6 -0
  44. package/dist/types/Items/RegisterItem.d.ts +5 -3
  45. package/dist/types/Items/Renderers/index.d.ts +1 -0
  46. package/dist/types/Items/RichText/RichText.d.ts +13 -12
  47. package/dist/types/Items/RichText/RichText.schema.d.ts +77 -0
  48. package/dist/types/Items/Shape/Shape.d.ts +13 -12
  49. package/dist/types/Items/Shape/Shape.schema.d.ts +81 -0
  50. package/dist/types/Items/Shape/ShapeData.d.ts +1 -1
  51. package/dist/types/Items/Shape/index.d.ts +0 -1
  52. package/dist/types/Items/Sticker/Sticker.d.ts +5 -5
  53. package/dist/types/Items/Sticker/Sticker.schema.d.ts +57 -0
  54. package/dist/types/Items/Sticker/index.d.ts +0 -1
  55. package/dist/types/Items/Transformation/Transformation.schema.d.ts +10 -0
  56. package/dist/types/Items/Video/Video.d.ts +5 -6
  57. package/dist/types/Items/Video/Video.schema.d.ts +25 -0
  58. package/dist/types/Items/index.d.ts +0 -3
  59. package/dist/types/Items/itemSchemas.d.ts +2 -0
  60. package/dist/types/Items/propertyOps.d.ts +9 -0
  61. package/dist/types/RegistryMaps.d.ts +32 -0
  62. package/dist/types/Selection/Transformer/TransformerHelpers/getResizeType.d.ts +2 -1
  63. package/dist/types/Selection/Transformer/TransformerHelpers/handleMultipleItemsResize.d.ts +1 -1
  64. package/dist/types/Selection/Transformer/TransformerHelpers/transformAINode.d.ts +2 -2
  65. package/dist/types/Selection/Transformer/TransformerHelpers/transformItems.d.ts +1 -1
  66. package/dist/types/Selection/Transformer/TransformerHelpers/transformRichText.d.ts +3 -3
  67. package/dist/types/Selection/Transformer/TransformerHelpers/transformShape.d.ts +5 -5
  68. package/dist/types/Tools/Tools.d.ts +2 -3
  69. package/dist/types/Validators/Validators.d.ts +3 -1
  70. package/dist/types/itemFactories.d.ts +21 -34
  71. package/dist/types/parserHTML.d.ts +2 -2
  72. package/package.json +1 -1
  73. package/dist/types/Items/Audio/audioOps.d.ts +0 -5
  74. package/dist/types/Items/Drawing/drawingOps.d.ts +0 -14
  75. package/dist/types/Items/Image/imageOps.d.ts +0 -5
  76. package/dist/types/Items/Shape/shapeOps.d.ts +0 -19
  77. package/dist/types/Items/Sticker/stickerOps.d.ts +0 -9
  78. package/dist/types/Items/Video/videoOps.d.ts +0 -9
@@ -0,0 +1,25 @@
1
+ import { z } from "zod";
2
+ export declare const DimensionSchema: z.ZodObject<{
3
+ height: z.ZodNumber;
4
+ width: z.ZodNumber;
5
+ }, z.core.$strip>;
6
+ export declare const VideoItemDataSchema: z.ZodObject<{
7
+ itemType: z.ZodLiteral<"Video">;
8
+ url: z.ZodOptional<z.ZodString>;
9
+ videoDimension: z.ZodObject<{
10
+ height: z.ZodNumber;
11
+ width: z.ZodNumber;
12
+ }, z.core.$strip>;
13
+ transformation: z.ZodObject<{
14
+ translateX: z.ZodNumber;
15
+ translateY: z.ZodNumber;
16
+ scaleX: z.ZodNumber;
17
+ scaleY: z.ZodNumber;
18
+ rotate: z.ZodNumber;
19
+ isLocked: z.ZodOptional<z.ZodBoolean>;
20
+ }, z.core.$strip>;
21
+ isStorageUrl: z.ZodBoolean;
22
+ previewUrl: z.ZodOptional<z.ZodString>;
23
+ extension: z.ZodString;
24
+ }, z.core.$strip>;
25
+ export type VideoItemData = z.infer<typeof VideoItemDataSchema>;
@@ -15,12 +15,9 @@ export * from "./Shape";
15
15
  export * from "./Sticker";
16
16
  export * from "./Frame";
17
17
  export * from "./Video";
18
- export { videoOps } from "./Video/videoOps";
19
18
  export * from "./Audio";
20
- export { audioOps } from "./Audio/audioOps";
21
19
  export * from "./AINode";
22
20
  export * from "./Image";
23
- export { imageOps } from "./Image/imageOps";
24
21
  export * from "./Drawing";
25
22
  export * from "./Placeholder";
26
23
  export * from "./Group";
@@ -0,0 +1,2 @@
1
+ import { z } from "zod";
2
+ export declare const itemSchemas: Record<string, z.ZodObject<any, z.core.$strip>>;
@@ -0,0 +1,9 @@
1
+ import { SetPropertyOperation } from "../Events/EventsOperations";
2
+ type ItemLike = {
3
+ getId(): string;
4
+ };
5
+ export type ItemOrId = ItemLike | string;
6
+ export declare const propertyOps: {
7
+ setProperty(items: readonly ItemLike[], property: string, value: unknown): SetPropertyOperation;
8
+ };
9
+ export {};
@@ -0,0 +1,32 @@
1
+ import type { ItemData, Item } from "./Items/Item";
2
+ import type { Board } from "./Board";
3
+ import type { ItemValidator } from "./Validators";
4
+ import type { ItemCommandFactory } from "./Events/Command";
5
+ import type { CustomTool } from "./Tools/CustomTool";
6
+ import type { z } from "zod";
7
+ export interface ItemFactory {
8
+ (id: string, data: ItemData, board: Board): Item;
9
+ }
10
+ export type CustomToolConstructor = new (board: Board, name: string, ...args: any[]) => CustomTool;
11
+ export declare const itemFactories: Record<string, ItemFactory>;
12
+ export type ItemFactories = typeof itemFactories;
13
+ export declare const itemValidators: Record<string, ItemValidator>;
14
+ export declare const itemCommandFactories: Record<string, ItemCommandFactory>;
15
+ export declare const registeredTools: Record<string, CustomToolConstructor>;
16
+ export declare const itemSchemas: Record<string, z.ZodObject<any>>;
17
+ import type { StickerData } from "./Items/Sticker/StickerOperation";
18
+ import type { AINodeData } from "./Items/AINode";
19
+ import type { ConnectorData } from "./Items/Connector/ConnectorOperations";
20
+ import type { ImageItemData } from "./Items/Image";
21
+ import type { VideoItemData } from "./Items/Video";
22
+ import type { AudioItemData } from "./Items/Audio";
23
+ import type { FrameData } from "./Items/Frame/FrameData";
24
+ import type { GroupData } from "./Items/Group";
25
+ export declare function isStickerData(data: ItemData): data is StickerData;
26
+ export declare function isAINodeData(data: ItemData): data is AINodeData;
27
+ export declare function isConnectorData(data: ItemData): data is ConnectorData;
28
+ export declare function isImageItemData(data: ItemData): data is ImageItemData;
29
+ export declare function isVideoItemData(data: ItemData): data is VideoItemData;
30
+ export declare function isAudioItemData(data: ItemData): data is AudioItemData;
31
+ export declare function isFrameData(data: ItemData): data is FrameData;
32
+ export declare function isGroupData(data: ItemData): data is GroupData;
@@ -1,3 +1,4 @@
1
- import { Point, Mbr } from "../../../Items";
1
+ import { Point } from "../../../Items/Point/Point";
2
+ import { Mbr } from "../../../Items/Mbr/Mbr";
2
3
  export type ResizeType = "left" | "top" | "right" | "bottom" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
3
4
  export declare function getResizeType(cursorPoint: Point, cameraScale: number, mbr?: Mbr, anchorDistance?: number): ResizeType | undefined;
@@ -1,6 +1,6 @@
1
1
  import { Matrix } from "../../../Items/Transformation/Matrix";
2
2
  import { Mbr } from "../../../Items/Mbr/Mbr";
3
- import { Item } from "../../../Items/Item";
3
+ import type { Item } from "../../../Items/Item";
4
4
  import { ApplyMatrixItem } from "../../../Items/Transformation/TransformationOperations";
5
5
  import { Board } from "../../../Board";
6
6
  export declare function handleMultipleItemsResize({ board, resize, itemsToResize, isHeight, isWidth, initMbr, isShiftPressed, }: {
@@ -3,7 +3,7 @@ import { Board } from "../../../Board";
3
3
  import { ResizeType } from "../../Transformer/TransformerHelpers/getResizeType";
4
4
  import { Point } from "../../../Items/Point/Point";
5
5
  import type { Comment } from "../../../Items/Comment/Comment";
6
- import { AINode } from "../../../Items/AINode/AINode";
6
+ import type { AINode } from "../../../Items/AINode/AINode";
7
7
  export declare function transformAINode({ board, mbr, isWidth, resizeType, single, oppositePoint, isHeight, isShiftPressed, followingComments, }: {
8
8
  board: Board;
9
9
  single: AINode;
@@ -13,5 +13,5 @@ export declare function transformAINode({ board, mbr, isWidth, resizeType, singl
13
13
  isWidth: boolean;
14
14
  isHeight: boolean;
15
15
  isShiftPressed: boolean;
16
- followingComments: Comment[] | undefined;
16
+ followingComments?: Comment[];
17
17
  }): Mbr;
@@ -6,7 +6,7 @@ import AlignmentHelper from "../../../Tools/RelativeAlignment";
6
6
  import { Mbr } from "../../../Items/Mbr/Mbr";
7
7
  import { ResizeType } from "../../Transformer/TransformerHelpers/getResizeType";
8
8
  import { DebounceUpdater } from "../../../Tools/DebounceUpdater/DebounceUpdater";
9
- import { Item } from "../../../Items/Item";
9
+ import type { Item } from "../../../Items/Item";
10
10
  export declare function transformItems({ board, selection, canvasDrawer, alignmentHelper, debounceUpd, resizeType, mbr, oppositePoint, isWidth, isHeight, isShiftPressed, beginTimeStamp, single, snapCursorPos, setSnapCursorPos, }: {
11
11
  board: Board;
12
12
  snapCursorPos: Point | null;
@@ -1,11 +1,11 @@
1
1
  import { Mbr } from "../../../Items/Mbr/Mbr";
2
2
  import { Board } from "../../../Board";
3
- import { RichText } from "../../../Items/RichText/RichText";
3
+ import type { RichText } from "../../../Items/RichText/RichText";
4
4
  import { ResizeType } from "../../Transformer/TransformerHelpers/getResizeType";
5
5
  import { Point } from "../../../Items/Point/Point";
6
6
  import type { Comment } from "../../../Items/Comment/Comment";
7
7
  import { Matrix } from "../../../Items/Transformation/Matrix";
8
- import { AINode } from "../../../Items/AINode/AINode";
8
+ import type { AINode } from "../../../Items/AINode/AINode";
9
9
  export declare function transformRichText({ board, mbr, isWidth, resizeType, single, oppositePoint, isHeight, isShiftPressed, followingComments, }: {
10
10
  board: Board;
11
11
  single: RichText;
@@ -15,7 +15,7 @@ export declare function transformRichText({ board, mbr, isWidth, resizeType, sin
15
15
  isWidth: boolean;
16
16
  isHeight: boolean;
17
17
  isShiftPressed: boolean;
18
- followingComments: Comment[] | undefined;
18
+ followingComments?: Comment[];
19
19
  }): {
20
20
  resizedMbr: Mbr;
21
21
  onPointerUpCb?: () => void;
@@ -1,12 +1,12 @@
1
1
  import { ApplyMatrixItem } from "../../../Items/Transformation/TransformationOperations";
2
2
  import { Mbr } from "../../../Items/Mbr/Mbr";
3
- import { Sticker } from "../../../Items/Sticker/Sticker";
4
- import { Shape } from "../../../Items/Shape/Shape";
5
- import { Frame } from "../../../Items/Frame/Frame";
3
+ import type { Sticker } from "../../../Items/Sticker/Sticker";
4
+ import type { Shape } from "../../../Items/Shape/Shape";
5
+ import type { Frame } from "../../../Items/Frame/Frame";
6
6
  import { Board } from "../../../Board";
7
7
  import { ResizeType } from "../../Transformer/TransformerHelpers/getResizeType";
8
- import { Point } from "../../../Items/Point/Point";
9
- import { Comment } from "../../../Items/Comment/Comment";
8
+ import type { Point } from "../../../Items/Point/Point";
9
+ import type { Comment } from "../../../Items/Comment/Comment";
10
10
  export declare function transformShape({ mbr, board, single, oppositePoint, resizeType, isShiftPressed, isHeight, isWidth, startMbr, followingComments, beginTimeStamp, }: {
11
11
  single: Sticker | Shape | Frame;
12
12
  board: Board;
@@ -15,10 +15,9 @@ import { Navigate } from "./Navigate";
15
15
  import { Select } from "./Select";
16
16
  import { ToolContext } from "./ToolContext";
17
17
  import { Subject } from "../Subject";
18
- import { CustomTool } from "./CustomTool";
19
18
  import { Tool } from "./Tool";
20
- export type CustomToolConstructor = new (board: Board, name: string, ...args: any[]) => CustomTool;
21
- export declare const registeredTools: Record<string, CustomToolConstructor>;
19
+ export type { CustomToolConstructor } from "../RegistryMaps";
20
+ export declare const registeredTools: Record<string, import("./Tools").CustomToolConstructor>;
22
21
  export declare class Tools extends ToolContext {
23
22
  protected board: Board;
24
23
  readonly subject: Subject<Tools>;
@@ -2,5 +2,7 @@ import { ItemData } from "../Items";
2
2
  export type ItemsMap = Record<string, ItemData>;
3
3
  export declare function validateItemsMap(parsedObject: unknown): parsedObject is ItemsMap;
4
4
  export type ItemValidator = (data: unknown) => boolean;
5
- export declare const itemValidators: Record<string, ItemValidator>;
5
+ export declare function validateItemData(itemData: unknown): boolean;
6
6
  export declare function validateRichTextData(richTextData: unknown): boolean;
7
+ export declare function validateTransformationData(transformationData: unknown): boolean;
8
+ export declare function validatePointData(pointData: unknown): boolean;
@@ -1,34 +1,21 @@
1
- import { Board } from "./Board";
2
- import type { RichTextData } from "./Items/RichText/RichTextData";
3
- import type { ItemData, Item } from "./Items/Item";
4
- import type { ShapeData } from "./Items/Shape/ShapeData";
5
- import type { ConnectorData } from "./Items/Connector/ConnectorOperations";
6
- import type { FrameData } from "./Items/Frame/FrameData";
7
- import { AINodeData } from "./Items/AINode";
8
- import { AudioItemData } from "./Items/Audio";
9
- import { DrawingData } from "./Items/Drawing";
10
- import { GroupData } from "./Items/Group";
11
- import { ImageItemData } from "./Items/Image";
12
- import { PlaceholderData } from "./Items/Placeholder";
13
- import { StickerData } from "./Items/Sticker/StickerOperation";
14
- import { VideoItemData } from "./Items/Video";
15
- import { CommentData } from "./Items/Comment";
16
- interface ItemFactory {
17
- (id: string, data: ItemData, board: Board): Item;
18
- }
19
- export type ItemFactories = Record<string, ItemFactory>;
20
- export declare const itemFactories: ItemFactories;
21
- export declare function isStickerData(data: ItemData): data is StickerData;
22
- export declare function isCommentData(data: ItemData): data is CommentData;
23
- export declare function isAINodeData(data: ItemData): data is AINodeData;
24
- export declare function isShapeData(data: ItemData): data is ShapeData;
25
- export declare function isRichTextData(data: ItemData): data is RichTextData;
26
- export declare function isConnectorData(data: ItemData): data is ConnectorData;
27
- export declare function isImageItemData(data: ItemData): data is ImageItemData;
28
- export declare function isVideoItemData(data: ItemData): data is VideoItemData;
29
- export declare function isAudioItemData(data: ItemData): data is AudioItemData;
30
- export declare function isDrawingData(data: ItemData): data is DrawingData;
31
- export declare function isFrameData(data: ItemData): data is FrameData;
32
- export declare function isPlaceholderData(data: ItemData): data is PlaceholderData;
33
- export declare function isGroupData(data: ItemData): data is GroupData;
34
- export {};
1
+ export type { ItemFactories } from "./RegistryMaps";
2
+ export declare const itemFactories: Record<string, import("./RegistryMaps").ItemFactory>;
3
+ import "./Items/Shape/Shape";
4
+ import "./Items/Sticker/Sticker";
5
+ import "./Items/RichText/RichText";
6
+ import "./Items/Connector/Connector";
7
+ import "./Items/Image/Image";
8
+ import "./Items/Drawing/Drawing";
9
+ import "./Items/Frame/Frame";
10
+ import "./Items/Placeholder/Placeholder";
11
+ import "./Items/Comment/Comment";
12
+ import "./Items/Group/Group";
13
+ import "./Items/AINode/AINode";
14
+ import "./Items/Video/Video";
15
+ import "./Items/Audio/Audio";
16
+ import "./Items/Examples/Star/Star";
17
+ import "./Items/Examples/Counter/Counter";
18
+ import "./Items/Examples/CardGame/Card/Card";
19
+ import "./Items/Examples/CardGame/Deck/Deck";
20
+ import "./Items/Examples/CardGame/Dice/Dice";
21
+ import "./Items/Examples/CardGame/Screen/Screen";
@@ -1,9 +1,9 @@
1
1
  import { ItemType, ItemDataWithId } from "./Items/Item";
2
2
  import { BaseItemData } from "./Items/BaseItem/BaseItem";
3
- type MapTagByType = Record<ItemType, string>;
3
+ type MapTagByType = Partial<Record<ItemType, string>>;
4
4
  export declare const tagByType: MapTagByType;
5
5
  type TagFactories = {
6
- [K in keyof MapTagByType as MapTagByType[K]]: (el: HTMLElement) => ItemDataWithId | {
6
+ [K in keyof typeof tagByType as NonNullable<typeof tagByType[K]>]: (el: HTMLElement) => ItemDataWithId | {
7
7
  data: BaseItemData & {
8
8
  id: string;
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.14.6",
3
+ "version": "0.14.7",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1,5 +0,0 @@
1
- import { AudioItem } from "./Audio";
2
- import { AudioOperation } from "./AudioOperation";
3
- export declare const audioOps: {
4
- setUrl: (items: AudioItem[], url: string) => AudioOperation;
5
- };
@@ -1,14 +0,0 @@
1
- import { ColorValue } from "../../..";
2
- import { Operation } from "../../Events";
3
- import { BorderStyle, BorderWidth } from "../Path";
4
- interface ItemLike {
5
- getId(): string;
6
- getStrokeWidth(): BorderWidth;
7
- }
8
- export declare const drawingOps: {
9
- setStrokeColor(items: ItemLike[], color: ColorValue): Operation;
10
- setStrokeWidth(items: ItemLike[], width: BorderWidth): Operation;
11
- setBorderStyle(items: ItemLike[], style: BorderStyle): Operation;
12
- setStrokeOpacity(items: ItemLike[], opacity: number): Operation;
13
- };
14
- export {};
@@ -1,5 +0,0 @@
1
- import { ImageItem, ImageConstructorData } from "./Image";
2
- import { ImageOperation } from "./ImageOperation";
3
- export declare const imageOps: {
4
- updateImageData: (items: ImageItem[], data: ImageConstructorData) => ImageOperation;
5
- };
@@ -1,19 +0,0 @@
1
- import { ColorValue } from "../../Color";
2
- import { BorderStyle } from "../Path";
3
- import { ShapeOperation } from "./ShapeOperation";
4
- import { ShapeType } from "./ShapeType";
5
- type ItemLike = {
6
- getId(): string;
7
- getBorderWidth?(): number;
8
- };
9
- type ItemOrId = ItemLike | string;
10
- export declare const shapeOps: {
11
- setBackgroundColor(items: readonly ItemOrId[], backgroundColor: ColorValue): ShapeOperation;
12
- setBackgroundOpacity(items: readonly ItemOrId[], backgroundOpacity: number): ShapeOperation;
13
- setBorderColor(items: readonly ItemOrId[], borderColor: ColorValue): ShapeOperation;
14
- setBorderOpacity(items: readonly ItemOrId[], borderOpacity: number): ShapeOperation;
15
- setBorderStyle(items: readonly ItemOrId[], borderStyle: BorderStyle): ShapeOperation;
16
- setBorderWidth(items: readonly ItemLike[], borderWidth: number): ShapeOperation;
17
- setShapeType(items: readonly ItemOrId[], shapeType: ShapeType): ShapeOperation;
18
- };
19
- export {};
@@ -1,9 +0,0 @@
1
- import { ColorValue } from "../../..";
2
- import { Operation } from "../../Events";
3
- interface ItemLike {
4
- getId(): string;
5
- }
6
- export declare const stickerOps: {
7
- setBackgroundColor(items: ItemLike[], backgroundColor: ColorValue): Operation;
8
- };
9
- export {};
@@ -1,9 +0,0 @@
1
- import { VideoItem, Dimension } from "./Video";
2
- import { VideoOperation } from "./VideoOperation";
3
- export declare const videoOps: {
4
- updateVideoData: (items: VideoItem[], data: {
5
- previewUrl: string;
6
- url: string;
7
- videoDimension: Dimension;
8
- }) => VideoOperation;
9
- };