editia-core
Version:
Core services and utilities for Editia applications - Authentication, Monetization, Video Generation Types, and Database Management
51 lines • 4.22 kB
JavaScript
;
/**
* React Native compatible exports from editia-core
* This file excludes any Node.js specific APIs like crypto, fs, etc.
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.VideoTemplateService = exports.TRANSCRIPT_EFFECTS = exports.CAPTION_PLACEMENTS = exports.LANGUAGES = exports.VideoRequestStatus = exports.isValidVideo = exports.isValidHexColor = exports.validateVideoGenerationRequest = exports.validateVideoEditorialProfile = exports.validateCaptionConfig = exports.validateVideoDuration = exports.VideoGenerationRequestSchema = exports.VideoEditorialProfileSchema = exports.CaptionConfigurationSchema = void 0;
__exportStar(require("./video/constants"), exports);
__exportStar(require("./video/validation"), exports);
// Re-export only the validation functions and schemas (no services)
var validation_1 = require("./video/validation");
Object.defineProperty(exports, "CaptionConfigurationSchema", { enumerable: true, get: function () { return validation_1.CaptionConfigurationSchema; } });
Object.defineProperty(exports, "VideoEditorialProfileSchema", { enumerable: true, get: function () { return validation_1.VideoEditorialProfileSchema; } });
Object.defineProperty(exports, "VideoGenerationRequestSchema", { enumerable: true, get: function () { return validation_1.VideoGenerationRequestSchema; } });
Object.defineProperty(exports, "validateVideoDuration", { enumerable: true, get: function () { return validation_1.validateVideoDuration; } });
Object.defineProperty(exports, "validateCaptionConfig", { enumerable: true, get: function () { return validation_1.validateCaptionConfig; } });
Object.defineProperty(exports, "validateVideoEditorialProfile", { enumerable: true, get: function () { return validation_1.validateVideoEditorialProfile; } });
Object.defineProperty(exports, "validateVideoGenerationRequest", { enumerable: true, get: function () { return validation_1.validateVideoGenerationRequest; } });
Object.defineProperty(exports, "isValidHexColor", { enumerable: true, get: function () { return validation_1.isValidHexColor; } });
Object.defineProperty(exports, "isValidVideo", { enumerable: true, get: function () { return validation_1.isValidVideo; } });
var constants_1 = require("./video/constants");
Object.defineProperty(exports, "VideoRequestStatus", { enumerable: true, get: function () { return constants_1.VideoRequestStatus; } });
Object.defineProperty(exports, "LANGUAGES", { enumerable: true, get: function () { return constants_1.LANGUAGES; } });
Object.defineProperty(exports, "CAPTION_PLACEMENTS", { enumerable: true, get: function () { return constants_1.CAPTION_PLACEMENTS; } });
Object.defineProperty(exports, "TRANSCRIPT_EFFECTS", { enumerable: true, get: function () { return constants_1.TRANSCRIPT_EFFECTS; } });
// Template service without Node.js dependencies
var template_service_1 = require("./video/template-service");
Object.defineProperty(exports, "VideoTemplateService", { enumerable: true, get: function () { return template_service_1.VideoTemplateService; } });
// ============================================================================
// EXCLUDED FROM REACT NATIVE
// ============================================================================
// The following are excluded because they use Node.js APIs:
// - Services that use @clerk/backend
// - Services that use Node.js crypto
// - Middleware that uses Node.js specific features
// - Any service that imports from @supabase/supabase-js directly
//# sourceMappingURL=react-native.js.map