UNPKG

@swarmion/serverless-contracts

Version:

Generate and use type-safe contracts between your Serverless services.

11 lines 531 B
import { EventBridgeContract } from '../eventBridgeContract'; import { FullContractSchemaType } from '../types/fullContract'; /** * Returns the aggregated EventBridgeContract schema in order to compare contracts versions. * * This also enables to infer the type with `json-schema-to-ts`. * * @param contract your EventBridgeContract */ export declare const getFullContractSchema: <Contract extends EventBridgeContract>(contract: Contract) => FullContractSchemaType<Contract>; //# sourceMappingURL=fullContractSchema.d.ts.map