everything-dev
Version:
A consolidated product package for building Module Federation apps with oRPC APIs.
36 lines (35 loc) • 837 B
text/typescript
import { SourceMode } from "./types.mjs";
import { Context, Layer } from "effect";
//#region src/service-descriptor.d.ts
interface ServiceDescriptor {
key: string;
source: SourceMode;
url: string;
remoteUrl?: string;
entry: string;
name: string;
localPath?: string;
port?: number;
readinessPath: string;
defaultPort: number;
integrity?: string;
proxy?: string;
variables?: Record<string, string>;
secrets?: string[];
ssr?: boolean;
command?: string;
args?: string[];
readyPatterns?: RegExp[];
errorPatterns?: RegExp[];
}
interface AppOrchestrator {
packages: string[];
description: string;
env: Record<string, string>;
port?: number;
interactive?: boolean;
noLogs?: boolean;
}
//#endregion
export { AppOrchestrator, ServiceDescriptor };
//# sourceMappingURL=service-descriptor.d.mts.map