mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
15 lines
435 B
TypeScript
15 lines
435 B
TypeScript
import { model } from "mongoose";
|
|
|
|
import AnonymizedPullRequestSchema from "./anonymizedPullRequests.schema";
|
|
import {
|
|
IAnonymizedPullRequestDocument,
|
|
IAnonymizedPullRequestModel,
|
|
} from "./anonymizedPullRequests.types";
|
|
|
|
const AnonymizedPullRequestModel = model<IAnonymizedPullRequestDocument>(
|
|
"AnonymizedPullRequest",
|
|
AnonymizedPullRequestSchema
|
|
) as IAnonymizedPullRequestModel;
|
|
|
|
export default AnonymizedPullRequestModel;
|