@vishu1301/script-writing 1.3.4 → 1.3.6

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/index.d.cts CHANGED
@@ -81,6 +81,9 @@ interface Tag {
81
81
  name: string;
82
82
  start_index: number;
83
83
  end_index: number;
84
+ quantity?: number;
85
+ look?: string;
86
+ age?: string;
84
87
  created_at?: string;
85
88
  updated_at?: string;
86
89
  }
@@ -108,7 +111,7 @@ declare function ScriptBreakdownSceneView({ blocks, characters, isLoading, scene
108
111
  } | null;
109
112
  handleMouseUp: () => void;
110
113
  addTag: (c: ElementCategory) => void;
111
- updateTag?: (id: string, categoryId: ElementCategory) => void;
114
+ updateTag?: (id: string, categoryId?: ElementCategory | null, details?: Partial<Tag>) => void;
112
115
  removeTag: (e: React__default.MouseEvent, id?: string) => void;
113
116
  clearSelection: () => void;
114
117
  menuPlacement: "top" | "bottom";
@@ -128,7 +131,7 @@ interface UseScriptBreakdownSceneOptions {
128
131
  onTagAdded?: (tag: Tag) => void;
129
132
  onTagsBulkAdded?: (tags: Tag[], summary?: string) => Promise<void>;
130
133
  onTagRemoved?: (tagId: string) => void;
131
- onTagUpdated?: (tagId: string, categoryId: ElementCategory) => void;
134
+ onTagUpdated?: (tagId: string, categoryId: ElementCategory | null, details?: Partial<Tag>) => void;
132
135
  preLoadedTags?: Tag[];
133
136
  preLoadedTagsLoading?: boolean;
134
137
  }
@@ -149,7 +152,7 @@ declare function useScriptBreakdownScene(options: UseScriptBreakdownSceneOptions
149
152
  } | null;
150
153
  handleMouseUp: () => void;
151
154
  addTag: (categoryId: ElementCategory) => Promise<void>;
152
- updateTag: (id: string, categoryId: ElementCategory) => Promise<void>;
155
+ updateTag: (id: string, categoryId?: ElementCategory | null, details?: Partial<Tag>) => Promise<void>;
153
156
  removeTag: (e: React.MouseEvent, id: string) => Promise<void>;
154
157
  clearSelection: () => void;
155
158
  menuPlacement: "top" | "bottom";
package/dist/index.d.ts CHANGED
@@ -81,6 +81,9 @@ interface Tag {
81
81
  name: string;
82
82
  start_index: number;
83
83
  end_index: number;
84
+ quantity?: number;
85
+ look?: string;
86
+ age?: string;
84
87
  created_at?: string;
85
88
  updated_at?: string;
86
89
  }
@@ -108,7 +111,7 @@ declare function ScriptBreakdownSceneView({ blocks, characters, isLoading, scene
108
111
  } | null;
109
112
  handleMouseUp: () => void;
110
113
  addTag: (c: ElementCategory) => void;
111
- updateTag?: (id: string, categoryId: ElementCategory) => void;
114
+ updateTag?: (id: string, categoryId?: ElementCategory | null, details?: Partial<Tag>) => void;
112
115
  removeTag: (e: React__default.MouseEvent, id?: string) => void;
113
116
  clearSelection: () => void;
114
117
  menuPlacement: "top" | "bottom";
@@ -128,7 +131,7 @@ interface UseScriptBreakdownSceneOptions {
128
131
  onTagAdded?: (tag: Tag) => void;
129
132
  onTagsBulkAdded?: (tags: Tag[], summary?: string) => Promise<void>;
130
133
  onTagRemoved?: (tagId: string) => void;
131
- onTagUpdated?: (tagId: string, categoryId: ElementCategory) => void;
134
+ onTagUpdated?: (tagId: string, categoryId: ElementCategory | null, details?: Partial<Tag>) => void;
132
135
  preLoadedTags?: Tag[];
133
136
  preLoadedTagsLoading?: boolean;
134
137
  }
@@ -149,7 +152,7 @@ declare function useScriptBreakdownScene(options: UseScriptBreakdownSceneOptions
149
152
  } | null;
150
153
  handleMouseUp: () => void;
151
154
  addTag: (categoryId: ElementCategory) => Promise<void>;
152
- updateTag: (id: string, categoryId: ElementCategory) => Promise<void>;
155
+ updateTag: (id: string, categoryId?: ElementCategory | null, details?: Partial<Tag>) => Promise<void>;
153
156
  removeTag: (e: React.MouseEvent, id: string) => Promise<void>;
154
157
  clearSelection: () => void;
155
158
  menuPlacement: "top" | "bottom";