Vridlo/types/App: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
Line 1: Line 1:
'''App''' is a '''''primary''''' structure that represents Application model. It implies the linux application, which can consist in the one of many RPM, and has the children applications.  It is described as:
'''App''' is a '''''primary''''' structure that represents Application model. It implies a linux application, which can consist in the one of many RPM, and has the children applications.  It is described as:


* '''slug''' is ''natural '''mandatory write-once'''''
* '''slug''' is ''natural '''mandatory write-once'''''
Line 15: Line 15:
* '''rpms_count''' is ''positive '''mandatory read-only'''''
* '''rpms_count''' is ''positive '''mandatory read-only'''''
  Count of the RPM, which belong to the app.
  Count of the RPM, which belong to the app.
* '''appstream''' is ''[[Vridlo/types/StreamApp|StreamApp]] '''optional'''''
[[Vridlo/types/StreamApp|Appstream data component]] record.

Revision as of 14:56, 17 December 2019

App is a primary structure that represents Application model. It implies a linux application, which can consist in the one of many RPM, and has the children applications. It is described as:

  • slug is natural mandatory write-once
Unique slug identifier of an application.
  • kind is natural mandatory
Kind of the application. Can be one of executable, supplicant, or library.
  • names is Name array mandatory
Name array for the account. It can include first name, last name, nickname, or title.
  • children_slugs is string array mandatory
Array of the children application slugs, which belong to the core one.
  • rpms_count is positive mandatory read-only
Count of the RPM, which belong to the app.
Appstream data component record.