minor update on libantosdk

This commit is contained in:
DanyLE
2022-08-25 01:36:48 +02:00
parent 6e020484a8
commit ad40892a5c
12 changed files with 79 additions and 19 deletions

View File

@ -1140,7 +1140,7 @@ declare namespace OS {
* @export
* @param {string} app
*/
function unloadApp(app: string): void;
function unloadApp(app: string, save?: boolean): void;
/**
* Create a service process.
*
@ -1559,13 +1559,14 @@ declare namespace OS {
* AntOS version number is in the following format:
*
* ```
* [major_number].[minor_number].[patch]-[branch]
* [major_number].[minor_number].[patch]-[branch]-[build ID])
*
* e.g.: 1.2.3-r means that:
* e.g.: 1.2.3-r-b means that:
* - version major number is 1
* - version minor number is 2
* - patch version is 3
* - the current branch is release `r`
* - build ID (optional)
* ```
*
* @export
@ -1575,10 +1576,11 @@ declare namespace OS {
/**
* The version string
*
* @private
* @type {string}
* @memberof Version
*/
string: string;
private string;
/**
* The current branch
* - 1: `a` - alpha branch
@ -1611,12 +1613,27 @@ declare namespace OS {
* @memberof Version
*/
patch: number;
/**
* Version build ID (optional): usually the current git commit hash
*
* @type {number}
* @memberof Version
*/
build_id: string;
/**
*Creates an instance of Version.
*
* @param {string} string string represents the version
* @memberof Version
*/
constructor(string: string);
/**
* Setter/getter to set the version string to the object
*
* @memberof Version
*/
set version_string(v: string);
get version_string(): string;
/**
* Compare the current version with another version.
*
@ -1670,6 +1687,11 @@ declare namespace OS {
* is an instance of [[Version]]
*/
const VERSION: Version;
/**
* Variable represents the current AntOS source code repository
* is an instance of [[string]]
*/
const REPOSITORY: string;
/**
* Register a model prototype to the system namespace.
* There are two types of model to be registered, if the model

View File

@ -1,4 +1,7 @@
export as namespace Sizzle;
declare const Sizzle: SizzleStatic;
export = Sizzle;
interface SizzleStatic {
selectors: Sizzle.Selectors;
@ -81,7 +84,6 @@ declare namespace Sizzle {
}
}
}
// tslint:disable:jsdoc-format
// tslint:disable:max-line-length
// tslint:disable:no-irregular-whitespace