Vridlo/types/App: Difference between revisions

From ALT Linux Wiki
(Created page with "'''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...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
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 6: Line 6:
* '''kind''' is ''natural '''mandatory'''''
* '''kind''' is ''natural '''mandatory'''''
  Kind of the application. Can be one of ''executable'', ''supplicant'', or ''library''.
  Kind of the application. Can be one of ''executable'', ''supplicant'', or ''library''.
* '''tag_names''' is ''string array '''mandatory read-only'''''
Array of tag names, which are bind to the application.


* '''names''' is ''[[Vridlo/types/Name|Name]] array '''mandatory'''''
* '''names''' is ''[[Vridlo/types/Name|Name]] array '''mandatory'''''
  Name array for the account. It can include first name, last name, nickname, or title.
  Name array for the account. It can include first name, last name, nickname, or title.


* '''children''' is ''string array '''mandatory'''''
* '''children_slugs''' is ''string array '''mandatory'''''
  Array of the children application slugs, which belong to the core one.
  Array of the children application slugs, which belong to the core one.


* '''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.

Latest revision as of 18:04, 25 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.
  • tag_names is string array mandatory read-only
Array of tag names, which are bind to the application.
  • 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.