@webshop/root - v1.0.0
    Preparing search index...

    Service that handles communication about products

    Implements

    Index

    Constructors

    Methods

    • Returns Promise<string[]>

    • Get a product by ID

      Parameters

      • id: number

        ID of the product to lookup

      Returns Promise<Product | undefined>

      Kyrylo Maliuha

    • Get a random selection of products of a specific type

      Parameters

      • amount: number

        Amount of random products to get

      • type: "Game" | "Merch"

        "Game" or "Merch"

      Returns Promise<Product[]>

      Kyrylo Maliuha