mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
20 lines (19 loc) • 628 B
TypeScript
import { Codec } from "mongodb-stitch-core-sdk";
export interface FunctionCreator {
readonly canEvaluate?: string;
readonly name: string;
readonly private: boolean;
readonly source: string;
}
export declare class FunctionCreatorCodec implements Codec<FunctionCreator> {
decode(from: any): FunctionCreator;
encode(from: FunctionCreator): object;
}
export interface FunctionResponse {
readonly id: string;
readonly name: string;
}
export declare class FunctionResponseCodec implements Codec<FunctionResponse> {
decode(from: any): FunctionResponse;
encode(from: FunctionResponse): object;
}