@voltro/plugin-progression 0.0.0-stage → 0.88.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/CHANGELOG.md +24492 -0
- package/LICENSE +61 -0
- package/README.md +478 -2
- package/SECURITY.md +56 -0
- package/THIRD-PARTY-NOTICES.md +9841 -0
- package/dist/achievementComponents.js +91 -0
- package/dist/achievementStore.js +602 -0
- package/dist/achievementTables.entity.js +97 -0
- package/dist/achievements.d.ts +188 -0
- package/dist/achievements.js +204 -0
- package/dist/capture.js +63 -0
- package/dist/cmsQuests.d.ts +91 -0
- package/dist/cmsQuests.js +82 -0
- package/dist/components.d.ts +172 -0
- package/dist/components.js +4 -0
- package/dist/curve.d.ts +27 -0
- package/dist/curve.js +37 -0
- package/dist/daily.d.ts +152 -0
- package/dist/daily.js +125 -0
- package/dist/dailyStore.js +420 -0
- package/dist/dailySystem.fixture.js +137 -0
- package/dist/dailyTables.entity.js +89 -0
- package/dist/declarationFixtures.js +142 -0
- package/dist/errors.d.ts +13 -0
- package/dist/errors.js +19 -0
- package/dist/index.d.ts +1833 -0
- package/dist/index.js +19 -0
- package/dist/pass.d.ts +186 -0
- package/dist/pass.js +121 -0
- package/dist/passRules.js +95 -0
- package/dist/passStore.js +484 -0
- package/dist/passTables.entity.js +95 -0
- package/dist/plugin.js +1085 -0
- package/dist/port.js +4 -0
- package/dist/progressionStore.js +705 -0
- package/dist/questComponents.js +162 -0
- package/dist/questPort.d.ts +126 -0
- package/dist/questPort.js +4 -0
- package/dist/questRefresh.js +55 -0
- package/dist/questRefresh.server.js +125 -0
- package/dist/questRerollJournal.js +76 -0
- package/dist/questStore.js +591 -0
- package/dist/questTables.entity.js +116 -0
- package/dist/quests.d.ts +142 -0
- package/dist/quests.js +152 -0
- package/dist/rank-app/schedules/progression.dispatchRankClosures.cron.tsx +19 -0
- package/dist/rank-app/workflows/progression.closeRankSeason.workflow.server.tsx +10 -0
- package/dist/rank-app/workflows/progression.closeRankSeason.workflow.tsx +1 -0
- package/dist/rankClosure.d.ts +69 -0
- package/dist/rankClosure.js +34 -0
- package/dist/rankClosure.server.js +138 -0
- package/dist/rankClosureWorkflow.d.ts +34 -0
- package/dist/rankClosureWorkflow.js +15 -0
- package/dist/rankReader.server.js +56 -0
- package/dist/rankRewardParent.server.js +64 -0
- package/dist/rankSeasons.d.ts +144 -0
- package/dist/rankSeasons.js +90 -0
- package/dist/rankStore.js +520 -0
- package/dist/rankSystem.fixture.js +169 -0
- package/dist/rankTables.entity.js +100 -0
- package/dist/ranks.d.ts +167 -0
- package/dist/ranks.js +218 -0
- package/dist/resourceStore.js +463 -0
- package/dist/resourceTables.entity.js +88 -0
- package/dist/resources.d.ts +105 -0
- package/dist/resources.js +59 -0
- package/dist/reward-app/schedules/progression.dispatchRewards.cron.tsx +19 -0
- package/dist/reward-app/workflows/progression.deliverReward.workflow.server.tsx +10 -0
- package/dist/reward-app/workflows/progression.deliverReward.workflow.tsx +1 -0
- package/dist/reward.d.ts +27 -0
- package/dist/reward.js +38 -0
- package/dist/rewardDelivery.d.ts +163 -0
- package/dist/rewardDelivery.js +37 -0
- package/dist/rewardDelivery.server.js +429 -0
- package/dist/rewardDeliveryRecord.js +47 -0
- package/dist/rewardDeliveryWorkflow.d.ts +36 -0
- package/dist/rewardDeliveryWorkflow.js +15 -0
- package/dist/rpc.d.ts +880 -0
- package/dist/rpc.js +497 -0
- package/dist/server.d.ts +2812 -0
- package/dist/server.js +21 -0
- package/dist/stats.js +44 -0
- package/dist/strategies.d.ts +131 -0
- package/dist/strategies.js +4 -0
- package/dist/systemFixtures.js +473 -0
- package/dist/tables.entity.js +154 -0
- package/dist/testing.d.ts +1566 -0
- package/dist/testing.js +11 -0
- package/dist/track.js +71 -0
- package/dist/tutorial.d.ts +157 -0
- package/dist/tutorial.js +109 -0
- package/dist/tutorialStore.js +495 -0
- package/dist/tutorialSystem.fixture.js +99 -0
- package/dist/tutorialTables.entity.js +90 -0
- package/dist/web.d.ts +363 -0
- package/dist/web.js +6 -0
- package/package.json +167 -4
package/dist/web.d.ts
ADDED
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
import { ActionState } from '@voltro/client';
|
|
2
|
+
import { SubscriptionState } from '@voltro/client';
|
|
3
|
+
|
|
4
|
+
export declare const useAchievements: (apiName?: string) => SubscriptionState<readonly {
|
|
5
|
+
readonly achievementId: string;
|
|
6
|
+
readonly version: number;
|
|
7
|
+
readonly tierId: string;
|
|
8
|
+
readonly unlocked: boolean;
|
|
9
|
+
readonly unlockedAt: number | null;
|
|
10
|
+
readonly progress: readonly {
|
|
11
|
+
readonly stat: string;
|
|
12
|
+
readonly period: "season" | "lifetime";
|
|
13
|
+
readonly seasonId: string | null;
|
|
14
|
+
readonly value: string;
|
|
15
|
+
readonly target: string;
|
|
16
|
+
readonly met: boolean;
|
|
17
|
+
}[];
|
|
18
|
+
readonly platform: {
|
|
19
|
+
readonly steam?: string | undefined;
|
|
20
|
+
readonly gameCenter?: string | undefined;
|
|
21
|
+
readonly playGames?: string | undefined;
|
|
22
|
+
} | null;
|
|
23
|
+
}[]>;
|
|
24
|
+
|
|
25
|
+
export declare const useClaimDaily: (apiName?: string) => ActionState<{
|
|
26
|
+
readonly calendarId: string;
|
|
27
|
+
readonly requestId: string;
|
|
28
|
+
}, {
|
|
29
|
+
readonly operationId: string;
|
|
30
|
+
readonly claimId: string;
|
|
31
|
+
readonly calendarId: string;
|
|
32
|
+
readonly dayKey: string;
|
|
33
|
+
readonly after: {
|
|
34
|
+
readonly calendarId: string;
|
|
35
|
+
readonly version: number;
|
|
36
|
+
readonly dayKey: string;
|
|
37
|
+
readonly dayOrdinal: number;
|
|
38
|
+
readonly from: number;
|
|
39
|
+
readonly until: number;
|
|
40
|
+
readonly timezone: string;
|
|
41
|
+
readonly dayIndex: number;
|
|
42
|
+
readonly streak: number;
|
|
43
|
+
readonly protectionRemaining: number;
|
|
44
|
+
readonly cycle: number;
|
|
45
|
+
readonly at: number;
|
|
46
|
+
};
|
|
47
|
+
readonly rewardsQueued: number;
|
|
48
|
+
readonly at: number;
|
|
49
|
+
}>;
|
|
50
|
+
|
|
51
|
+
export declare const useDaily: (apiName?: string) => SubscriptionState<readonly {
|
|
52
|
+
readonly calendarId: string;
|
|
53
|
+
readonly version: number;
|
|
54
|
+
readonly dayKey: string;
|
|
55
|
+
readonly timezone: string;
|
|
56
|
+
readonly from: number;
|
|
57
|
+
readonly until: number;
|
|
58
|
+
readonly observedAt: number;
|
|
59
|
+
readonly claimed: boolean;
|
|
60
|
+
readonly dayIndex: number;
|
|
61
|
+
readonly streak: number;
|
|
62
|
+
readonly protectionRemaining: number;
|
|
63
|
+
readonly reward: readonly ({
|
|
64
|
+
readonly kind: "currency";
|
|
65
|
+
readonly currency: string;
|
|
66
|
+
readonly amount: string;
|
|
67
|
+
} | {
|
|
68
|
+
readonly kind: "item";
|
|
69
|
+
readonly itemId: string;
|
|
70
|
+
readonly qty: number;
|
|
71
|
+
} | {
|
|
72
|
+
readonly kind: "xp";
|
|
73
|
+
readonly trackId: string;
|
|
74
|
+
readonly amount: string;
|
|
75
|
+
})[];
|
|
76
|
+
}[]>;
|
|
77
|
+
|
|
78
|
+
export declare const useObserveRank: (apiName?: string) => ActionState<{
|
|
79
|
+
readonly seasonId: string;
|
|
80
|
+
readonly requestId: string;
|
|
81
|
+
}, {
|
|
82
|
+
readonly operationId: string;
|
|
83
|
+
readonly kind: "close" | "observe";
|
|
84
|
+
readonly after: {
|
|
85
|
+
readonly seasonId: string;
|
|
86
|
+
readonly version: number;
|
|
87
|
+
readonly ladderId: string;
|
|
88
|
+
readonly observations: number;
|
|
89
|
+
readonly last: {
|
|
90
|
+
readonly ladderId: string;
|
|
91
|
+
readonly version: number;
|
|
92
|
+
readonly pool: string;
|
|
93
|
+
readonly games: number;
|
|
94
|
+
readonly placementsRemaining: number;
|
|
95
|
+
readonly rawScore: number;
|
|
96
|
+
readonly score: number;
|
|
97
|
+
readonly grade: {
|
|
98
|
+
readonly index: number;
|
|
99
|
+
readonly tier: string;
|
|
100
|
+
readonly tierIndex: number;
|
|
101
|
+
readonly division: number;
|
|
102
|
+
} | null;
|
|
103
|
+
readonly ratingUpdatedAt: number | null;
|
|
104
|
+
readonly observedAt: number;
|
|
105
|
+
readonly rulesVersion: string;
|
|
106
|
+
} | null;
|
|
107
|
+
readonly highest: {
|
|
108
|
+
readonly index: number;
|
|
109
|
+
readonly tier: string;
|
|
110
|
+
readonly tierIndex: number;
|
|
111
|
+
readonly division: number;
|
|
112
|
+
} | null;
|
|
113
|
+
readonly closedAt: number | null;
|
|
114
|
+
readonly resetScore: number | null;
|
|
115
|
+
};
|
|
116
|
+
readonly rewardsQueued: number;
|
|
117
|
+
readonly at: number;
|
|
118
|
+
}>;
|
|
119
|
+
|
|
120
|
+
export declare const usePassClaim: (apiName?: string) => ActionState<{
|
|
121
|
+
readonly passId: string;
|
|
122
|
+
readonly tier: number;
|
|
123
|
+
readonly track: "free" | "premium";
|
|
124
|
+
readonly requestId: string;
|
|
125
|
+
}, {
|
|
126
|
+
readonly operationId: string;
|
|
127
|
+
readonly kind: "close" | "claim" | "xp" | "premium";
|
|
128
|
+
readonly after: {
|
|
129
|
+
readonly passId: string;
|
|
130
|
+
readonly version: number;
|
|
131
|
+
readonly xp: string;
|
|
132
|
+
readonly claimedFree: string;
|
|
133
|
+
readonly claimedPremium: string;
|
|
134
|
+
readonly premium: boolean;
|
|
135
|
+
readonly purchasedAt: number | null;
|
|
136
|
+
readonly fulfillmentId: string | null;
|
|
137
|
+
readonly closed: boolean;
|
|
138
|
+
readonly updatedAt: number;
|
|
139
|
+
};
|
|
140
|
+
readonly claims: readonly {
|
|
141
|
+
readonly tier: number;
|
|
142
|
+
readonly track: "free" | "premium";
|
|
143
|
+
readonly rewards: readonly ({
|
|
144
|
+
readonly kind: "currency";
|
|
145
|
+
readonly currency: string;
|
|
146
|
+
readonly amount: string;
|
|
147
|
+
} | {
|
|
148
|
+
readonly kind: "item";
|
|
149
|
+
readonly itemId: string;
|
|
150
|
+
readonly qty: number;
|
|
151
|
+
} | {
|
|
152
|
+
readonly kind: "xp";
|
|
153
|
+
readonly trackId: string;
|
|
154
|
+
readonly amount: string;
|
|
155
|
+
})[];
|
|
156
|
+
}[];
|
|
157
|
+
readonly rewardsQueued: number;
|
|
158
|
+
readonly at: number;
|
|
159
|
+
}>;
|
|
160
|
+
|
|
161
|
+
export declare const useProgression: (apiName?: string) => SubscriptionState<readonly {
|
|
162
|
+
readonly trackId: string;
|
|
163
|
+
readonly xp: string;
|
|
164
|
+
readonly level: number;
|
|
165
|
+
readonly prestige: number;
|
|
166
|
+
readonly updatedAt: number | null;
|
|
167
|
+
}[]>;
|
|
168
|
+
|
|
169
|
+
export declare const useQuestReroll: (apiName?: string) => ActionState<{
|
|
170
|
+
readonly poolId: string;
|
|
171
|
+
readonly windowId: string;
|
|
172
|
+
readonly assignmentId: string;
|
|
173
|
+
readonly requestId: string;
|
|
174
|
+
}, {
|
|
175
|
+
readonly operationId: string;
|
|
176
|
+
readonly kind: "record" | "assign" | "reroll";
|
|
177
|
+
readonly assignmentIds: readonly string[];
|
|
178
|
+
readonly completedIds: readonly string[];
|
|
179
|
+
readonly rewardsQueued: number;
|
|
180
|
+
readonly at: number;
|
|
181
|
+
}>;
|
|
182
|
+
|
|
183
|
+
export declare const useQuests: (apiName?: string) => SubscriptionState<readonly {
|
|
184
|
+
readonly id: string;
|
|
185
|
+
readonly poolId: string;
|
|
186
|
+
readonly windowId: string;
|
|
187
|
+
readonly quest: {
|
|
188
|
+
readonly id: string;
|
|
189
|
+
readonly reward: readonly ({
|
|
190
|
+
readonly kind: "currency";
|
|
191
|
+
readonly currency: string;
|
|
192
|
+
readonly amount: string;
|
|
193
|
+
} | {
|
|
194
|
+
readonly kind: "item";
|
|
195
|
+
readonly itemId: string;
|
|
196
|
+
readonly qty: number;
|
|
197
|
+
} | {
|
|
198
|
+
readonly kind: "xp";
|
|
199
|
+
readonly trackId: string;
|
|
200
|
+
readonly amount: string;
|
|
201
|
+
})[];
|
|
202
|
+
readonly objectives: readonly ({
|
|
203
|
+
readonly stat: string;
|
|
204
|
+
readonly target: number;
|
|
205
|
+
} | {
|
|
206
|
+
readonly target: number;
|
|
207
|
+
readonly event: string;
|
|
208
|
+
readonly where?: {
|
|
209
|
+
readonly [x: string]: string | number | boolean | null;
|
|
210
|
+
} | undefined;
|
|
211
|
+
})[];
|
|
212
|
+
readonly titleKey?: string | undefined;
|
|
213
|
+
};
|
|
214
|
+
readonly progress: readonly number[];
|
|
215
|
+
readonly state: "completed" | "active";
|
|
216
|
+
readonly assignedAt: number;
|
|
217
|
+
readonly expiresAt: number;
|
|
218
|
+
readonly rerollsUsed: number;
|
|
219
|
+
readonly rerollsAllowed: number;
|
|
220
|
+
}[]>;
|
|
221
|
+
|
|
222
|
+
export declare const useRanks: (apiName?: string) => SubscriptionState<readonly {
|
|
223
|
+
readonly seasonId: string;
|
|
224
|
+
readonly version: number;
|
|
225
|
+
readonly ladderId: string;
|
|
226
|
+
readonly observations: number;
|
|
227
|
+
readonly last: {
|
|
228
|
+
readonly ladderId: string;
|
|
229
|
+
readonly version: number;
|
|
230
|
+
readonly pool: string;
|
|
231
|
+
readonly games: number;
|
|
232
|
+
readonly placementsRemaining: number;
|
|
233
|
+
readonly rawScore: number;
|
|
234
|
+
readonly score: number;
|
|
235
|
+
readonly grade: {
|
|
236
|
+
readonly index: number;
|
|
237
|
+
readonly tier: string;
|
|
238
|
+
readonly tierIndex: number;
|
|
239
|
+
readonly division: number;
|
|
240
|
+
} | null;
|
|
241
|
+
readonly ratingUpdatedAt: number | null;
|
|
242
|
+
readonly observedAt: number;
|
|
243
|
+
readonly rulesVersion: string;
|
|
244
|
+
} | null;
|
|
245
|
+
readonly highest: {
|
|
246
|
+
readonly index: number;
|
|
247
|
+
readonly tier: string;
|
|
248
|
+
readonly tierIndex: number;
|
|
249
|
+
readonly division: number;
|
|
250
|
+
} | null;
|
|
251
|
+
readonly closedAt: number | null;
|
|
252
|
+
readonly resetScore: number | null;
|
|
253
|
+
}[]>;
|
|
254
|
+
|
|
255
|
+
export declare const useResources: (apiName?: string) => SubscriptionState<readonly {
|
|
256
|
+
readonly value: string;
|
|
257
|
+
readonly max: string;
|
|
258
|
+
readonly resourceId: string;
|
|
259
|
+
readonly observedAt: number;
|
|
260
|
+
readonly nextRegenAt: number | null;
|
|
261
|
+
readonly initialized: boolean;
|
|
262
|
+
readonly refillOffer?: string | undefined;
|
|
263
|
+
}[]>;
|
|
264
|
+
|
|
265
|
+
export declare const useSeasonPasses: (apiName?: string) => SubscriptionState<readonly {
|
|
266
|
+
readonly tier: number;
|
|
267
|
+
readonly from: number;
|
|
268
|
+
readonly until: number;
|
|
269
|
+
readonly observedAt: number;
|
|
270
|
+
readonly active: boolean;
|
|
271
|
+
readonly premiumOffer: string | null;
|
|
272
|
+
readonly claimable: readonly {
|
|
273
|
+
readonly tier: number;
|
|
274
|
+
readonly track: "free" | "premium";
|
|
275
|
+
readonly rewards: readonly ({
|
|
276
|
+
readonly kind: "currency";
|
|
277
|
+
readonly currency: string;
|
|
278
|
+
readonly amount: string;
|
|
279
|
+
} | {
|
|
280
|
+
readonly kind: "item";
|
|
281
|
+
readonly itemId: string;
|
|
282
|
+
readonly qty: number;
|
|
283
|
+
} | {
|
|
284
|
+
readonly kind: "xp";
|
|
285
|
+
readonly trackId: string;
|
|
286
|
+
readonly amount: string;
|
|
287
|
+
})[];
|
|
288
|
+
}[];
|
|
289
|
+
readonly passId: string;
|
|
290
|
+
readonly version: number;
|
|
291
|
+
readonly xp: string;
|
|
292
|
+
readonly claimedFree: string;
|
|
293
|
+
readonly claimedPremium: string;
|
|
294
|
+
readonly premium: boolean;
|
|
295
|
+
readonly purchasedAt: number | null;
|
|
296
|
+
readonly fulfillmentId: string | null;
|
|
297
|
+
readonly closed: boolean;
|
|
298
|
+
readonly updatedAt: number;
|
|
299
|
+
}[]>;
|
|
300
|
+
|
|
301
|
+
export declare const useStats: (apiName?: string) => SubscriptionState<readonly {
|
|
302
|
+
readonly stat: string;
|
|
303
|
+
readonly period: "season" | "lifetime";
|
|
304
|
+
readonly seasonId: string | null;
|
|
305
|
+
readonly value: string;
|
|
306
|
+
readonly updatedAt: number;
|
|
307
|
+
}[]>;
|
|
308
|
+
|
|
309
|
+
export declare const useTutorials: (apiName?: string) => SubscriptionState<readonly {
|
|
310
|
+
readonly nextStep: string | null;
|
|
311
|
+
readonly skippable: boolean;
|
|
312
|
+
readonly hints: string | null;
|
|
313
|
+
readonly tutorialId: string;
|
|
314
|
+
readonly version: number;
|
|
315
|
+
readonly completedSteps: readonly string[];
|
|
316
|
+
readonly completed: boolean;
|
|
317
|
+
readonly skipped: boolean;
|
|
318
|
+
readonly completedAt: number | null;
|
|
319
|
+
readonly updatedAt: number | null;
|
|
320
|
+
}[]>;
|
|
321
|
+
|
|
322
|
+
export declare const useTutorialSkip: (apiName?: string) => ActionState<{
|
|
323
|
+
readonly tutorialId: string;
|
|
324
|
+
readonly requestId: string;
|
|
325
|
+
}, {
|
|
326
|
+
readonly operationId: string;
|
|
327
|
+
readonly kind: "skip" | "step";
|
|
328
|
+
readonly step: string | null;
|
|
329
|
+
readonly after: {
|
|
330
|
+
readonly tutorialId: string;
|
|
331
|
+
readonly version: number;
|
|
332
|
+
readonly completedSteps: readonly string[];
|
|
333
|
+
readonly completed: boolean;
|
|
334
|
+
readonly skipped: boolean;
|
|
335
|
+
readonly completedAt: number | null;
|
|
336
|
+
readonly updatedAt: number | null;
|
|
337
|
+
};
|
|
338
|
+
readonly rewardsQueued: number;
|
|
339
|
+
readonly at: number;
|
|
340
|
+
}>;
|
|
341
|
+
|
|
342
|
+
export declare const useTutorialStep: (apiName?: string) => ActionState<{
|
|
343
|
+
readonly tutorialId: string;
|
|
344
|
+
readonly step: string;
|
|
345
|
+
readonly requestId: string;
|
|
346
|
+
}, {
|
|
347
|
+
readonly operationId: string;
|
|
348
|
+
readonly kind: "skip" | "step";
|
|
349
|
+
readonly step: string | null;
|
|
350
|
+
readonly after: {
|
|
351
|
+
readonly tutorialId: string;
|
|
352
|
+
readonly version: number;
|
|
353
|
+
readonly completedSteps: readonly string[];
|
|
354
|
+
readonly completed: boolean;
|
|
355
|
+
readonly skipped: boolean;
|
|
356
|
+
readonly completedAt: number | null;
|
|
357
|
+
readonly updatedAt: number | null;
|
|
358
|
+
};
|
|
359
|
+
readonly rewardsQueued: number;
|
|
360
|
+
readonly at: number;
|
|
361
|
+
}>;
|
|
362
|
+
|
|
363
|
+
export { }
|
package/dist/web.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PROGRESSION_NAME as e } from "./rpc.js";
|
|
2
|
+
import { pluginTag as t } from "@voltro/protocol";
|
|
3
|
+
import { useAction as n, useSubscription as r } from "@voltro/client";
|
|
4
|
+
// src/web.ts
|
|
5
|
+
var i = (n = "app") => r(n, t(e, "mine"), {}), a = (n = "app") => r(n, t(e, "stats"), {}), o = (e = "app") => r(e, "quests.mine", {}), s = (e = "app") => n(e, "quests.reroll"), c = (e = "app") => r(e, "resources.mine", {}), l = (e = "app") => r(e, "achievements.mine", {}), u = (e = "app") => r(e, "daily.state", {}), d = (e = "app") => n(e, "progression.claimDaily"), f = (e = "app") => r(e, "pass.mine", {}), p = (e = "app") => n(e, "pass.claim"), m = (e = "app") => r(e, "tutorial.mine", {}), h = (e = "app") => n(e, "tutorial.completeStep"), g = (e = "app") => n(e, "tutorial.skip"), _ = (e = "app") => r(e, "ranks.mine", {}), v = (e = "app") => n(e, "ranks.observe");
|
|
6
|
+
export { l as useAchievements, d as useClaimDaily, u as useDaily, v as useObserveRank, p as usePassClaim, i as useProgression, s as useQuestReroll, o as useQuests, _ as useRanks, c as useResources, f as useSeasonPasses, a as useStats, g as useTutorialSkip, h as useTutorialStep, m as useTutorials };
|
package/package.json
CHANGED
|
@@ -1,6 +1,169 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/plugin-progression",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.88.0",
|
|
4
|
+
"description": "Exact SQL XP/stat tracks, event-origin receipts, captured level curves and durable reward intentions.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"voltro",
|
|
7
|
+
"typescript",
|
|
8
|
+
"framework"
|
|
9
|
+
],
|
|
10
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
11
|
+
"homepage": "https://voltro.dev",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"email": "support@voltro.dev"
|
|
14
|
+
},
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "Voltro UG",
|
|
17
|
+
"url": "https://voltro.dev"
|
|
18
|
+
},
|
|
19
|
+
"type": "module",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js",
|
|
24
|
+
"default": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./errors": {
|
|
27
|
+
"types": "./dist/errors.d.ts",
|
|
28
|
+
"import": "./dist/errors.js",
|
|
29
|
+
"default": "./dist/errors.js"
|
|
30
|
+
},
|
|
31
|
+
"./curves": {
|
|
32
|
+
"types": "./dist/curve.d.ts",
|
|
33
|
+
"import": "./dist/curve.js",
|
|
34
|
+
"default": "./dist/curve.js"
|
|
35
|
+
},
|
|
36
|
+
"./rewards": {
|
|
37
|
+
"types": "./dist/reward.d.ts",
|
|
38
|
+
"import": "./dist/reward.js",
|
|
39
|
+
"default": "./dist/reward.js"
|
|
40
|
+
},
|
|
41
|
+
"./strategies": {
|
|
42
|
+
"types": "./dist/strategies.d.ts",
|
|
43
|
+
"import": "./dist/strategies.js",
|
|
44
|
+
"default": "./dist/strategies.js"
|
|
45
|
+
},
|
|
46
|
+
"./server": {
|
|
47
|
+
"types": "./dist/server.d.ts",
|
|
48
|
+
"import": "./dist/server.js",
|
|
49
|
+
"default": "./dist/server.js"
|
|
50
|
+
},
|
|
51
|
+
"./testing": {
|
|
52
|
+
"types": "./dist/testing.d.ts",
|
|
53
|
+
"import": "./dist/testing.js",
|
|
54
|
+
"default": "./dist/testing.js"
|
|
55
|
+
},
|
|
56
|
+
"./rpc": {
|
|
57
|
+
"types": "./dist/rpc.d.ts",
|
|
58
|
+
"import": "./dist/rpc.js",
|
|
59
|
+
"default": "./dist/rpc.js"
|
|
60
|
+
},
|
|
61
|
+
"./web": {
|
|
62
|
+
"types": "./dist/web.d.ts",
|
|
63
|
+
"import": "./dist/web.js",
|
|
64
|
+
"default": "./dist/web.js"
|
|
65
|
+
},
|
|
66
|
+
"./components": {
|
|
67
|
+
"types": "./dist/components.d.ts",
|
|
68
|
+
"import": "./dist/components.js",
|
|
69
|
+
"default": "./dist/components.js"
|
|
70
|
+
},
|
|
71
|
+
"./package.json": "./package.json",
|
|
72
|
+
"./quests": {
|
|
73
|
+
"types": "./dist/quests.d.ts",
|
|
74
|
+
"import": "./dist/quests.js",
|
|
75
|
+
"default": "./dist/quests.js"
|
|
76
|
+
},
|
|
77
|
+
"./quest-port": {
|
|
78
|
+
"types": "./dist/questPort.d.ts",
|
|
79
|
+
"import": "./dist/questPort.js",
|
|
80
|
+
"default": "./dist/questPort.js"
|
|
81
|
+
},
|
|
82
|
+
"./cms": {
|
|
83
|
+
"types": "./dist/cmsQuests.d.ts",
|
|
84
|
+
"import": "./dist/cmsQuests.js",
|
|
85
|
+
"default": "./dist/cmsQuests.js"
|
|
86
|
+
},
|
|
87
|
+
"./resources": {
|
|
88
|
+
"types": "./dist/resources.d.ts",
|
|
89
|
+
"import": "./dist/resources.js",
|
|
90
|
+
"default": "./dist/resources.js"
|
|
91
|
+
},
|
|
92
|
+
"./achievements": {
|
|
93
|
+
"types": "./dist/achievements.d.ts",
|
|
94
|
+
"import": "./dist/achievements.js",
|
|
95
|
+
"default": "./dist/achievements.js"
|
|
96
|
+
},
|
|
97
|
+
"./delivery": {
|
|
98
|
+
"types": "./dist/rewardDelivery.d.ts",
|
|
99
|
+
"import": "./dist/rewardDelivery.js",
|
|
100
|
+
"default": "./dist/rewardDelivery.js"
|
|
101
|
+
},
|
|
102
|
+
"./delivery/workflow": {
|
|
103
|
+
"types": "./dist/rewardDeliveryWorkflow.d.ts",
|
|
104
|
+
"import": "./dist/rewardDeliveryWorkflow.js",
|
|
105
|
+
"default": "./dist/rewardDeliveryWorkflow.js"
|
|
106
|
+
},
|
|
107
|
+
"./daily": {
|
|
108
|
+
"types": "./dist/daily.d.ts",
|
|
109
|
+
"import": "./dist/daily.js",
|
|
110
|
+
"default": "./dist/daily.js"
|
|
111
|
+
},
|
|
112
|
+
"./passes": {
|
|
113
|
+
"types": "./dist/pass.d.ts",
|
|
114
|
+
"import": "./dist/pass.js",
|
|
115
|
+
"default": "./dist/pass.js"
|
|
116
|
+
},
|
|
117
|
+
"./tutorial": {
|
|
118
|
+
"types": "./dist/tutorial.d.ts",
|
|
119
|
+
"import": "./dist/tutorial.js",
|
|
120
|
+
"default": "./dist/tutorial.js"
|
|
121
|
+
},
|
|
122
|
+
"./ranks": {
|
|
123
|
+
"types": "./dist/ranks.d.ts",
|
|
124
|
+
"import": "./dist/ranks.js",
|
|
125
|
+
"default": "./dist/ranks.js"
|
|
126
|
+
},
|
|
127
|
+
"./rank-seasons": {
|
|
128
|
+
"types": "./dist/rankSeasons.d.ts",
|
|
129
|
+
"import": "./dist/rankSeasons.js",
|
|
130
|
+
"default": "./dist/rankSeasons.js"
|
|
131
|
+
},
|
|
132
|
+
"./rank-seasons/closure": {
|
|
133
|
+
"types": "./dist/rankClosure.d.ts",
|
|
134
|
+
"import": "./dist/rankClosure.js",
|
|
135
|
+
"default": "./dist/rankClosure.js"
|
|
136
|
+
},
|
|
137
|
+
"./rank-seasons/workflow": {
|
|
138
|
+
"types": "./dist/rankClosureWorkflow.d.ts",
|
|
139
|
+
"import": "./dist/rankClosureWorkflow.js",
|
|
140
|
+
"default": "./dist/rankClosureWorkflow.js"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
"main": "./dist/index.js",
|
|
144
|
+
"module": "./dist/index.js",
|
|
145
|
+
"types": "./dist/index.d.ts",
|
|
146
|
+
"sideEffects": false,
|
|
147
|
+
"engines": {
|
|
148
|
+
"node": ">=24.0.0"
|
|
149
|
+
},
|
|
150
|
+
"dependencies": {
|
|
151
|
+
"@voltro/database": "0.88.0",
|
|
152
|
+
"@voltro/protocol": "0.88.0",
|
|
153
|
+
"@voltro/client": "0.88.0",
|
|
154
|
+
"@voltro/cms": "0.88.0",
|
|
155
|
+
"@voltro/plugin-economy": "0.88.0",
|
|
156
|
+
"@voltro/plugin-inventory": "0.88.0",
|
|
157
|
+
"@voltro/workflow": "0.88.0",
|
|
158
|
+
"@voltro/runtime": "0.88.0",
|
|
159
|
+
"@voltro/plugin-licensing": "0.88.0",
|
|
160
|
+
"@voltro/ui": "0.88.0"
|
|
161
|
+
},
|
|
162
|
+
"peerDependencies": {
|
|
163
|
+
"effect": "4.1.0",
|
|
164
|
+
"react": "^19.0.0"
|
|
165
|
+
},
|
|
166
|
+
"publishConfig": {
|
|
167
|
+
"access": "public"
|
|
168
|
+
}
|
|
169
|
+
}
|