mongodb-stitch
Version:
[](https://gitter.im/mongodb/stitch?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
17 lines (16 loc) • 498 B
TypeScript
import { Codec } from "mongodb-stitch-core-sdk";
export interface UserCreator {
readonly email: string;
readonly password: string;
}
export declare class UserCreatorCodec implements Codec<UserCreator> {
decode(from: any): UserCreator;
encode(from: UserCreator): object;
}
export interface UserResponse {
readonly id: string;
}
export declare class UserResponseCodec implements Codec<UserResponse> {
decode(from: any): UserResponse;
encode(from: UserResponse): object;
}