koishi-plugin-aka-ai-generator 0.5.5 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -13,22 +13,6 @@ export interface StyleConfig {
13
13
  export interface StyleGroupConfig {
14
14
  prompts: StyleConfig[];
15
15
  }
16
- export interface UserData {
17
- userId: string;
18
- userName: string;
19
- totalUsageCount: number;
20
- dailyUsageCount: number;
21
- lastDailyReset: string;
22
- purchasedCount: number;
23
- remainingPurchasedCount: number;
24
- donationCount: number;
25
- donationAmount: number;
26
- lastUsed: string;
27
- createdAt: string;
28
- }
29
- export interface UsersData {
30
- [userId: string]: UserData;
31
- }
32
16
  export interface Config {
33
17
  provider: ImageProvider;
34
18
  yunwuApiKey: string;
@@ -52,29 +36,5 @@ export interface Config {
52
36
  securityBlockWindow: number;
53
37
  securityBlockWarningThreshold: number;
54
38
  }
55
- export interface RechargeRecord {
56
- id: string;
57
- timestamp: string;
58
- type: 'single' | 'batch' | 'all';
59
- operator: {
60
- userId: string;
61
- userName: string;
62
- };
63
- targets: Array<{
64
- userId: string;
65
- userName: string;
66
- amount: number;
67
- beforeBalance: number;
68
- afterBalance: number;
69
- }>;
70
- totalAmount: number;
71
- note: string;
72
- metadata: Record<string, any>;
73
- }
74
- export interface RechargeHistory {
75
- version: string;
76
- lastUpdate: string;
77
- records: RechargeRecord[];
78
- }
79
39
  export declare const Config: Schema<Config>;
80
40
  export declare function apply(ctx: Context, config: Config): void;