UNPKG

@mesh-tech/mesh-cli

Version:

CLI for Mesh platform development utilities

52 lines (51 loc) 1.91 kB
export declare const LOCAL_TENANT = "local"; export declare const LOCAL_ENV = "dev"; export declare const LOCAL_AWS_ENDPOINT = "http://localhost:4566"; export declare const LOCAL_AWS_REGION = "us-east-2"; export declare const ARTIFACTS_BUCKET = "mesh-local-artifacts"; export declare const DATA_BUCKET = "mesh-local-data"; export declare const APP_TENANTS_PARAM = "/mesh-platform/local/dev/app-tenants"; export declare const LOCAL_AWS_CONFIG: { endpoint: string; region: string; credentials: { accessKeyId: string; secretAccessKey: string; }; }; export declare function localAwsEnv(): Record<string, string>; export declare function buildAppTenantsSeed(): { hubTenant: string; primaryTenant: { albGroupName: string; certificateArn: string; baseDomain: string; deployerRoleArn: string; artifactsBucket: string; spicedb: { endpoint: string; presharedKeySecret: string; }; zitadel: { orgId: string; domain: string; issuer: string; }; }; sharedTenants: {}; }; export interface SeedResult { parameter: string; bucket: string; } export declare const FABRIC_CHECK_PATH = "/mesh-platform/local/dev/.fabric-check"; export declare const TEMPORAL_NAMESPACE = "local-dev"; export declare const TEMPORAL_ADDRESS = "localhost:7233"; export declare function seedTemporalNamespace(): Promise<void>; export declare function ensureTemporalNamespace(namespace: string, description?: string): Promise<void>; export declare function buildFabricCheckPayload(targetBytes?: number): string; export declare function verifyFabric(): Promise<void>; export declare function registerTenantEnv(tenant: string, opts?: { tier?: "hub" | "dedicated" | "shared"; }): Promise<void>; export declare function seedLocalPlatform(): Promise<SeedResult>;