持久化码后台操作记录
新增兑换码和邀请码后台操作持久表。 列表接口返回全部操作记录并同步前后端契约。 后台页面展示持久化操作历史并移除最近一条会话记录。 更新 SpacetimeDB 迁移表清单、生成绑定和后端架构文档。
This commit is contained in:
@@ -416,8 +416,18 @@ export interface ProfileRedeemCodeAdminResponse {
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
export interface ProfileCodeOperationAdminResponse {
|
||||
operationId: string;
|
||||
codeKind: 'redeem' | 'invite' | string;
|
||||
code: string;
|
||||
action: 'create' | 'update' | 'disable' | string;
|
||||
operatorUserId: string;
|
||||
createdAt: string;
|
||||
}
|
||||
|
||||
export interface ProfileRedeemCodeAdminListResponse {
|
||||
entries: ProfileRedeemCodeAdminResponse[];
|
||||
operations: ProfileCodeOperationAdminResponse[];
|
||||
}
|
||||
|
||||
export interface ProfileInviteCodeAdminResponse {
|
||||
@@ -433,6 +443,7 @@ export interface ProfileInviteCodeAdminResponse {
|
||||
|
||||
export interface ProfileInviteCodeAdminListResponse {
|
||||
entries: ProfileInviteCodeAdminResponse[];
|
||||
operations: ProfileCodeOperationAdminResponse[];
|
||||
}
|
||||
|
||||
export interface ProfileTaskConfigAdminResponse {
|
||||
|
||||
Reference in New Issue
Block a user