Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Commit

Permalink
0.16.9
Browse files Browse the repository at this point in the history
  • Loading branch information
mjancarik committed Jul 31, 2019
1 parent 871ca5d commit f810608
Show file tree
Hide file tree
Showing 103 changed files with 1,221 additions and 1,100 deletions.
4 changes: 1 addition & 3 deletions ObjectContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -754,9 +754,7 @@ class Entry {
if (this._overrideCounter >= 1) {
throw new Error(
`The dependencies entry can't be overrided more than once.` +
`Fix your bind.js file for classConstructor ${
this.classConstructor.name
}.`
`Fix your bind.js file for classConstructor ${this.classConstructor.name}.`
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/common.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"0.16.8"}
{"version":"0.16.9"}
2 changes: 1 addition & 1 deletion docs/_data/lunr.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ itself.</p>
</dd>
</dl>

## Bootstrap&nbsp;<a name="Bootstrap" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L27" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
## Bootstrap&nbsp;<a name="Bootstrap" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L27" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Application bootstrap used to initialize the environment and the application
itself.

Expand Down Expand Up @@ -51,21 +51,21 @@ Initializes the bootstrap.

* * *

### bootstrap.\_oc : <code>ObjectContainer</code>&nbsp;<a name="Bootstrap+_oc" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L33" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### bootstrap.\_oc : <code>ObjectContainer</code>&nbsp;<a name="Bootstrap+_oc" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L33" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
The object container used to manage dependencies.

**Kind**: instance property of [<code>Bootstrap</code>](#Bootstrap)

* * *

### bootstrap.\_config : <code>Object.&lt;string, \*&gt;</code>&nbsp;<a name="Bootstrap+_config" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L40" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### bootstrap.\_config : <code>Object.&lt;string, \*&gt;</code>&nbsp;<a name="Bootstrap+_config" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L40" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Application configuration.

**Kind**: instance property of [<code>Bootstrap</code>](#Bootstrap)

* * *

### bootstrap.run(config)&nbsp;<a name="Bootstrap+run" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L56" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### bootstrap.run(config)&nbsp;<a name="Bootstrap+run" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L56" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Initializes the application by running the bootstrap sequence. The
sequence initializes the components of the application in the following
order:
Expand All @@ -84,7 +84,7 @@ order:

* * *

### bootstrap.\_initSettings()&nbsp;<a name="Bootstrap+_initSettings" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L72" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### bootstrap.\_initSettings()&nbsp;<a name="Bootstrap+_initSettings" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L72" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Initializes the application settings. The method loads the settings for
all environments and then pics the settings for the current environment.

Expand All @@ -95,37 +95,37 @@ as default values for configuration items in other environments.

* * *

### bootstrap.\_getEnvironmentSetting() ⇒ <code>Object.&lt;string, \*&gt;</code>&nbsp;<a name="Bootstrap+_getEnvironmentSetting" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L109" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### bootstrap.\_getEnvironmentSetting() ⇒ <code>Object.&lt;string, \*&gt;</code>&nbsp;<a name="Bootstrap+_getEnvironmentSetting" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L109" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Returns setting for current environment where base values are from production
environment and other environments override base values.

**Kind**: instance method of [<code>Bootstrap</code>](#Bootstrap)

* * *

### bootstrap.\_bindDependencies()&nbsp;<a name="Bootstrap+_bindDependencies" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L126" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### bootstrap.\_bindDependencies()&nbsp;<a name="Bootstrap+_bindDependencies" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L126" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Binds the constants, service providers and class dependencies to the
object container.

**Kind**: instance method of [<code>Bootstrap</code>](#Bootstrap)

* * *

### bootstrap.\_initRoutes()&nbsp;<a name="Bootstrap+_initRoutes" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L144" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### bootstrap.\_initRoutes()&nbsp;<a name="Bootstrap+_initRoutes" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L144" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Initializes the routes.

**Kind**: instance method of [<code>Bootstrap</code>](#Bootstrap)

* * *

### bootstrap.\_initServices()&nbsp;<a name="Bootstrap+_initServices" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L152" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### bootstrap.\_initServices()&nbsp;<a name="Bootstrap+_initServices" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L152" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Initializes the basic application services.

**Kind**: instance method of [<code>Bootstrap</code>](#Bootstrap)

* * *

## PRODUCTION\_ENVIRONMENT : <code>string</code>&nbsp;<a name="PRODUCTION_ENVIRONMENT" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/Bootstrap.js#L14" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
## PRODUCTION\_ENVIRONMENT : <code>string</code>&nbsp;<a name="PRODUCTION_ENVIRONMENT" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/Bootstrap.js#L14" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Environment name value in the production environment.

**Kind**: global constant
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ category: "cache"
title: "CacheEntry"
---

## CacheEntry&nbsp;<a name="CacheEntry" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/cache/CacheEntry.js#L12" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
## CacheEntry&nbsp;<a name="CacheEntry" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/cache/CacheEntry.js#L12" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
The cache entry is a typed container of cache data used to track the
creation and expiration of cache entries.

Expand Down Expand Up @@ -33,37 +33,37 @@ Initializes the cache entry.

* * *

### cacheEntry.\_value : <code>\*</code>&nbsp;<a name="CacheEntry+_value" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/cache/CacheEntry.js#L18" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### cacheEntry.\_value : <code>\*</code>&nbsp;<a name="CacheEntry+_value" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/cache/CacheEntry.js#L18" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Cache entry value.

**Kind**: instance property of [<code>CacheEntry</code>](#CacheEntry)

* * *

### cacheEntry.\_ttl : <code>number</code>&nbsp;<a name="CacheEntry+_ttl" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/cache/CacheEntry.js#L26" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### cacheEntry.\_ttl : <code>number</code>&nbsp;<a name="CacheEntry+_ttl" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/cache/CacheEntry.js#L26" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
The time to live in milliseconds. The cache entry is considered
expired after this time.

**Kind**: instance property of [<code>CacheEntry</code>](#CacheEntry)

* * *

### cacheEntry.\_created : <code>number</code>&nbsp;<a name="CacheEntry+_created" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/cache/CacheEntry.js#L33" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### cacheEntry.\_created : <code>number</code>&nbsp;<a name="CacheEntry+_created" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/cache/CacheEntry.js#L33" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
The timestamp of creation of this cache entry.

**Kind**: instance property of [<code>CacheEntry</code>](#CacheEntry)

* * *

### cacheEntry.isExpired() ⇒ <code>boolean</code>&nbsp;<a name="CacheEntry+isExpired" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/cache/CacheEntry.js#L41" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### cacheEntry.isExpired() ⇒ <code>boolean</code>&nbsp;<a name="CacheEntry+isExpired" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/cache/CacheEntry.js#L41" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Returns `true` if this entry has expired.

**Kind**: instance method of [<code>CacheEntry</code>](#CacheEntry)
**Returns**: <code>boolean</code> - `true` if this entry has expired.

* * *

### cacheEntry.serialize() ⇒ <code>Object</code>&nbsp;<a name="CacheEntry+serialize" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/cache/CacheEntry.js#L52" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### cacheEntry.serialize() ⇒ <code>Object</code>&nbsp;<a name="CacheEntry+serialize" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/cache/CacheEntry.js#L52" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Exports this cache entry into a JSON-serializable object.

**Kind**: instance method of [<code>CacheEntry</code>](#CacheEntry)
Expand All @@ -72,7 +72,7 @@ Exports this cache entry into a JSON-serializable object.

* * *

### cacheEntry.getValue() ⇒ <code>\*</code>&nbsp;<a name="CacheEntry+getValue" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/cache/CacheEntry.js#L61" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### cacheEntry.getValue() ⇒ <code>\*</code>&nbsp;<a name="CacheEntry+getValue" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/cache/CacheEntry.js#L61" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Returns the entry value.

**Kind**: instance method of [<code>CacheEntry</code>](#CacheEntry)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ category: "cache"
title: "CacheFactory"
---

## CacheFactory&nbsp;<a name="CacheFactory" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/cache/CacheFactory.js#L6" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
## CacheFactory&nbsp;<a name="CacheFactory" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/cache/CacheFactory.js#L6" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Factory for creating instances of [CacheEntry](CacheEntry).

**Kind**: global class

* * *

### cacheFactory.createCacheEntry(value, [ttl]) ⇒ <code>CacheEntry</code>&nbsp;<a name="CacheFactory+createCacheEntry" href="https://github.com/seznam/IMA.js-core/tree/0.16.8/cache/CacheFactory.js#L19" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
### cacheFactory.createCacheEntry(value, [ttl]) ⇒ <code>CacheEntry</code>&nbsp;<a name="CacheFactory+createCacheEntry" href="https://github.com/seznam/IMA.js-core/tree/0.16.9/cache/CacheFactory.js#L19" target="_blank"><span class="icon"><i class="fas fa-external-link-alt fa-xs"></i></span></a>
Create a new instance of [CacheEntry](CacheEntry) with value and ttl.

**Kind**: instance method of [<code>CacheFactory</code>](#CacheFactory)
Expand Down
Loading

0 comments on commit f810608

Please sign in to comment.