Merge remote-tracking branch 'parent/main' into upstream-20241209
This commit is contained in:
commit
6b6f145633
28 changed files with 571 additions and 324 deletions
7
app/javascript/mastodon/models/tags.ts
Normal file
7
app/javascript/mastodon/models/tags.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import type { ApiHashtagJSON } from 'mastodon/api_types/tags';
|
||||
|
||||
export type Hashtag = ApiHashtagJSON;
|
||||
|
||||
export const createHashtag = (serverJSON: ApiHashtagJSON): Hashtag => ({
|
||||
...serverJSON,
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue