@umituz/react-native-ai-generation-content 1.83.10 → 1.83.11

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 (200) hide show
  1. package/package.json +1 -1
  2. package/src/domain/constants/queue-status.constants.ts +0 -2
  3. package/src/domain/entities/flow-config-data.types.ts +0 -9
  4. package/src/domain/entities/flow-config.types.ts +2 -6
  5. package/src/domain/entities/flow-configuration.types.ts +1 -8
  6. package/src/domain/interfaces/app-services.interface.ts +2 -2
  7. package/src/domain/interfaces/index.ts +0 -8
  8. package/src/domains/background/infrastructure/services/job-poller.service.ts +0 -1
  9. package/src/domains/background/infrastructure/utils/result-validator.util.ts +0 -1
  10. package/src/domains/background/infrastructure/utils/status-checker.util.ts +0 -1
  11. package/src/domains/background/infrastructure/utils/status-extraction-helpers.ts +1 -1
  12. package/src/domains/content-moderation/infrastructure/utils/content-security.util.ts +1 -1
  13. package/src/domains/creations/domain/constants/creation-fields.constants.ts +1 -10
  14. package/src/domains/creations/domain/constants/creation-status.constants.ts +0 -20
  15. package/src/domains/creations/domain/constants/creation-validation.constants.ts +0 -12
  16. package/src/domains/creations/domain/constants/index.ts +3 -15
  17. package/src/domains/creations/domain/entities/index.ts +1 -1
  18. package/src/domains/creations/infrastructure/repositories/creation-update.operations.ts +0 -2
  19. package/src/domains/creations/infrastructure/repositories/creations-operations.ts +1 -1
  20. package/src/domains/creations/presentation/components/CreationCard.tsx +3 -3
  21. package/src/domains/creations/presentation/components/CreationImagePreview.tsx +1 -1
  22. package/src/domains/creations/presentation/components/CreationVideoPreview.tsx +1 -1
  23. package/src/domains/creations/presentation/components/CreationsFilterBar.tsx +0 -1
  24. package/src/domains/creations/presentation/components/GalleryEmptyStates.tsx +4 -4
  25. package/src/domains/creations/presentation/components/GalleryHeader.tsx +3 -1
  26. package/src/domains/creations/presentation/components/GalleryScreenHeader.tsx +1 -1
  27. package/src/domains/creations/presentation/components/index.ts +0 -23
  28. package/src/domains/creations/presentation/hooks/creation-validators.ts +4 -4
  29. package/src/domains/creations/presentation/hooks/filterHelpers.ts +5 -5
  30. package/src/domains/creations/presentation/hooks/useFilter.ts +2 -2
  31. package/src/domains/creations/presentation/hooks/useGalleryCallbacks.ts +1 -1
  32. package/src/domains/creations/presentation/hooks/useGalleryState.ts +2 -2
  33. package/src/domains/creations/presentation/screens/CreationsGalleryScreen.tsx +0 -1
  34. package/src/domains/creations/presentation/utils/filter-buttons.util.ts +2 -2
  35. package/src/domains/creations/presentation-exports.ts +5 -3
  36. package/src/domains/face-detection/presentation/components/FaceValidationStatus.tsx +1 -1
  37. package/src/domains/generation/infrastructure/executors/text-to-image-executor.helpers.ts +1 -1
  38. package/src/domains/generation/wizard/infrastructure/strategies/image-generation.strategy.ts +0 -2
  39. package/src/domains/generation/wizard/infrastructure/strategies/image-generation.types.ts +0 -4
  40. package/src/domains/generation/wizard/infrastructure/strategies/index.ts +0 -1
  41. package/src/domains/generation/wizard/infrastructure/strategies/shared/unified-prompt-builder.ts +1 -1
  42. package/src/domains/generation/wizard/infrastructure/strategies/video-generation.strategy.ts +0 -1
  43. package/src/domains/generation/wizard/infrastructure/strategies/video-generation.types.ts +2 -6
  44. package/src/domains/generation/wizard/infrastructure/strategies/wizard-strategy.constants.ts +0 -7
  45. package/src/domains/generation/wizard/infrastructure/strategies/wizard-strategy.factory.ts +1 -3
  46. package/src/domains/generation/wizard/infrastructure/utils/creation-persistence.util.ts +0 -5
  47. package/src/domains/generation/wizard/infrastructure/utils/index.ts +0 -3
  48. package/src/domains/generation/wizard/infrastructure/utils/primitive-extractors.ts +3 -3
  49. package/src/domains/generation/wizard/presentation/components/IndeterminateProgressBar.tsx +1 -1
  50. package/src/domains/generation/wizard/presentation/components/WizardContinueButton.tsx +1 -1
  51. package/src/domains/generation/wizard/presentation/components/WizardFlowContent.tsx +1 -1
  52. package/src/domains/generation/wizard/presentation/components/WizardStepRenderer.tsx +0 -2
  53. package/src/domains/generation/wizard/presentation/components/WizardStepRenderer.utils.ts +0 -7
  54. package/src/domains/generation/wizard/presentation/components/index.ts +0 -2
  55. package/src/domains/generation/wizard/presentation/components/step-renderers/renderPhotoUploadStep.tsx +1 -1
  56. package/src/domains/generation/wizard/presentation/components/step-renderers/renderPreviewStep.tsx +1 -1
  57. package/src/domains/generation/wizard/presentation/components/step-renderers/renderSelectionStep.tsx +1 -1
  58. package/src/domains/generation/wizard/presentation/components/step-renderers/renderTextInputStep.tsx +1 -1
  59. package/src/domains/generation/wizard/presentation/hooks/generationStateMachine.ts +2 -2
  60. package/src/domains/generation/wizard/presentation/hooks/useGenerationPhase.ts +1 -1
  61. package/src/domains/generation/wizard/presentation/hooks/usePhotoBlockingGeneration.ts +2 -2
  62. package/src/domains/generation/wizard/presentation/hooks/useWizardFlowHandlers.ts +1 -1
  63. package/src/domains/generation/wizard/presentation/screens/GeneratingScreen.tsx +1 -1
  64. package/src/domains/generation/wizard/presentation/screens/GenericPhotoUploadScreen.tsx +3 -3
  65. package/src/domains/generation/wizard/presentation/screens/SelectionScreen.tsx +0 -6
  66. package/src/domains/generation/wizard/presentation/screens/TextInputScreen.tsx +5 -3
  67. package/src/domains/generation/wizard/presentation/screens/index.ts +0 -13
  68. package/src/domains/generation/wizard/presentation/utilities/validateScenario.ts +0 -6
  69. package/src/domains/image-to-video/presentation/hooks/image-to-video-feature.types.ts +0 -8
  70. package/src/domains/image-to-video/presentation/index.ts +0 -4
  71. package/src/domains/result-preview/presentation/components/StarRatingPicker.tsx +1 -1
  72. package/src/domains/result-preview/presentation/types/result-preview.types.ts +0 -5
  73. package/src/domains/scenarios/configs/index.ts +1 -6
  74. package/src/domains/scenarios/configs/wizard-step-factories.ts +1 -1
  75. package/src/domains/scenarios/infrastructure/scenario-registry.ts +0 -9
  76. package/src/domains/scenarios/presentation/components/ScenarioContinueButton.tsx +1 -1
  77. package/src/domains/scenarios/presentation/hooks/useHierarchicalScenarios.ts +2 -2
  78. package/src/domains/scenarios/presentation/screens/HierarchicalScenarioListScreen.tsx +1 -1
  79. package/src/domains/scenarios/presentation/screens/ScenarioPreviewScreen.tsx +2 -2
  80. package/src/domains/shared/presentation/components/AutoSkipPreview.tsx +1 -1
  81. package/src/domains/shared/presentation/components/index.ts +0 -1
  82. package/src/domains/shared/presentation/utils/index.ts +0 -3
  83. package/src/domains/shared/presentation/utils/wizard-flow.utils.ts +2 -2
  84. package/src/domains/text-to-image/presentation/index.ts +0 -2
  85. package/src/domains/text-to-video/domain/types/component.types.ts +0 -6
  86. package/src/domains/text-to-video/domain/types/index.ts +0 -4
  87. package/src/domains/text-to-video/presentation/components/FrameSelector.tsx +97 -52
  88. package/src/domains/text-to-video/presentation/index.ts +0 -2
  89. package/src/infrastructure/config/index.ts +0 -2
  90. package/src/infrastructure/constants/index.ts +0 -6
  91. package/src/infrastructure/constants/polling.constants.ts +0 -21
  92. package/src/infrastructure/constants/validation.constants.ts +0 -30
  93. package/src/infrastructure/utils/error-classification.ts +1 -1
  94. package/src/infrastructure/utils/error-factory.ts +2 -2
  95. package/src/infrastructure/utils/index.ts +0 -9
  96. package/src/infrastructure/utils/message-extractor.ts +1 -20
  97. package/src/infrastructure/utils/progress.utils.ts +0 -37
  98. package/src/infrastructure/utils/provider-validator.util.ts +1 -1
  99. package/src/infrastructure/utils/url-extractor/index.ts +0 -5
  100. package/src/infrastructure/utils/url-extractor.util.ts +0 -11
  101. package/src/infrastructure/utils/video-helpers.ts +1 -1
  102. package/src/infrastructure/validation/ai-validator.ts +0 -28
  103. package/src/infrastructure/validation/entity-validator.ts +0 -34
  104. package/src/infrastructure/validation/input-validator.ts +2 -5
  105. package/src/infrastructure/validation/sanitizer.ts +0 -17
  106. package/src/presentation/components/AIGenerationConfig.tsx +3 -1
  107. package/src/presentation/components/GenerationProgressContent.styles.ts +0 -2
  108. package/src/presentation/components/PhotoUploadCard/PhotoUploadCard.tsx +0 -1
  109. package/src/presentation/components/ProgressCloseButton.tsx +1 -1
  110. package/src/presentation/components/ProgressDismissButton.tsx +1 -1
  111. package/src/presentation/components/ProgressHeader.tsx +1 -1
  112. package/src/presentation/components/ProgressHint.tsx +1 -1
  113. package/src/presentation/components/display/AIGenerationResult.tsx +6 -4
  114. package/src/presentation/components/display/index.ts +0 -1
  115. package/src/presentation/components/moderation/ModerationSummary.tsx +2 -2
  116. package/src/presentation/components/prompts/ExamplePrompts.tsx +2 -2
  117. package/src/presentation/components/result/ResultImageCard.tsx +39 -21
  118. package/src/presentation/components/result/ResultStoryCard.tsx +38 -15
  119. package/src/presentation/components/result/button-style.utils.ts +1 -1
  120. package/src/presentation/components/selectors/GridSelector.tsx +2 -2
  121. package/src/presentation/components/selectors/factories/aspect-ratio.factory.ts +0 -2
  122. package/src/presentation/components/selectors/factories/duration.factory.ts +0 -2
  123. package/src/presentation/components/selectors/factories/style.factory.ts +1 -1
  124. package/src/presentation/components/shared/ModelSelector.tsx +3 -1
  125. package/src/presentation/hooks/ai-feature-callbacks-auth.hooks.ts +2 -2
  126. package/src/presentation/hooks/ai-feature-callbacks-cost.hooks.ts +2 -2
  127. package/src/presentation/hooks/ai-feature-callbacks-execution.hooks.ts +2 -2
  128. package/src/presentation/hooks/generation/index.ts +0 -5
  129. package/src/presentation/hooks/generation/moderation-handler.ts +1 -1
  130. package/src/presentation/hooks/generation/types.ts +0 -12
  131. package/src/presentation/hooks/index.ts +0 -4
  132. package/src/presentation/hooks/useProgressDismiss.ts +1 -1
  133. package/src/presentation/layouts/types/layout-props.ts +1 -1
  134. package/src/domain/constants/index.ts +0 -2
  135. package/src/domain/entities/feature-flow-config.types.ts +0 -17
  136. package/src/domain/entities/scenario-step-config.types.ts +0 -32
  137. package/src/domain/entities/step-config.types.ts +0 -18
  138. package/src/domain/entities/step-definition.types.ts +0 -50
  139. package/src/domain/entities/step-input-config.types.ts +0 -36
  140. package/src/domain/entities/step-upload-config.types.ts +0 -17
  141. package/src/domains/background/domain/entities/index.ts +0 -1
  142. package/src/domains/background/domain/interfaces/index.ts +0 -1
  143. package/src/domains/content-moderation/infrastructure/utils/validators.util.ts +0 -51
  144. package/src/domains/creations/domain/constants/creation-errors.constants.ts +0 -27
  145. package/src/domains/creations/domain/constants/creation-query.constants.ts +0 -37
  146. package/src/domains/creations/domain/constants/creation-types.constants.ts +0 -45
  147. package/src/domains/creations/presentation/components/CreationImageViewer.tsx +0 -43
  148. package/src/domains/creations/presentation/components/CreationRating.tsx +0 -69
  149. package/src/domains/creations/presentation/components/CreationsGrid.tsx +0 -130
  150. package/src/domains/creations/presentation/components/FilterSheets.tsx +0 -63
  151. package/src/domains/creations/presentation/hooks/index.ts +0 -24
  152. package/src/domains/creations/presentation/hooks/useCreationRating.ts +0 -68
  153. package/src/domains/creations/presentation/screens/index.ts +0 -5
  154. package/src/domains/generation/infrastructure/flow/scenario-configs.ts +0 -54
  155. package/src/domains/generation/infrastructure/flow/step-builders.ts +0 -133
  156. package/src/domains/generation/wizard/infrastructure/strategies/video-generation.utils.ts +0 -42
  157. package/src/domains/generation/wizard/presentation/components/WizardHeader.tsx +0 -96
  158. package/src/domains/generation/wizard/presentation/components/step-renderers/index.ts +0 -8
  159. package/src/domains/generation/wizard/presentation/components/step-renderers/renderGeneratingStep.tsx +0 -24
  160. package/src/domains/generation/wizard/presentation/components/step-renderers/renderResultStep.tsx +0 -69
  161. package/src/domains/generation/wizard/presentation/utilities/index.ts +0 -1
  162. package/src/domains/prompts/infrastructure/services/base/index.ts +0 -6
  163. package/src/domains/prompts/infrastructure/services/base/prompt-service.base.ts +0 -112
  164. package/src/domains/result-preview/index.ts +0 -37
  165. package/src/domains/result-preview/presentation/components/GenerationErrorScreen.tsx +0 -109
  166. package/src/domains/result-preview/presentation/components/index.ts +0 -16
  167. package/src/domains/result-preview/presentation/hooks/index.ts +0 -5
  168. package/src/domains/result-preview/presentation/types/index.ts +0 -16
  169. package/src/domains/result-preview/presentation/types/result-data.types.ts +0 -35
  170. package/src/domains/text-to-image/presentation/screens/TextToImageWizardFlow.types.ts +0 -27
  171. package/src/domains/text-to-video/domain/types/action-component.types.ts +0 -15
  172. package/src/domains/text-to-video/domain/types/selector-component.types.ts +0 -31
  173. package/src/infrastructure/constants/content.constants.ts +0 -8
  174. package/src/infrastructure/constants/storage.constants.ts +0 -27
  175. package/src/infrastructure/http/api-client.types.ts +0 -17
  176. package/src/infrastructure/http/http-client-methods.ts +0 -73
  177. package/src/infrastructure/http/http-client.util.ts +0 -12
  178. package/src/infrastructure/http/http-fetch-handler.ts +0 -63
  179. package/src/infrastructure/http/http-methods.constants.ts +0 -23
  180. package/src/infrastructure/http/http-request-executor.ts +0 -49
  181. package/src/infrastructure/http/http-response-parser.ts +0 -65
  182. package/src/infrastructure/http/index.ts +0 -16
  183. package/src/infrastructure/http/query-string.util.ts +0 -40
  184. package/src/infrastructure/http/timeout.util.ts +0 -26
  185. package/src/infrastructure/logging/debug.util.ts +0 -51
  186. package/src/infrastructure/logging/index.ts +0 -6
  187. package/src/infrastructure/utils/content-validators.ts +0 -92
  188. package/src/infrastructure/utils/domain-guards.ts +0 -23
  189. package/src/infrastructure/utils/error-classifiers.ts +0 -23
  190. package/src/infrastructure/utils/error-handlers.ts +0 -53
  191. package/src/infrastructure/utils/error-retry.ts +0 -44
  192. package/src/infrastructure/utils/error-types.ts +0 -23
  193. package/src/infrastructure/utils/general-validators.ts +0 -64
  194. package/src/infrastructure/utils/id-validators.ts +0 -39
  195. package/src/infrastructure/utils/primitive-guards.ts +0 -66
  196. package/src/infrastructure/utils/structure-guards.ts +0 -75
  197. package/src/infrastructure/utils/type-guards.util.ts +0 -26
  198. package/src/infrastructure/utils/validation-types.ts +0 -8
  199. package/src/infrastructure/utils/validation.util.ts +0 -18
  200. package/src/shared/utils/index.ts +0 -6
