MCPcopy Create free account

hub / github.com/HachimiWorld/hachimi-world-server / functions

Functions625 in github.com/HachimiWorld/hachimi-world-server

Methodfrom_song_origin_info
(x: SongOriginInfo, song_display_id: Option<String>)
src/service/song.rs:67
Functiongenerate_captcha
( mut state: State<AppState>, )
src/web/routes/auth.rs:525
Methodget_by_display_id
(executor: E, display_id: &str)
src/db/song.rs:248
Methodget_by_email
(executor: E, email: &str)
src/db/user.rs:108
Methodget_by_id
(executor: E, id: i64)
src/db/post.rs:38
Methodget_by_id
(executor: E, id: i64)
src/db/refresh_token.rs:42
Methodget_by_id
(executor: E, id: i64)
src/db/playlist.rs:70
Methodget_by_id
(executor: E, id: i64)
src/db/song_publishing_review_history.rs:64
Methodget_by_id
(executor: E, id: i64)
src/db/song_publishing_review_comment.rs:56
Methodget_by_id
(executor: E, id: i64)
src/db/song_publishing_review.rs:63
Methodget_by_id
(executor: E, id: i64)
src/db/version.rs:38
Methodget_by_id
(executor: E, id: i64)
src/db/user.rs:48
Methodget_by_id
(executor: E, id: i64)
src/db/song_tag.rs:43
Methodget_by_id
(executor: E, id: i64)
src/db/song.rs:136
Methodget_by_id
(executor: E, id: i64)
src/db/creator.rs:32
Methodget_by_jmid_prefix
(executor: impl PgExecutor<'e>, jmid_prefix: &str)
src/db/creator.rs:85
Methodget_by_name
(executor: E, name: &str)
src/db/song_tag.rs:118
Methodget_by_token_id
(executor: E, token_id: &str)
src/db/refresh_token.rs:98
Methodget_by_user_id
(executor: E, user_id: i64, provider_type: &str)
src/db/user_connection_accounts.rs:91
Methodget_by_user_id
(executor: impl PgExecutor<'e>, user_id: i64)
src/db/creator.rs:79
Methodget_by_username
(executor: E, username: &str)
src/db/user.rs:114
Methodget_favorite
(executor: E, user_id: i64, playlist_id: i64)
src/db/playlist.rs:234
Functionget_file_host
(config: Config)
src/main.rs:155
Functionget_followers
Get the followers list with cursor pagination.
src/service/follow.rs:168
Functionget_followers
( claims: Claims, state: State<AppState>, req: Query<FollowingListReq>, )
src/web/routes/user.rs:496
Functionget_following
Get the following list with cursor pagination.
src/service/follow.rs:116
Functionget_following
( claims: Claims, state: State<AppState>, req: Query<FollowingListReq>, )
src/web/routes/user.rs:472
Methodget_latest_version
(executor: impl PgExecutor<'e>, variant: &str, end_time: DateTime<Utc>)
src/db/version.rs:95
Functionget_meilisearch_client
(config: Config, pool: &PgPool)
src/main.rs:186
Methodget_num
(&self, key: &str)
src/config.rs:59
Functionget_play_count
( redis: &mut ConnectionManager, red_lock: &RedLock, sql_pool: &PgPool, song_id: i64 )
src/service/song_play.rs:9
Functionget_profile
( state: State<AppState>, claims: OptionalClaims, req: Query<GetProfileReq>, )
src/web/routes/user.rs:57
Functionget_public_detail_with_cache_legacy
( mut redis: ConnectionManager, sql_pool: &PgPool, song_id_list: &[i64], )
src/service/song.rs:189
Methodget_random_tags
(executor: E, limit: i64)
src/db/song_tag.rs:133
Functionget_redis_pool
(config: Config)
src/main.rs:122
Functionget_song_likes_batch
( redis_conn: ConnectionManager, sql_pool: &PgPool, song_ids: &[i64], )
src/service/song_like.rs:9
Methodget_str
(&self, key: &str)
src/config.rs:49
Functionget_test_meilisearch
()
tests/common/mod.rs:125
Functionget_test_redis_conn
()
tests/common/mod.rs:106
Functionget_test_sql_pool
()
tests/common/mod.rs:116
Functiongreet
()
src/web/routes/user.rs:47
Functionhealth
()
src/web/mod.rs:81
Functionhot_weekly
( state: State<AppState> )
src/web/routes/song.rs:347
Methodincrease_follower_count
(executor: E, uid: i64, delta: i64)
src/db/follow.rs:147
Methodincrease_following_count
(executor: E, uid: i64, delta: i64)
src/db/follow.rs:136
Methodinsert
(executor: E, value: &Self::Entity)
src/db/refresh_token.rs:70
Methodinsert
(executor: E, value: &Self::Entity)
src/db/playlist.rs:99
Methodinsert
(executor: E, value: &Self::Entity)
src/db/song_publishing_review_history.rs:90
Methodinsert
(executor: E, value: &Self::Entity)
src/db/song_publishing_review_comment.rs:79
Methodinsert
(executor: E, value: &UserConnectionAccount)
src/db/user_connection_accounts.rs:30
Methodinsert
(executor: E, value: &Self::Entity)
src/db/song_publishing_review.rs:97
Methodinsert
(executor: E, value: &Self::Entity)
src/db/version.rs:66
Methodinsert
(executor: E, value: &User)
src/db/user.rs:54
Methodinsert
(executor: E, value: &Self::Entity)
src/db/song_tag.rs:70
Methodinsert
(executor: E, value: &Self::Entity)
src/db/song.rs:191
Methodinsert
(executor: E, value: &Self::Entity)
src/db/creator.rs:57
Methodinsert_ignore
Insert a follow relationship. Returns true if a new row was inserted, false if the relationship already existed.
src/db/follow.rs:40
Methodinsert_likes
(executor: E, values: &[SongLike])
src/db/song.rs:383
Methodinsert_plays
(executor: E, values: &[SongPlay])
src/db/song.rs:419
Methodinto_response
(self)
src/web/jwt.rs:188
Methodinto_response
(self)
src/web/result.rs:199
Methodis_liked
(executor: E, song_id: i64, user_id: i64)
src/db/song.rs:396
Functionjmid_check
Check if the full jmid is available
src/web/routes/publish/jmid.rs:44
Functionjmid_check_prefix
Check if the jmid prefix part is not used by anyone
src/web/routes/publish/jmid.rs:24
Functionjmid_get_next
Get the next available jmid for this creator. Only available for a creator who had already specified a jm-code # Errors - `jmid_prefix_not_specified`
src/web/routes/publish/jmid.rs:77
Functionjmid_mine
( claims: Claims, state: State<AppState>, )
src/web/routes/publish/jmid.rs:58
Functionlatest_version
(state: State<AppState>, req: Query<LatestVersionReq>)
src/web/routes/version.rs:55
Functionlatest_version_batch
(state: State<AppState>, req: Json<LatestVersionBatchReq>)
src/web/routes/version.rs:76
Functionlike
( redis_conn: &ConnectionManager, sql_pool: &PgPool, uid: i64, song_id: i64, playback_position
src/service/song_like.rs:59
Functionlike
( claims: Claims, state: State<AppState>, req: Json<LikeReq>, )
src/web/routes/song.rs:384
Functionlikes_status
( claims: Claims, state: State<AppState>, req: Query<LikeStatusReq>, )
src/web/routes/song.rs:427
Methodlist
(executor: E)
src/db/post.rs:26
Methodlist
(_executor: E)
src/db/refresh_token.rs:34
Methodlist
(_executor: E)
src/db/playlist.rs:62
Methodlist
(executor: E)
src/db/song_publishing_review_history.rs:44
Methodlist
(executor: E)
src/db/song_publishing_review_comment.rs:39
Methodlist
(executor: E)
src/db/song_publishing_review.rs:53
Methodlist
(_executor: E)
src/db/version.rs:28
Methodlist
(executor: E)
src/db/user.rs:36
Methodlist
(executor: E)
src/db/song_tag.rs:33
Methodlist
(executor: E)
src/db/song.rs:126
Methodlist
(_executor: E)
src/db/creator.rs:24
Methodlist_by_create_time_after
(executor: E, create_time: DateTime<Utc>, limit: i64)
src/db/song.rs:307
Methodlist_by_create_time_before
(executor: E, create_time: DateTime<Utc>, limit: i64)
src/db/song.rs:312
Methodlist_by_ids
(executor: E, ids: &[i64])
src/db/playlist.rs:172
Methodlist_by_ids
(executor: E, ids: &[i64])
src/db/user.rs:102
Methodlist_by_ids
(executor: E, ids: &[i64])
src/db/song_tag.rs:100
Methodlist_by_ids
(executor: E, ids: &[i64])
src/db/song.rs:299
Methodlist_by_jmid
(executor: E, jmid: &str)
src/db/song_publishing_review.rs:141
Methodlist_by_song_ids
(executor: E, song_ids: &[i64])
src/db/song_tag.rs:109
Methodlist_by_uid
(executor: E, uid: i64)
src/db/refresh_token.rs:107
Methodlist_by_user
(executor: E, user_id: i64)
src/db/playlist.rs:166
Methodlist_by_user_id
(executor: E, user_id: i64)
src/db/user_connection_accounts.rs:71
Functionlist_containing
( claims: Claims, state: State<AppState>, req: Query<ListContainingReq>, )
src/web/routes/playlist.rs:203
Methodlist_containing
(executor: E, song_id: i64, user_id: i64)
src/db/playlist.rs:179
Methodlist_external_link_by_song_id
(executor: E, song_id: i64)
src/db/song.rs:288
Methodlist_external_link_by_song_ids
(executor: E, song_ids: &[i64])
src/db/song.rs:293
Methodlist_followers
Get the list of followers of `followed_id`, with cursor pagination.
src/db/follow.rs:110
Methodlist_following
Get the list of users that `follower_id` is following, with cursor pagination.
src/db/follow.rs:83
Methodlist_origin_info_by_song_id
(executor: E, song_id: i64)
src/db/song.rs:265
← previousnext →301–400 of 625, ranked by callers