1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-08 23:35:31 +02:00

feat(license): remove untrusted devices from node count [EE-5357] (#8817)

This commit is contained in:
Chaim Lev-Ari 2023-05-05 09:02:31 +07:00 committed by GitHub
parent 5f6ddc2fad
commit cfed481d6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 102 additions and 35 deletions

View file

@ -1,18 +1,22 @@
// matches https://github.com/portainer/liblicense/blob/master/liblicense.go#L66-L74
// matches https://github.com/portainer/liblicense/blob/develop/liblicense.go#L66-L74
export enum Edition {
CE = 1,
BE,
EE,
}
// matches https://github.com/portainer/liblicense/blob/master/liblicense.go#L60-L64
// matches https://github.com/portainer/liblicense/blob/develop/liblicense.go#L64-L69
export enum LicenseType {
Trial = 1,
Subscription,
/**
* Essentials is the free 5-node license type
*/
Essentials,
}
// matches https://github.com/portainer/liblicense/blob/master/liblicense.go#L35-L50
// matches https://github.com/portainer/liblicense/blob/develop/liblicense.go#L35-L50
export interface License {
id: string;
company: string;