diff options
Diffstat (limited to 'shared/models/accounts')
-rw-r--r-- | shared/models/accounts/account.model.ts | 5 | ||||
-rw-r--r-- | shared/models/accounts/follow.model.ts | 1 | ||||
-rw-r--r-- | shared/models/accounts/index.ts | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/shared/models/accounts/account.model.ts b/shared/models/accounts/account.model.ts new file mode 100644 index 000000000..338426dc7 --- /dev/null +++ b/shared/models/accounts/account.model.ts | |||
@@ -0,0 +1,5 @@ | |||
1 | export interface Account { | ||
2 | id: number | ||
3 | name: string | ||
4 | host: string | ||
5 | } | ||
diff --git a/shared/models/accounts/follow.model.ts b/shared/models/accounts/follow.model.ts new file mode 100644 index 000000000..80cfe07e4 --- /dev/null +++ b/shared/models/accounts/follow.model.ts | |||
@@ -0,0 +1 @@ | |||
export type FollowState = 'pending' | 'accepted' | |||
diff --git a/shared/models/accounts/index.ts b/shared/models/accounts/index.ts new file mode 100644 index 000000000..8fe437b81 --- /dev/null +++ b/shared/models/accounts/index.ts | |||
@@ -0,0 +1,2 @@ | |||
1 | export * from './account.model' | ||
2 | export * from './follow.model' | ||