diff --git a/package.json b/package.json index f598f69d..6fda39e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fosscord/server-util", - "version": "1.1.0", + "version": "1.1.1", "description": "Utility functions for the all server repositories", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/models/Template.ts b/src/models/Template.ts index 864a8113..ef82c343 100644 --- a/src/models/Template.ts +++ b/src/models/Template.ts @@ -16,6 +16,7 @@ import { } from "./Guild"; export interface Template extends Document { + id: string; code: string; name: string; description ? : string; @@ -29,6 +30,7 @@ export interface Template extends Document { } export const TemplateSchema = new Schema({ + id: String, code: String, name: String, description: String,