@umituz/react-native-ai-generation-content 1.37.16 → 1.37.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umituz/react-native-ai-generation-content",
3
- "version": "1.37.16",
3
+ "version": "1.37.17",
4
4
  "description": "Provider-agnostic AI generation orchestration for React Native with result preview components",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -25,15 +25,6 @@ export interface AppScenarioConfig {
25
25
 
26
26
  /**
27
27
  * Creates app-configured scenarios from package scenarios
28
- * Apps use this to set their desired outputType and model
29
- *
30
- * @example
31
- * // Video generation app - exclude dual image scenarios
32
- * const scenarios = createScenariosForApp(SCENARIOS, {
33
- * outputType: "video",
34
- * model: "fal-ai/veo3/image-to-video",
35
- * excludeWizardInputTypes: [WizardInputType.DUAL_IMAGE]
36
- * });
37
28
  */
38
29
  export const createScenariosForApp = (
39
30
  scenarios: readonly Scenario[],
@@ -49,11 +40,9 @@ export const createScenariosForApp = (
49
40
 
50
41
  return scenarios
51
42
  .filter((scenario) => {
52
- // Filter by excluded IDs
53
43
  if (excludeIds?.includes(scenario.id)) {
54
44
  return false;
55
45
  }
56
- // Filter by included categories
57
46
  if (
58
47
  includeCategories &&
59
48
  includeCategories.length > 0 &&
@@ -62,7 +51,6 @@ export const createScenariosForApp = (
62
51
  ) {
63
52
  return false;
64
53
  }
65
- // Filter by wizard input types using pattern detection
66
54
  if (excludeWizardInputTypes && excludeWizardInputTypes.length > 0) {
67
55
  const detectedType = detectWizardInputType(scenario.id);
68
56
  if (excludeWizardInputTypes.includes(detectedType)) {
@@ -79,10 +67,7 @@ export const createScenariosForApp = (
79
67
  };
80
68
 
81
69
  /**
82
- * Filters scenarios by output type (if they have one set)
83
- *
84
- * @example
85
- * const videoScenarios = filterScenariosByOutputType(scenarios, "video");
70
+ * Filters scenarios by output type
86
71
  */
87
72
  export const filterScenariosByOutputType = (
88
73
  scenarios: readonly Scenario[],
@@ -91,9 +76,6 @@ export const filterScenariosByOutputType = (
91
76
 
92
77
  /**
93
78
  * Filters scenarios by category
94
- *
95
- * @example
96
- * const weddingScenarios = filterScenariosByCategory(scenarios, "wedding");
97
79
  */
98
80
  export const filterScenariosByCategory = (
99
81
  scenarios: readonly Scenario[],
@@ -102,12 +84,6 @@ export const filterScenariosByCategory = (
102
84
 
103
85
  /**
104
86
  * Filters scenarios by wizard input type using pattern detection
105
- *
106
- * @example
107
- * const singleImageScenarios = filterScenariosByWizardInputType(
108
- * scenarios,
109
- * [WizardInputType.SINGLE_IMAGE]
110
- * );
111
87
  */
112
88
  export const filterScenariosByWizardInputType = (
113
89
  scenarios: readonly Scenario[],
@@ -117,9 +93,6 @@ export const filterScenariosByWizardInputType = (
117
93
 
118
94
  /**
119
95
  * Gets unique categories from scenarios
120
- *
121
- * @example
122
- * const categories = getScenarioCategories(scenarios);
123
96
  */
124
97
  export const getScenarioCategories = (
125
98
  scenarios: readonly Scenario[],
@@ -135,9 +108,6 @@ export const getScenarioCategories = (
135
108
 
136
109
  /**
137
110
  * Finds a scenario by ID
138
- *
139
- * @example
140
- * const scenario = findScenarioById(scenarios, "beach_wedding");
141
111
  */
142
112
  export const findScenarioById = (
143
113
  scenarios: readonly Scenario[],