import * as Promise from 'bluebird'
// Don't use barrel, import just what we need
-import { Pod as FormatedPod } from '../../../shared/models/pods/pod.model'
+import { Pod as FormattedPod } from '../../../shared/models/pods/pod.model'
export namespace PodMethods {
- export type ToFormatedJSON = (this: PodInstance) => FormatedPod
+ export type ToFormattedJSON = (this: PodInstance) => FormattedPod
export type CountAll = () => Promise<number>
createdAt: Date
updatedAt: Date
- toFormatedJSON: PodMethods.ToFormatedJSON,
+ toFormattedJSON: PodMethods.ToFormattedJSON,
}
export interface PodModel extends PodClass, Sequelize.Model<PodInstance, PodAttributes> {}