@opfr/services 0.8.2 → 0.9.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.
Files changed (30) hide show
  1. package/dist/index.es.js +2877 -2565
  2. package/dist/index.umd.js +9 -9
  3. package/dist/quests/canvas.d.ts +27 -4
  4. package/dist/quests/canvas.d.ts.map +1 -1
  5. package/dist/quests/constants.d.ts +1 -0
  6. package/dist/quests/constants.d.ts.map +1 -1
  7. package/dist/quests/event.d.ts +39 -0
  8. package/dist/quests/event.d.ts.map +1 -0
  9. package/dist/quests/index.d.ts +2 -0
  10. package/dist/quests/index.d.ts.map +1 -1
  11. package/dist/quests/middlewares/user-inventory.d.ts +3 -0
  12. package/dist/quests/middlewares/user-inventory.d.ts.map +1 -0
  13. package/dist/quests/middlewares/user-meta.d.ts.map +1 -1
  14. package/dist/quests/middlewares/user-ornaments.d.ts +3 -0
  15. package/dist/quests/middlewares/user-ornaments.d.ts.map +1 -0
  16. package/dist/quests/middlewares/user-quest-meta.d.ts.map +1 -1
  17. package/dist/quests/quest.d.ts +4 -2
  18. package/dist/quests/quest.d.ts.map +1 -1
  19. package/dist/quests/quests/index.d.ts +4 -2
  20. package/dist/quests/quests/index.d.ts.map +1 -1
  21. package/dist/quests/quests/on-user-inventory-update/index.d.ts +2 -0
  22. package/dist/quests/quests/on-user-inventory-update/index.d.ts.map +1 -0
  23. package/dist/quests/quests/on-user-ornaments-update/index.d.ts +3 -0
  24. package/dist/quests/quests/on-user-ornaments-update/index.d.ts.map +1 -0
  25. package/dist/services/user-inventory/definition/schema.d.ts.map +1 -1
  26. package/dist/services/user-ornaments/definition/schema.d.ts.map +1 -1
  27. package/dist/services/user-quest/types.d.ts +2 -1
  28. package/dist/services/user-quest/types.d.ts.map +1 -1
  29. package/dist/services/user-quest-meta/definition/schema.d.ts.map +1 -1
  30. package/package.json +2 -2
@@ -1,10 +1,33 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="mongoose/types/aggregate" />
3
+ /// <reference types="mongoose/types/callback" />
4
+ /// <reference types="mongoose/types/collection" />
5
+ /// <reference types="mongoose/types/connection" />
6
+ /// <reference types="mongoose/types/cursor" />
7
+ /// <reference types="mongoose/types/document" />
8
+ /// <reference types="mongoose/types/error" />
9
+ /// <reference types="mongoose/types/expressions" />
10
+ /// <reference types="mongoose/types/helpers" />
11
+ /// <reference types="mongoose/types/middlewares" />
12
+ /// <reference types="mongoose/types/indexes" />
13
+ /// <reference types="mongoose/types/models" />
14
+ /// <reference types="mongoose/types/mongooseoptions" />
15
+ /// <reference types="mongoose/types/pipelinestage" />
16
+ /// <reference types="mongoose/types/populate" />
17
+ /// <reference types="mongoose/types/query" />
18
+ /// <reference types="mongoose/types/schemaoptions" />
19
+ /// <reference types="mongoose/types/schematypes" />
20
+ /// <reference types="mongoose/types/session" />
21
+ /// <reference types="mongoose/types/types" />
22
+ /// <reference types="mongoose/types/utility" />
23
+ /// <reference types="mongoose/types/validation" />
24
+ /// <reference types="mongoose/types/virtuals" />
25
+ /// <reference types="mongoose/types/inferschematype" />
26
+ /// <reference types="mongoose/types/inferrawdoctype" />
27
+ import type { Types } from 'mongoose';
2
28
  import type { CanvasInstance } from '@opfr/canvas';
3
- import type { BadgeCanvasName } from '@opfr/ornaments';
4
- import type { UserQuestDocument } from '../services';
5
29
  import type Quest from './quest';
