Repository navigation
Patch Changes
-
#263
b23af5e- AddGetMysqlInfoCommandto read the details of a MySQL add-on -
#263
aff1b87- AddGetPostgresqlInfoCommandto read the details of a PostgreSQL add-on -
#263
cd739a2- AddGetRedisInfoCommandto read the details of a Redis add-on -
#261
21678a4- The type declarations now require TypeScript 5.0 or laterThey import each other with the
.tsextension, which TypeScript resolves to the.d.tsfiles since 5.0.
With an older TypeScript, the imports of@clevercloud/clientfail to resolve withTS2691, or lose their types withskipLibCheck. -
#264
3097a4b- ExposemonthlyActiveUserson the output ofGetKeycloakInfoCommand,UpdateKeycloakVersionCommandandCreateKeycloakNetworkGroupCommandIt counts the distinct users active since midnight UTC on the first day of the current month, and is
undefinedwhen the API cannot read it. -
#266
c5819e6- Breaking:MatomoInfo.resources.redisIdis now optionalA Matomo add-on can now be deployed without Redis, and the API then sends
null.
The client used to pass thatnullthrough:redisId, likekvId, is nowundefinedinstead.
Check forundefinedbefore using it:-const redisId: string = matomo.resources.redisId; +const redisId: string | undefined = matomo.resources.redisId; +if (redisId != null) { + // link to the Redis add-on +}
-
#266
55c43d3- AddCheckMatomoVersionCommandandUpdateMatomoVersionCommandto check and change the Matomo version of an add-onMoving a single-instance add-on to Matomo 6 or later also deletes its Redis add-on: the output of
UpdateMatomoVersionCommandthen has noresources.redisId. -
#265
6afbe3a- Exposeresources.cellarIdandresources.postgresqlIdon the output ofGetOtoroshiInfoCommand,UpdateOtoroshiVersionCommandandCreateOtoroshiNetworkGroupCommandBoth are
undefinedwhen the instance has no Cellar or no PostgreSQL exporter. -
#261
086cb93- Private state of the classes is now held in_-prefixed properties instead of native#private fieldsInstances of the clients, commands, streams and errors now show these properties when inspected, listed with
Object.keys()or serialized withJSON.stringify().
They are not part of the public API: read the public getters instead.