diff options
Diffstat (limited to 'server/models/account/account-interface.ts')
-rw-r--r-- | server/models/account/account-interface.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/models/account/account-interface.ts b/server/models/account/account-interface.ts index e30260f76..2e4b0382d 100644 --- a/server/models/account/account-interface.ts +++ b/server/models/account/account-interface.ts | |||
@@ -10,10 +10,8 @@ export namespace AccountMethods { | |||
10 | export type Load = (id: number) => Bluebird<AccountInstance> | 10 | export type Load = (id: number) => Bluebird<AccountInstance> |
11 | export type LoadByUUID = (uuid: string) => Bluebird<AccountInstance> | 11 | export type LoadByUUID = (uuid: string) => Bluebird<AccountInstance> |
12 | export type LoadByUrl = (url: string, transaction?: Sequelize.Transaction) => Bluebird<AccountInstance> | 12 | export type LoadByUrl = (url: string, transaction?: Sequelize.Transaction) => Bluebird<AccountInstance> |
13 | export type LoadAccountByServerAndUUID = (uuid: string, serverId: number, transaction: Sequelize.Transaction) => Bluebird<AccountInstance> | ||
14 | export type LoadLocalByName = (name: string) => Bluebird<AccountInstance> | 13 | export type LoadLocalByName = (name: string) => Bluebird<AccountInstance> |
15 | export type LoadByNameAndHost = (name: string, host: string) => Bluebird<AccountInstance> | 14 | export type LoadByNameAndHost = (name: string, host: string) => Bluebird<AccountInstance> |
16 | export type ListOwned = () => Bluebird<AccountInstance[]> | ||
17 | 15 | ||
18 | export type ToActivityPubObject = (this: AccountInstance) => ActivityPubActor | 16 | export type ToActivityPubObject = (this: AccountInstance) => ActivityPubActor |
19 | export type ToFormattedJSON = (this: AccountInstance) => FormattedAccount | 17 | export type ToFormattedJSON = (this: AccountInstance) => FormattedAccount |
@@ -26,13 +24,11 @@ export namespace AccountMethods { | |||
26 | 24 | ||
27 | export interface AccountClass { | 25 | export interface AccountClass { |
28 | loadApplication: AccountMethods.LoadApplication | 26 | loadApplication: AccountMethods.LoadApplication |
29 | loadAccountByServerAndUUID: AccountMethods.LoadAccountByServerAndUUID | ||
30 | load: AccountMethods.Load | 27 | load: AccountMethods.Load |
31 | loadByUUID: AccountMethods.LoadByUUID | 28 | loadByUUID: AccountMethods.LoadByUUID |
32 | loadByUrl: AccountMethods.LoadByUrl | 29 | loadByUrl: AccountMethods.LoadByUrl |
33 | loadLocalByName: AccountMethods.LoadLocalByName | 30 | loadLocalByName: AccountMethods.LoadLocalByName |
34 | loadByNameAndHost: AccountMethods.LoadByNameAndHost | 31 | loadByNameAndHost: AccountMethods.LoadByNameAndHost |
35 | listOwned: AccountMethods.ListOwned | ||
36 | } | 32 | } |
37 | 33 | ||
38 | export interface AccountAttributes { | 34 | export interface AccountAttributes { |