UNPKG

tf2-item-format

Version:
14 lines (13 loc) 523 B
import { ItemAttributes, BackpackTFListing, StrigifySKUAttributes } from './types'; import { ISchema } from './types/schema'; export type CreateBPListingOptions = { /** * Defaults unusual skins to decorated weapon quality. */ unuSkinsToDecorated?: boolean; }; /** * Creates a listing object that you can sent to backpack.tf * @todo work with SKU attributes */ export default function (schema: ISchema, item: ItemAttributes | StrigifySKUAttributes, options?: CreateBPListingOptions): BackpackTFListing;