Skip to content

@core-labs/gateway-contract-kit

Purpose

Defines the typed manifest that infra-control-plane compiles and edge-api-gateway consumes. No provider-specific types are referenced here.

Public API

import type { GatewayManifest, PolicyType, RouteConfig } from "@core-labs/gateway-contract-kit";

Manifest structure

type GatewayManifest = {
version: number;
tenantId: string;
routes: RouteConfig[];
plugins: PluginConfig[];
plans: PlanConfig[];
};

IP boundary

This package is neutral — it contains no gateway-provider-specific identifiers. Adapters that map to a specific provider live in product repositories.