Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

アカウントに関連したデータ構造の見直し #1

Merged
merged 12 commits into from
Feb 12, 2023
16 changes: 15 additions & 1 deletion docs/shuttlepub-core/data-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ classDiagram
class Account {
id: long
account_name: String
is_bot: bool
profile: Profile
follow: Vec[Follow]
}
Expand All @@ -13,10 +14,23 @@ classDiagram
summary: String
icon: String
banner: String
meta_data: Vec[MetaData]
}
class Follow {
target: [AccountId | String]
id: ULID
target: [AccountId[long] | String]
}
class MetaData {
id: long
label: String
content: String
}
class Confidential {
id: AccountId[long]
mail: String
password: String
}
Account --|> Profile
Account --|> Follow
Profile --|> MetaData
```