@goauthentik/api 2024.2.2-1710442005 → 2024.2.2-1710521362
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,6 +27,12 @@ export interface Version {
|
|
|
27
27
|
* @memberof Version
|
|
28
28
|
*/
|
|
29
29
|
readonly versionLatest: string;
|
|
30
|
+
/**
|
|
31
|
+
* Latest version query is a valid non-default value
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof Version
|
|
34
|
+
*/
|
|
35
|
+
readonly versionLatestValid: boolean;
|
|
30
36
|
/**
|
|
31
37
|
* Get build hash, if version is not latest or released
|
|
32
38
|
* @type {string}
|
|
@@ -18,6 +18,7 @@ export function instanceOfVersion(value) {
|
|
|
18
18
|
let isInstance = true;
|
|
19
19
|
isInstance = isInstance && "versionCurrent" in value;
|
|
20
20
|
isInstance = isInstance && "versionLatest" in value;
|
|
21
|
+
isInstance = isInstance && "versionLatestValid" in value;
|
|
21
22
|
isInstance = isInstance && "buildHash" in value;
|
|
22
23
|
isInstance = isInstance && "outdated" in value;
|
|
23
24
|
return isInstance;
|
|
@@ -32,6 +33,7 @@ export function VersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
33
|
return {
|
|
33
34
|
'versionCurrent': json['version_current'],
|
|
34
35
|
'versionLatest': json['version_latest'],
|
|
36
|
+
'versionLatestValid': json['version_latest_valid'],
|
|
35
37
|
'buildHash': json['build_hash'],
|
|
36
38
|
'outdated': json['outdated'],
|
|
37
39
|
};
|
package/dist/models/Version.d.ts
CHANGED
|
@@ -27,6 +27,12 @@ export interface Version {
|
|
|
27
27
|
* @memberof Version
|
|
28
28
|
*/
|
|
29
29
|
readonly versionLatest: string;
|
|
30
|
+
/**
|
|
31
|
+
* Latest version query is a valid non-default value
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof Version
|
|
34
|
+
*/
|
|
35
|
+
readonly versionLatestValid: boolean;
|
|
30
36
|
/**
|
|
31
37
|
* Get build hash, if version is not latest or released
|
|
32
38
|
* @type {string}
|
package/dist/models/Version.js
CHANGED
|
@@ -21,6 +21,7 @@ function instanceOfVersion(value) {
|
|
|
21
21
|
let isInstance = true;
|
|
22
22
|
isInstance = isInstance && "versionCurrent" in value;
|
|
23
23
|
isInstance = isInstance && "versionLatest" in value;
|
|
24
|
+
isInstance = isInstance && "versionLatestValid" in value;
|
|
24
25
|
isInstance = isInstance && "buildHash" in value;
|
|
25
26
|
isInstance = isInstance && "outdated" in value;
|
|
26
27
|
return isInstance;
|
|
@@ -37,6 +38,7 @@ function VersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'versionCurrent': json['version_current'],
|
|
39
40
|
'versionLatest': json['version_latest'],
|
|
41
|
+
'versionLatestValid': json['version_latest_valid'],
|
|
40
42
|
'buildHash': json['build_hash'],
|
|
41
43
|
'outdated': json['outdated'],
|
|
42
44
|
};
|
package/package.json
CHANGED
package/src/models/Version.ts
CHANGED
|
@@ -31,6 +31,12 @@ export interface Version {
|
|
|
31
31
|
* @memberof Version
|
|
32
32
|
*/
|
|
33
33
|
readonly versionLatest: string;
|
|
34
|
+
/**
|
|
35
|
+
* Latest version query is a valid non-default value
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof Version
|
|
38
|
+
*/
|
|
39
|
+
readonly versionLatestValid: boolean;
|
|
34
40
|
/**
|
|
35
41
|
* Get build hash, if version is not latest or released
|
|
36
42
|
* @type {string}
|
|
@@ -52,6 +58,7 @@ export function instanceOfVersion(value: object): boolean {
|
|
|
52
58
|
let isInstance = true;
|
|
53
59
|
isInstance = isInstance && "versionCurrent" in value;
|
|
54
60
|
isInstance = isInstance && "versionLatest" in value;
|
|
61
|
+
isInstance = isInstance && "versionLatestValid" in value;
|
|
55
62
|
isInstance = isInstance && "buildHash" in value;
|
|
56
63
|
isInstance = isInstance && "outdated" in value;
|
|
57
64
|
|
|
@@ -70,6 +77,7 @@ export function VersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): V
|
|
|
70
77
|
|
|
71
78
|
'versionCurrent': json['version_current'],
|
|
72
79
|
'versionLatest': json['version_latest'],
|
|
80
|
+
'versionLatestValid': json['version_latest_valid'],
|
|
73
81
|
'buildHash': json['build_hash'],
|
|
74
82
|
'outdated': json['outdated'],
|
|
75
83
|
};
|