@clipwhisperer/common
Version:
ClipWhisperer Common - Shared library providing core utilities, database schemas, authentication, bucket management, and common functionality across all ClipWhisperer microservices
38 lines (37 loc) • 1.1 kB
TypeScript
/**
* Service Configuration Constants
* Centralized service URLs and port configurations
*/
export declare const SERVICE_PORTS: {
readonly NARRATOR: 9002;
readonly HUB: 9003;
readonly RENDERER: 9004;
readonly SCRAPER: 9001;
};
export declare const SERVICE_URLS: {
readonly NARRATOR: string;
readonly HUB: string;
readonly RENDERER: string;
readonly SCRAPER: string;
};
export declare const API_ENDPOINTS: {
readonly NARRATOR: {
readonly SYNTHESIZE: "/v1/synthesize";
readonly HEALTH: "/health";
};
readonly RENDERER: {
readonly RENDER_SINGLE: "/v1/renderSingle";
readonly RENDER_WITH_SPEECH_MARKS: "/v1/renderWithSpeechMarks";
readonly TEST_FFMPEG: "/v1/testFFmpeg";
readonly HEALTH: "/health";
};
readonly HUB: {
readonly CREATE_VIDEO_WITH_SPEECH_MARKS: "/v1/video/createWithSpeechMarks";
readonly METADATA: "/v1/metadata";
readonly HEALTH: "/health";
};
readonly SCRAPER: {
readonly SCRAPE: "/v1/scrape";
readonly HEALTH: "/health";
};
};