From 50d6de9c286abcb34ff4234d56d9cbb803db7665 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Dec 2017 17:38:41 +0100 Subject: Begin moving video channel to actor --- shared/models/accounts/account.model.ts | 13 ------------- shared/models/accounts/follow.model.ts | 12 ------------ shared/models/accounts/index.ts | 2 -- 3 files changed, 27 deletions(-) delete mode 100644 shared/models/accounts/account.model.ts delete mode 100644 shared/models/accounts/follow.model.ts delete mode 100644 shared/models/accounts/index.ts (limited to 'shared/models/accounts') diff --git a/shared/models/accounts/account.model.ts b/shared/models/accounts/account.model.ts deleted file mode 100644 index d14701317..000000000 --- a/shared/models/accounts/account.model.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { Avatar } from '../avatars/avatar.model' - -export interface Account { - id: number - uuid: string - name: string - host: string - followingCount: number - followersCount: number - createdAt: Date - updatedAt: Date - avatar: Avatar -} diff --git a/shared/models/accounts/follow.model.ts b/shared/models/accounts/follow.model.ts deleted file mode 100644 index cdc3da560..000000000 --- a/shared/models/accounts/follow.model.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Account } from './account.model' - -export type FollowState = 'pending' | 'accepted' - -export interface AccountFollow { - id: number - follower: Account - following: Account - state: FollowState - createdAt: Date - updatedAt: Date -} diff --git a/shared/models/accounts/index.ts b/shared/models/accounts/index.ts deleted file mode 100644 index 8fe437b81..000000000 --- a/shared/models/accounts/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './account.model' -export * from './follow.model' -- cgit v1.2.3