refactor: IDL structure modification (#475)
This commit is contained in:
@@ -19,10 +19,10 @@ package service
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/common"
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/crossdomain/database"
|
||||
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/table"
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/data/database/table"
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/data/knowledge"
|
||||
"github.com/coze-dev/coze-studio/backend/domain/memory/database/entity"
|
||||
)
|
||||
|
||||
@@ -189,8 +189,8 @@ type GetDatabaseTableSchemaRequest struct {
|
||||
}
|
||||
|
||||
type GetDatabaseTableSchemaResponse struct {
|
||||
SheetList []*common.DocTableSheet
|
||||
TableMeta []*common.DocTableColumn
|
||||
SheetList []*knowledge.DocTableSheet
|
||||
TableMeta []*knowledge.DocTableColumn
|
||||
PreviewData []map[int64]string
|
||||
}
|
||||
|
||||
|
||||
@@ -33,9 +33,9 @@ import (
|
||||
|
||||
"github.com/coze-dev/coze-studio/backend/infra/contract/cache"
|
||||
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/app/bot_common"
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/crossdomain/database"
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/ocean/cloud/bot_common"
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/table"
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/data/database/table"
|
||||
"github.com/coze-dev/coze-studio/backend/crossdomain/contract/crossvariables"
|
||||
entity2 "github.com/coze-dev/coze-studio/backend/domain/memory/database/entity"
|
||||
"github.com/coze-dev/coze-studio/backend/domain/memory/database/internal/convertor"
|
||||
|
||||
@@ -31,7 +31,7 @@ import (
|
||||
"gorm.io/gorm"
|
||||
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/crossdomain/database"
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/table"
|
||||
"github.com/coze-dev/coze-studio/backend/api/model/data/database/table"
|
||||
entity2 "github.com/coze-dev/coze-studio/backend/domain/memory/database/entity"
|
||||
"github.com/coze-dev/coze-studio/backend/domain/memory/database/internal/dal"
|
||||
"github.com/coze-dev/coze-studio/backend/domain/memory/database/repository"
|
||||
|
||||
Reference in New Issue
Block a user