Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KunMoe/kun-galgame-patch
/ types & classes
Types & classes
365 in github.com/KunMoe/kun-galgame-patch
⨍
Functions
1,135
◇
Types & classes
365
Struct
AbortRequest
AbortRequest aborts an in-progress upload.
apps/api/internal/common/upload/dto.go:58
Struct
AdjustRequest
AdjustRequest is the POST /users/:id/moemoepoint body. source_app is derived server-side from the authenticated client, so it's intentionally absent.
apps/api/pkg/moemoepoint/client.go:64
Struct
AdjustResult
AdjustResult is the data payload of a successful adjust. Applied=false means the idempotency key already existed (no double-apply).
apps/api/pkg/moemoepoint/client.go:75
Struct
AdminDetail
AdminDetail is the admin edit-load shape: raw markdown + the hash + the effective banner URL for preview.
apps/api/internal/doc/model/model.go:129
Struct
AdminHandler
apps/api/internal/admin/handler/handler.go:23
Struct
AdminItem
AdminItem is one row in the admin doc-management list (incl. drafts).
apps/api/internal/doc/model/model.go:114
Interface
AdminLog
apps/web/app/shared/types/admin.d.ts:46
Struct
AdminLog
AdminLog represents an admin action log entry
apps/api/internal/admin/model/model.go:10
Interface
AdminOrphanPatchesResponse
apps/web/app/shared/types/admin.d.ts:56
Struct
AdminPaginationRequest
AdminPaginationRequest is the common admin pagination request. Status is only meaningful for the comment list (the review queue): "pending" → status<
apps/api/internal/admin/dto/dto.go:8
Struct
AdminRepository
apps/api/internal/admin/repository/repository.go:23
Interface
AdminResourceItem
apps/web/app/shared/types/admin.d.ts:26
Struct
AdminService
apps/api/internal/admin/service/service.go:23
Struct
AdminSettingBoolRequest
AdminSettingBoolRequest is the request for toggling a boolean admin setting
apps/api/internal/admin/dto/dto.go:26
Struct
AdminStatsRequest
AdminStatsRequest is the request for fetching admin stats
apps/api/internal/admin/dto/dto.go:31
Struct
AdminStatsResponse
AdminStatsResponse is the response for overview stats. NOTE: json tags must match the FE keys (app/shared/types/admin.d.ts + app/constants/admin.ts AD
apps/api/internal/admin/dto/dto.go:39
Struct
AdminStatsSumResponse
AdminStatsSumResponse is the response for total stats. json tags must match the FE keys (ADMIN_STATS_SUM_MAP + SumData): `resource_count` / `comment_c
apps/api/internal/admin/dto/dto.go:51
Struct
AdminUpdateCommentRequest
AdminUpdateCommentRequest is the request for updating a comment (admin)
apps/api/internal/admin/dto/dto.go:16
Struct
AdminUpdateResourceRequest
AdminUpdateResourceRequest is the request for updating a resource (admin)
apps/api/internal/admin/dto/dto.go:21
Interface
ApiError
apps/web/app/composables/useApi.ts:24
Interface
ApiOptions
apps/web/app/composables/useApi.ts:12
Interface
ApiResponse
apps/web/app/composables/useApi.ts:18
Struct
App
apps/api/internal/app/app.go:53
Struct
AppError
apps/api/pkg/errors/errors.go:5
Struct
ArtifactConfig
ArtifactConfig points at the centralized artifact service (large-file upload/download, port 9279). Auth is HTTP Basic with an OAuth client_id/secret —
apps/api/pkg/config/config.go:89
Struct
ArtifactResponse
ArtifactResponse defines model for ArtifactResponse.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:20
Interface
AuditLogger
AuditLogger records privileged moderation actions to the admin audit log. It's defined HERE — in the canonical owner of resource/comment deletes — so
apps/api/internal/patch/service/service.go:42
Struct
AuthHandler
apps/api/internal/auth/handler/handler.go:28
Struct
AuthRepository
AuthRepository is the data layer for the auth module. After the OAuth migration this is intentionally tiny: identity is owned by OAuth, so the only op
apps/api/internal/auth/repository/repository.go:13
Struct
AuthService
apps/api/internal/auth/service/service.go:39
Interface
AuthorizeOptions
apps/web/app/shared/utils/pkce.ts:68
Struct
Awarder
Awarder applies a moemoepoint change via OAuth (the source of truth), then mirrors the returned authoritative balance into moyu's local user.moemoepoi
apps/api/pkg/moemoepoint/awarder.go:13
Struct
Brief
Brief is the public user brief returned by /users/batch and /users/search. Fields match docs/oauth/api-reference.md.
apps/api/pkg/userclient/client.go:30
Struct
CORSConfig
apps/api/pkg/config/config.go:95
Interface
CalendarBucketResponse
apps/web/app/shared/types/calendar.d.ts:41
Struct
CalendarCard
CalendarCard is a release-calendar entry: a GalgameCard built straight from the wiki calendar brief — which carries release_date + release_precision +
apps/api/internal/galgame/enricher/enricher.go:562
Interface
CalendarItem
apps/web/app/shared/types/calendar.d.ts:14
Interface
CalendarMonthResponse
apps/web/app/shared/types/calendar.d.ts:25
Struct
CarouselItem
CarouselItem is a pinned, published doc surfaced on the home carousel. Banner is the effective (image_service hash → CDN, else static) URL; Slug drive
apps/api/internal/doc/model/model.go:92
Struct
ChatHandler
apps/api/internal/chat/handler/handler.go:26
Struct
ChatMember
ChatMember is a chat room member.
apps/api/internal/chat/model/model.go:48
Struct
ChatMessage
ChatMessage is a chat message. FK behavior (declared in migrations/000_baseline.up.sql, NOT enforced by GORM AutoMigrate which we don't run — the `co
apps/api/internal/chat/model/model.go:82
Struct
ChatMessageEditHistory
ChatMessageEditHistory is the edit history of a message.
apps/api/internal/chat/model/model.go:153
Interface
ChatMessageItem
apps/web/app/shared/types/chat.d.ts:47
Struct
ChatMessageReaction
ChatMessageReaction is an emoji reaction on a message.
apps/api/internal/chat/model/model.go:141
Interface
ChatMessageReactionItem
apps/web/app/shared/types/chat.d.ts:35
Struct
ChatMessageSeen
ChatMessageSeen is the seen state of a message (a given user has read a given message).
apps/api/internal/chat/model/model.go:131
Interface
ChatQuoteMessage
apps/web/app/shared/types/chat.d.ts:41
Struct
ChatQuoteView
ChatQuoteView is the compact preview of a replied-to message.
apps/api/internal/chat/model/model.go:124
Struct
ChatReactionView
ChatReactionView is one reaction enriched with the reacting user's brief, matching the frontend's `message.reaction[]` shape.
apps/api/internal/chat/model/model.go:117
Struct
ChatRepository
apps/api/internal/chat/repository/repository.go:13
Struct
ChatRoom
ChatRoom is a chat room (private or group). - Type = "PRIVATE": private chat, Link format is "{minUid}-{maxUid}" - Type = "GROUP": group chat, Link i
apps/api/internal/chat/model/model.go:18
Interface
ChatRoomDetail
apps/web/app/shared/types/chat.d.ts:31
Interface
ChatRoomMember
apps/web/app/shared/types/chat.d.ts:21
Interface
ChatRoomSummary
apps/web/app/shared/types/chat.d.ts:4
Struct
ChatService
apps/api/internal/chat/service/service.go:20
Struct
Client
Client calls OAuth's moemoepoint s2s endpoints.
apps/api/pkg/moemoepoint/client.go:38
Struct
Client
Client is a thin singleton-friendly wrapper around the generated client.
apps/api/pkg/artifactclient/client.go:112
Struct
Client
Client which conforms to the OpenAPI3 specification for this service.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:183
Struct
Client
Client is the OAuth user-brief client.
apps/api/pkg/userclient/client.go:59
Struct
Client
Client is a thin singleton-friendly wrapper. Reuse one across the process.
apps/api/pkg/imageclient/client.go:61
Struct
Client
Client is a thin wrapper around calls to the Wiki Service.
apps/api/internal/galgame/client/client.go:42
Interface
ClientInterface
The interface specification for the client above.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:244
FuncType
ClientOption
ClientOption allows setting custom parameters during construction
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:200
Struct
ClientWithResponses
ClientWithResponses builds on ClientInterface to offer response payloads
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:634
Interface
ClientWithResponsesInterface
ClientWithResponsesInterface is the interface specification for the client with responses above.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:661
Struct
CommonHandler
apps/api/internal/common/handler.go:26
Struct
CompleteRequest
CompleteRequest finalizes an upload. Parts is required for multipart, omitted for single-PUT.
apps/api/internal/common/upload/dto.go:45
Interface
CompleteResponse
apps/web/app/composables/useResourceUpload.ts:75
Struct
CompleteResponse
CompleteResponse is the success response.
apps/api/internal/common/upload/dto.go:52
Struct
CompleteUploadRequest
CompleteUploadRequest defines model for CompleteUploadRequest.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:34
Struct
CompleteUploadResp
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:809
Struct
CompletedPart
CompletedPart defines model for CompletedPart.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:42
Struct
CompletedPart
CompletedPart is one finished multipart part the client reports back.
apps/api/internal/common/upload/dto.go:38
Struct
Config
Config configures a Client. BaseURL is the OAuth server base (same as the userclient — cfg.OAuth.ServerURL).
apps/api/pkg/moemoepoint/client.go:30
Struct
Config
Config bundles connection settings (created in app.go from config).
apps/api/pkg/artifactclient/client.go:91
Struct
Config
Config configures a Client.
apps/api/pkg/userclient/client.go:49
Struct
Config
Config bundles connection settings. Created in app.go from config.ImageServiceConfig; defaults for ClientID/Secret fall back to the project's OAuth cr
apps/api/pkg/imageclient/client.go:52
Struct
Config
apps/api/pkg/config/config.go:5
Struct
ContentColumn
ContentColumn is a (table, column) pair whose free-text markdown can hold domain-agnostic content image tokens (`/image/<hash>`).
apps/api/internal/infrastructure/cron/reference_ping.go:17
Struct
Counts
Counts mirrors the frontend `_count` nested object.
apps/api/internal/galgame/enricher/enricher.go:39
Interface
CoverInput
apps/web/app/composables/useGalgameEdit.ts:90
Struct
CoverInput
CoverInput / ScreenshotInput mirror the Wiki cover/screenshot row shape (docs/galgame_wiki/03-relations.md §封面 / 截图). Used as both response element (g
apps/api/internal/galgame/client/client.go:177
Struct
CreateMessageRequest
CreateMessageRequest sends a message. FileURL is optional (attachment).
apps/api/internal/chat/dto/dto.go:48
Interface
CreatePatchData
apps/web/app/stores/editStore.ts:5
Struct
CreateRoomRequest
─── Room ─────────────────────────────────────────── CreateRoomRequest creates a group chat room.
apps/api/internal/chat/dto/dto.go:6
Struct
CreatorAPIError
CreatorAPIError carries OAuth's business code/message from a creator call (e.g. pending exists, cooldown) so callers can surface the message.
apps/api/pkg/userclient/client.go:307
Struct
CreatorApplication
CreatorApplication mirrors OAuth's creator_applications row (the fields moyu surfaces to the user). Acted on behalf of the END USER, not via client cr
apps/api/pkg/userclient/client.go:293
Struct
CreatorEligibility
CreatorEligibility is the moyu-side eligibility snapshot (counts vs thresholds).
apps/api/internal/user/service/creator.go:24
Struct
DatabaseConfig
apps/api/pkg/config/config.go:22
Struct
DeleteArtifactResp
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:747
Struct
DeleteData
DeleteData defines model for DeleteData.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:48
Struct
Doc
Doc is the doc table row.
apps/api/internal/doc/model/model.go:18
Interface
DocAdminDetail
apps/web/app/shared/types/doc.d.ts:17
Interface
DocAdminItem
apps/web/app/shared/types/doc.d.ts:4
Struct
DocCreateRequest
DocCreateRequest is POST /admin/doc. The stored slug is "<category>/<name>"; the client sends category + name (within-category, no slash). banner_imag
apps/api/internal/doc/dto/dto.go:7
Struct
DocHandler
apps/api/internal/doc/handler/handler.go:19
Struct
DocRepository
apps/api/internal/doc/repository/repository.go:10
Struct
DocService
apps/api/internal/doc/service/service.go:36
Struct
DocUpdateRequest
DocUpdateRequest is PUT /admin/doc/:id. Pointer fields = presence semantics (nil = leave unchanged). banner_image_hash "" clears the banner.
apps/api/internal/doc/dto/dto.go:21
next →
1–100 of 365, ranked by callers