@opfr/services 0.24.1 → 0.25.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.
@@ -0,0 +1,32 @@
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
+ declare const RAID_EVENT_NAMES: readonly ["raidUnlock"];
28
+ type RaidEventName = (typeof RAID_EVENT_NAMES)[number];
29
+ export declare const emitRaidEvent: (name: RaidEventName, userId: Types.ObjectId, raidId: string) => void;
30
+ export declare const onRaidEvent: (callback: (eventName: RaidEventName, userId: Types.ObjectId, raidId: string) => void) => void;
31
+ export {};
32
+ //# sourceMappingURL=event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/raids/event.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,QAAA,MAAM,gBAAgB,yBAA0B,CAAC;AAEjD,KAAK,aAAa,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAIvD,eAAO,MAAM,aAAa,SAClB,aAAa,UACX,MAAM,QAAQ,UACd,MAAM,SAGf,CAAC;AAEF,eAAO,MAAM,WAAW,yBAET,aAAa,UAChB,MAAM,QAAQ,UACd,MAAM,KACX,IAAI,SAOV,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './event';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/raids/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { UserInventoryDocument, UserMetaDocument } from '../services';
2
+ export declare const raidUserMetaMiddleware: (userMeta: UserMetaDocument) => Promise<void>;
3
+ export declare const raidUserInventoryMiddleware: (userInventory: UserInventoryDocument) => Promise<void>;
4
+ //# sourceMappingURL=middleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/raids/middleware.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAG3E,eAAO,MAAM,sBAAsB,aAAoB,gBAAgB,kBAmBtE,CAAC;AAEF,eAAO,MAAM,2BAA2B,kBACvB,qBAAqB,kBA0BrC,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;AAGlC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,QAAA,MAAM,mBAAmB;;;;;;;;EAkBxB,CAAC;AAQF,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;AAIlC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,QAAA,MAAM,mBAAmB;;;;;;;;EAkBxB,CAAC;AASF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"updateOne.d.ts","sourceRoot":"","sources":["../../../../src/services/user-inventory/process/updateOne.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,eAAO,MAAM,mBAAmB,SACxB,MAAM,QAAQ,UACZ,YAAY,qBAAqB,CAAC,GAAG,6BAA6B,kBAK3E,CAAC"}
1
+ {"version":3,"file":"updateOne.d.ts","sourceRoot":"","sources":["../../../../src/services/user-inventory/process/updateOne.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD,eAAO,MAAM,mBAAmB,SACxB,MAAM,QAAQ,UACZ,YAAY,qBAAqB,CAAC,GAAG,6BAA6B,kBAM3E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-meta/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AASjD,QAAA,MAAM,cAAc;;;;;;;;EA8ElB,CAAC;AAcH,OAAO,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/services/user-meta/definition/schema.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AASjD,QAAA,MAAM,cAAc;;;;;;;;EA8ElB,CAAC;AAeH,OAAO,EAAE,cAAc,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opfr/services",
3
- "version": "0.24.1",
3
+ "version": "0.25.0",
4
4
  "private": false,
5
5
  "description": "OPFR services",
6
6
  "author": "Matthieu VEIGA",
@@ -10,9 +10,9 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@opfr/canvas": "^0.6.4",
13
- "@opfr/items": "^0.26.2",
13
+ "@opfr/items": "^0.26.3",
14
14
  "@opfr/ornaments": "^0.11.1",
15
- "@opfr/raids": "^0.8.4",
15
+ "@opfr/raids": "^0.8.5",
16
16
  "@opfr/translate": "^0.1.0",
17
17
  "@opfr/utils-lang": "^0.12.0",
18
18
  "@opfr/utils-type": "^0.14.0",
@@ -37,5 +37,5 @@
37
37
  "node_modules",
38
38
  "dist"
39
39
  ],
40
- "gitHead": "88a294dd670975730d2daf0e302890fcf266e0c0"
40
+ "gitHead": "0c94e89696862bdf424197a35862b28713ac8420"
41
41
  }