View Source MishkaInstaller.Dependency (Mishka Installer v0.0.3)

This module can hold your dependencies' information in database

Do not use these functions directly, because we do not update JSON file in this module, some functions were prepared in DepHandler module for you.

Link to this section Summary

Link to this section Functions

Link to this function

change_dependency_type_with_app(app, dependency_type)

View Source
@spec change_dependency_type_with_app(String.t(), String.t()) ::
  {:ok, :change_dependency_type_with_app, map()}
  | {:error, :change_dependency_type_with_app, :dependency, atom() | map()}

Callback implementation for MishkaDeveloperTools.DB.CRUD.create/1.

Link to this function

create(attrs, allowed_fields)

View Source

See MishkaDeveloperTools.DB.CRUD.crud_add/1.

@spec create_or_update(map()) :: tuple()

Callback implementation for MishkaDeveloperTools.DB.CRUD.delete/1.

Callback implementation for MishkaDeveloperTools.DB.CRUD.edit/1.

Link to this function

edit(attrs, allowed_fields)

View Source

See MishkaDeveloperTools.DB.CRUD.crud_edit/1.

Link to this function

notify_subscribers(params, type_send)

View Source

Callback implementation for MishkaDeveloperTools.DB.CRUD.show_by_id/1.

See MishkaDeveloperTools.DB.CRUD.crud_get_by_field/2.

Link to this function

update_app_version(id, data)

View Source