@tf2-automatic/item-service-data 8.3.0-dev.2 → 9.0.0-dev.1

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/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@tf2-automatic/item-service-data",
3
- "version": "8.3.0-dev.2",
3
+ "version": "9.0.0-dev.1",
4
4
  "dependencies": {
5
5
  "tslib": "^2.7.0",
6
- "class-validator": "^0.14.1"
6
+ "class-validator": "^0.14.1",
7
+ "@tf2-automatic/bot-data": "*"
7
8
  },
8
9
  "homepage": "https://github.com/tf2-automatic/tf2-automatic",
9
10
  "repository": {
@@ -1,11 +1 @@
1
1
  export declare const ITEM_SERVICE_EXCHANGE_NAME = "tf2-automatic.item-service";
2
- export interface EventMetadata {
3
- id: string;
4
- steamid64: string | null;
5
- time: number;
6
- }
7
- export interface BaseEvent<T, Y = unknown> {
8
- type: T;
9
- data: Y;
10
- metadata: EventMetadata;
11
- }
@@ -1,4 +1,4 @@
1
- import { BaseEvent } from '../events';
1
+ import { BaseEvent } from '@tf2-automatic/bot-data';
2
2
  export declare const SCHEMA_BASE_PATH = "/schema";
3
3
  export declare const SCHEMA_PATH = "/";
4
4
  export declare const SCHEMA_REFRESH_PATH = "/refresh";