@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":"types.d.ts","sourceRoot":"","sources":["../../../src/services/crew/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/crew/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAE3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,WAAW,IAAI;IACnB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAElB,KAAK,EAAE,KAAK,CAAC,QAAQ,GAAG,iBAAiB,CAAC;IAE1C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAElB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IAEd,IAAI,EAAE;QACJ,KAAK,EAAE,MAAM,CAAC;QACd,EAAE,EAAE,MAAM,CAAC;QAEX,KAAK,EAAE;YACL,EAAE,EAAE;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAA;aAAE,CAAC;SAC9C,CAAC;KACH,CAAC;IAEF,cAAc,EAAE,MAAM,CAAC;IAEvB,OAAO,EAAE,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAEvC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAErD,QAAQ,EAAE;QACR,cAAc,EAAE,MAAM,EAAE,CAAC;KAC1B,CAAC;CACH;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,KAAK,EAAE,iBAAiB,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,MAAM,aAAa,IAAI,IAAI,CAC5D,aAAa,EACb,CAAC,CACF,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,CAAC,SAAS,MAAM,aAAa,IAAI,SAAS,CAC/D,YAAY,EACZ,YAAY,CAAC,CAAC,CAAC,CAChB,CAAC;AAEF,MAAM,WAAW,YAAa,SAAQ,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,IAAI;CAAG"}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { Model } from 'mongoose';
|
|
27
|
+
import type { CrewQuestDocument } from '../types';
|
|
28
|
+
declare const crewQuestModel: Model<CrewQuestDocument>;
|
|
29
|
+
export { crewQuestModel };
|
|
30
|
+
//# sourceMappingURL=model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../../../src/services/crew-quest/definition/model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAGlD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,iBAAiB,CACgC,CAAC;AAE9E,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 { Schema } from 'mongoose';
|
|
27
|
+
import type { CrewQuestDocument } from '../types';
|
|
28
|
+
declare const crewQuestSchema: Schema<CrewQuestDocument, import("mongoose").Model<CrewQuestDocument, any, any, any, import("mongoose").Document<unknown, any, CrewQuestDocument> & CrewQuestDocument & Required<{
|
|
29
|
+
_id: import("mongoose").Types.ObjectId;
|
|
30
|
+
}> & {
|
|
31
|
+
__v?: number | undefined;
|
|
32
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, CrewQuestDocument, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<CrewQuestDocument>> & import("mongoose").FlatRecord<CrewQuestDocument> & Required<{
|
|
33
|
+
_id: import("mongoose").Types.ObjectId;
|
|
34
|
+
}> & {
|
|
35
|
+
__v?: number | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
export { crewQuestSchema };
|
|
38
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/crew-quest/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,QAAA,MAAM,eAAe;;;;;;;;EAqBpB,CAAC;AAQF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as crewQuestGetters from './query/getters';
|
|
2
|
+
import * as crewQuestUpdates from './query/updates';
|
|
3
|
+
export type * from './types';
|
|
4
|
+
export { crewQuestModel } from './definition/model';
|
|
5
|
+
export { findCrewQuest } from './process/findOne';
|
|
6
|
+
export { createCrewQuest } from './process/create';
|
|
7
|
+
export { crewQuestGetters, crewQuestUpdates };
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/crew-quest/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,gBAAgB,MAAM,iBAAiB,CAAC;AAEpD,mBAAmB,SAAS,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +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';
|
|
27
|
+
import type { CrewQuestDocument } from '../types';
|
|
28
|
+
export declare const createCrewQuest: (crew: Types.ObjectId) => Promise<CrewQuestDocument>;
|
|
29
|
+
//# sourceMappingURL=create.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/services/crew-quest/process/create.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGtC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,eAAe,SACpB,MAAM,QAAQ,KACnB,QAAQ,iBAAiB,CAI3B,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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';
|
|
27
|
+
export declare const findCrewQuest: (crew: Types.ObjectId) => Promise<import("..").CrewQuestDocument>;
|
|
28
|
+
//# sourceMappingURL=findOne.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"findOne.d.ts","sourceRoot":"","sources":["../../../../src/services/crew-quest/process/findOne.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAKtC,eAAO,MAAM,aAAa,SAAgB,MAAM,QAAQ,4CAOvD,CAAC"}
|
|
@@ -0,0 +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, UpdateQuery, UpdateWithAggregationPipeline } from 'mongoose';
|
|
27
|
+
import type { CrewQuestDocument } from '../types';
|
|
28
|
+
export declare const updateCrewQuest: (crew: Types.ObjectId, update: UpdateQuery<CrewQuestDocument> | UpdateWithAggregationPipeline) => Promise<void>;
|
|
29
|
+
//# sourceMappingURL=updateOne.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateOne.d.ts","sourceRoot":"","sources":["../../../../src/services/crew-quest/process/updateOne.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,eAAe,SACpB,MAAM,QAAQ,UACZ,YAAY,iBAAiB,CAAC,GAAG,6BAA6B,kBAMvE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getters.d.ts","sourceRoot":"","sources":["../../../../src/services/crew-quest/query/getters.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAE1C,eAAO,MAAM,mBAAmB,cAAe,SAAS,WAAW,MAAM,YAOxE,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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';
|
|
27
|
+
export declare const completeQuest: (crewQuestId: Types.ObjectId, questId: string) => Promise<void>;
|
|
28
|
+
export declare const completeDailyQuest: (crewQuestId: Types.ObjectId, userId: string, questId: string) => Promise<void>;
|
|
29
|
+
export declare const setActualVoiceMembers: (crewQuestId: Types.ObjectId, amount: number) => Promise<void>;
|
|
30
|
+
export declare const setMaxVoiceMembers: (crewQuestId: Types.ObjectId, amount: number) => Promise<void>;
|
|
31
|
+
//# sourceMappingURL=updates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updates.d.ts","sourceRoot":"","sources":["../../../../src/services/crew-quest/query/updates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAItC,eAAO,MAAM,aAAa,gBACX,MAAM,QAAQ,WAClB,MAAM,kBAKhB,CAAC;AAEF,eAAO,MAAM,kBAAkB,gBAChB,MAAM,QAAQ,UACnB,MAAM,WACL,MAAM,kBAShB,CAAC;AAEF,eAAO,MAAM,qBAAqB,gBACnB,MAAM,QAAQ,UACnB,MAAM,kBAQf,CAAC;AAEF,eAAO,MAAM,kBAAkB,gBAChB,MAAM,QAAQ,UACnB,MAAM,kBAOf,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { Document, Types } from 'mongoose';
|
|
27
|
+
import type { CrewDocument } from '../crew';
|
|
28
|
+
export interface CrewQuest {
|
|
29
|
+
crew: Types.ObjectId | CrewDocument;
|
|
30
|
+
completed: string[];
|
|
31
|
+
daily: Record<string, {
|
|
32
|
+
[P: string]: Date;
|
|
33
|
+
}>;
|
|
34
|
+
meta: {
|
|
35
|
+
streak80Percent: number;
|
|
36
|
+
maxVoiceMembers: number;
|
|
37
|
+
actualVoiceMembers: {
|
|
38
|
+
amount: number;
|
|
39
|
+
connectedAt: Date;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface CrewQuestDocument extends Document<Types.ObjectId>, CrewQuest {
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/crew-quest/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,CAAC,QAAQ,GAAG,YAAY,CAAC;IAEpC,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,CACX,MAAM,EACN;QACE,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACnB,CACF,CAAC;IACF,IAAI,EAAE;QACJ,eAAe,EAAE,MAAM,CAAC;QACxB,eAAe,EAAE,MAAM,CAAC;QACxB,kBAAkB,EAAE;YAClB,MAAM,EAAE,MAAM,CAAC;YACf,WAAW,EAAE,IAAI,CAAC;SACnB,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,iBACf,SAAQ,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,EAC9B,SAAS;CAAG"}
|
package/dist/services/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from './ban';
|
|
2
2
|
export * from './bet';
|
|
3
|
-
export * from './crew';
|
|
4
3
|
export * from './invitations';
|
|
5
4
|
export * from './settings';
|
|
6
5
|
export * from './shop';
|
|
@@ -18,4 +17,6 @@ export * from './user-quest';
|
|
|
18
17
|
export * from './user-quest-meta';
|
|
19
18
|
export * from './user-raid';
|
|
20
19
|
export * from './user-shop';
|
|
20
|
+
export * from './crew';
|
|
21
|
+
export * from './crew-quest';
|
|
21
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,OAAO,CAAC;AAEtB,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAE3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAE5B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
import type { Types } from 'mongoose';
|
|
27
27
|
import type { FactionId } from '@opfr/utils-type';
|
|
28
28
|
import type { MergedUser, User, UserDocument } from '../types';
|
|
29
|
-
export declare const getNextBirthdays: () => import("mongoose").Aggregate<(Pick<User, "
|
|
29
|
+
export declare const getNextBirthdays: () => import("mongoose").Aggregate<(Pick<User, "userId" | "birthday"> & {
|
|
30
30
|
nextBirthday: Date;
|
|
31
31
|
})[]>;
|
|
32
32
|
export declare const getUserBirthday: (userId: string) => Promise<UserDocument>;
|
|
@@ -45,8 +45,8 @@ export declare const getDailyReport: (user: MergedUser<'ornaments' | 'meta' | 'd
|
|
|
45
45
|
quest: string[];
|
|
46
46
|
badge: string[];
|
|
47
47
|
title: import("@opfr/ornaments").TitleId[];
|
|
48
|
-
background: ("default" | "map" | "
|
|
48
|
+
background: ("default" | "map" | "amazon_lily" | "amazon_lily_2" | "baltigo" | "baratie" | "bar_de_makino" | "base_g1" | "bataille" | "casino" | "ceglok" | "cimetiere" | "dressrosa" | "dressrosa_2" | "epave" | "epave_foret" | "falaise" | "foret" | "grotte_cristaux" | "grotte_tresor" | "ile_bonbon" | "ile_des_hommes_poissons" | "ile_des_hommes_poissons_2" | "ile_urouge" | "ile_volante" | "impel_down" | "japon" | "kokoyashi" | "laboon" | "little_garden" | "maison_enfance_luffy" | "marche" | "marche_2" | "marie-joie" | "marine-ford" | "mer_calme" | "nuit_plage" | "plage_soleil" | "punk_hazard" | "ringo" | "road_poneglyph_zoo" | "royaume_kedetrav" | "ruche" | "sabaody" | "sabaody_park" | "skypiea_1" | "skypiea_2" | "sunny" | "trone_de_im" | "village_sirop" | "wano" | "water_7" | "weatheria" | "zoo")[];
|
|
49
49
|
};
|
|
50
50
|
export declare const getTodayAllBirthday: () => import("mongoose").Aggregate<UserDocument[]>;
|
|
51
|
-
export declare const getAllDailyReport: () => Promise<MergedUser<"
|
|
51
|
+
export declare const getAllDailyReport: () => Promise<MergedUser<"meta" | "dailyReport">[]>;
|
|
52
52
|
//# sourceMappingURL=getters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-crew/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,QAAA,MAAM,cAAc;;;;;;;;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-crew/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEjD,QAAA,MAAM,cAAc;;;;;;;;EAqBnB,CAAC;AAWF,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -25,4 +25,5 @@
|
|
|
25
25
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
26
26
|
import type { Types } from 'mongoose';
|
|
27
27
|
export declare const updatePercent: (id: Types.ObjectId, percent: number) => Promise<void>;
|
|
28
|
+
export declare const allMembersDailyComplete: (id: Types.ObjectId) => Promise<void>;
|
|
28
29
|
//# sourceMappingURL=updates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updates.d.ts","sourceRoot":"","sources":["../../../../src/services/user-crew/query/updates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAItC,eAAO,MAAM,aAAa,OAAc,MAAM,QAAQ,WAAW,MAAM,kBAMtE,CAAC"}
|
|
1
|
+
{"version":3,"file":"updates.d.ts","sourceRoot":"","sources":["../../../../src/services/user-crew/query/updates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAItC,eAAO,MAAM,aAAa,OAAc,MAAM,QAAQ,WAAW,MAAM,kBAMtE,CAAC;AAEF,eAAO,MAAM,uBAAuB,OAAc,MAAM,QAAQ,kBAM/D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/user-crew/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC;IAErB,IAAI,EAAE,KAAK,CAAC,QAAQ,GAAG,YAAY,CAAC;IACpC,UAAU,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/user-crew/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC;IAErB,IAAI,EAAE,KAAK,CAAC,QAAQ,GAAG,YAAY,CAAC;IACpC,UAAU,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;IAEhB,mBAAmB,EAAE,IAAI,CAAC;CAC3B;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,YAAY,CAAC;CACpB,CAAC;AAEF,MAAM,WAAW,gBAAiB,SAAQ,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,QAAQ;CAAG"}
|
|
@@ -14,5 +14,5 @@ export declare const hasInventoryRequirements: (userInventory: UserInventory, it
|
|
|
14
14
|
export declare const hasEnoughTools: (userInventory: UserInventory, quantity: number) => boolean;
|
|
15
15
|
export declare const hasEnoughEnchantedStone: (userInventory: UserInventory, quantity: number) => boolean;
|
|
16
16
|
export declare const hasEnoughItem: (userInventory: UserInventory, quantity: number, itemId: ItemId) => boolean;
|
|
17
|
-
export declare const getItemList: (userInventory: UserInventory) => Partial<Record<"anchor" | "
|
|
17
|
+
export declare const getItemList: (userInventory: UserInventory) => Partial<Record<"anchor" | "bottle_xp_1" | "bottle_xp_2_berry" | "bottle_xp_2_work" | "bottle_xp_2_casino" | "bottle_xp_3_berry" | "bottle_xp_3_casino" | "bottle_xp_3_work" | "bottle_xp_4" | "background_amazon_lily" | "background_amazon_lily_2" | "background_baltigo" | "background_bar_de_makino" | "background_baratie" | "background_ile_bonbon" | "background_ile_urouge" | "background_kokoyashi" | "background_ringo" | "background_ruche" | "background_village_sirop" | "background_ceglok" | "background_base_g1" | "background_casino" | "background_dressrosa_2" | "background_grotte_cristaux" | "background_ile_des_hommes_poissons_2" | "background_japon" | "background_map" | "background_mer_calme" | "background_plage_soleil" | "background_sabaody" | "background_grotte_tresor" | "background_dressrosa" | "background_epave_foret" | "background_foret" | "background_ile_des_hommes_poissons" | "background_impel_down" | "background_laboon" | "background_maison_enfance_luffy" | "background_marche_2" | "background_punk_hazard" | "background_skypiea_1" | "background_skypiea_2" | "background_bataille" | "background_ile_volante" | "background_marche" | "background_marine-ford" | "background_nuit_plage" | "background_royaume_kedetrav" | "background_sabaody_park" | "background_wano" | "background_water_7" | "background_weatheria" | "background_cimetiere" | "background_epave" | "background_falaise" | "background_marie-joie" | "background_road_poneglyph_zoo" | "background_sunny" | "background_trone_de_im" | "background_zoo" | "background_little_garden" | "background_default" | "boost_xp_day" | "boost_xp_week" | "lock" | "iron" | "clover" | "glass_bottle" | "pure_water" | "sea_salt" | "ebony_poppy" | "rose" | "poppy" | "manganese" | "cursed_hawthorn" | "mugwort" | "mandrake" | "obsidian" | "saffron" | "edelweiss" | "emerald" | "ruby" | "sapphire" | "siren_tear" | "compass" | "dragon_heart" | "fairy_wing" | "phoenix_feather" | "mithril" | "title_Aide-Soignant" | "title_Amateur de viande" | "title_Ambassadeur d'East Blue" | "title_Amoureux" | "title_Apprenti Charpentier" | "title_Apprenti forgeron" | "title_Apprenti Guerrier" | "title_Artiste aérien" | "title_Aventurier" | "title_Boiteux" | "title_Bossu" | "title_Buveur de Rhum" | "title_Chasseur de Trésors" | "title_Combattant de la Justice" | "title_Combattant de la Liberté" | "title_Cul-de-Jatte" | "title_Détective des Mers" | "title_Dueliste débutant" | "title_Manchot" | "title_Musicien de Rue" | "title_Myope" | "title_Mythomane" | "title_Peureux" | "title_Pilleur de Navires" | "title_Voleur" | "title_Voyageur" | "title_Amateur de Rhum" | "title_Barde des Océans" | "title_Bibliothécaire" | "title_Capitaine Fantôme" | "title_Chasseur de Monstres Marins" | "title_Collecteur de Cartes Marines" | "title_Constructeur Habile" | "title_Conteur de Légendes" | "title_Conteur des Mers" | "title_Créateur d'Aventures" | "title_Défenseur de la Justice" | "title_Défenseur de la Liberté" | "title_Détenteur du Haki" | "title_Diplomate" | "title_Espion" | "title_Forgeron Habile" | "title_Gourmet" | "title_Guerrier Habile" | "title_Marchand des Mers" | "title_Médecin de Bord" | "title_Protecteur de la Faune" | "title_Tacticien" | "title_Rêveur" | "title_Alchimiste" | "title_Artisan Forgeron" | "title_Champion de l'Arène" | "title_Champion de la Justice" | "title_Champion de la Liberté" | "title_Collectionneur de Reliques" | "title_Connaisseur de Rhum" | "title_Conquérant de Nouveau Monde" | "title_Dresseur de Kraken" | "title_Espion du Gouvernement Mondial" | "title_Explorateur des Abysses" | "title_Guérisseur" | "title_Héros de Grand Line" | "title_Historien" | "title_Ingénieur Naval" | "title_Maître Charpentier" | "title_Maître d'Armes" | "title_Maître Navigateur" | "title_Sniper d'Élite" | "title_Stratège" | "title_Virtuose de la Mélodie" | "title_Ambassadeur de la Paix" | "title_Bretteur Suprême" | "title_Cerveau de l'Équipage" | "title_Conquérant des Îles Perdues" | "title_Conquérant révolutionnaire" | "title_Gardien du Code Pirate" | "title_Héros de la Justice" | "title_Héros de la Liberté" | "title_Héros des Peuples" | "title_Maestro des Océans" | "title_Maître des Illusions" | "title_Maître du Camouflage" | "title_Maître Forgeron" | "title_Rhumologue" | "title_Seigneur des Tempêtes" | "title_Sorcier des Mers" | "title_Vagabond des Sept Mers" | "title_Capitaine du Crépuscule" | "title_Créateur de Navires Légendaires" | "title_Divinité des Vents" | "title_Empereur des Mers" | "title_Forgeron Ultime" | "title_Gardien de la Volonté du D" | "title_Légende du Rhum" | "title_Légende Vivante" | "title_Maître des Légendes Perdues" | "title_Protecteur des Vies" | "title_Roi/Reine des Sirènes" | "title_Souverain des Rêves" | "title_Symphoniste des Mers" | "repair_kit" | "wood_plank" | "rope" | "tissue" | "nail" | "glue" | "chest_1" | "chest_2" | "chest_3" | "chest_4_emerald" | "chest_4_sapphire" | "chest_4_ruby" | "empty_chest" | "scrap" | "cereal" | "hemp" | "tools" | "wood" | "cotton" | "flour" | "strange_gem" | "strange_stone" | "enchanted_stone" | "enchanted_emerald" | "enchanted_ruby" | "enchanted_sapphire" | "bowl_cereal" | "milk" | "beer" | "fruit" | "rhum" | "toy" | "wine" | "egg" | "sugar" | "omelet" | "cheese" | "bread" | "strawberry_cake" | "bowl" | "rescue_boat" | "rudder" | "sailing_boat" | "salt_water" | "hammock" | "leather" | "ancient_key" | "iron_ore" | "elemental_concentrate_earth" | "elemental_concentrate_fire" | "elemental_concentrate_life" | "elemental_concentrate_wind" | "elemental_concentrate_water" | "elemental_concentrate_moon" | "essence_life" | "essence_fire" | "essence_earth" | "essence_wind" | "essence_moon" | "essence_water" | "empty_scroll" | "map_fragment" | "scroll_agility" | "scroll_strength" | "scroll_intelligence" | "scroll_chance" | "scroll_vitality" | "scroll_wisdom" | "enchant_wood" | "enchant_cereal" | "enchant_clover" | "enchant_cotton" | "enchant_ebony_poppy" | "enchant_hemp" | "enchant_iron" | "enchant_leather" | "enchant_manganese" | "enchant_poppy" | "enchant_pure_water" | "enchant_rope" | "enchant_rose" | "enchant_sea_salt" | "enchant_tissue", number>>;
|
|
18
18
|
//# sourceMappingURL=getters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-quest/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-quest/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,QAAA,MAAM,eAAe;;;;;;;;EAepB,CAAC;AAQF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateOne.d.ts","sourceRoot":"","sources":["../../../../src/services/user-quest/process/updateOne.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,eAAe,SACpB,MAAM,QAAQ,UACZ,YAAY,iBAAiB,CAAC,GAAG,6BAA6B,
|
|
1
|
+
{"version":3,"file":"updateOne.d.ts","sourceRoot":"","sources":["../../../../src/services/user-quest/process/updateOne.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAElD,eAAO,MAAM,eAAe,SACpB,MAAM,QAAQ,UACZ,YAAY,iBAAiB,CAAC,GAAG,6BAA6B,kBAMvE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updates.d.ts","sourceRoot":"","sources":["../../../../src/services/user-quest/query/updates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"updates.d.ts","sourceRoot":"","sources":["../../../../src/services/user-quest/query/updates.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAMtC,eAAO,MAAM,aAAa,SAAgB,MAAM,QAAQ,WAAW,MAAM,kBAExE,CAAC;AAEF,eAAO,MAAM,kBAAkB,SACvB,MAAM,QAAQ,WACX,MAAM,kBAKhB,CAAC;AAEF,eAAO,MAAM,YAAY,SACjB,MAAM,QAAQ,oBACF,IAAI,kBAYvB,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;;;;;;;;EA4EvB,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 { type EntityId } from '@opfr/items';
|
|
27
|
+
import { type EntityId, type ItemId } 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>;
|
|
@@ -56,4 +56,5 @@ export declare const addWrittenTextChannel: (id: Types.ObjectId, channelId: stri
|
|
|
56
56
|
export declare const incrementMessageSend: (id: Types.ObjectId) => Promise<void>;
|
|
57
57
|
export declare const readEdito: (id: Types.ObjectId) => Promise<void>;
|
|
58
58
|
export declare const addTotalMinutesInVoice: (id: Types.ObjectId, minutes: number) => Promise<void>;
|
|
59
|
+
export declare const incrementAlcoholDrink: (id: Types.ObjectId, alcohol: ItemId, quantity: number) => Promise<void>;
|
|
59
60
|
//# sourceMappingURL=updates.d.ts.map
|
|
@@ -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,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAE,KAAK,QAAQ,EAAgB,MAAM,aAAa,CAAC;
|
|
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,MAAM,UAAU,CAAC;AAEtC,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,MAAM,EAAgB,MAAM,aAAa,CAAC;AAEvE,OAAO,KAAK,EAAE,SAAS,EAAE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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;QACF,QAAQ,EAAE;YACR,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;YACd,KAAK,EAAE,MAAM,CAAC;YACd,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.24.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "OPFR services",
|
|
6
6
|
"author": "Matthieu VEIGA",
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@opfr/canvas": "^0.6.4",
|
|
13
|
-
"@opfr/items": "^0.
|
|
14
|
-
"@opfr/ornaments": "^0.
|
|
15
|
-
"@opfr/raids": "^0.8.
|
|
13
|
+
"@opfr/items": "^0.26.1",
|
|
14
|
+
"@opfr/ornaments": "^0.11.1",
|
|
15
|
+
"@opfr/raids": "^0.8.3",
|
|
16
16
|
"@opfr/translate": "^0.1.0",
|
|
17
17
|
"@opfr/utils-lang": "^0.12.0",
|
|
18
|
-
"@opfr/utils-type": "^0.
|
|
18
|
+
"@opfr/utils-type": "^0.14.0",
|
|
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": "094b2c3f24bb70884c1e706a09807379c0f3628b"
|
|
41
41
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crewCommon.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/crew/crewCommon.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAC7D,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;CAGd;AAED,qBAAa,aAAc,SAAQ,KAAK;IACtC,IAAI,SAAwE;I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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;AAED,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;CAIxB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from '../on-crew-update/crewCarpenter';
|
|
2
|
-
export * from './crewCommon';
|
|
3
|
-
export * from './crewDaily';
|
|
4
|
-
export * from '../on-crew-update/crewLevel';
|
|
5
|
-
export * from '../on-crew-update/crewMoney';
|
|
6
|
-
export * from '../on-crew-update/crewSize';
|
|
7
|
-
export * from '../on-crew-update/crewVocal';
|
|
8
|
-
export * from '../on-crew-update/crewXp';
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/crew/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAChD,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crewCarpenter.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-crew-update/crewCarpenter.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK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