getEntries(opts) → {Promise.<Object>}
Returns a complete listing of all entries of a given type in the library.
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<Object>
- the entry listing
getEntry(opts) → {Promise.<(String|Object)>}
Gets an entry from the library.
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise.<(String|Object)>
- resolves when complete
saveEntry(opts) → {Promise}
Saves an entry to the library
Parameters:
| Name | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
Object
|
|
Returns:
- Type:
-
Promise
- resolves when complete