@opfr/services 0.22.0 → 0.24.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 +6071 -5218
- package/dist/index.umd.js +5 -5
- package/dist/quests/canvas.d.ts.map +1 -1
- package/dist/quests/event.d.ts +2 -2
- package/dist/quests/event.d.ts.map +1 -1
- package/dist/quests/middlewares/crew-quest.d.ts +3 -0
- package/dist/quests/middlewares/crew-quest.d.ts.map +1 -0
- package/dist/quests/middlewares/user-quest.d.ts +3 -0
- package/dist/quests/middlewares/user-quest.d.ts.map +1 -0
- package/dist/quests/quest.d.ts +5 -3
- package/dist/quests/quest.d.ts.map +1 -1
- package/dist/quests/quests/{crew/crewDaily.d.ts → common/crew.d.ts} +9 -9
- package/dist/quests/quests/common/crew.d.ts.map +1 -0
- package/dist/quests/quests/common/daily.d.ts +0 -30
- package/dist/quests/quests/common/daily.d.ts.map +1 -1
- package/dist/quests/quests/common/index.d.ts +3 -7
- package/dist/quests/quests/common/index.d.ts.map +1 -1
- package/dist/quests/quests/index.d.ts +5 -2
- package/dist/quests/quests/index.d.ts.map +1 -1
- package/dist/quests/quests/{on-crew-update → on-crew-quest-update}/crewCarpenter.d.ts +6 -6
- package/dist/quests/quests/on-crew-quest-update/crewCarpenter.d.ts.map +1 -0
- package/dist/quests/quests/on-crew-quest-update/crewDaily.d.ts +19 -0
- package/dist/quests/quests/on-crew-quest-update/crewDaily.d.ts.map +1 -0
- package/dist/quests/quests/{on-crew-update → on-crew-quest-update}/crewVocal.d.ts +6 -6
- package/dist/quests/quests/on-crew-quest-update/crewVocal.d.ts.map +1 -0
- package/dist/quests/quests/on-crew-quest-update/index.d.ts +4 -0
- package/dist/quests/quests/on-crew-quest-update/index.d.ts.map +1 -0
- package/dist/quests/quests/on-crew-update/crewDisintegration.d.ts +19 -0
- package/dist/quests/quests/on-crew-update/crewDisintegration.d.ts.map +1 -0
- package/dist/quests/quests/on-crew-update/crewLevel.d.ts.map +1 -1
- package/dist/quests/quests/on-crew-update/crewXp.d.ts +31 -5
- package/dist/quests/quests/on-crew-update/crewXp.d.ts.map +1 -1
- package/dist/quests/quests/on-crew-update/index.d.ts +1 -2
- package/dist/quests/quests/on-crew-update/index.d.ts.map +1 -1
- package/dist/quests/quests/on-user-meta-update/daily.d.ts +19 -0
- package/dist/quests/quests/on-user-meta-update/daily.d.ts.map +1 -0
- package/dist/quests/quests/on-user-meta-update/index.d.ts +1 -0
- package/dist/quests/quests/on-user-meta-update/index.d.ts.map +1 -1
- package/dist/quests/quests/on-user-quest-meta-update/alcohols.d.ts +323 -0
- package/dist/quests/quests/on-user-quest-meta-update/alcohols.d.ts.map +1 -0
- package/dist/quests/quests/on-user-quest-meta-update/botPing.d.ts +1 -1
- package/dist/quests/quests/{crew/crewCommon.d.ts → on-user-quest-meta-update/crew.d.ts} +2 -33
- package/dist/quests/quests/on-user-quest-meta-update/crew.d.ts.map +1 -0
- package/dist/quests/quests/on-user-quest-meta-update/edito.d.ts +1 -1
- package/dist/quests/quests/on-user-quest-meta-update/games.d.ts +1 -1
- package/dist/quests/quests/on-user-quest-meta-update/index.d.ts +2 -0
- package/dist/quests/quests/on-user-quest-meta-update/index.d.ts.map +1 -1
- package/dist/quests/quests/on-user-quest-update/daily.d.ts +19 -0
- package/dist/quests/quests/on-user-quest-update/daily.d.ts.map +1 -0
- package/dist/quests/quests/on-user-quest-update/index.d.ts +2 -0
- package/dist/quests/quests/on-user-quest-update/index.d.ts.map +1 -0
- package/dist/quests/utils.d.ts +28 -0
- package/dist/quests/utils.d.ts.map +1 -1
- package/dist/services/crew/definition/schema.d.ts.map +1 -1
- package/dist/services/crew/index.d.ts +1 -0
- package/dist/services/crew/index.d.ts.map +1 -1
- package/dist/services/crew/process/populateCrew.d.ts +29 -0
- package/dist/services/crew/process/populateCrew.d.ts.map +1 -0
- package/dist/services/crew/query/getters.d.ts +0 -1
- package/dist/services/crew/query/getters.d.ts.map +1 -1
- package/dist/services/crew/query/updates.d.ts +0 -4
- package/dist/services/crew/query/updates.d.ts.map +1 -1
- package/dist/services/crew/types.d.ts +8 -15
- package/dist/services/crew/types.d.ts.map +1 -1
- package/dist/services/crew-quest/definition/model.d.ts +30 -0
- package/dist/services/crew-quest/definition/model.d.ts.map +1 -0
- package/dist/services/crew-quest/definition/schema.d.ts +38 -0
- package/dist/services/crew-quest/definition/schema.d.ts.map +1 -0
- package/dist/services/crew-quest/index.d.ts +8 -0
- package/dist/services/crew-quest/index.d.ts.map +1 -0
- package/dist/services/crew-quest/process/create.d.ts +29 -0
- package/dist/services/crew-quest/process/create.d.ts.map +1 -0
- package/dist/services/crew-quest/process/findOne.d.ts +28 -0
- package/dist/services/crew-quest/process/findOne.d.ts.map +1 -0
- package/dist/services/crew-quest/process/updateOne.d.ts +29 -0
- package/dist/services/crew-quest/process/updateOne.d.ts.map +1 -0
- package/dist/services/crew-quest/query/getters.d.ts +3 -0
- package/dist/services/crew-quest/query/getters.d.ts.map +1 -0
- package/dist/services/crew-quest/query/updates.d.ts +31 -0
- package/dist/services/crew-quest/query/updates.d.ts.map +1 -0
- package/dist/services/crew-quest/types.d.ts +45 -0
- package/dist/services/crew-quest/types.d.ts.map +1 -0
- package/dist/services/index.d.ts +2 -1
- package/dist/services/index.d.ts.map +1 -1
- package/dist/services/user/query/getters.d.ts +3 -3
- package/dist/services/user-crew/definition/schema.d.ts.map +1 -1
- package/dist/services/user-crew/query/updates.d.ts +1 -0
- package/dist/services/user-crew/query/updates.d.ts.map +1 -1
- package/dist/services/user-crew/types.d.ts +1 -0
- package/dist/services/user-crew/types.d.ts.map +1 -1
- package/dist/services/user-inventory/query/getters.d.ts +1 -1
- package/dist/services/user-quest/definition/schema.d.ts.map +1 -1
- package/dist/services/user-quest/process/updateOne.d.ts.map +1 -1
- package/dist/services/user-quest/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 -1
- package/dist/services/user-quest-meta/query/updates.d.ts.map +1 -1
- package/dist/services/user-quest-meta/types.d.ts +6 -0
- package/dist/services/user-quest-meta/types.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/quests/quests/crew/crewCommon.d.ts.map +0 -1
- package/dist/quests/quests/crew/crewDaily.d.ts.map +0 -1
- package/dist/quests/quests/crew/index.d.ts +0 -9
- package/dist/quests/quests/crew/index.d.ts.map +0 -1
- package/dist/quests/quests/on-crew-update/crewCarpenter.d.ts.map +0 -1
- package/dist/quests/quests/on-crew-update/crewVocal.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["../../src/quests/canvas.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["../../src/quests/canvas.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAOnD,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,eAAO,MAAM,WAAW,2BACf,CAAC,UACA,MAAM,QAAQ,UACd,eAAe,MAAM,EAAE,MAAM,CAAC;WACd,MAAM;QAAM,MAAM;qBAqJ3C,CAAC"}
|
package/dist/quests/event.d.ts
CHANGED
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import type { Types } from 'mongoose';
|
|
27
27
|
import type Quest from './quest';
|
|
28
|
-
declare const QUEST_EVENT_NAMES: readonly ["crewUpdate", "userMetaUpdate", "userQuestMetaUpdate", "userInventoryUpdate", "userOrnamentsUpdate"];
|
|
28
|
+
declare const QUEST_EVENT_NAMES: readonly ["crewUpdate", "crewQuestUpdate", "userMetaUpdate", "userQuestMetaUpdate", "userQuestUpdate", "userInventoryUpdate", "userOrnamentsUpdate", "userDaily", "crewDaily"];
|
|
29
29
|
type QuestEventName = (typeof QUEST_EVENT_NAMES)[number];
|
|
30
30
|
export declare const emitQuestEvent: (name: QuestEventName, userId: Types.ObjectId, array: [Quest, {
|
|
31
31
|
berry: number;
|
|
32
32
|
xp: number;
|
|
33
33
|
}][]) => void;
|
|
34
|
-
export declare const onQuestEvent: (callback: (userId: Types.ObjectId, array: [Quest, {
|
|
34
|
+
export declare const onQuestEvent: (callback: (eventName: QuestEventName, userId: Types.ObjectId, array: [Quest, {
|
|
35
35
|
berry: number;
|
|
36
36
|
xp: number;
|
|
37
37
|
}][]) => void) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/quests/event.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,QAAA,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/quests/event.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,QAAA,MAAM,iBAAiB,gLAUb,CAAC;AAEX,KAAK,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAIzD,eAAO,MAAM,cAAc,SACnB,cAAc,UACZ,MAAM,QAAQ,SACf,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,SAGhD,CAAC;AAEF,eAAO,MAAM,YAAY,yBAEV,cAAc,UACjB,MAAM,QAAQ,SACf,CAAC,KAAK,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,EAAE,KAC5C,IAAI,SAOV,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crew-quest.d.ts","sourceRoot":"","sources":["../../../src/quests/middlewares/crew-quest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAY,MAAM,aAAa,CAAC;AAQ/D,eAAO,MAAM,mBAAmB,cAAqB,iBAAiB,kBA+BrE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-quest.d.ts","sourceRoot":"","sources":["../../../src/quests/middlewares/user-quest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAKxD,eAAO,MAAM,mBAAmB,cAAqB,iBAAiB,kBAkBrE,CAAC"}
|
package/dist/quests/quest.d.ts
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
import type { Types } from 'mongoose';
|
|
27
27
|
import type { Badge, ProfileAssetId, QuestTitle } from '@opfr/ornaments';
|
|
28
28
|
import type { Rank, RankId } from '@opfr/utils-type';
|
|
29
|
-
import type { Crew, UserCrew, UserCrewDocument, UserInventory, UserMeta, UserMetaDocument, UserOrnaments, UserQuest, UserQuestDocument, UserQuestMeta } from '../';
|
|
29
|
+
import type { Crew, CrewQuest, UserCrew, UserCrewDocument, UserInventory, UserMeta, UserMetaDocument, UserOrnaments, UserQuest, UserQuestDocument, UserQuestMeta } from '../';
|
|
30
30
|
export default abstract class Quest {
|
|
31
31
|
abstract readonly name: string;
|
|
32
32
|
abstract readonly description: string;
|
|
@@ -42,10 +42,12 @@ export default abstract class Quest {
|
|
|
42
42
|
abstract readonly daily: boolean;
|
|
43
43
|
abstract readonly crew: boolean;
|
|
44
44
|
readonly onUserMetaUpdate?: (userMeta: UserMeta) => boolean;
|
|
45
|
+
readonly onUserQuestUpdate?: (userQuest: UserQuest) => boolean;
|
|
45
46
|
readonly onUserQuestMetaUpdate?: (userQuestMeta: UserQuestMeta) => boolean;
|
|
46
47
|
readonly onUserInventoryUpdate?: (userInventory: UserInventory) => boolean;
|
|
47
48
|
readonly onUserOrnamentsUpdate?: (userOrnaments: UserOrnaments) => boolean;
|
|
48
|
-
readonly onCrewUpdate?: (crew: Crew) => boolean;
|
|
49
|
+
readonly onCrewUpdate?: (crew: Crew, userId: Types.ObjectId) => boolean;
|
|
50
|
+
readonly onCrewQuestUpdate?: (crew: CrewQuest, userCrew: UserCrewDocument) => boolean;
|
|
49
51
|
readonly complete: (userId: Types.ObjectId, { _userQuest, _userCrew, _userMeta, }: {
|
|
50
52
|
_userQuest?: UserQuestDocument | undefined;
|
|
51
53
|
_userMeta?: UserMetaDocument | undefined;
|
|
@@ -62,7 +64,7 @@ export default abstract class Quest {
|
|
|
62
64
|
xp: number;
|
|
63
65
|
berry: number;
|
|
64
66
|
};
|
|
65
|
-
specificQuestCompletion(userQuest: UserQuestDocument): Promise<void>;
|
|
67
|
+
specificQuestCompletion(userQuest: UserQuestDocument, userCrew: UserCrewDocument | null): Promise<void>;
|
|
66
68
|
isCompleted(userQuest: UserQuest): boolean;
|
|
67
69
|
markAsCompleted(userQuest: UserQuestDocument): Promise<void>;
|
|
68
70
|
markCrewAsCompleted(crew: Types.ObjectId): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"quest.d.ts","sourceRoot":"","sources":["../../src/quests/quest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE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,SAAS,EAAE,iBAAiB,EAC5B,QAAQ,EAAE,gBAAgB,GAAG,IAAI;IAyBnC,WAAW,CAAC,SAAS,EAAE,SAAS;IAO1B,eAAe,CAAC,SAAS,EAAE,iBAAiB;IAQ5C,mBAAmB,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ;IAIxC,wBAAwB,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,CAAC,QAAQ;CAO5E"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import Quest from '../../quest';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class CrewCreateOrJoin extends Quest {
|
|
3
3
|
name: string;
|
|
4
4
|
id: string;
|
|
5
|
-
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.
|
|
5
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.LEGENDARY>;
|
|
6
6
|
description: string;
|
|
7
7
|
berry: number;
|
|
8
8
|
xp: number;
|
|
9
|
-
|
|
10
|
-
daily: boolean;
|
|
11
|
-
secret: boolean;
|
|
9
|
+
badge: null;
|
|
12
10
|
asset: null;
|
|
13
11
|
title: null;
|
|
14
|
-
badge: null;
|
|
15
12
|
isFactionBadge: boolean;
|
|
13
|
+
secret: boolean;
|
|
14
|
+
daily: boolean;
|
|
15
|
+
crew: boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare class
|
|
17
|
+
export declare class CrewValidateDaily extends Quest {
|
|
18
18
|
name: string;
|
|
19
19
|
id: string;
|
|
20
|
-
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.
|
|
20
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.COMMON>;
|
|
21
21
|
description: string;
|
|
22
22
|
berry: number;
|
|
23
23
|
xp: number;
|
|
@@ -29,4 +29,4 @@ export declare class CrewAllMembersDaily extends Quest {
|
|
|
29
29
|
badge: null;
|
|
30
30
|
isFactionBadge: boolean;
|
|
31
31
|
}
|
|
32
|
-
//# sourceMappingURL=
|
|
32
|
+
//# sourceMappingURL=crew.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crew.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/common/crew.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,gBAAiB,SAAQ,KAAK;IACzC,IAAI,SAAwB;IAC5B,EAAE,SAAyB;IAC3B,IAAI,+EAAmB;IACvB,WAAW,SAA8C;IACzD,KAAK,SAAa;IAClB,EAAE,SAAW;IAEb,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IACd,IAAI,UAAS;CACd;AAED,qBAAa,iBAAkB,SAAQ,KAAK;IAC1C,IAAI,SAAuB;IAC3B,EAAE,SAAsB;IACxB,IAAI,4EAAgB;IACpB,WAAW,SAAmD;IAC9D,KAAK,SAAU;IACf,EAAE,SAAS;IAEX,IAAI,UAAQ;IACZ,KAAK,UAAQ;IACb,MAAM,UAAS;IAEf,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;CACxB"}
|
|
@@ -30,21 +30,6 @@ export declare class DailyReadEdito extends Quest {
|
|
|
30
30
|
asset: null;
|
|
31
31
|
title: null;
|
|
32
32
|
}
|
|
33
|
-
export declare class DailyVocal extends Quest {
|
|
34
|
-
name: string;
|
|
35
|
-
id: string;
|
|
36
|
-
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.COMMON>;
|
|
37
|
-
description: string;
|
|
38
|
-
berry: ({ xp }: UserMeta) => number;
|
|
39
|
-
xp: ({ xp }: UserMeta) => number;
|
|
40
|
-
daily: boolean;
|
|
41
|
-
secret: boolean;
|
|
42
|
-
crew: boolean;
|
|
43
|
-
isFactionBadge: boolean;
|
|
44
|
-
badge: null;
|
|
45
|
-
asset: null;
|
|
46
|
-
title: null;
|
|
47
|
-
}
|
|
48
33
|
export declare class DailyAnswer extends Quest {
|
|
49
34
|
name: string;
|
|
50
35
|
id: string;
|
|
@@ -75,21 +60,6 @@ export declare class DailyCheckProfile extends Quest {
|
|
|
75
60
|
asset: null;
|
|
76
61
|
title: null;
|
|
77
62
|
}
|
|
78
|
-
export declare class DailyAll extends Quest {
|
|
79
|
-
name: string;
|
|
80
|
-
id: string;
|
|
81
|
-
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.RARE>;
|
|
82
|
-
description: string;
|
|
83
|
-
berry: ({ xp }: UserMeta) => number;
|
|
84
|
-
xp: ({ xp }: UserMeta) => number;
|
|
85
|
-
daily: boolean;
|
|
86
|
-
secret: boolean;
|
|
87
|
-
crew: boolean;
|
|
88
|
-
isFactionBadge: boolean;
|
|
89
|
-
badge: null;
|
|
90
|
-
asset: null;
|
|
91
|
-
title: null;
|
|
92
|
-
}
|
|
93
63
|
export declare class Almanax extends Quest {
|
|
94
64
|
name: string;
|
|
95
65
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daily.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/common/daily.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,gBAAiB,SAAQ,KAAK;IACzC,IAAI,SAAsB;IAC1B,EAAE,SAAwB;IAC1B,IAAI,4EAAgB;IACpB,WAAW,SAAwB;IACnC,KAAK,WAAY,QAAQ,YAAmD;IAC5E,EAAE,WAAY,QAAQ,YAAiD;IACvE,KAAK,UAAQ;IAEb,MAAM,UAAS;IACf,IAAI,UAAS;IACb,cAAc,UAAS;IACvB,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,OAAQ;CACd;AAED,qBAAa,cAAe,SAAQ,KAAK;IACvC,IAAI,SAAiC;IACrC,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,YAAiD;IACvE,KAAK,UAAQ;IAEb,MAAM,UAAS;IACf,IAAI,UAAS;IACb,cAAc,UAAS;IACvB,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,OAAQ;CACd;AAED,qBAAa,iBAAkB,SAAQ,KAAK;IAC1C,IAAI,SAAiB;IACrB,EAAE,SAAyB;IAC3B,IAAI,4EAAgB;IACpB,WAAW,SAAyB;IACpC,KAAK,WAAY,QAAQ,YAAmD;IAC5E,EAAE,WAAY,QAAQ,YAAiD;IACvE,KAAK,UAAQ;IAEb,MAAM,UAAS;IACf,IAAI,UAAS;IACb,cAAc,UAAS;IACvB,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,OAAQ;CACd;AAED,qBAAa,OAAQ,SAAQ,KAAK;IAChC,IAAI,SAAa;IACjB,EAAE,SAAa;IACf,IAAI,4EAAgB;IACpB,WAAW,SAAwD;IACnE,KAAK,SAAiB;IACtB,EAAE,SAAa;IAEf,KAAK,kCAAsB;IAC3B,MAAM,UAAS;IACf,IAAI,UAAS;IACb,cAAc,UAAS;IACvB,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,UAAS;CAIf"}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export * from '../on-user-meta-update/premium';
|
|
5
|
-
export * from '../on-user-quest-meta-update/randomMessage';
|
|
6
|
-
export * from '../on-user-quest-meta-update/report';
|
|
7
|
-
export * from '../on-user-quest-meta-update/work';
|
|
1
|
+
import * as CrewDailyQuests from './crew';
|
|
2
|
+
import * as UserDailyQuests from './daily';
|
|
3
|
+
export { UserDailyQuests, CrewDailyQuests };
|
|
8
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/common/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/common/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,eAAe,MAAM,QAAQ,CAAC;AAC1C,OAAO,KAAK,eAAe,MAAM,SAAS,CAAC;AAE3C,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { UserDailyQuests } from './common';
|
|
2
|
+
import * as CrewQuestQuests from './on-crew-quest-update';
|
|
1
3
|
import * as CrewQuests from './on-crew-update';
|
|
2
4
|
import * as UserInventoryQuests from './on-user-inventory-update';
|
|
3
5
|
import * as UserMetaQuests from './on-user-meta-update';
|
|
4
6
|
import * as UserOrnamentsQuests from './on-user-ornaments-update';
|
|
5
7
|
import * as UserQuestMetaQuests from './on-user-quest-meta-update';
|
|
6
|
-
|
|
7
|
-
export
|
|
8
|
+
import * as UserQuestQuests from './on-user-quest-update';
|
|
9
|
+
export declare const ALL_QUESTS: readonly (typeof CrewQuestQuests.CrewCarpenter1Week | typeof CrewQuestQuests.CrewCarpenter1Month | typeof CrewQuestQuests.CrewCarpenter3Months | typeof CrewQuestQuests.CrewCarpenter6Months | typeof CrewQuestQuests.CrewCarpenter1Year | typeof CrewQuestQuests.CrewAllMembersDaily | typeof CrewQuestQuests.CrewVocal5 | typeof CrewQuestQuests.CrewVocal7 | typeof CrewQuestQuests.CrewVocal10 | typeof CrewQuestQuests.CrewVocal12 | typeof CrewQuestQuests.CrewVocal15 | typeof UserDailyQuests.DailySendMessage | typeof UserDailyQuests.DailyReadEdito | typeof UserDailyQuests.DailyAnswer | typeof UserDailyQuests.DailyCheckProfile | typeof UserDailyQuests.Almanax | typeof CrewQuests.CrewBreakShip | 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.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 UserMetaQuests.DailyVocal | 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.Crew10Percent | typeof UserQuestMetaQuests.Crew90Percent | 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 | typeof UserQuestMetaQuests.Drink50Alcohols | typeof UserQuestMetaQuests.Drink250Alcohols | typeof UserQuestMetaQuests.Drink500Alcohols | typeof UserQuestMetaQuests.Drink1000Alcohols | typeof UserQuestMetaQuests.Drink2000Alcohols | typeof UserQuestMetaQuests.Drink10Rhum | typeof UserQuestMetaQuests.Drink100Rhum | typeof UserQuestMetaQuests.Drink250Rhum | typeof UserQuestMetaQuests.Drink500Rhum | typeof UserQuestMetaQuests.Drink1000Rhum | typeof UserQuestMetaQuests.Drink10Beer | typeof UserQuestMetaQuests.Drink100Beer | typeof UserQuestMetaQuests.Drink250Beer | typeof UserQuestMetaQuests.Drink500Beer | typeof UserQuestMetaQuests.Drink1000Beer | typeof UserQuestMetaQuests.Drink10Wine | typeof UserQuestMetaQuests.Drink100Wine | typeof UserQuestMetaQuests.Drink250Wine | typeof UserQuestMetaQuests.Drink500Wine | typeof UserQuestMetaQuests.Drink1000Wine | typeof UserQuestQuests.DailyAll)[];
|
|
10
|
+
export { UserQuestMetaQuests, UserOrnamentsQuests, UserInventoryQuests, UserMetaQuests, UserQuestQuests, CrewQuests, CrewQuestQuests, UserDailyQuests, };
|
|
8
11
|
//# 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;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/quests/quests/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,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;AACnE,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAE1D,eAAO,MAAM,UAAU,iyQASb,CAAC;AAEX,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,UAAU,EACV,eAAe,EACf,eAAe,GAChB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CrewQuest } from '../../../services/crew-quest';
|
|
2
2
|
import Quest from '../../quest';
|
|
3
3
|
export declare class CrewCarpenter1Week extends Quest {
|
|
4
4
|
name: string;
|
|
@@ -14,7 +14,7 @@ export declare class CrewCarpenter1Week extends Quest {
|
|
|
14
14
|
title: null;
|
|
15
15
|
isFactionBadge: boolean;
|
|
16
16
|
daily: boolean;
|
|
17
|
-
readonly
|
|
17
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
18
18
|
}
|
|
19
19
|
export declare class CrewCarpenter1Month extends Quest {
|
|
20
20
|
name: string;
|
|
@@ -30,7 +30,7 @@ export declare class CrewCarpenter1Month extends Quest {
|
|
|
30
30
|
title: null;
|
|
31
31
|
isFactionBadge: boolean;
|
|
32
32
|
daily: boolean;
|
|
33
|
-
readonly
|
|
33
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
34
34
|
}
|
|
35
35
|
export declare class CrewCarpenter3Months extends Quest {
|
|
36
36
|
name: string;
|
|
@@ -46,7 +46,7 @@ export declare class CrewCarpenter3Months extends Quest {
|
|
|
46
46
|
title: null;
|
|
47
47
|
isFactionBadge: boolean;
|
|
48
48
|
daily: boolean;
|
|
49
|
-
readonly
|
|
49
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
50
50
|
}
|
|
51
51
|
export declare class CrewCarpenter6Months extends Quest {
|
|
52
52
|
name: string;
|
|
@@ -62,7 +62,7 @@ export declare class CrewCarpenter6Months extends Quest {
|
|
|
62
62
|
title: null;
|
|
63
63
|
isFactionBadge: boolean;
|
|
64
64
|
daily: boolean;
|
|
65
|
-
readonly
|
|
65
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
66
66
|
}
|
|
67
67
|
export declare class CrewCarpenter1Year extends Quest {
|
|
68
68
|
name: string;
|
|
@@ -78,6 +78,6 @@ export declare class CrewCarpenter1Year extends Quest {
|
|
|
78
78
|
badge: import("@opfr/ornaments").Badge;
|
|
79
79
|
isFactionBadge: boolean;
|
|
80
80
|
daily: boolean;
|
|
81
|
-
readonly
|
|
81
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
82
82
|
}
|
|
83
83
|
//# sourceMappingURL=crewCarpenter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crewCarpenter.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-quest-update/crewCarpenter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,kBAAmB,SAAQ,KAAK;IAC3C,IAAI,SAAoB;IACxB,EAAE,SAA2B;IAC7B,IAAI,4EAAgB;IACpB,WAAW,SAAgE;IAC3E,KAAK,SAAU;IACf,EAAE,SAAS;IACX,IAAI,UAAQ;IACZ,MAAM,UAAQ;IAEd,KAAK,kCAAuB;IAC5B,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,KAAK,UAAS;IAEd,QAAQ,CAAC,iBAAiB,cAAe,SAAS,aACZ;CACvC;AAED,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,IAAI,SAAyB;IAC7B,EAAE,SAA4B;IAC9B,IAAI,0EAAc;IAClB,WAAW,SAA6D;IACxE,KAAK,SAAW;IAChB,EAAE,SAAU;IACZ,IAAI,UAAQ;IACZ,MAAM,UAAQ;IAEd,KAAK,kCAAuB;IAC5B,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,KAAK,UAAS;IAEd,QAAQ,CAAC,iBAAiB,cAAe,SAAS,aACX;CACxC;AAED,qBAAa,oBAAqB,SAAQ,KAAK;IAC7C,IAAI,SAA2D;IAC/D,EAAE,SAA6B;IAC/B,IAAI,0EAAc;IAClB,WAAW,SAA6D;IACxE,KAAK,SAAa;IAClB,EAAE,SAAU;IACZ,IAAI,UAAQ;IACZ,MAAM,UAAQ;IAEd,KAAK,kCAAuB;IAC5B,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,KAAK,UAAS;IAEd,QAAQ,CAAC,iBAAiB,cAAe,SAAS,aACP;CAC5C;AAED,qBAAa,oBAAqB,SAAQ,KAAK;IAC7C,IAAI,SAAwC;IAC5C,EAAE,SAA6B;IAC/B,IAAI,+EAAmB;IACvB,WAAW,SAA6D;IACxE,KAAK,SAAc;IACnB,EAAE,SAAW;IACb,IAAI,UAAQ;IACZ,MAAM,UAAQ;IAEd,KAAK,kCAAuB;IAC5B,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,KAAK,UAAS;IAEd,QAAQ,CAAC,iBAAiB,cAAe,SAAS,aACP;CAC5C;AAED,qBAAa,kBAAmB,SAAQ,KAAK;IAC3C,IAAI,SAAmD;IACvD,EAAE,SAA2B;IAC7B,IAAI,4EAAgB;IACpB,WAAW,SAA2D;IACtE,KAAK,SAAc;IACnB,EAAE,SAAW;IACb,IAAI,UAAQ;IACZ,MAAM,UAAQ;IAEd,KAAK,OAAQ;IACb,KAAK,uCAAyC;IAC9C,KAAK,kCAAuB;IAC5B,cAAc,UAAS;IACvB,KAAK,UAAS;IAEd,QAAQ,CAAC,iBAAiB,cAAe,SAAS,aACV;CACzC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { CrewQuest, UserCrewDocument } from '../../../services';
|
|
2
|
+
import Quest from '../../quest';
|
|
3
|
+
export declare class CrewAllMembersDaily extends Quest {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.RARE>;
|
|
7
|
+
description: string;
|
|
8
|
+
berry: number;
|
|
9
|
+
xp: number;
|
|
10
|
+
crew: boolean;
|
|
11
|
+
daily: boolean;
|
|
12
|
+
secret: boolean;
|
|
13
|
+
asset: null;
|
|
14
|
+
title: null;
|
|
15
|
+
badge: null;
|
|
16
|
+
isFactionBadge: boolean;
|
|
17
|
+
readonly onCrewQuestUpdate: (crew: CrewQuest, userCrew: UserCrewDocument) => boolean;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=crewDaily.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crewDaily.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-quest-update/crewDaily.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,IAAI,SAAkB;IACtB,EAAE,SAA4B;IAC9B,IAAI,0EAAc;IAClB,WAAW,SAA2D;IACtE,KAAK,SAAU;IACf,EAAE,SAAS;IAEX,IAAI,UAAQ;IACZ,KAAK,UAAQ;IACb,MAAM,UAAS;IAEf,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IAEvB,QAAQ,CAAC,iBAAiB,SAClB,SAAS,YACL,gBAAgB,aAY1B;CACH"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CrewQuest } from '../../../services/crew-quest';
|
|
2
2
|
import Quest from '../../quest';
|
|
3
3
|
export declare class CrewVocal5 extends Quest {
|
|
4
4
|
name: string;
|
|
@@ -14,7 +14,7 @@ export declare class CrewVocal5 extends Quest {
|
|
|
14
14
|
isFactionBadge: boolean;
|
|
15
15
|
secret: boolean;
|
|
16
16
|
daily: boolean;
|
|
17
|
-
readonly
|
|
17
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
18
18
|
}
|
|
19
19
|
export declare class CrewVocal7 extends Quest {
|
|
20
20
|
name: string;
|
|
@@ -30,7 +30,7 @@ export declare class CrewVocal7 extends Quest {
|
|
|
30
30
|
isFactionBadge: boolean;
|
|
31
31
|
secret: boolean;
|
|
32
32
|
daily: boolean;
|
|
33
|
-
readonly
|
|
33
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
34
34
|
}
|
|
35
35
|
export declare class CrewVocal10 extends Quest {
|
|
36
36
|
name: string;
|
|
@@ -46,7 +46,7 @@ export declare class CrewVocal10 extends Quest {
|
|
|
46
46
|
isFactionBadge: boolean;
|
|
47
47
|
secret: boolean;
|
|
48
48
|
daily: boolean;
|
|
49
|
-
readonly
|
|
49
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
50
50
|
}
|
|
51
51
|
export declare class CrewVocal12 extends Quest {
|
|
52
52
|
name: string;
|
|
@@ -62,7 +62,7 @@ export declare class CrewVocal12 extends Quest {
|
|
|
62
62
|
isFactionBadge: boolean;
|
|
63
63
|
secret: boolean;
|
|
64
64
|
daily: boolean;
|
|
65
|
-
readonly
|
|
65
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
66
66
|
}
|
|
67
67
|
export declare class CrewVocal15 extends Quest {
|
|
68
68
|
name: string;
|
|
@@ -78,6 +78,6 @@ export declare class CrewVocal15 extends Quest {
|
|
|
78
78
|
isFactionBadge: boolean;
|
|
79
79
|
secret: boolean;
|
|
80
80
|
daily: boolean;
|
|
81
|
-
readonly
|
|
81
|
+
readonly onCrewQuestUpdate: (crewQuest: CrewQuest) => boolean;
|
|
82
82
|
}
|
|
83
83
|
//# sourceMappingURL=crewVocal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crewVocal.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-quest-update/crewVocal.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,UAAW,SAAQ,KAAK;IACnC,IAAI,SAAsB;IAC1B,EAAE,SAAkB;IACpB,IAAI,4EAAgB;IACpB,WAAW,SAA8D;IACzE,KAAK,SAAU;IACf,EAAE,SAA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SAAmB;IACrB,IAAI,4EAAgB;IACpB,WAAW,SAA+D;IAC1E,KAAK,SAAc;IACnB,EAAE,SAAW;IACb,IAAI,UAAQ;IAEZ,KAAK,OAAQ;IACb,KAAK,uCAAqC;IAC1C,KAAK,kCAAuB;IAC5B,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IAEd,QAAQ,CAAC,iBAAiB,cAAe,SAAS,aACX;CACxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-quest-update/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Crew } from '../../../services';
|
|
2
|
+
import Quest from '../../quest';
|
|
3
|
+
export declare class CrewBreakShip extends Quest {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.LEGENDARY>;
|
|
7
|
+
description: string;
|
|
8
|
+
berry: number;
|
|
9
|
+
xp: number;
|
|
10
|
+
crew: boolean;
|
|
11
|
+
secret: boolean;
|
|
12
|
+
badge: null;
|
|
13
|
+
asset: null;
|
|
14
|
+
title: null;
|
|
15
|
+
isFactionBadge: boolean;
|
|
16
|
+
daily: boolean;
|
|
17
|
+
readonly onCrewUpdate: (crew: Crew) => boolean;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=crewDisintegration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crewDisintegration.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-update/crewDisintegration.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,aAAc,SAAQ,KAAK;IACtC,IAAI,SAAwE;IAC5E,EAAE,SAAqB;IACvB,IAAI,+EAAmB;IACvB,WAAW,SAA2D;IACtE,KAAK,SAAc;IACnB,EAAE,SAAY;IACd,IAAI,UAAQ;IACZ,MAAM,UAAQ;IAEd,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,KAAK,UAAS;IAEd,QAAQ,CAAC,YAAY,SAAU,IAAI,aAA8B;CAClE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crewLevel.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-update/crewLevel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,aAAc,SAAQ,KAAK;IACtC,IAAI,SAAwB;IAC5B,EAAE,SAAwB;IAC1B,IAAI,4EAAgB;IACpB,WAAW,SAAuC;IAClD,KAAK,SAAU;IACf,EAAE,SAAS;IACX,IAAI,UAAQ;IAEZ,KAAK,kCAAsB;IAC3B,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IAEd,QAAQ,CAAC,YAAY,SAAU,IAAI,
|
|
1
|
+
{"version":3,"file":"crewLevel.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-update/crewLevel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,aAAc,SAAQ,KAAK;IACtC,IAAI,SAAwB;IAC5B,EAAE,SAAwB;IAC1B,IAAI,4EAAgB;IACpB,WAAW,SAAuC;IAClD,KAAK,SAAU;IACf,EAAE,SAAS;IACX,IAAI,UAAQ;IAEZ,KAAK,kCAAs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IACnD,KAAK,SAAc;IACnB,EAAE,SAAW;IACb,IAAI,UAAQ;IAEZ,KAAK,OAAQ;IACb,KAAK,uCAAwB;IAC7B,KAAK,kCAAsB;IAC3B,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IAEd,QAAQ,CAAC,YAAY,SAAU,IAAI,aACQ;CAC5C"}
|
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
/// <reference types="mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="mongoose/types/callback" />
|
|
3
|
+
/// <reference types="mongoose/types/collection" />
|
|
4
|
+
/// <reference types="mongoose/types/connection" />
|
|
5
|
+
/// <reference types="mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="mongoose/types/document" />
|
|
7
|
+
/// <reference types="mongoose/types/error" />
|
|
8
|
+
/// <reference types="mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="mongoose/types/models" />
|
|
13
|
+
/// <reference types="mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="mongoose/types/populate" />
|
|
16
|
+
/// <reference types="mongoose/types/query" />
|
|
17
|
+
/// <reference types="mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="mongoose/types/session" />
|
|
20
|
+
/// <reference types="mongoose/types/types" />
|
|
21
|
+
/// <reference types="mongoose/types/utility" />
|
|
22
|
+
/// <reference types="mongoose/types/validation" />
|
|
23
|
+
/// <reference types="mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="mongoose/types/inferschematype" />
|
|
25
|
+
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
|
+
import type { Types } from 'mongoose';
|
|
1
27
|
import type { Crew } from '../../../services';
|
|
2
28
|
import Quest from '../../quest';
|
|
3
29
|
export declare class CrewBring50kXp extends Quest {
|
|
@@ -14,7 +40,7 @@ export declare class CrewBring50kXp extends Quest {
|
|
|
14
40
|
secret: boolean;
|
|
15
41
|
daily: boolean;
|
|
16
42
|
crew: boolean;
|
|
17
|
-
readonly onCrewUpdate: (crew: Crew) => boolean;
|
|
43
|
+
readonly onCrewUpdate: (crew: Crew, userId: Types.ObjectId) => boolean;
|
|
18
44
|
}
|
|
19
45
|
export declare class CrewBring500kXp extends Quest {
|
|
20
46
|
name: string;
|
|
@@ -30,7 +56,7 @@ export declare class CrewBring500kXp extends Quest {
|
|
|
30
56
|
secret: boolean;
|
|
31
57
|
daily: boolean;
|
|
32
58
|
crew: boolean;
|
|
33
|
-
readonly onCrewUpdate: (crew: Crew) => boolean;
|
|
59
|
+
readonly onCrewUpdate: (crew: Crew, userId: Types.ObjectId) => boolean;
|
|
34
60
|
}
|
|
35
61
|
export declare class CrewBring1mXp extends Quest {
|
|
36
62
|
name: string;
|
|
@@ -46,7 +72,7 @@ export declare class CrewBring1mXp extends Quest {
|
|
|
46
72
|
secret: boolean;
|
|
47
73
|
daily: boolean;
|
|
48
74
|
crew: boolean;
|
|
49
|
-
readonly onCrewUpdate: (crew: Crew) => boolean;
|
|
75
|
+
readonly onCrewUpdate: (crew: Crew, userId: Types.ObjectId) => boolean;
|
|
50
76
|
}
|
|
51
77
|
export declare class CrewBring5mXp extends Quest {
|
|
52
78
|
name: string;
|
|
@@ -62,7 +88,7 @@ export declare class CrewBring5mXp extends Quest {
|
|
|
62
88
|
secret: boolean;
|
|
63
89
|
daily: boolean;
|
|
64
90
|
crew: boolean;
|
|
65
|
-
readonly onCrewUpdate: (crew: Crew) => boolean;
|
|
91
|
+
readonly onCrewUpdate: (crew: Crew, userId: Types.ObjectId) => boolean;
|
|
66
92
|
}
|
|
67
93
|
export declare class CrewBring50mXp extends Quest {
|
|
68
94
|
name: string;
|
|
@@ -78,6 +104,6 @@ export declare class CrewBring50mXp extends Quest {
|
|
|
78
104
|
secret: boolean;
|
|
79
105
|
daily: boolean;
|
|
80
106
|
crew: boolean;
|
|
81
|
-
readonly onCrewUpdate: (crew: Crew) => boolean;
|
|
107
|
+
readonly onCrewUpdate: (crew: Crew, userId: Types.ObjectId) => boolean;
|
|
82
108
|
}
|
|
83
109
|
//# sourceMappingURL=crewXp.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crewXp.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-update/crewXp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"crewXp.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-update/crewXp.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKtC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,cAAe,SAAQ,KAAK;IACvC,IAAI,SAA4B;IAChC,EAAE,SAAuB;IACzB,IAAI,4EAAgB;IACpB,WAAW,SAAsC;IACjD,KAAK,SAAU;IACf,EAAE,SAAS;IAEX,KAAK,kCAAqB;IAC1B,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IACd,IAAI,UAAS;IAEb,QAAQ,CAAC,YAAY,SAAU,IAAI,UAAU,MAAM,QAAQ,aACX;CACjD;AAED,qBAAa,eAAgB,SAAQ,KAAK;IACxC,IAAI,SAAuC;IAC3C,EAAE,SAAwB;IAC1B,IAAI,0EAAc;IAClB,WAAW,SAAuC;IAClD,KAAK,SAAW;IAChB,EAAE,SAAU;IAEZ,KAAK,kCAAqB;IAC1B,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,cAAc,UAAS;IACvB,MAAM,UAAS;IACf,KAAK,UAAS;IACd,IA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|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-update/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { UserMeta } from '../../../services';
|
|
2
|
+
import Quest from '../../quest';
|
|
3
|
+
export declare class DailyVocal extends Quest {
|
|
4
|
+
name: string;
|
|
5
|
+
id: string;
|
|
6
|
+
rank: import("@opfr/utils-type").Rank<import("@opfr/utils-type").RankId.COMMON>;
|
|
7
|
+
description: string;
|
|
8
|
+
berry: ({ xp }: UserMeta) => number;
|
|
9
|
+
xp: ({ xp }: UserMeta) => number;
|
|
10
|
+
daily: boolean;
|
|
11
|
+
secret: boolean;
|
|
12
|
+
crew: boolean;
|
|
13
|
+
isFactionBadge: boolean;
|
|
14
|
+
badge: null;
|
|
15
|
+
asset: null;
|
|
16
|
+
title: null;
|
|
17
|
+
readonly onUserMetaUpdate: ({ xp }: UserMeta) => boolean;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=daily.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"daily.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-user-meta-update/daily.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,MAAM,aAAa,CAAC;AAEhC,qBAAa,UAAW,SAAQ,KAAK;IACnC,IAAI,SAAqB;IACzB,EAAE,SAAiB;IACnB,IAAI,4EAAgB;IACpB,WAAW,SAAkC;IAC7C,KAAK,WAAY,QAAQ,YAAmD;IAC5E,EAAE,WAAY,QAAQ,YAAiD;IACvE,KAAK,UAAQ;IAEb,MAAM,UAAS;IACf,IAAI,UAAS;IACb,cAAc,UAAS;IACvB,KAAK,OAAQ;IACb,KAAK,OAAQ;IACb,KAAK,OAAQ;IAEb,QAAQ,CAAC,gBAAgB,WAAY,QAAQ,aAEE;CAChD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-user-meta-update/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-user-meta-update/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|