feat(kol): workspace KOL cards + article source type

This commit is contained in:
2026-04-17 15:19:11 +08:00
parent 641383a585
commit b6bd4f02fb
16 changed files with 192 additions and 5 deletions
+11
View File
@@ -85,6 +85,16 @@ export interface TemplateCard {
prompt_visibility: string;
}
export interface KolWorkspaceCard {
subscription_prompt_id: number;
granted_at: string;
prompt_name: string;
platform_hint: string | null;
package_name: string;
package_cover: string | null;
kol_display_name: string;
}
export type JsonPrimitive = string | number | boolean | null;
export type JsonValue = JsonPrimitive | JsonValue[] | { [key: string]: JsonValue };
@@ -228,6 +238,7 @@ export interface ArticleListItem {
id: number;
source_type: string;
template_id: number | null;
kol_prompt_id: number | null;
template_name: string | null;
prompt_rule_id: number | null;
prompt_rule_name: string | null;