MCPcopy Create free account

hub / github.com/KunMoe/kun-galgame-patch / types & classes

Types & classes365 in github.com/KunMoe/kun-galgame-patch

StructAbortRequest
AbortRequest aborts an in-progress upload.
apps/api/internal/common/upload/dto.go:58
StructAdjustRequest
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
StructAdjustResult
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
StructAdminDetail
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
StructAdminHandler
apps/api/internal/admin/handler/handler.go:23
StructAdminItem
AdminItem is one row in the admin doc-management list (incl. drafts).
apps/api/internal/doc/model/model.go:114
InterfaceAdminLog
apps/web/app/shared/types/admin.d.ts:46
StructAdminLog
AdminLog represents an admin action log entry
apps/api/internal/admin/model/model.go:10
InterfaceAdminOrphanPatchesResponse
apps/web/app/shared/types/admin.d.ts:56
StructAdminPaginationRequest
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
StructAdminRepository
apps/api/internal/admin/repository/repository.go:23
InterfaceAdminResourceItem
apps/web/app/shared/types/admin.d.ts:26
StructAdminService
apps/api/internal/admin/service/service.go:23
StructAdminSettingBoolRequest
AdminSettingBoolRequest is the request for toggling a boolean admin setting
apps/api/internal/admin/dto/dto.go:26
StructAdminStatsRequest
AdminStatsRequest is the request for fetching admin stats
apps/api/internal/admin/dto/dto.go:31
StructAdminStatsResponse
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
StructAdminStatsSumResponse
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
StructAdminUpdateCommentRequest
AdminUpdateCommentRequest is the request for updating a comment (admin)
apps/api/internal/admin/dto/dto.go:16
StructAdminUpdateResourceRequest
AdminUpdateResourceRequest is the request for updating a resource (admin)
apps/api/internal/admin/dto/dto.go:21
InterfaceApiError
apps/web/app/composables/useApi.ts:24
InterfaceApiOptions
apps/web/app/composables/useApi.ts:12
InterfaceApiResponse
apps/web/app/composables/useApi.ts:18
StructApp
apps/api/internal/app/app.go:53
StructAppError
apps/api/pkg/errors/errors.go:5
StructArtifactConfig
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
StructArtifactResponse
ArtifactResponse defines model for ArtifactResponse.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:20
InterfaceAuditLogger
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
StructAuthHandler
apps/api/internal/auth/handler/handler.go:28
StructAuthRepository
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
StructAuthService
apps/api/internal/auth/service/service.go:39
InterfaceAuthorizeOptions
apps/web/app/shared/utils/pkce.ts:68
StructAwarder
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
StructBrief
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
StructCORSConfig
apps/api/pkg/config/config.go:95
InterfaceCalendarBucketResponse
apps/web/app/shared/types/calendar.d.ts:41
StructCalendarCard
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
InterfaceCalendarItem
apps/web/app/shared/types/calendar.d.ts:14
InterfaceCalendarMonthResponse
apps/web/app/shared/types/calendar.d.ts:25
StructCarouselItem
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
StructChatHandler
apps/api/internal/chat/handler/handler.go:26
StructChatMember
ChatMember is a chat room member.
apps/api/internal/chat/model/model.go:48
StructChatMessage
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
StructChatMessageEditHistory
ChatMessageEditHistory is the edit history of a message.
apps/api/internal/chat/model/model.go:153
InterfaceChatMessageItem
apps/web/app/shared/types/chat.d.ts:47
StructChatMessageReaction
ChatMessageReaction is an emoji reaction on a message.
apps/api/internal/chat/model/model.go:141
InterfaceChatMessageReactionItem
apps/web/app/shared/types/chat.d.ts:35
StructChatMessageSeen
ChatMessageSeen is the seen state of a message (a given user has read a given message).
apps/api/internal/chat/model/model.go:131
InterfaceChatQuoteMessage
apps/web/app/shared/types/chat.d.ts:41
StructChatQuoteView
ChatQuoteView is the compact preview of a replied-to message.
apps/api/internal/chat/model/model.go:124
StructChatReactionView
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
StructChatRepository
apps/api/internal/chat/repository/repository.go:13
StructChatRoom
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
InterfaceChatRoomDetail
apps/web/app/shared/types/chat.d.ts:31
InterfaceChatRoomMember
apps/web/app/shared/types/chat.d.ts:21
InterfaceChatRoomSummary
apps/web/app/shared/types/chat.d.ts:4
StructChatService
apps/api/internal/chat/service/service.go:20
StructClient
Client calls OAuth's moemoepoint s2s endpoints.
apps/api/pkg/moemoepoint/client.go:38
StructClient
Client is a thin singleton-friendly wrapper around the generated client.
apps/api/pkg/artifactclient/client.go:112
StructClient
Client which conforms to the OpenAPI3 specification for this service.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:183
StructClient
Client is the OAuth user-brief client.
apps/api/pkg/userclient/client.go:59
StructClient
Client is a thin singleton-friendly wrapper. Reuse one across the process.
apps/api/pkg/imageclient/client.go:61
StructClient
Client is a thin wrapper around calls to the Wiki Service.
apps/api/internal/galgame/client/client.go:42
InterfaceClientInterface
The interface specification for the client above.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:244
FuncTypeClientOption
ClientOption allows setting custom parameters during construction
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:200
StructClientWithResponses
ClientWithResponses builds on ClientInterface to offer response payloads
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:634
InterfaceClientWithResponsesInterface
ClientWithResponsesInterface is the interface specification for the client with responses above.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:661
StructCommonHandler
apps/api/internal/common/handler.go:26
StructCompleteRequest
CompleteRequest finalizes an upload. Parts is required for multipart, omitted for single-PUT.
apps/api/internal/common/upload/dto.go:45
InterfaceCompleteResponse
apps/web/app/composables/useResourceUpload.ts:75
StructCompleteResponse
CompleteResponse is the success response.
apps/api/internal/common/upload/dto.go:52
StructCompleteUploadRequest
CompleteUploadRequest defines model for CompleteUploadRequest.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:34
StructCompleteUploadResp
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:809
StructCompletedPart
CompletedPart defines model for CompletedPart.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:42
StructCompletedPart
CompletedPart is one finished multipart part the client reports back.
apps/api/internal/common/upload/dto.go:38
StructConfig
Config configures a Client. BaseURL is the OAuth server base (same as the userclient — cfg.OAuth.ServerURL).
apps/api/pkg/moemoepoint/client.go:30
StructConfig
Config bundles connection settings (created in app.go from config).
apps/api/pkg/artifactclient/client.go:91
StructConfig
Config configures a Client.
apps/api/pkg/userclient/client.go:49
StructConfig
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
StructConfig
apps/api/pkg/config/config.go:5
StructContentColumn
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
StructCounts
Counts mirrors the frontend `_count` nested object.
apps/api/internal/galgame/enricher/enricher.go:39
InterfaceCoverInput
apps/web/app/composables/useGalgameEdit.ts:90
StructCoverInput
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
StructCreateMessageRequest
CreateMessageRequest sends a message. FileURL is optional (attachment).
apps/api/internal/chat/dto/dto.go:48
InterfaceCreatePatchData
apps/web/app/stores/editStore.ts:5
StructCreateRoomRequest
─── Room ─────────────────────────────────────────── CreateRoomRequest creates a group chat room.
apps/api/internal/chat/dto/dto.go:6
StructCreatorAPIError
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
StructCreatorApplication
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
StructCreatorEligibility
CreatorEligibility is the moyu-side eligibility snapshot (counts vs thresholds).
apps/api/internal/user/service/creator.go:24
StructDatabaseConfig
apps/api/pkg/config/config.go:22
StructDeleteArtifactResp
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:747
StructDeleteData
DeleteData defines model for DeleteData.
apps/api/pkg/artifactclient/gen/artifact_client.gen.go:48
StructDoc
Doc is the doc table row.
apps/api/internal/doc/model/model.go:18
InterfaceDocAdminDetail
apps/web/app/shared/types/doc.d.ts:17
InterfaceDocAdminItem
apps/web/app/shared/types/doc.d.ts:4
StructDocCreateRequest
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
StructDocHandler
apps/api/internal/doc/handler/handler.go:19
StructDocRepository
apps/api/internal/doc/repository/repository.go:10
StructDocService
apps/api/internal/doc/service/service.go:36
StructDocUpdateRequest
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