diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 11:45:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-08-25 11:45:31 +0200 |
commit | 0aef76c479bc7fc758e70e1cd478ade46761b51b (patch) | |
tree | ed59eae3ee731c56d25cc35a382f4cc400d0dece /server/models/pod/pod-interface.ts | |
parent | 93e1258c7cbc0d1235ca6d2a1f7c1875985328b8 (diff) | |
download | PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.gz PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.tar.zst PeerTube-0aef76c479bc7fc758e70e1cd478ade46761b51b.zip |
Formated -> Formatted
Diffstat (limited to 'server/models/pod/pod-interface.ts')
-rw-r--r-- | server/models/pod/pod-interface.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/models/pod/pod-interface.ts b/server/models/pod/pod-interface.ts index 340d4f1a7..8b0b72167 100644 --- a/server/models/pod/pod-interface.ts +++ b/server/models/pod/pod-interface.ts | |||
@@ -2,10 +2,10 @@ import * as Sequelize from 'sequelize' | |||
2 | import * as Promise from 'bluebird' | 2 | import * as Promise from 'bluebird' |
3 | 3 | ||
4 | // Don't use barrel, import just what we need | 4 | // Don't use barrel, import just what we need |
5 | import { Pod as FormatedPod } from '../../../shared/models/pods/pod.model' | 5 | import { Pod as FormattedPod } from '../../../shared/models/pods/pod.model' |
6 | 6 | ||
7 | export namespace PodMethods { | 7 | export namespace PodMethods { |
8 | export type ToFormatedJSON = (this: PodInstance) => FormatedPod | 8 | export type ToFormattedJSON = (this: PodInstance) => FormattedPod |
9 | 9 | ||
10 | export type CountAll = () => Promise<number> | 10 | export type CountAll = () => Promise<number> |
11 | 11 | ||
@@ -53,7 +53,7 @@ export interface PodInstance extends PodClass, PodAttributes, Sequelize.Instance | |||
53 | createdAt: Date | 53 | createdAt: Date |
54 | updatedAt: Date | 54 | updatedAt: Date |
55 | 55 | ||
56 | toFormatedJSON: PodMethods.ToFormatedJSON, | 56 | toFormattedJSON: PodMethods.ToFormattedJSON, |
57 | } | 57 | } |
58 | 58 | ||
59 | export interface PodModel extends PodClass, Sequelize.Model<PodInstance, PodAttributes> {} | 59 | export interface PodModel extends PodClass, Sequelize.Model<PodInstance, PodAttributes> {} |