@chaibuilder/sdk 2.2.7 → 2.2.9

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/core.d.ts CHANGED
@@ -54,6 +54,7 @@ export declare const ChaiAskAiUserPrompt: ({ blockId }: {
54
54
 
55
55
  declare type ChaiAsset = {
56
56
  url: string;
57
+ id?: string;
57
58
  thumbnailUrl?: string;
58
59
  description?: string;
59
60
  width?: number;
@@ -395,6 +396,7 @@ declare type HSLColor = string;
395
396
  export { i18n }
396
397
 
397
398
  declare type MediaManagerProps = {
399
+ assetId?: string;
398
400
  close: () => void;
399
401
  onSelect: (assets: ChaiAsset | ChaiAsset[]) => void;
400
402
  mode?: "image" | "video" | "audio";
@@ -529,7 +531,7 @@ export declare const useCanvasZoom: () => [number, (args_0: number | RESET | ((p
529
531
  */
530
532
  export declare const useCodeEditor: () => [CodeEditorProps, never];
531
533
 
532
- export declare const useCopyBlockIds: () => [Array<string>, (blockIds: Array<string>) => void];
534
+ export declare const useCopyBlockIds: () => [Array<string>, (blockIds: Array<string>, clonePartialBlocks?: boolean) => void, (blockIds: Array<string>) => boolean];
533
535
 
534
536
  export declare const useCopyToClipboard: () => [CopiedValue, CopyFn];
535
537