mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-28 03:22:39 +00:00
1349df2d68
- introduce broad v2 API surface across device, user, dance, and stackchandevice modules - add admin/appstore management flows and strengthen service/controller layering - implement XiaoZhi integration end-to-end, including token, refresh, license, and agent-related models/services - expand social and media capabilities with pano support, post/comment workflow updates, and bundled dance music assets - add websocket task pipeline and refactor realtime communication models/handlers - enhance middleware, cron bootstrap, DAO/model coverage, and configuration/deployment manifests for production readiness - add RSA utility support and update project documentation/config scaffolding
35 lines
1.4 KiB
Go
35 lines
1.4 KiB
Go
/*
|
|
SPDX-FileCopyrightText: 2026 M5Stack Technology CO LTD
|
|
SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
// =================================================================================
|
|
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
|
// =================================================================================
|
|
|
|
package dance
|
|
|
|
import (
|
|
"context"
|
|
|
|
"stackChan/api/dance/v1"
|
|
"stackChan/api/dance/v2"
|
|
)
|
|
|
|
type IDanceV1 interface {
|
|
Create(ctx context.Context, req *v1.CreateReq) (res *v1.CreateRes, err error)
|
|
Delete(ctx context.Context, req *v1.DeleteReq) (res *v1.DeleteRes, err error)
|
|
Update(ctx context.Context, req *v1.UpdateReq) (res *v1.UpdateRes, err error)
|
|
GetList(ctx context.Context, req *v1.GetListReq) (res *v1.GetListRes, err error)
|
|
GetDanceInfo(ctx context.Context, req *v1.GetDanceInfoReq) (res *v1.GetDanceInfoRes, err error)
|
|
GetMusicList(ctx context.Context, req *v1.GetMusicListReq) (res *v1.GetMusicListRes, err error)
|
|
}
|
|
|
|
type IDanceV2 interface {
|
|
GetList(ctx context.Context, req *v2.GetListReq) (res *v2.GetListRes, err error)
|
|
Create(ctx context.Context, req *v2.CreateReq) (res *v2.CreateRes, err error)
|
|
Delete(ctx context.Context, req *v2.DeleteReq) (res *v2.DeleteRes, err error)
|
|
Update(ctx context.Context, req *v2.UpdateReq) (res *v2.UpdateRes, err error)
|
|
GetDanceInfo(ctx context.Context, req *v2.GetDanceInfoReq) (res *v2.GetDanceInfoRes, err error)
|
|
}
|