@@ -1,64 +0,0 @@
1
- /**
2
- * General Validation Utilities
3
- */
4
-
5
- import type { ValidationResult } from "./validation-types";
6
-
7
- /**
8
- * Validates that a value is not empty
9
- */
10
- export function validateNotEmpty(value: unknown, fieldName = "Value"): ValidationResult {
11
- if (value === null || value === undefined) {
12
- return { isValid: false, error: `${fieldName} is required` };
13
- }
14
-
15
- if (typeof value === "string" && value.trim().length === 0) {
16
- return { isValid: false, error: `${fieldName} cannot be empty` };
17
- }
18
-
19
- if (Array.isArray(value) && value.length === 0) {
20
- return { isValid: false, error: `${fieldName} cannot be empty` };
21
- }
22
-
23
- return { isValid: true };
24
- }
25
-
26
- /**
27
- * Validates numeric range
28
- */
29
- export function validateNumericRange(
30
- value: number,
31
- options: {
32
- min?: number;
33
- max?: number;
34
- fieldName?: string;
35
- }
36
- ): ValidationResult {
37
- const { min, max, fieldName = "Value" } = options;
38
-
39
- if (typeof value !== "number" || isNaN(value)) {
40
- return { isValid: false, error: `${fieldName} must be a number` };
41
- }
42
-
43
- if (min !== undefined && value < min) {
44
- return { isValid: false, error: `${fieldName} must be at least ${min}` };
45
- }
46
-
47
- if (max !== undefined && value > max) {
48
- return { isValid: false, error: `${fieldName} must not exceed ${max}` };
49
- }
50
-
51
- return { isValid: true };
52
- }
53
-
54
- /**
55
- * Combines multiple validation results
56
- */
57
- export function combineValidations(...results: ValidationResult[]): ValidationResult {
58
- for (const result of results) {
59
- if (!result.isValid) {
60
- return result;
61
- }
62
- }
63
- return { isValid: true };
64
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * ID Validation Utilities
3
- */
4
-
5
- import {
6
- MAX_USER_ID_LENGTH,
7
- MAX_CREATION_ID_LENGTH,
8
- } from "../constants/validation.constants";
9
- import type { ValidationResult } from "./validation-types";
10
-
11
- /**
12
- * Validates user ID
13
- */
14
- export function validateUserId(userId: string): ValidationResult {
15
- if (!userId || typeof userId !== "string") {
16
- return { isValid: false, error: "User ID is required" };
17
- }
18
-
19
- if (userId.length > MAX_USER_ID_LENGTH) {
20
- return { isValid: false, error: "User ID is too long" };
21
- }
22
-
23
- return { isValid: true };
24
- }
25
-
26
- /**
27
- * Validates creation ID
28
- */
29
- export function validateCreationId(creationId: string): ValidationResult {
30
- if (!creationId || typeof creationId !== "string") {
31
- return { isValid: false, error: "Creation ID is required" };
32
- }
33
-
34
- if (creationId.length > MAX_CREATION_ID_LENGTH) {
35
- return { isValid: false, error: "Creation ID is too long" };
36
- }
37
-
38
- return { isValid: true };
39
- }
@@ -1,66 +0,0 @@
1
- /**
2
- * Primitive Type Guards
3
- */
4
-
5
- /**
6
- * Checks if value is a non-null object
7
- */
8
- export function isObject(value: unknown): value is Record<string, unknown> {
9
- return typeof value === "object" && value !== null && !Array.isArray(value);
10
- }
11
-
12
- /**
13
- * Checks if value is an array
14
- */
15
- export function isArray(value: unknown): value is unknown[] {
16
- return Array.isArray(value);
17
- }
18
-
19
- /**
20
- * Checks if value is a non-empty string
21
- */
22
- export function isNonEmptyString(value: unknown): value is string {
23
- return typeof value === "string" && value.trim().length > 0;
24
- }
25
-
26
- /**
27
- * Checks if value is a number (excluding NaN)
28
- */
29
- export function isNumber(value: unknown): value is number {
30
- return typeof value === "number" && !isNaN(value);
31
- }
32
-
33
- /**
34
- * Checks if value is a positive number
35
- */
36
- export function isPositiveNumber(value: unknown): value is number {
37
- return isNumber(value) && value > 0;
38
- }
39
-
40
- /**
41
- * Checks if value is a boolean
42
- */
43
- export function isBoolean(value: unknown): value is boolean {
44
- return typeof value === "boolean";
45
- }
46
-
47
- /**
48
- * Checks if value is a function
49
- */
50
- export function isFunction(value: unknown): value is (...args: unknown[]) => unknown {
51
- return typeof value === "function";
52
- }
53
-
54
- /**
55
- * Checks if value is a date object
56
- */
57
- export function isDate(value: unknown): value is Date {
58
- return value instanceof Date && !isNaN(value.getTime());
59
- }
60
-
61
- /**
62
- * Checks if value is defined (not null or undefined)
63
- */
64
- export function isDefined<T>(value: T | null | undefined): value is T {
65
- return value !== null && value !== undefined;
66
- }
@@ -1,75 +0,0 @@
1
- /**
2
- * Complex Structure Type Guards
3
- */
4
-
5
- import { isObject, isArray, isNonEmptyString, isNumber, isFunction } from "./primitive-guards";
6
-
7
- /**
8
- * Checks if value is a plain object (not null, not array)
9
- */
10
- export function isPlainObject(value: unknown): value is Record<string, unknown> {
11
- return isObject(value) && Object.prototype.toString.call(value) === "[object Object]";
12
- }
13
-
14
- /**
15
- * Checks if value is a string URL
16
- */
17
- export function isUrl(value: unknown): value is string {
18
- if (!isNonEmptyString(value)) {
19
- return false;
20
- }
21
-
22
- try {
23
- new URL(value);
24
- return true;
25
- } catch {
26
- return false;
27
- }
28
- }
29
-
30
- /**
31
- * Checks if value is an array of strings
32
- */
33
- export function isStringArray(value: unknown): value is string[] {
34
- return isArray(value) && value.every((item) => typeof item === "string");
35
- }
36
-
37
- /**
38
- * Checks if value is an array of numbers
39
- */
40
- export function isNumberArray(value: unknown): value is number[] {
41
- return isArray(value) && value.every(isNumber);
42
- }
43
-
44
- /**
45
- * Checks if value has a specific property
46
- */
47
- export function hasProperty<K extends PropertyKey>(
48
- value: unknown,
49
- key: K
50
- ): value is Record<K, unknown> {
51
- return isObject(value) && key in value;
52
- }
53
-
54
- /**
55
- * Checks if object has all required properties
56
- */
57
- export function hasProperties<K extends PropertyKey>(
58
- value: unknown,
59
- keys: K[]
60
- ): value is Record<K, unknown> {
61
- return isObject(value) && keys.every((key) => key in value);
62
- }
63
-
64
- /**
65
- * Checks if value is a promise
66
- */
67
- export function isPromise(value: unknown): value is Promise<unknown> {
68
- return (
69
- isObject(value) &&
70
- "then" in value &&
71
- isFunction(value.then) &&
72
- "catch" in value &&
73
- isFunction(value.catch)
74
- );
75
- }
@@ -1,26 +0,0 @@
1
- /**
2
- * Type Guard Utilities - Barrel Export
3
- * Provides reusable type guards for common type checking patterns
4
- */
5
-
6
- export {
7
- isObject,
8
- isArray,
9
- isNonEmptyString,
10
- isNumber,
11
- isPositiveNumber,
12
- isBoolean,
13
- isFunction,
14
- isDate,
15
- isDefined,
16
- } from "./primitive-guards";
17
- export {
18
- isPlainObject,
19
- isUrl,
20
- isStringArray,
21
- isNumberArray,
22
- hasProperty,
23
- hasProperties,
24
- isPromise,
25
- } from "./structure-guards";
26
- export { isCreationWithOutput, isWizardData } from "./domain-guards";
@@ -1,8 +0,0 @@
1
- /**
2
- * Validation Type Definitions
3
- */
4
-
5
- export interface ValidationResult {
6
- isValid: boolean;
7
- error?: string;
8
- }
@@ -1,18 +0,0 @@
1
- /**
2
- * Common Validation Utilities - Barrel Export
3
- * Reusable validation functions for forms and data
4
- */
5
-
6
- export type { ValidationResult } from "./validation-types";
7
- export { validateUserId, validateCreationId } from "./id-validators";
8
- export {
9
- validatePrompt,
10
- validateUrl,
11
- validateVideoDuration,
12
- validateEmail,
13
- } from "./content-validators";
14
- export {
15
- validateNotEmpty,
16
- validateNumericRange,
17
- combineValidations,
18
- } from "./general-validators";
@@ -1,6 +0,0 @@
1
- /**
2
- * Shared Utilities
3
- */
4
-
5
- export * from "./date";
6
- export * from "./filters";