@tf2-automatic/item-service-data 10.1.0 → 10.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tf2-automatic/item-service-data",
3
- "version": "10.1.0",
3
+ "version": "10.3.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.7.0",
6
6
  "class-validator": "^0.14.1",
@@ -1,4 +1,5 @@
1
1
  import { BaseEvent } from '@tf2-automatic/bot-data';
2
+ import { RequiredItemAttributes } from '@tf2-automatic/tf2-format';
2
3
  export declare const PRICES_BASE_PATH = "/prices";
3
4
  export declare const PRICES_PATH = "/";
4
5
  export declare const PRICE_PATH = "/:id";
@@ -21,9 +22,9 @@ export interface Price {
21
22
  */
22
23
  id: string;
23
24
  /**
24
- * The SKU of the item.
25
+ * The item that the price is made for.
25
26
  */
26
- sku: string | null;
27
+ item: RequiredItemAttributes | null;
27
28
  /**
28
29
  * The name of the item used for indexing.
29
30
  */
@@ -1 +1 @@
1
- {"version":3,"file":"prices.js","sourceRoot":"","sources":["../../../../../libs/item-service-data/src/lib/prices.ts"],"names":[],"mappings":";;;AAEa,QAAA,gBAAgB,GAAG,SAAS,CAAC;AAC7B,QAAA,WAAW,GAAG,GAAG,CAAC;AAClB,QAAA,UAAU,GAAG,MAAM,CAAC;AAEpB,QAAA,gBAAgB,GAAG,GAAG,wBAAgB,GAAG,mBAAW,EAAE,CAAC;AACvD,QAAA,eAAe,GAAG,GAAG,wBAAgB,GAAG,kBAAU,EAAE,CAAC;AA2FrD,QAAA,mBAAmB,GAA0B,gBAAgB,CAAC;AAK9D,QAAA,mBAAmB,GAA0B,gBAAgB,CAAC"}
1
+ {"version":3,"file":"prices.js","sourceRoot":"","sources":["../../../../../libs/item-service-data/src/lib/prices.ts"],"names":[],"mappings":";;;AAGa,QAAA,gBAAgB,GAAG,SAAS,CAAC;AAC7B,QAAA,WAAW,GAAG,GAAG,CAAC;AAClB,QAAA,UAAU,GAAG,MAAM,CAAC;AAEpB,QAAA,gBAAgB,GAAG,GAAG,wBAAgB,GAAG,mBAAW,EAAE,CAAC;AACvD,QAAA,eAAe,GAAG,GAAG,wBAAgB,GAAG,kBAAU,EAAE,CAAC;AA2FrD,QAAA,mBAAmB,GAA0B,gBAAgB,CAAC;AAK9D,QAAA,mBAAmB,GAA0B,gBAAgB,CAAC"}