@vishu1301/script-writing 1.5.7 → 1.5.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/index.d.cts CHANGED
@@ -119,6 +119,12 @@ interface Tag {
119
119
  quantity?: number;
120
120
  look?: string;
121
121
  age?: string;
122
+ age_range?: {
123
+ name: string;
124
+ }[];
125
+ crowd_type?: {
126
+ name: string;
127
+ }[];
122
128
  created_at?: string;
123
129
  updated_at?: string;
124
130
  }
@@ -258,7 +264,7 @@ declare function ShotBreakdownView({ blocks, isLoading, shots, selectionMenu, ha
258
264
  clearSelection: () => void;
259
265
  menuRef: React__default.RefObject<HTMLDivElement | null>;
260
266
  cameras: Camera[];
261
- initializeProduction: (count: number, type: string) => any;
267
+ initializeProduction: (count: number, type: string, dance_choreographer_required?: boolean, action_sequence_required?: boolean) => any;
262
268
  handleAISummarize: () => void;
263
269
  isSummarizing: boolean;
264
270
  aiSummarized?: boolean;
@@ -272,7 +278,7 @@ interface UseShotBreakdownOptions {
272
278
  onShotsBulkAdded?: (shots: Shot[], scene_type: string) => Promise<void>;
273
279
  onShotRemoved?: (shotId: string) => any;
274
280
  onShotUpdated?: (shotId: string, detail: Shot) => any;
275
- onProductionInitialized?: (cameras: Camera[], type: string) => any;
281
+ onProductionInitialized?: (cameras: Camera[], type: string, dance_choreographer_required?: boolean, action_sequence_required?: boolean) => any;
276
282
  preloadedShots?: Shot[];
277
283
  preloadedCameras?: Camera[];
278
284
  preloadedSceneType?: string;
@@ -290,7 +296,7 @@ declare function useShotBreakdownScene(options: UseShotBreakdownOptions): {
290
296
  } | null;
291
297
  handleMouseUp: () => void;
292
298
  cameras: Camera[];
293
- initializeProduction: (count: number, type: string) => Promise<any>;
299
+ initializeProduction: (count: number, type: string, dance_choreographer_required?: boolean, action_sequence_required?: boolean) => Promise<any>;
294
300
  addShot: (shotDetails: Omit<Shot, "id" | "shot_number" | "parts">) => any;
295
301
  updateShot: (shotId: string | number, updatedDetails: Omit<Shot, "id" | "shot_number" | "parts">) => Promise<any>;
296
302
  clearSelection: () => void;
@@ -330,4 +336,22 @@ declare const scene_types: {
330
336
  name: string;
331
337
  }[];
332
338
 
333
- export { type Block, type BlockType, CATEGORIES, type Camera, type ElementCategory, ScreenplayEditorView, type ScriptBreakdown, ScriptBreakdownSceneView, type Shot, type ShotBreakdown, ShotBreakdownView, type ShotPart, type Tag, type TimeOfDay, aperture_options, blockStyles, blockTypes, camera_angles, camera_movements, camera_supports, convertBlocksToSbx, fps_options, handleSaveAsPdf, handleSyncWithCloud, icons, lens_options, scene_types, shot_types, timeOfDayOptions, useScreenplayEditor, useScriptBreakdownScene, useShotBreakdownScene, uuid, vfx_types };
339
+ declare function SceneScriptView({ blocks, isLoading, sceneNumber, title, }: {
340
+ blocks: Block[];
341
+ isLoading?: boolean;
342
+ sceneNumber?: string;
343
+ title?: string;
344
+ }): react_jsx_runtime.JSX.Element;
345
+
346
+ interface UseSceneScriptOptions {
347
+ scene_url: string;
348
+ fetchOptions?: RequestInit;
349
+ }
350
+ declare function useSceneScript(options: UseSceneScriptOptions): {
351
+ blocks: Block[];
352
+ isLoading: boolean;
353
+ error: string | null;
354
+ sceneContent: string | null;
355
+ };
356
+
357
+ export { type Block, type BlockType, CATEGORIES, type Camera, type ElementCategory, SceneScriptView, ScreenplayEditorView, type ScriptBreakdown, ScriptBreakdownSceneView, type Shot, type ShotBreakdown, ShotBreakdownView, type ShotPart, type Tag, type TimeOfDay, aperture_options, blockStyles, blockTypes, camera_angles, camera_movements, camera_supports, convertBlocksToSbx, fps_options, handleSaveAsPdf, handleSyncWithCloud, icons, lens_options, scene_types, shot_types, timeOfDayOptions, useSceneScript, useScreenplayEditor, useScriptBreakdownScene, useShotBreakdownScene, uuid, vfx_types };
package/dist/index.d.ts CHANGED
@@ -119,6 +119,12 @@ interface Tag {
119
119
  quantity?: number;
120
120
  look?: string;
121
121
  age?: string;
122
+ age_range?: {
123
+ name: string;
124
+ }[];
125
+ crowd_type?: {
126
+ name: string;
127
+ }[];
122
128
  created_at?: string;
123
129
  updated_at?: string;
124
130
  }
@@ -258,7 +264,7 @@ declare function ShotBreakdownView({ blocks, isLoading, shots, selectionMenu, ha
258
264
  clearSelection: () => void;
259
265
  menuRef: React__default.RefObject<HTMLDivElement | null>;
260
266
  cameras: Camera[];
261
- initializeProduction: (count: number, type: string) => any;
267
+ initializeProduction: (count: number, type: string, dance_choreographer_required?: boolean, action_sequence_required?: boolean) => any;
262
268
  handleAISummarize: () => void;
263
269
  isSummarizing: boolean;
264
270
  aiSummarized?: boolean;
@@ -272,7 +278,7 @@ interface UseShotBreakdownOptions {
272
278
  onShotsBulkAdded?: (shots: Shot[], scene_type: string) => Promise<void>;
273
279
  onShotRemoved?: (shotId: string) => any;
274
280
  onShotUpdated?: (shotId: string, detail: Shot) => any;
275
- onProductionInitialized?: (cameras: Camera[], type: string) => any;
281
+ onProductionInitialized?: (cameras: Camera[], type: string, dance_choreographer_required?: boolean, action_sequence_required?: boolean) => any;
276
282
  preloadedShots?: Shot[];
277
283
  preloadedCameras?: Camera[];
278
284
  preloadedSceneType?: string;
@@ -290,7 +296,7 @@ declare function useShotBreakdownScene(options: UseShotBreakdownOptions): {
290
296
  } | null;
291
297
  handleMouseUp: () => void;
292
298
  cameras: Camera[];
293
- initializeProduction: (count: number, type: string) => Promise<any>;
299
+ initializeProduction: (count: number, type: string, dance_choreographer_required?: boolean, action_sequence_required?: boolean) => Promise<any>;
294
300
  addShot: (shotDetails: Omit<Shot, "id" | "shot_number" | "parts">) => any;
295
301
  updateShot: (shotId: string | number, updatedDetails: Omit<Shot, "id" | "shot_number" | "parts">) => Promise<any>;
296
302
  clearSelection: () => void;
@@ -330,4 +336,22 @@ declare const scene_types: {
330
336
  name: string;
331
337
  }[];
332
338
 
333
- export { type Block, type BlockType, CATEGORIES, type Camera, type ElementCategory, ScreenplayEditorView, type ScriptBreakdown, ScriptBreakdownSceneView, type Shot, type ShotBreakdown, ShotBreakdownView, type ShotPart, type Tag, type TimeOfDay, aperture_options, blockStyles, blockTypes, camera_angles, camera_movements, camera_supports, convertBlocksToSbx, fps_options, handleSaveAsPdf, handleSyncWithCloud, icons, lens_options, scene_types, shot_types, timeOfDayOptions, useScreenplayEditor, useScriptBreakdownScene, useShotBreakdownScene, uuid, vfx_types };
339
+ declare function SceneScriptView({ blocks, isLoading, sceneNumber, title, }: {
340
+ blocks: Block[];
341
+ isLoading?: boolean;
342
+ sceneNumber?: string;
343
+ title?: string;
344
+ }): react_jsx_runtime.JSX.Element;
345
+
346
+ interface UseSceneScriptOptions {
347
+ scene_url: string;
348
+ fetchOptions?: RequestInit;
349
+ }
350
+ declare function useSceneScript(options: UseSceneScriptOptions): {
351
+ blocks: Block[];
352
+ isLoading: boolean;
353
+ error: string | null;
354
+ sceneContent: string | null;
355
+ };
356
+
357
+ export { type Block, type BlockType, CATEGORIES, type Camera, type ElementCategory, SceneScriptView, ScreenplayEditorView, type ScriptBreakdown, ScriptBreakdownSceneView, type Shot, type ShotBreakdown, ShotBreakdownView, type ShotPart, type Tag, type TimeOfDay, aperture_options, blockStyles, blockTypes, camera_angles, camera_movements, camera_supports, convertBlocksToSbx, fps_options, handleSaveAsPdf, handleSyncWithCloud, icons, lens_options, scene_types, shot_types, timeOfDayOptions, useSceneScript, useScreenplayEditor, useScriptBreakdownScene, useShotBreakdownScene, uuid, vfx_types };