mirror of
https://github.com/zhom/donutbrowser.git
synced 2026-12-05 10:03:44 +01:00
feat: paid-only credits
This commit is contained in:
1 parent
b07bad0c59
commit
d14ab79588
23 files changed
+142
-102
No files matched your search
@@ -464,15 +464,13 @@
|
||||
list_agent_routine_runs: (args) =>
|
||||
args.id === "routine-daily" ? copy(routineRuns) : [],
|
||||
get_agent_credits: {
|
||||
allowance: 10000,
|
||||
used: 2350,
|
||||
allowance: 200000,
|
||||
used: 23500,
|
||||
extra: 0,
|
||||
balance: 7650,
|
||||
balance: 176500,
|
||||
periodEnd: new Date(nowMs + 12 * 24 * 60 * MIN).toISOString(),
|
||||
plan: "pro",
|
||||
unlimited: false,
|
||||
freeGrant: null,
|
||||
freeGrantAt: null,
|
||||
},
|
||||
capture_profile_preview: (args) => {
|
||||
const page = pageOf.get(args.profileId);
|
||||
|
||||
Reference in new issue
Block a user