Search
Preparing search index...
The search index is not available
pagespeed-quest
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
InventoryRepository
Class InventoryRepository
Hierarchy
InventoryRepository
Index
Constructors
constructor
Properties
dir
Path
Methods
load
Inventory
load
Transactions
save
Inventory
save
Transactions
Constructors
constructor
new
Inventory
Repository
(
dirPath
?:
string
)
:
InventoryRepository
Parameters
Optional
dirPath:
string
Returns
InventoryRepository
Properties
dir
Path
dir
Path
:
string
Methods
load
Inventory
load
Inventory
(
)
:
Promise
<
Inventory
>
Returns
Promise
<
Inventory
>
load
Transactions
load
Transactions
(
resources
:
Resource
[]
)
:
Promise
<
Transaction
[]
>
Parameters
resources:
Resource
[]
Returns
Promise
<
Transaction
[]
>
save
Inventory
save
Inventory
(
inventory
:
Inventory
)
:
Promise
<
void
>
Parameters
inventory:
Inventory
Returns
Promise
<
void
>
save
Transactions
save
Transactions
(
transactions
:
Transaction
[]
)
:
Promise
<
Resource
[]
>
Parameters
transactions:
Transaction
[]
Returns
Promise
<
Resource
[]
>
Globals
Inventory
Repository
constructor
dir
Path
load
Inventory
load
Transactions
save
Inventory
save
Transactions
Generated using
TypeDoc