mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-07-11 07:53:41 +02:00
feat: gist & co-authors
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { model } from "mongoose";
|
||||
|
||||
import AnonymizedGistSchema from "./anonymizedGists.schema";
|
||||
import {
|
||||
IAnonymizedGistDocument,
|
||||
IAnonymizedGistModel,
|
||||
} from "./anonymizedGists.types";
|
||||
|
||||
const AnonymizedGistModel = model<IAnonymizedGistDocument>(
|
||||
"AnonymizedGist",
|
||||
AnonymizedGistSchema
|
||||
) as IAnonymizedGistModel;
|
||||
|
||||
export default AnonymizedGistModel;
|
||||
Reference in New Issue
Block a user