6
- import type { QuestAssetId } from './types';
7
- export declare const questCanvas: <T extends Quest>(quest: T, userQuest: UserQuestDocument, canvas: CanvasInstance<string, QuestAssetId | BadgeCanvasName>, { berry, xp }: {
30
+ export declare const questCanvas: <T extends Quest>(quest: T, userId: Types.ObjectId, canvas: CanvasInstance<string, string>, { berry, xp }: {
8
31
  berry: number;
9
32
  xp: number;
10
33
  }) => Promise<Buffer>;
@@ -1 +1 @@
1
- {"version":3,"file":"canvas.d.ts","sourceRoot":"","sources":["../../src/quests/canvas.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAEnD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAIvD,OAAO,KAAK,EAAQ,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE3D,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,WAAW,2BACf,CAAC,aACG,iBAAiB,UACpB,eAAe,MAAM,EAAE,YAAY,GAAG,eAAe,CAAC;WACtC,MAAM;QAAM,MAAM;qBA8H3C,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;qBAoI3C,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export declare const BET_MIN_VALUE: 10;
2
2
  export declare const BET_MAX_VALUE: 10000000;
3
3
  export declare const EDITO_READ: 100;
4
+ export declare const QUEST_ASSET_IMAGES: readonly ["berry", "success_COMMON", "success_RARE", "success_EPIC", "success_LEGENDARY", "success_MYTHIC", "xp"];
4
5
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/quests/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,IAAc,CAAC;AACzC,eAAO,MAAM,aAAa,UAAsB,CAAC;AAEjD,eAAO,MAAM,UAAU,KAAe,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/quests/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,IAAc,CAAC;AACzC,eAAO,MAAM,aAAa,UAAsB,CAAC;AAEjD,eAAO,MAAM,UAAU,KAAe,CAAC;AAEvC,eAAO,MAAM,kBAAkB,mHAQrB,CAAC"}
@@ -0,0 +1,39 @@
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 Quest from './quest';
28
+ declare const QUEST_EVENT_NAMES: readonly ["userMetaUpdate", "userQuestMetaUpdate", "userInventoryUpdate", "userOrnamentsUpdate"];
29
+ type QuestEventName = (typeof QUEST_EVENT_NAMES)[number];
30
+ export declare const emitQuestEvent: (name: QuestEventName, quest: Quest, userId: Types.ObjectId, rewards: {
31
+ xp: number;
32
+ berry: number;
33
+ }) => void;
34
+ export declare const onQuestEvent: (callback: (quest: Quest, userId: Types.ObjectId, rewards: {
35
+ xp: number;
36
+ berry: number;
37
+ }) => void) => void;
38
+ export {};
39
+ //# sourceMappingURL=event.d.ts.map
@@ -0,0 +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,kGAKb,CAAC;AAEX,KAAK,cAAc,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,CAAC,CAAC;AAIzD,eAAO,MAAM,cAAc,SACnB,cAAc,SACb,KAAK,UACJ,MAAM,QAAQ,WACb;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,SAGvC,CAAC;AAEF,eAAO,MAAM,YAAY,qBAEd,KAAK,UACJ,MAAM,QAAQ,WACb;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,KACnC,IAAI,SAOV,CAAC"}
@@ -1,6 +1,8 @@
1
1
  export * from './canvas';
2
2
  export * from './constants';
3
+ export * from './event';
3
4
  export * from './quests';
4
5
  export * from './utils';
5
6
  export type * from './types';
7
+ export { default as Quest } from './quest';
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/quests/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AAExB,mBAAmB,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/quests/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AAExB,mBAAmB,SAAS,CAAC;AAE7B,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { UserInventoryDocument } from '../../services';
2
+ export declare const userInventoryMiddleware: (userInventory: UserInventoryDocument) => Promise<void>;
3
+ //# sourceMappingURL=user-inventory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-inventory.d.ts","sourceRoot":"","sources":["../../../src/quests/middlewares/user-inventory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAI5D,eAAO,MAAM,uBAAuB,kBACnB,qBAAqB,kBAiBrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"user-meta.d.ts","sourceRoot":"","sources":["../../../src/quests/middlewares/user-meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,eAAO,MAAM,kBAAkB,aAAoB,gBAAgB,kBAQlE,CAAC"}
1
+ {"version":3,"file":"user-meta.d.ts","sourceRoot":"","sources":["../../../src/quests/middlewares/user-meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIvD,eAAO,MAAM,kBAAkB,aAAoB,gBAAgB,kBAalE,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { UserOrnaments } from '../../services';
2
+ export declare const userOrnamentsMiddleware: (userOrnaments: UserOrnaments) => Promise<void>;
3
+ //# sourceMappingURL=user-ornaments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user-ornaments.d.ts","sourceRoot":"","sources":["../../../src/quests/middlewares/user-ornaments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIpD,eAAO,MAAM,uBAAuB,kBAAyB,aAAa,kBAgBzE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"user-quest-meta.d.ts","sourceRoot":"","sources":["../../../src/quests/middlewares/user-quest-meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAG5D,eAAO,MAAM,uBAAuB,kBACnB,qBAAqB,kBASrC,CAAC"}
1
+ {"version":3,"file":"user-quest-meta.d.ts","sourceRoot":"","sources":["../../../src/quests/middlewares/user-quest-meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AAI5D,eAAO,MAAM,uBAAuB,kBACnB,qBAAqB,kBAiBrC,CAAC"}
@@ -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, UserMeta, UserMetaDocument, UserQuest, UserQuestDocument, UserQuestMeta } from '../';
29
+ import type { Crew, 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;
@@ -43,6 +43,8 @@ export default abstract class Quest {
43
43
  abstract readonly crew: boolean;
44
44
  readonly onUserMetaUpdate?: (userMeta: UserMeta) => boolean;
45
45
  readonly onUserQuestMetaUpdate?: (userQuestMeta: UserQuestMeta) => boolean;
46
+ readonly onUserInventoryUpdate?: (userInventory: UserInventory) => boolean;
47
+ readonly onUserOrnamentsUpdate?: (userOrnaments: UserOrnaments) => boolean;
46
48
  readonly onCrewUpdate?: (crew: Crew) => boolean;
47
49
  readonly complete: (userId: Types.ObjectId, { _userQuest, _userCrew, _userMeta, }: {
48
50
  _userQuest?: UserQuestDocument | undefined;
@@ -56,7 +58,7 @@ export default abstract class Quest {
56
58
  xp: number;
57
59
  berry: number;
58
60
  }>;
59
- getComputedRewards: (userMeta: UserMeta) => {
61
+ getComputedRewards: (userMeta: UserMeta, userQuest: UserQuest) => {
60
62
  xp: number;
61
63
  berry: number;
62
64
  };
@@ -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,MAAM,iBAAiB,CAAC;AAEzE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EACV,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,EAChB,SAAS,EACT,iBAAiB,EACjB,aAAa,EACd,MAAM,KAAK,CAAC;AAab,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,KAAK;IACjC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAE7B,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,MAAM,CAAC,CAAC;IACnE,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,MAAM,CAAC,CAAC;IAEhE,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IAC3C,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5D,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IAC1C,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAE/C,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAEhC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC;IAC5D,QAAQ,CAAC,qBAAqB,CAAC,EAAE,CAAC,aAAa,EAAE,aAAa,KAAK,OAAO,CAAC;IAC3E,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IAEhD,QAAQ,CAAC,QAAQ,WACP,MAAM,QAAQ;;;;;;;cAoCtB;IAEI,WAAW,CACf,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAAG,IAAI;;;;IAgD3B,kBAAkB,aAAc,QAAQ;;;MAKrC;IAEG,uBAAuB,CAAC,SAAS,EAAE,iBAAiB;IAe1D,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;CAG5E"}
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,MAAM,iBAAiB,CAAC;AAEzE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EACV,IAAI,EACJ,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,aAAa,EACd,MAAM,KAAK,CAAC;AAab,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,KAAK;IACjC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAE7B,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,MAAM,CAAC,CAAC;IACnE,QAAQ,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,CAAC,CAAC,QAAQ,EAAE,QAAQ,KAAK,MAAM,CAAC,CAAC;IAEhE,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IAC3C,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAC5D,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IAC1C,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;IAE/C,QAAQ,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IAClC,QAAQ,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAEhC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC;IAC5D,QAAQ,CAAC,qBAAqB,CAAC,EAAE,CAAC,aAAa,EAAE,aAAa,KAAK,OAAO,CAAC;IAC3E,QAAQ,CAAC,qBAAqB,CAAC,EAAE,CAAC,aAAa,EAAE,aAAa,KAAK,OAAO,CAAC;IAC3E,QAAQ,CAAC,qBAAqB,CAAC,EAAE,CAAC,aAAa,EAAE,aAAa,KAAK,OAAO,CAAC;IAC3E,QAAQ,CAAC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IAEhD,QAAQ,CAAC,QAAQ,WACP,MAAM,QAAQ;;;;;;;cAoCtB;IAEI,WAAW,CACf,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,QAAQ,GAAG,IAAI;;;;IAsC3B,kBAAkB,aAAc,QAAQ,aAAa,SAAS;;;MAe5D;IAEI,uBAAuB,CAAC,SAAS,EAAE,iBAAiB;IAe1D,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;CAG5E"}
@@ -1,5 +1,7 @@
1
+ import * as UserInventoryQuests from './on-user-inventory-update';
1
2
  import * as UserMetaQuests from './on-user-meta-update';
3
+ import * as UserOrnamentsQuests from './on-user-ornaments-update';
2
4
  import * as UserQuestMetaQuests from './on-user-quest-meta-update';
3
- export declare const ALL_QUESTS: readonly (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 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.Draw100Quest | typeof UserQuestMetaQuests.Draw300Quest | typeof UserQuestMetaQuests.Draw1000Quest | typeof UserQuestMetaQuests.Draw2000Quest | typeof UserQuestMetaQuests.Draw5000Quest | 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)[];
4
- export { UserQuestMetaQuests, UserMetaQuests };
5
+ export declare const ALL_QUESTS: readonly (typeof UserInventoryQuests.Have1Recipe | typeof UserInventoryQuests.Have5Recipe | typeof UserInventoryQuests.Have10Recipe | typeof UserInventoryQuests.Have25Recipe | typeof UserInventoryQuests.Have100Recipe | typeof UserMetaQuests.Have500kBerry | typeof UserMetaQuests.Have5mBerry | typeof UserMetaQuests.Have50mBerry | typeof UserMetaQuests.Have500mBerry | typeof UserMetaQuests.Have5mdBerry | typeof UserMetaQuests.Have25Strength | typeof UserMetaQuests.Have50Strength | typeof UserMetaQuests.Have100Strength | typeof UserMetaQuests.Have250Strength | typeof UserMetaQuests.Have500Strength | typeof UserMetaQuests.Have25Agility | typeof UserMetaQuests.Have50Agility | typeof UserMetaQuests.Have100Agility | typeof UserMetaQuests.Have250Agility | typeof UserMetaQuests.Have500Agility | typeof UserMetaQuests.Have25Intelligence | typeof UserMetaQuests.Have50Intelligence | typeof UserMetaQuests.Have100Intelligence | typeof UserMetaQuests.Have250Intelligence | typeof UserMetaQuests.Have500Intelligence | typeof UserMetaQuests.Have25Chance | typeof UserMetaQuests.Have50Chance | typeof UserMetaQuests.Have100Chance | typeof UserMetaQuests.Have250Chance | typeof UserMetaQuests.Have500Chance | typeof UserMetaQuests.Have25Vitality | typeof UserMetaQuests.Have50Vitality | typeof UserMetaQuests.Have100Vitality | typeof UserMetaQuests.Have250Vitality | typeof UserMetaQuests.Have500Vitality | typeof UserMetaQuests.Have25Wisdom | typeof UserMetaQuests.Have50Wisdom | typeof UserMetaQuests.Have100Wisdom | typeof UserMetaQuests.Have250Wisdom | typeof UserMetaQuests.Have500Wisdom | typeof UserMetaQuests.BeLevel10 | typeof UserMetaQuests.BeLevel20 | typeof UserMetaQuests.BeLevel30 | typeof UserMetaQuests.BeLevel40 | typeof UserMetaQuests.BeLevel50 | typeof UserMetaQuests.BeLevel60 | typeof UserMetaQuests.BeLevel70 | typeof UserMetaQuests.BeLevel80 | typeof UserMetaQuests.BeLevel90 | typeof UserMetaQuests.BeLevel120 | typeof UserOrnamentsQuests.Have1Background | typeof UserOrnamentsQuests.Have25Background | typeof UserOrnamentsQuests.Have50Background | typeof UserOrnamentsQuests.Have10Title | typeof UserOrnamentsQuests.Have50Title | typeof UserOrnamentsQuests.Have100Title | typeof UserQuestMetaQuests.BetMinValue | typeof UserQuestMetaQuests.LoseEverything | typeof UserQuestMetaQuests.Bet10M | typeof UserQuestMetaQuests.WinOn10MBet | typeof UserQuestMetaQuests.TotalBet10M | typeof UserQuestMetaQuests.TotalBet1Md | typeof UserQuestMetaQuests.Lose10M | typeof UserQuestMetaQuests.Birthday | typeof UserQuestMetaQuests.BotPing | typeof UserQuestMetaQuests.Drink100Today | typeof UserQuestMetaQuests.Drink200Quest | typeof UserQuestMetaQuests.Drink500Quest | typeof UserQuestMetaQuests.Drink1000Quest | typeof UserQuestMetaQuests.Drink2000Quest | typeof UserQuestMetaQuests.Drink5000Quest | typeof UserQuestMetaQuests.ChestOpen50Quest | typeof UserQuestMetaQuests.ChestOpen150Quest | typeof UserQuestMetaQuests.ChestOpen500Quest | typeof UserQuestMetaQuests.ChestOpen1000Quest | typeof UserQuestMetaQuests.ChestOpen2000Quest | typeof UserQuestMetaQuests.Craft20Times | typeof UserQuestMetaQuests.Craft50Times | typeof UserQuestMetaQuests.Craft200Times | typeof UserQuestMetaQuests.Craft500Times | typeof UserQuestMetaQuests.Craft1000Times | typeof UserQuestMetaQuests.Draw100Quest | typeof UserQuestMetaQuests.Draw300Quest | typeof UserQuestMetaQuests.Draw1000Quest | typeof UserQuestMetaQuests.Draw2000Quest | typeof UserQuestMetaQuests.Draw5000Quest | typeof UserQuestMetaQuests.Everyone | typeof UserQuestMetaQuests.DoubleSix | typeof UserQuestMetaQuests.DrawDoubleSix | typeof UserQuestMetaQuests.SevenQuitteOuDouble | typeof UserQuestMetaQuests.WinAll5GamesInRow | typeof UserQuestMetaQuests.LoseAll5GamesInRow | typeof UserQuestMetaQuests.TenBlackJack | typeof UserQuestMetaQuests.Paper100 | typeof UserQuestMetaQuests.Scissor100 | typeof UserQuestMetaQuests.Rock100 | typeof UserQuestMetaQuests.GuessInOne | typeof UserQuestMetaQuests.Bet666 | typeof UserQuestMetaQuests.WinLose10 | typeof UserQuestMetaQuests.Finish10Raids | typeof UserQuestMetaQuests.Finish25Raids | typeof UserQuestMetaQuests.Finish50Raids | typeof UserQuestMetaQuests.Finish100Raids | typeof UserQuestMetaQuests.Finish200Raids | typeof UserQuestMetaQuests.RandomMessage20Quest | typeof UserQuestMetaQuests.RandomMessage50Quest | typeof UserQuestMetaQuests.RandomMessage100Quest | typeof UserQuestMetaQuests.RandomMessage200Quest | typeof UserQuestMetaQuests.RandomMessage500Quest | typeof UserQuestMetaQuests.Report | typeof UserQuestMetaQuests.send100Messages | typeof UserQuestMetaQuests.send1000Messages | typeof UserQuestMetaQuests.send25000Messages | typeof UserQuestMetaQuests.send100000Messages | typeof UserQuestMetaQuests.send200000Messages | typeof UserQuestMetaQuests.SpendShop5M | typeof UserQuestMetaQuests.SpendShop50M | typeof UserQuestMetaQuests.SpendShop500M | typeof UserQuestMetaQuests.SpendShop5Ml | typeof UserQuestMetaQuests.SpendShop50Ml | typeof UserQuestMetaQuests.Voice10Hours | typeof UserQuestMetaQuests.Voice25Hours | typeof UserQuestMetaQuests.Voice250Hours | typeof UserQuestMetaQuests.Voice2500Hours | typeof UserQuestMetaQuests.Voice5000Hours | typeof UserQuestMetaQuests.Work100Quest | typeof UserQuestMetaQuests.Work300Quest | typeof UserQuestMetaQuests.Work1000Quest | typeof UserQuestMetaQuests.Work2000Quest | typeof UserQuestMetaQuests.Work5000Quest | typeof UserQuestMetaQuests.Write10Chats | typeof UserQuestMetaQuests.Write20Chats | typeof UserQuestMetaQuests.Write50Chats | typeof UserQuestMetaQuests.Write100Chats | typeof UserQuestMetaQuests.Write200Chats)[];
6
+ export { UserQuestMetaQuests, UserOrnamentsQuests, UserInventoryQuests, UserMetaQuests, };
5
7
  //# 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,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,UAAU,ygKAGb,CAAC;AAEX,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/quests/quests/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,cAAc,MAAM,uBAAuB,CAAC;AACxD,OAAO,KAAK,mBAAmB,MAAM,4BAA4B,CAAC;AAClE,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAEnE,eAAO,MAAM,UAAU,+9KAKb,CAAC;AAEX,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,cAAc,GACf,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './recipe';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-user-inventory-update/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './background';
2
+ export * from './title';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/quests/quests/on-user-ornaments-update/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-inventory/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,QAAA,MAAM,mBAAmB;;;;;;;;EAevB,CAAC;AAIH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-inventory/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;;;;;;;;EAevB,CAAC;AAQH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-ornaments/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,QAAA,MAAM,mBAAmB;;;;;;;;EAkBvB,CAAC;AAIH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-ornaments/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;;;;;;;;EAkBvB,CAAC;AAQH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -24,8 +24,9 @@
24
24
  /// <reference types="mongoose/types/inferschematype" />
25
25
  /// <reference types="mongoose/types/inferrawdoctype" />
26
26
  import type { Document, Types } from 'mongoose';
27
+ import type { UserDocument } from '../user';
27
28
  export interface UserQuest {
28
- user: Types.ObjectId;
29
+ user: Types.ObjectId | UserDocument;
29
30
  completed: string[];
30
31
  daily: Record<string, Date>;
31
32
  streak: number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/user-quest/types.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEhD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC;IAErB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,iBAAkB,SAAQ,QAAQ,EAAE,SAAS;CAAG"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/services/user-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,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,iBAAkB,SAAQ,QAAQ,EAAE,SAAS;CAAG"}
@@ -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;;;;;;;;EA8DvB,CAAC;AAQH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
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;;;;;;;;EAkEvB,CAAC;AAQH,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opfr/services",
3
- "version": "0.8.2",
3
+ "version": "0.9.0",
4
4
  "private": false,
5
5
  "description": "OPFR services",
6
6
  "author": "Matthieu VEIGA",
@@ -36,5 +36,5 @@
36
36
  "node_modules",
37
37
  "dist"
38
38
  ],
39
- "gitHead": "0523d884c242a3da59adc32f1791db5d67956979"
39
+ "gitHead": "e0c315098598db0e9a797af4780888c76708b877"
40
40
  }