feat: Refactor template handling and brand management
- Removed schema_json from article templates and related queries. - Updated brand service to include website field in requests and responses. - Simplified template wizard view by eliminating unused schema fields and related logic. - Added tests for ark text format handling. - Created migrations for dropping schema_json and adding website to brands.
This commit is contained in:
@@ -9,7 +9,6 @@ type ArticleTemplate struct {
|
||||
OriginType string
|
||||
TemplateKey string
|
||||
TemplateName string
|
||||
SchemaJSON map[string]interface{}
|
||||
PromptTemplate *string
|
||||
PromptVisibility string
|
||||
ProtectedPromptAssetKey *string
|
||||
|
||||
@@ -6,6 +6,7 @@ type Brand struct {
|
||||
ID int64
|
||||
TenantID int64
|
||||
Name string
|
||||
Website *string
|
||||
Description *string
|
||||
Status string
|
||||
CreatedAt time.Time
|
||||
|
||||
Reference in New Issue
Block a user