planner-core/src/roomle-planner.
# Implements
# Table of contents
# Constructors
# Properties
# Methods
# Constructors
# constructor
• new default(_context_)
# Parameters
| Name | Type |
|---|---|
_context_ | string |
# Properties
# _context_
• _context_: string
# _creator_
• _creator_: string
# Implementation of
# Methods
# addItem
▸ addItem(id, payload, storeId?, limit?): void
# Parameters
| Name | Type | Default value |
|---|---|---|
id | string | undefined |
payload | any | undefined |
storeId | string | DEFAULT_STORE |
limit | number | DEFAULT_STORE_SIZE |
# Returns
void
# getItem
▸ getItem(id, storeId?): any
# Parameters
| Name | Type | Default value |
|---|---|---|
id | string | undefined |
storeId | string | DEFAULT_STORE |
# Returns
any
# getStore
▸ getStore(storeId?): Store
# Parameters
| Name | Type | Default value |
|---|---|---|
storeId | string | DEFAULT_STORE |
# Returns
# saveStore
▸ saveStore(storeId, store): void
# Parameters
| Name | Type |
|---|---|
storeId | string |
store | Store |
# Returns
void