Scope knowledge and image libraries by brand
This commit is contained in:
@@ -460,6 +460,7 @@ type ImageAsset struct {
|
||||
CreatedAt pgtype.Timestamptz `json:"created_at"`
|
||||
DeletedAt pgtype.Timestamptz `json:"deleted_at"`
|
||||
ContentHash pgtype.Text `json:"content_hash"`
|
||||
BrandID int64 `json:"brand_id"`
|
||||
}
|
||||
|
||||
type ImageAssetReference struct {
|
||||
@@ -478,6 +479,7 @@ type ImageFolder struct {
|
||||
Name string `json:"name"`
|
||||
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
|
||||
CreatedAt pgtype.Timestamptz `json:"created_at"`
|
||||
BrandID int64 `json:"brand_id"`
|
||||
}
|
||||
|
||||
type KnowledgeChunksMetum struct {
|
||||
@@ -517,6 +519,7 @@ type KnowledgeGroup struct {
|
||||
CreatedAt pgtype.Timestamptz `json:"created_at"`
|
||||
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
|
||||
DeletedAt pgtype.Timestamptz `json:"deleted_at"`
|
||||
BrandID int64 `json:"brand_id"`
|
||||
}
|
||||
|
||||
type KnowledgeItem struct {
|
||||
@@ -536,6 +539,7 @@ type KnowledgeItem struct {
|
||||
UpdatedAt pgtype.Timestamptz `json:"updated_at"`
|
||||
DeletedAt pgtype.Timestamptz `json:"deleted_at"`
|
||||
MarkdownContent pgtype.Text `json:"markdown_content"`
|
||||
BrandID int64 `json:"brand_id"`
|
||||
}
|
||||
|
||||
type KnowledgeParseTask struct {
|
||||
|
||||
Reference in New Issue
Block a user