@unchainedshop/core-events 2.11.2 → 2.12.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.
@@ -7,3 +7,4 @@ export type Event = {
7
7
  payload?: Record<string, unknown>;
8
8
  } & TimestampFields;
9
9
  export declare const EventsCollection: (db: mongodb.Db) => Promise<mongodb.Collection<Event>>;
10
+ //# sourceMappingURL=EventsCollection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsCollection.d.ts","sourceRoot":"","sources":["../../src/db/EventsCollection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEtD,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAIjE,MAAM,MAAM,KAAK,GAAG;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC,GAAG,eAAe,CAAC;AAEpB,eAAO,MAAM,gBAAgB,OAAc,OAAO,CAAC,EAAE,uCAsBpD,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import SimpleSchema from 'simpl-schema';
2
2
  export declare const EventsSchema: SimpleSchema;
3
+ //# sourceMappingURL=EventsSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventsSchema.d.ts","sourceRoot":"","sources":["../../src/db/EventsSchema.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,cAAc,CAAC;AAExC,eAAO,MAAM,YAAY,cAQxB,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export type { Event } from './db/EventsCollection.js';
2
2
  export { configureEventsModule } from './module/configureEventsModule.js';
3
+ //# sourceMappingURL=events-index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events-index.d.ts","sourceRoot":"","sources":["../src/events-index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC"}
@@ -1,3 +1,4 @@
1
1
  import { ModuleMutations } from '@unchainedshop/types/core.js';
2
2
  import { Event } from '../db/EventsCollection.js';
3
3
  export declare const configureEventHistoryAdapter: (mutations: ModuleMutations<Event>) => void;
4
+ //# sourceMappingURL=configureEventHistoryAdapter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configureEventHistoryAdapter.d.ts","sourceRoot":"","sources":["../../src/module/configureEventHistoryAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,eAAO,MAAM,4BAA4B,cAAe,eAAe,CAAC,KAAK,CAAC,SAgB7E,CAAC"}
@@ -25,3 +25,4 @@ export interface EventsModule extends ModuleCreateMutation<Event> {
25
25
  count: (query: EventQuery) => Promise<number>;
26
26
  }
27
27
  export declare const configureEventsModule: ({ db, }: ModuleInput<Record<string, never>>) => Promise<EventsModule>;
28
+ //# sourceMappingURL=configureEventsModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configureEventsModule.d.ts","sourceRoot":"","sources":["../../src/module/configureEventsModule.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAItD,OAAO,EAAiB,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAmB,MAAM,8BAA8B,CAAC;AAClG,OAAO,EAAoB,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAIpE,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,iBAAiB,oCAAqC,UAAU;WAClD,GAAG;YAAU,GAAG;cAAY,GAAG;CAMzD,CAAC;AAEF,MAAM,WAAW,YAAa,SAAQ,oBAAoB,CAAC,KAAK,CAAC;IAC/D,SAAS,EAAE,CACT,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,EACnD,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,KAC1B,OAAO,CAAC,KAAK,CAAC,CAAC;IAEpB,UAAU,EAAE,CACV,MAAM,EAAE,UAAU,GAAG;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,IAAI,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;KAC1B,EACD,OAAO,CAAC,EAAE,OAAO,CAAC,WAAW,KAC1B,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;IAE3B,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,MAAM,CAAC;IAE/B,KAAK,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CAC/C;AAED,eAAO,MAAM,qBAAqB,YAE/B,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,KAAG,OAAO,CAAC,YAAY,CAqC3D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unchainedshop/core-events",
3
- "version": "2.11.2",
3
+ "version": "2.12.0",
4
4
  "main": "lib/events-index.js",
5
5
  "exports": {
6
6
  ".": "./lib/events-index.js",
@@ -31,15 +31,15 @@
31
31
  },
32
32
  "homepage": "https://github.com/unchainedshop/unchained#readme",
33
33
  "dependencies": {
34
- "@unchainedshop/events": "^2.11.2",
35
- "@unchainedshop/utils": "^2.11.2",
34
+ "@unchainedshop/events": "^2.12.0",
35
+ "@unchainedshop/utils": "^2.12.0",
36
36
  "simpl-schema": "^3.4.6"
37
37
  },
38
38
  "devDependencies": {
39
- "@types/node": "^20.14.8",
40
- "@unchainedshop/types": "^2.11.2",
39
+ "@types/node": "^20.14.9",
40
+ "@unchainedshop/types": "^2.12.0",
41
41
  "jest": "^29.7.0",
42
42
  "ts-jest": "^29.1.5",
43
- "typescript": "^5.4.5"
43
+ "typescript": "^5.5.3"
44
44
  }
45
45
  }