@opfr/services 0.17.0 → 0.19.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/dist/index.es.js +1986 -1882
- package/dist/index.umd.js +5 -5
- package/dist/quests/quests/index.d.ts +1 -1
- package/dist/quests/quests/index.d.ts.map +1 -1
- package/dist/quests/quests/on-user-quest-meta-update/craft.d.ts +80 -0
- package/dist/quests/quests/on-user-quest-meta-update/craft.d.ts.map +1 -1
- package/dist/services/user-inventory/query/updates.d.ts +3 -3
- package/dist/services/user-inventory/query/updates.d.ts.map +1 -1
- package/dist/services/user-quest-meta/definition/schema.d.ts.map +1 -1
- package/dist/services/user-quest-meta/query/updates.d.ts +2 -2
- package/dist/services/user-quest-meta/query/updates.d.ts.map +1 -1
- package/dist/services/user-quest-meta/types.d.ts +1 -0
- package/dist/services/user-quest-meta/types.d.ts.map +1 -1
- package/package.json +8 -8
|
@@ -3,6 +3,6 @@ import * as UserInventoryQuests from './on-user-inventory-update';
|
|
|
3
3
|
import * as UserMetaQuests from './on-user-meta-update';
|
|
4
4
|
import * as UserOrnamentsQuests from './on-user-ornaments-update';
|
|
5
5
|
import * as UserQuestMetaQuests from './on-user-quest-meta-update';
|
|
6
|
-
export declare const ALL_QUESTS: readonly (typeof CrewQuests.CrewCarpenter1Week | typeof CrewQuests.CrewCarpenter1Month | typeof CrewQuests.CrewCarpenter3Months | typeof CrewQuests.CrewCarpenter6Months | typeof CrewQuests.CrewCarpenter1Year | typeof CrewQuests.CrewBeLevel10 | typeof CrewQuests.CrewBeLevel25 | typeof CrewQuests.CrewBeLevel50 | typeof CrewQuests.CrewBeLevel75 | typeof CrewQuests.CrewBeLevel100 | typeof CrewQuests.CrewHave100MBerry | typeof CrewQuests.CrewHave500MBerry | typeof CrewQuests.CrewHave1MdBerry | typeof CrewQuests.CrewHave5MdBerry | typeof CrewQuests.CrewHave50MdBerry | typeof CrewQuests.CrewSize5 | typeof CrewQuests.CrewSize7 | typeof CrewQuests.CrewSize10 | typeof CrewQuests.CrewSize12 | typeof CrewQuests.CrewSize15 | typeof CrewQuests.CrewVocal5 | typeof CrewQuests.CrewVocal7 | typeof CrewQuests.CrewVocal10 | typeof CrewQuests.CrewVocal12 | typeof CrewQuests.CrewVocal15 | typeof CrewQuests.CrewBring50kXp | typeof CrewQuests.CrewBring500kXp | typeof CrewQuests.CrewBring1mXp | typeof CrewQuests.CrewBring5mXp | typeof CrewQuests.CrewBring50mXp | typeof UserInventoryQuests.Have1Recipe | typeof UserInventoryQuests.Have5Recipe | typeof UserInventoryQuests.Have10Recipe | typeof UserInventoryQuests.Have25Recipe | typeof UserInventoryQuests.Have100Recipe | typeof UserMetaQuests.Have500kBerry | typeof UserMetaQuests.Have5mBerry | typeof UserMetaQuests.Have50mBerry | typeof UserMetaQuests.Have500mBerry | typeof UserMetaQuests.Have5mdBerry | typeof UserMetaQuests.Have25Strength | typeof UserMetaQuests.Have50Strength | typeof UserMetaQuests.Have100Strength | typeof UserMetaQuests.Have250Strength | typeof UserMetaQuests.Have500Strength | typeof UserMetaQuests.Have25Agility | typeof UserMetaQuests.Have50Agility | typeof UserMetaQuests.Have100Agility | typeof UserMetaQuests.Have250Agility | typeof UserMetaQuests.Have500Agility | typeof UserMetaQuests.Have25Intelligence | typeof UserMetaQuests.Have50Intelligence | typeof UserMetaQuests.Have100Intelligence | typeof UserMetaQuests.Have250Intelligence | typeof UserMetaQuests.Have500Intelligence | typeof UserMetaQuests.Have25Chance | typeof UserMetaQuests.Have50Chance | typeof UserMetaQuests.Have100Chance | typeof UserMetaQuests.Have250Chance | typeof UserMetaQuests.Have500Chance | typeof UserMetaQuests.Have25Vitality | typeof UserMetaQuests.Have50Vitality | typeof UserMetaQuests.Have100Vitality | typeof UserMetaQuests.Have250Vitality | typeof UserMetaQuests.Have500Vitality | typeof UserMetaQuests.Have25Wisdom | typeof UserMetaQuests.Have50Wisdom | typeof UserMetaQuests.Have100Wisdom | typeof UserMetaQuests.Have250Wisdom | typeof UserMetaQuests.Have500Wisdom | typeof UserMetaQuests.BeLevel10 | typeof UserMetaQuests.BeLevel20 | typeof UserMetaQuests.BeLevel30 | typeof UserMetaQuests.BeLevel40 | typeof UserMetaQuests.BeLevel50 | typeof UserMetaQuests.BeLevel60 | typeof UserMetaQuests.BeLevel70 | typeof UserMetaQuests.BeLevel80 | typeof UserMetaQuests.BeLevel90 | typeof UserMetaQuests.BeLevel120 | typeof UserOrnamentsQuests.Have1Background | typeof UserOrnamentsQuests.Have25Background | typeof UserOrnamentsQuests.Have50Background | typeof UserOrnamentsQuests.Have10Title | typeof UserOrnamentsQuests.Have50Title | typeof UserOrnamentsQuests.Have100Title | typeof UserQuestMetaQuests.BetMinValue | typeof UserQuestMetaQuests.LoseEverything | typeof UserQuestMetaQuests.Bet10M | typeof UserQuestMetaQuests.WinOn10MBet | typeof UserQuestMetaQuests.TotalBet10M | typeof UserQuestMetaQuests.TotalBet1Md | typeof UserQuestMetaQuests.Lose10M | typeof UserQuestMetaQuests.Birthday | typeof UserQuestMetaQuests.BotPing | typeof UserQuestMetaQuests.Drink100Today | typeof UserQuestMetaQuests.Drink200Quest | typeof UserQuestMetaQuests.Drink500Quest | typeof UserQuestMetaQuests.Drink1000Quest | typeof UserQuestMetaQuests.Drink2000Quest | typeof UserQuestMetaQuests.Drink5000Quest | typeof UserQuestMetaQuests.ChestOpen50Quest | typeof UserQuestMetaQuests.ChestOpen150Quest | typeof UserQuestMetaQuests.ChestOpen500Quest | typeof UserQuestMetaQuests.ChestOpen1000Quest | typeof UserQuestMetaQuests.ChestOpen2000Quest | typeof UserQuestMetaQuests.Craft20Times | typeof UserQuestMetaQuests.Craft50Times | typeof UserQuestMetaQuests.Craft200Times | typeof UserQuestMetaQuests.Craft500Times | typeof UserQuestMetaQuests.Craft1000Times | typeof UserQuestMetaQuests.Craft10CookedMeals | typeof UserQuestMetaQuests.Craft50CookedMeals | typeof UserQuestMetaQuests.Craft100CookedMeals | typeof UserQuestMetaQuests.Craft250CookedMeals | typeof UserQuestMetaQuests.Craft500CookedMeals | typeof UserQuestMetaQuests.Draw100Quest | typeof UserQuestMetaQuests.Draw300Quest | typeof UserQuestMetaQuests.Draw1000Quest | typeof UserQuestMetaQuests.Draw2000Quest | typeof UserQuestMetaQuests.Draw5000Quest | typeof UserQuestMetaQuests.Edito | typeof UserQuestMetaQuests.Everyone | typeof UserQuestMetaQuests.DoubleSix | typeof UserQuestMetaQuests.DrawDoubleSix | typeof UserQuestMetaQuests.SevenQuitteOuDouble | typeof UserQuestMetaQuests.WinAll5GamesInRow | typeof UserQuestMetaQuests.LoseAll5GamesInRow | typeof UserQuestMetaQuests.TenBlackJack | typeof UserQuestMetaQuests.Paper100 | typeof UserQuestMetaQuests.Scissor100 | typeof UserQuestMetaQuests.Rock100 | typeof UserQuestMetaQuests.GuessInOne | typeof UserQuestMetaQuests.Bet666 | typeof UserQuestMetaQuests.WinLose10 | typeof UserQuestMetaQuests.Finish10Raids | typeof UserQuestMetaQuests.Finish25Raids | typeof UserQuestMetaQuests.Finish50Raids | typeof UserQuestMetaQuests.Finish100Raids | typeof UserQuestMetaQuests.Finish200Raids | typeof UserQuestMetaQuests.RandomMessage20Quest | typeof UserQuestMetaQuests.RandomMessage50Quest | typeof UserQuestMetaQuests.RandomMessage100Quest | typeof UserQuestMetaQuests.RandomMessage200Quest | typeof UserQuestMetaQuests.RandomMessage500Quest | typeof UserQuestMetaQuests.Report | typeof UserQuestMetaQuests.send100Messages | typeof UserQuestMetaQuests.send1000Messages | typeof UserQuestMetaQuests.send25000Messages | typeof UserQuestMetaQuests.send100000Messages | typeof UserQuestMetaQuests.send200000Messages | typeof UserQuestMetaQuests.SpendShop5M | typeof UserQuestMetaQuests.SpendShop50M | typeof UserQuestMetaQuests.SpendShop500M | typeof UserQuestMetaQuests.SpendShop5Ml | typeof UserQuestMetaQuests.SpendShop50Ml | typeof UserQuestMetaQuests.Voice10Hours | typeof UserQuestMetaQuests.Voice25Hours | typeof UserQuestMetaQuests.Voice250Hours | typeof UserQuestMetaQuests.Voice2500Hours | typeof UserQuestMetaQuests.Voice5000Hours | typeof UserQuestMetaQuests.Work100Quest | typeof UserQuestMetaQuests.Work300Quest | typeof UserQuestMetaQuests.Work1000Quest | typeof UserQuestMetaQuests.Work2000Quest | typeof UserQuestMetaQuests.Work5000Quest | typeof UserQuestMetaQuests.Write10Chats | typeof UserQuestMetaQuests.Write20Chats | typeof UserQuestMetaQuests.Write50Chats | typeof UserQuestMetaQuests.Write100Chats | typeof UserQuestMetaQuests.Write200Chats)[];
|
|
6
|
+
export declare const ALL_QUESTS: readonly (typeof CrewQuests.CrewCarpenter1Week | typeof CrewQuests.CrewCarpenter1Month | typeof CrewQuests.CrewCarpenter3Months | typeof CrewQuests.CrewCarpenter6Months | typeof CrewQuests.CrewCarpenter1Year | typeof CrewQuests.CrewBeLevel10 | typeof CrewQuests.CrewBeLevel25 | typeof CrewQuests.CrewBeLevel50 | typeof CrewQuests.CrewBeLevel75 | typeof CrewQuests.CrewBeLevel100 | typeof CrewQuests.CrewHave100MBerry | typeof CrewQuests.CrewHave500MBerry | typeof CrewQuests.CrewHave1MdBerry | typeof CrewQuests.CrewHave5MdBerry | typeof CrewQuests.CrewHave50MdBerry | typeof CrewQuests.CrewSize5 | typeof CrewQuests.CrewSize7 | typeof CrewQuests.CrewSize10 | typeof CrewQuests.CrewSize12 | typeof CrewQuests.CrewSize15 | typeof CrewQuests.CrewVocal5 | typeof CrewQuests.CrewVocal7 | typeof CrewQuests.CrewVocal10 | typeof CrewQuests.CrewVocal12 | typeof CrewQuests.CrewVocal15 | typeof CrewQuests.CrewBring50kXp | typeof CrewQuests.CrewBring500kXp | typeof CrewQuests.CrewBring1mXp | typeof CrewQuests.CrewBring5mXp | typeof CrewQuests.CrewBring50mXp | typeof UserInventoryQuests.Have1Recipe | typeof UserInventoryQuests.Have5Recipe | typeof UserInventoryQuests.Have10Recipe | typeof UserInventoryQuests.Have25Recipe | typeof UserInventoryQuests.Have100Recipe | typeof UserMetaQuests.Have500kBerry | typeof UserMetaQuests.Have5mBerry | typeof UserMetaQuests.Have50mBerry | typeof UserMetaQuests.Have500mBerry | typeof UserMetaQuests.Have5mdBerry | typeof UserMetaQuests.Have25Strength | typeof UserMetaQuests.Have50Strength | typeof UserMetaQuests.Have100Strength | typeof UserMetaQuests.Have250Strength | typeof UserMetaQuests.Have500Strength | typeof UserMetaQuests.Have25Agility | typeof UserMetaQuests.Have50Agility | typeof UserMetaQuests.Have100Agility | typeof UserMetaQuests.Have250Agility | typeof UserMetaQuests.Have500Agility | typeof UserMetaQuests.Have25Intelligence | typeof UserMetaQuests.Have50Intelligence | typeof UserMetaQuests.Have100Intelligence | typeof UserMetaQuests.Have250Intelligence | typeof UserMetaQuests.Have500Intelligence | typeof UserMetaQuests.Have25Chance | typeof UserMetaQuests.Have50Chance | typeof UserMetaQuests.Have100Chance | typeof UserMetaQuests.Have250Chance | typeof UserMetaQuests.Have500Chance | typeof UserMetaQuests.Have25Vitality | typeof UserMetaQuests.Have50Vitality | typeof UserMetaQuests.Have100Vitality | typeof UserMetaQuests.Have250Vitality | typeof UserMetaQuests.Have500Vitality | typeof UserMetaQuests.Have25Wisdom | typeof UserMetaQuests.Have50Wisdom | typeof UserMetaQuests.Have100Wisdom | typeof UserMetaQuests.Have250Wisdom | typeof UserMetaQuests.Have500Wisdom | typeof UserMetaQuests.BeLevel10 | typeof UserMetaQuests.BeLevel20 | typeof UserMetaQuests.BeLevel30 | typeof UserMetaQuests.BeLevel40 | typeof UserMetaQuests.BeLevel50 | typeof UserMetaQuests.BeLevel60 | typeof UserMetaQuests.BeLevel70 | typeof UserMetaQuests.BeLevel80 | typeof UserMetaQuests.BeLevel90 | typeof UserMetaQuests.BeLevel120 | typeof UserOrnamentsQuests.Have1Background | typeof UserOrnamentsQuests.Have25Background | typeof UserOrnamentsQuests.Have50Background | typeof UserOrnamentsQuests.Have10Title | typeof UserOrnamentsQuests.Have50Title | typeof UserOrnamentsQuests.Have100Title | typeof UserQuestMetaQuests.BetMinValue | typeof UserQuestMetaQuests.LoseEverything | typeof UserQuestMetaQuests.Bet10M | typeof UserQuestMetaQuests.WinOn10MBet | typeof UserQuestMetaQuests.TotalBet10M | typeof UserQuestMetaQuests.TotalBet1Md | typeof UserQuestMetaQuests.Lose10M | typeof UserQuestMetaQuests.Birthday | typeof UserQuestMetaQuests.BotPing | typeof UserQuestMetaQuests.Drink100Today | typeof UserQuestMetaQuests.Drink200Quest | typeof UserQuestMetaQuests.Drink500Quest | typeof UserQuestMetaQuests.Drink1000Quest | typeof UserQuestMetaQuests.Drink2000Quest | typeof UserQuestMetaQuests.Drink5000Quest | typeof UserQuestMetaQuests.ChestOpen50Quest | typeof UserQuestMetaQuests.ChestOpen150Quest | typeof UserQuestMetaQuests.ChestOpen500Quest | typeof UserQuestMetaQuests.ChestOpen1000Quest | typeof UserQuestMetaQuests.ChestOpen2000Quest | typeof UserQuestMetaQuests.Craft20Times | typeof UserQuestMetaQuests.Craft50Times | typeof UserQuestMetaQuests.Craft200Times | typeof UserQuestMetaQuests.Craft500Times | typeof UserQuestMetaQuests.Craft1000Times | typeof UserQuestMetaQuests.Craft10CookedMeals | typeof UserQuestMetaQuests.Craft50CookedMeals | typeof UserQuestMetaQuests.Craft100CookedMeals | typeof UserQuestMetaQuests.Craft250CookedMeals | typeof UserQuestMetaQuests.Craft500CookedMeals | typeof UserQuestMetaQuests.Craft5Scrolls | typeof UserQuestMetaQuests.Craft10Scrolls | typeof UserQuestMetaQuests.Craft20Scrolls | typeof UserQuestMetaQuests.Craft50Scrolls | typeof UserQuestMetaQuests.Craft100Scrolls | typeof UserQuestMetaQuests.Draw100Quest | typeof UserQuestMetaQuests.Draw300Quest | typeof UserQuestMetaQuests.Draw1000Quest | typeof UserQuestMetaQuests.Draw2000Quest | typeof UserQuestMetaQuests.Draw5000Quest | typeof UserQuestMetaQuests.Edito | typeof UserQuestMetaQuests.Everyone | typeof UserQuestMetaQuests.DoubleSix | typeof UserQuestMetaQuests.DrawDoubleSix | typeof UserQuestMetaQuests.SevenQuitteOuDouble | typeof UserQuestMetaQuests.WinAll5GamesInRow | typeof UserQuestMetaQuests.LoseAll5GamesInRow | typeof UserQuestMetaQuests.TenBlackJack | typeof UserQuestMetaQuests.Paper100 | typeof UserQuestMetaQuests.Scissor100 | typeof UserQuestMetaQuests.Rock100 | typeof UserQuestMetaQuests.GuessInOne | typeof UserQuestMetaQuests.Bet666 | typeof UserQuestMetaQuests.WinLose10 | typeof UserQuestMetaQuests.Finish10Raids | typeof UserQuestMetaQuests.Finish25Raids | typeof UserQuestMetaQuests.Finish50Raids | typeof UserQuestMetaQuests.Finish100Raids | typeof UserQuestMetaQuests.Finish200Raids | typeof UserQuestMetaQuests.RandomMessage20Quest | typeof UserQuestMetaQuests.RandomMessage50Quest | typeof UserQuestMetaQuests.RandomMessage100Quest | typeof UserQuestMetaQuests.RandomMessage200Quest | typeof UserQuestMetaQuests.RandomMessage500Quest | typeof UserQuestMetaQuests.Report | typeof UserQuestMetaQuests.send100Messages | typeof UserQuestMetaQuests.send1000Messages | typeof UserQuestMetaQuests.send25000Messages | typeof UserQuestMetaQuests.send100000Messages | typeof UserQuestMetaQuests.send200000Messages | typeof UserQuestMetaQuests.SpendShop5M | typeof UserQuestMetaQuests.SpendShop50M | typeof UserQuestMetaQuests.SpendShop500M | typeof UserQuestMetaQuests.SpendShop5Ml | typeof UserQuestMetaQuests.SpendShop50Ml | typeof UserQuestMetaQuests.Voice10Hours | typeof UserQuestMetaQuests.Voice25Hours | typeof UserQuestMetaQuests.Voice250Hours | typeof UserQuestMetaQuests.Voice2500Hours | typeof UserQuestMetaQuests.Voice5000Hours | typeof UserQuestMetaQuests.Work100Quest | typeof UserQuestMetaQuests.Work300Quest | typeof UserQuestMetaQuests.Work1000Quest | typeof UserQuestMetaQuests.Work2000Quest | typeof UserQuestMetaQuests.Work5000Quest | typeof UserQuestMetaQuests.Write10Chats | typeof UserQuestMetaQuests.Write20Chats | typeof UserQuestMetaQuests.Write50Chats | typeof UserQuestMetaQuests.Write100Chats | typeof UserQuestMetaQuests.Write200Chats)[];
|
|
7
7
|
export { UserQuestMetaQuests, UserOrnamentsQuests, UserInventoryQuests, UserMetaQuests, CrewQuests, };
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/quests/quests/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/quests/quests/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,UAAU,q+NAMb,CAAC;AAEX,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,UAAU,GACX,CAAC"}
|
|
@@ -160,4 +160,84 @@ export declare class Craft500CookedMeals extends Quest {
|
|
|
160
160
|
crew: boolean;
|
|
161
161
|
readonly onUserQuestMetaUpdate: (user: UserQuestMeta) => boolean;
|
|
162
162
|
}
|
|
163
|
+
export declare class Craft5Scrolls extends Quest {
|
|
164
|
+
name: string;
|
|
165
|
+
id: string;
|
|
166
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.COMMON>;
|
|
167
|
+
description: string;
|
|
168
|
+
berry: number;
|
|
169
|
+
xp: number;
|
|
170
|
+
asset: null;
|
|
171
|
+
title: import("@opfr/ornaments").QuestTitle;
|
|
172
|
+
badge: null;
|
|
173
|
+
isFactionBadge: boolean;
|
|
174
|
+
secret: boolean;
|
|
175
|
+
daily: boolean;
|
|
176
|
+
crew: boolean;
|
|
177
|
+
readonly onUserQuestMetaUpdate: (user: UserQuestMeta) => boolean;
|
|
178
|
+
}
|
|
179
|
+
export declare class Craft10Scrolls extends Quest {
|
|
180
|
+
name: string;
|
|
181
|
+
id: string;
|
|
182
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.RARE>;
|
|
183
|
+
description: string;
|
|
184
|
+
berry: number;
|
|
185
|
+
xp: number;
|
|
186
|
+
asset: null;
|
|
187
|
+
title: import("@opfr/ornaments").QuestTitle;
|
|
188
|
+
badge: null;
|
|
189
|
+
isFactionBadge: boolean;
|
|
190
|
+
secret: boolean;
|
|
191
|
+
daily: boolean;
|
|
192
|
+
crew: boolean;
|
|
193
|
+
readonly onUserQuestMetaUpdate: (user: UserQuestMeta) => boolean;
|
|
194
|
+
}
|
|
195
|
+
export declare class Craft20Scrolls extends Quest {
|
|
196
|
+
name: string;
|
|
197
|
+
id: string;
|
|
198
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.EPIC>;
|
|
199
|
+
description: string;
|
|
200
|
+
berry: number;
|
|
201
|
+
xp: number;
|
|
202
|
+
asset: null;
|
|
203
|
+
title: import("@opfr/ornaments").QuestTitle;
|
|
204
|
+
badge: null;
|
|
205
|
+
isFactionBadge: boolean;
|
|
206
|
+
secret: boolean;
|
|
207
|
+
daily: boolean;
|
|
208
|
+
crew: boolean;
|
|
209
|
+
readonly onUserQuestMetaUpdate: (user: UserQuestMeta) => boolean;
|
|
210
|
+
}
|
|
211
|
+
export declare class Craft50Scrolls extends Quest {
|
|
212
|
+
name: string;
|
|
213
|
+
id: string;
|
|
214
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.LEGENDARY>;
|
|
215
|
+
description: string;
|
|
216
|
+
berry: number;
|
|
217
|
+
xp: number;
|
|
218
|
+
asset: null;
|
|
219
|
+
title: import("@opfr/ornaments").QuestTitle;
|
|
220
|
+
badge: null;
|
|
221
|
+
isFactionBadge: boolean;
|
|
222
|
+
secret: boolean;
|
|
223
|
+
daily: boolean;
|
|
224
|
+
crew: boolean;
|
|
225
|
+
readonly onUserQuestMetaUpdate: (user: UserQuestMeta) => boolean;
|
|
226
|
+
}
|
|
227
|
+
export declare class Craft100Scrolls extends Quest {
|
|
228
|
+
name: string;
|
|
229
|
+
id: string;
|
|
230
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.MYTHIC>;
|
|
231
|
+
description: string;
|
|
232
|
+
berry: number;
|
|
233
|
+
xp: number;
|
|
234
|
+
asset: null;
|
|
235
|
+
title: import("@opfr/ornaments").QuestTitle;
|
|
236
|
+
badge: null;
|
|
237
|
+
isFactionBadge: boolean;
|
|
238
|
+
secret: boolean;
|
|
239
|
+
daily: boolean;
|
|
240
|
+
crew: boolean;
|
|
241
|
+
readonly onUserQuestMetaUpdate: (user: UserQuestMeta) => boolean;
|
|
242
|
+
}
|
|
163
243
|
//# sourceMappingURL=craft.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"craft.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-user-quest-meta-update/craft.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,YAAa,SAAQ,KAAK;IACrC,IAAI,SAA8B;IAClC,EAAE,SAAoB;IACtB,IAAI,4EAAgB;IACpB,WAAW,SAAyB;IACpC,KAAK,SAAU;IACf,EAAE,SAAS;IAEX,KAAK,O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ED,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,IAAI,SAAuB;IAC3B,EAAE,SAA4B;IAC9B,IAAI,+EAAmB;IACvB,WAAW,SAAwB;IACnC,KAAK,SAAc;IACnB,EAAE,SAAW;IAEb,KAAK,OAAQ;IACb,KAAK,uCAAoC;IACzC,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IACd,IAAI,UAAS;IAEb,QAAQ,CAAC,qBAAqB,SAAU,aAAa,aACrB;CACjC;AAED,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,IAAI,SAAuB;IAC3B,EAAE,SAA4B;IAC9B,IAAI,4EAAgB;IACpB,WAAW,SAAwB;IACnC,KAAK,SAAe;IACpB,EAAE,SAAW;IAEb,KAAK,OAAQ;IACb,KAAK,uCAAoC;IACzC,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IACd,IAAI,UAAS;IAEb,QAAQ,CAAC,qBAAqB,SAAU,aAAa,aACrB;CACjC"}
|
|
1
|
+
{"version":3,"file":"craft.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-user-quest-meta-update/craft.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACvD,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,YAAa,SAAQ,KAAK;IACrC,IAAI,SAA8B;IAClC,EAAE,SAAoB;IACtB,IAAI,4EAAgB;IACpB,WAAW,SAAyB;IACpC,KAAK,SAAU;IACf,EAAE,SAAS;IAEX,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,kCAAmB;IACxB,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IACd,IAAI,UAAS;IAEb,QAAQ,CAAC,qBAAqB,SAAU,aAAa,aAC3B;CAC3B;AAED,qBAAa,YAAa,SAAQ,KAAK;IACrC,IAAI,SAAqC;IAC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AW;IAEb,KAAK,OAAQ;IACb,KAAK,uCAA+C;IACpD,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IACd,IAAI,UAAS;IAEb,QAAQ,CAAC,qBAAqB,SAAU,aAAa,aACzB;CAC7B;AAED,qBAAa,cAAe,SAAQ,KAAK;IACvC,IAAI,SAA4B;IAChC,EAAE,SAAsB;IACxB,IAAI,+EAAmB;IACvB,WAAW,SAAyB;IACpC,KAAK,SAAc;IACnB,EAAE,SAAW;IAEb,KAAK,OAAQ;IACb,KAAK,uCAAyC;IAC9C,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IACd,IAAI,UAAS;IAEb,QAAQ,CAAC,qBAAqB,SAAU,aAAa,aACzB;CAC7B;AAED,qBAAa,eAAgB,SAAQ,KAAK;IACxC,IAAI,SAA0B;IAC9B,EAAE,SAAuB;IACzB,IAAI,4EAAgB;IACpB,WAAW,SAA0B;IACrC,KAAK,SAAe;IACpB,EAAE,SAAW;IAEb,KAAK,OAAQ;IACb,KAAK,uCAAuC;IAC5C,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IACd,IAAI,UAAS;IAEb,QAAQ,CAAC,qBAAqB,SAAU,aAAa,aACxB;CAC9B"}
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import type { Types } from 'mongoose';
|
|
27
|
-
import type { DBEquipment, EquipmentSlot, ItemId } from '@opfr/items';
|
|
27
|
+
import type { DBEquipment, EntityId, EquipmentSlot, ItemId } from '@opfr/items';
|
|
28
28
|
import type { UserInventory } from '../types';
|
|
29
29
|
export declare const addInventoryItem: (id: Types.ObjectId, itemId: ItemId, quantity: number) => Promise<void>;
|
|
30
|
-
export declare const addInventoryItems: (id: Types.ObjectId, items: Record<ItemId, number
|
|
30
|
+
export declare const addInventoryItems: (id: Types.ObjectId, items: Partial<Record<ItemId, number>>) => Promise<void>;
|
|
31
31
|
export declare const removeInventoryItem: (id: Types.ObjectId, itemId: ItemId, quantity: number) => Promise<void>;
|
|
32
32
|
export declare const removeAllItemInventory: (id: Types.ObjectId, itemId: ItemId) => Promise<void>;
|
|
33
33
|
export declare const addEquipments: (id: Types.ObjectId, list: UserInventory['equipmentList']) => Promise<void>;
|
|
@@ -37,7 +37,7 @@ export declare const craftItem: (id: Types.ObjectId, recipeItems: {
|
|
|
37
37
|
itemId: ItemId;
|
|
38
38
|
size: number;
|
|
39
39
|
}[], recipeResult: {
|
|
40
|
-
itemId:
|
|
40
|
+
itemId: EntityId;
|
|
41
41
|
size: number;
|
|
42
42
|
}, quantity: number, seed: number) => Promise<void>;
|
|
43
43
|
export declare const unlockRecipe: (id: Types.ObjectId, recipeId: string) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updates.d.ts","sourceRoot":"","sources":["../../../../src/services/user-inventory/query/updates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"updates.d.ts","sourceRoot":"","sources":["../../../../src/services/user-inventory/query/updates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAMhF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAE9C,eAAO,MAAM,gBAAgB,OACvB,MAAM,QAAQ,UACV,MAAM,YACJ,MAAM,kBAGjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,OACxB,MAAM,QAAQ,SACX,QAAQ,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,kBASvC,CAAC;AAEF,eAAO,MAAM,mBAAmB,OAC1B,MAAM,QAAQ,UACV,MAAM,YACJ,MAAM,kBAcjB,CAAC;AAEF,eAAO,MAAM,sBAAsB,OAC7B,MAAM,QAAQ,UACV,MAAM,kBAGf,CAAC;AAEF,eAAO,MAAM,aAAa,OACpB,MAAM,QAAQ,QACZ,aAAa,CAAC,eAAe,CAAC,kBAGrC,CAAC;AAEF,eAAO,MAAM,KAAK,OACZ,MAAM,QAAQ,QACZ,aAAa,aACR,WAAW,kBAUvB,CAAC;AAEF,eAAO,MAAM,OAAO,OAAc,MAAM,QAAQ,QAAQ,aAAa,kBASpE,CAAC;AAEF,eAAO,MAAM,SAAS,OAChB,MAAM,QAAQ,eACL;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,EAAE,gBACW;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,YACtC,MAAM,QACV,MAAM,kBAWb,CAAC;AAEF,eAAO,MAAM,YAAY,OAAc,MAAM,QAAQ,YAAY,MAAM,kBAEtE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-quest-meta/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,QAAA,MAAM,mBAAmB;;;;;;;;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-quest-meta/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,QAAA,MAAM,mBAAmB;;;;;;;;EAsEvB,CAAC;AAQH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
/// <reference types="mongoose/types/inferschematype" />
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import type { Types } from 'mongoose';
|
|
27
|
-
import
|
|
27
|
+
import { EntityId } from '@opfr/items';
|
|
28
28
|
import type { GameState, GameType, RPS } from '@opfr/utils-type';
|
|
29
29
|
export declare const workIncrement: (id: Types.ObjectId) => Promise<void>;
|
|
30
30
|
export declare const hadMoreThanZeroBerry: (id: Types.ObjectId) => Promise<void>;
|
|
@@ -36,7 +36,7 @@ export declare const bet666: (id: Types.ObjectId) => Promise<void>;
|
|
|
36
36
|
export declare const updateTotalBet: (id: Types.ObjectId, amount: number) => Promise<void>;
|
|
37
37
|
export declare const updateRps: (id: Types.ObjectId, rps: RPS) => Promise<void>;
|
|
38
38
|
export declare const updateTotalSpentInShop: (id: Types.ObjectId, price: number) => Promise<void>;
|
|
39
|
-
export declare const updateCrafts: (id: Types.ObjectId, amount: number,
|
|
39
|
+
export declare const updateCrafts: (id: Types.ObjectId, amount: number, entityId: EntityId) => Promise<void>;
|
|
40
40
|
export declare const hasReportedSomeone: (id: Types.ObjectId) => Promise<void>;
|
|
41
41
|
export declare const randomMessageIncrement: (id: Types.ObjectId) => Promise<void>;
|
|
42
42
|
export declare const botPingIncrement: (id: Types.ObjectId) => Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updates.d.ts","sourceRoot":"","sources":["../../../../src/services/user-quest-meta/query/updates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAA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,EAAE;QACH,OAAO,EAAE,GAAG,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,IAAI,CAAC;KACZ,CAAC;IACF,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE;QACL,MAAM,EAAE;YACN,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;YACd,IAAI,EAAE,IAAI,CAAC;SACZ,CAAC;QACF,KAAK,EAAE;YACL,KAAK,EAAE,MAAM,CAAC;SACf,CAAC;KACH,CAAC;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE;QACN,UAAU,EAAE,MAAM,CAAC;QACnB,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,oBAAoB,EAAE,OAAO,CAAC;CAC/B;AAED,MAAM,WAAW,qBAAsB,SAAQ,QAAQ,EAAE,aAAa;CAAG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opfr/services",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OPFR services",
|
|
6
6
|
"author": "Matthieu VEIGA",
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
"build": "vite build && tsc"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@opfr/canvas": "^0.6.
|
|
13
|
-
"@opfr/items": "^0.
|
|
14
|
-
"@opfr/ornaments": "^0.
|
|
15
|
-
"@opfr/raids": "^0.7.
|
|
12
|
+
"@opfr/canvas": "^0.6.3",
|
|
13
|
+
"@opfr/items": "^0.23.1",
|
|
14
|
+
"@opfr/ornaments": "^0.10.0",
|
|
15
|
+
"@opfr/raids": "^0.7.2",
|
|
16
16
|
"@opfr/translate": "^0.1.0",
|
|
17
|
-
"@opfr/utils-lang": "^0.
|
|
18
|
-
"@opfr/utils-type": "^0.13.
|
|
17
|
+
"@opfr/utils-lang": "^0.11.0",
|
|
18
|
+
"@opfr/utils-type": "^0.13.3",
|
|
19
19
|
"mongoose": "8.7.3"
|
|
20
20
|
},
|
|
21
21
|
"main": "dist/index.umd.js",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"node_modules",
|
|
38
38
|
"dist"
|
|
39
39
|
],
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "6dc9baef14de6a2bb5f67799407429230a511f73"
|
|
41
41
|
}
|