feat: follow llm.txt
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"quyun/v2/database/models"
|
||||
)
|
||||
|
||||
// ContentListFilter defines list query filters for published contents within a tenant.
|
||||
type ContentListFilter struct {
|
||||
// Pagination controls paging parameters (page/limit).
|
||||
requests.Pagination `json:",inline" query:",inline"`
|
||||
|
||||
@@ -6,6 +6,7 @@ import (
|
||||
"quyun/v2/pkg/consts"
|
||||
)
|
||||
|
||||
// ContentCreateForm defines payload for tenant-admin to create a new content draft.
|
||||
type ContentCreateForm struct {
|
||||
// Title is the content title.
|
||||
Title string `json:"title,omitempty"`
|
||||
|
||||
@@ -4,7 +4,7 @@ import "quyun/v2/database/models"
|
||||
|
||||
// MeResponse returns the resolved tenant context for the current request.
|
||||
type MeResponse struct {
|
||||
// Tenant is the resolved tenant by `tenant_code`.
|
||||
// Tenant is the resolved tenant by `tenantCode`.
|
||||
Tenant *models.Tenant `json:"tenant,omitempty"`
|
||||
// User is the authenticated user derived from JWT `user_id`.
|
||||
User *models.User `json:"user,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user