Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tormozz48 committed Jan 17, 2016
1 parent ca414c9 commit 2875391
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,24 @@ $ npm install --save gorshochek

## Описание задач

### mergeModels
### mergeModels. [Модуль](./src/tasks-core/merge-model)

1. Считывает новую модель по пути указанному в опции `modelPath`.
2. Сравнивает ее со старой моделью, загруженной из кэша.
3. Находит и сохраняет отличия между старой и новой моделью данных в модель изменений.
4. Произвоит слияние (merge) моделей.
5. Сохраняет новую модель в кэш и заменяет файл старой модели.

[Модуль](./src/tasks-core/merge-model)

Параметры:

* {String} modelPath - путь к модели данных. Обязательный параметр.

Зависимости: нет.

### normalizeModel
### normalizeModel. [Модуль](./src/tasks-core/normalize-model)

Проверяет модель на корректность. По возможности вносит исправления и выставляет дефолтные значения
для отсутствующих или некорректных полей.

[Модуль](./src/tasks-core/normalize-model)

Пример вызова:
```
Expand Down

0 comments on commit 2875391

Please sign in to comment.