Vridlo/types/App: Difference between revisions

From ALT Linux Wiki
No edit summary
No edit summary
 
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'''''

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.