windmill-cli 1.631.2 → 1.633.0
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.
- package/esm/gen/core/OpenAPI.js +1 -1
- package/esm/gen/services.gen.js +42 -0
- package/esm/src/main.js +1 -1
- package/package.json +1 -1
- package/types/gen/services.gen.d.ts +24 -1
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +144 -0
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +144 -0
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
package/types/gen/types.gen.d.ts
CHANGED
|
@@ -838,6 +838,142 @@ export type FlowNote = {
|
|
|
838
838
|
* Type of note - 'free' for standalone notes, 'group' for notes that group other nodes
|
|
839
839
|
*/
|
|
840
840
|
export type type3 = 'free' | 'group';
|
|
841
|
+
/**
|
|
842
|
+
* Health status response (cached with 5s TTL)
|
|
843
|
+
*/
|
|
844
|
+
export type HealthStatusResponse = {
|
|
845
|
+
/**
|
|
846
|
+
* Overall health status
|
|
847
|
+
*/
|
|
848
|
+
status: 'healthy' | 'degraded' | 'unhealthy';
|
|
849
|
+
/**
|
|
850
|
+
* Timestamp when the health check was actually performed (not cache return time)
|
|
851
|
+
*/
|
|
852
|
+
checked_at: string;
|
|
853
|
+
/**
|
|
854
|
+
* Whether the database is reachable
|
|
855
|
+
*/
|
|
856
|
+
database_healthy: boolean;
|
|
857
|
+
/**
|
|
858
|
+
* Number of workers that pinged within last 5 minutes
|
|
859
|
+
*/
|
|
860
|
+
workers_alive: number;
|
|
861
|
+
};
|
|
862
|
+
/**
|
|
863
|
+
* Overall health status
|
|
864
|
+
*/
|
|
865
|
+
export type status = 'healthy' | 'degraded' | 'unhealthy';
|
|
866
|
+
/**
|
|
867
|
+
* Detailed health status response (always fresh, no caching)
|
|
868
|
+
*/
|
|
869
|
+
export type DetailedHealthResponse = {
|
|
870
|
+
/**
|
|
871
|
+
* Overall health status
|
|
872
|
+
*/
|
|
873
|
+
status: 'healthy' | 'degraded' | 'unhealthy';
|
|
874
|
+
/**
|
|
875
|
+
* Timestamp when the health check was performed
|
|
876
|
+
*/
|
|
877
|
+
checked_at: string;
|
|
878
|
+
/**
|
|
879
|
+
* Server version (e.g., "EE 1.615.3")
|
|
880
|
+
*/
|
|
881
|
+
version: string;
|
|
882
|
+
checks: HealthChecks;
|
|
883
|
+
};
|
|
884
|
+
/**
|
|
885
|
+
* Detailed health checks
|
|
886
|
+
*/
|
|
887
|
+
export type HealthChecks = {
|
|
888
|
+
database: DatabaseHealth;
|
|
889
|
+
/**
|
|
890
|
+
* Worker status (null if database is unreachable)
|
|
891
|
+
*/
|
|
892
|
+
workers?: (WorkersHealth) | null;
|
|
893
|
+
/**
|
|
894
|
+
* Queue status (null if database is unreachable)
|
|
895
|
+
*/
|
|
896
|
+
queue?: (QueueHealth) | null;
|
|
897
|
+
readiness: ReadinessHealth;
|
|
898
|
+
};
|
|
899
|
+
/**
|
|
900
|
+
* Database health status
|
|
901
|
+
*/
|
|
902
|
+
export type DatabaseHealth = {
|
|
903
|
+
/**
|
|
904
|
+
* Whether the database is reachable
|
|
905
|
+
*/
|
|
906
|
+
healthy: boolean;
|
|
907
|
+
/**
|
|
908
|
+
* Database query latency in milliseconds
|
|
909
|
+
*/
|
|
910
|
+
latency_ms: number;
|
|
911
|
+
pool: PoolStats;
|
|
912
|
+
};
|
|
913
|
+
/**
|
|
914
|
+
* Database connection pool statistics
|
|
915
|
+
*/
|
|
916
|
+
export type PoolStats = {
|
|
917
|
+
/**
|
|
918
|
+
* Current number of connections in the pool
|
|
919
|
+
*/
|
|
920
|
+
size: number;
|
|
921
|
+
/**
|
|
922
|
+
* Number of idle connections
|
|
923
|
+
*/
|
|
924
|
+
idle: number;
|
|
925
|
+
/**
|
|
926
|
+
* Maximum number of connections allowed
|
|
927
|
+
*/
|
|
928
|
+
max_connections: number;
|
|
929
|
+
};
|
|
930
|
+
/**
|
|
931
|
+
* Workers health status
|
|
932
|
+
*/
|
|
933
|
+
export type WorkersHealth = {
|
|
934
|
+
/**
|
|
935
|
+
* Whether any workers are active
|
|
936
|
+
*/
|
|
937
|
+
healthy: boolean;
|
|
938
|
+
/**
|
|
939
|
+
* Number of active workers (pinged in last 5 minutes)
|
|
940
|
+
*/
|
|
941
|
+
active_count: number;
|
|
942
|
+
/**
|
|
943
|
+
* List of active worker groups
|
|
944
|
+
*/
|
|
945
|
+
worker_groups: Array<(string)>;
|
|
946
|
+
/**
|
|
947
|
+
* Minimum required worker version
|
|
948
|
+
*/
|
|
949
|
+
min_version: string;
|
|
950
|
+
/**
|
|
951
|
+
* List of active worker versions
|
|
952
|
+
*/
|
|
953
|
+
versions: Array<(string)>;
|
|
954
|
+
};
|
|
955
|
+
/**
|
|
956
|
+
* Job queue status
|
|
957
|
+
*/
|
|
958
|
+
export type QueueHealth = {
|
|
959
|
+
/**
|
|
960
|
+
* Number of pending jobs in the queue
|
|
961
|
+
*/
|
|
962
|
+
pending_jobs: number;
|
|
963
|
+
/**
|
|
964
|
+
* Number of currently running jobs
|
|
965
|
+
*/
|
|
966
|
+
running_jobs: number;
|
|
967
|
+
};
|
|
968
|
+
/**
|
|
969
|
+
* Server readiness status
|
|
970
|
+
*/
|
|
971
|
+
export type ReadinessHealth = {
|
|
972
|
+
/**
|
|
973
|
+
* Whether the server is ready to accept requests
|
|
974
|
+
*/
|
|
975
|
+
healthy: boolean;
|
|
976
|
+
};
|
|
841
977
|
/**
|
|
842
978
|
* Configuration for auto-inviting users to the workspace
|
|
843
979
|
*/
|
|
@@ -4673,6 +4809,14 @@ export type ParameterGetStarted = boolean;
|
|
|
4673
4809
|
export type ParameterConcurrencyId = string;
|
|
4674
4810
|
export type ParameterRunnableKind = 'script' | 'flow';
|
|
4675
4811
|
export type BackendVersionResponse = (string);
|
|
4812
|
+
export type GetHealthStatusData = {
|
|
4813
|
+
/**
|
|
4814
|
+
* Force a fresh check, bypassing the cache
|
|
4815
|
+
*/
|
|
4816
|
+
force?: boolean;
|
|
4817
|
+
};
|
|
4818
|
+
export type GetHealthStatusResponse = (HealthStatusResponse);
|
|
4819
|
+
export type GetHealthDetailedResponse = (DetailedHealthResponse);
|
|
4676
4820
|
export type BackendUptodateResponse = (string);
|
|
4677
4821
|
export type GetLicenseIdResponse = (string);
|
|
4678
4822
|
export type QueryDocumentationData = {
|