UNPKG

mongodb-stitch

Version:

[![Join the chat at https://gitter.im/mongodb/stitch](https://badges.gitter.im/mongodb/stitch.svg)](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

11 lines (10 loc) 328 B
import { Codec } from "mongodb-stitch-core-sdk"; export interface ServiceResponse { readonly id: string; readonly name: string; readonly type: string; } export declare class ServiceResponseCodec implements Codec<ServiceResponse> { decode(from: any): ServiceResponse; encode(from: ServiceResponse): object; }