zavadil-ts-common 1.1.25 → 1.1.27

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/dist/index.d.ts CHANGED
@@ -62,12 +62,14 @@ type JavaHeapStats = {
62
62
  type QueueStats = {
63
63
  remaining: number;
64
64
  loaded: number;
65
+ processed: number;
65
66
  state: string;
66
67
  };
67
- type HashCacheStats = {
68
+ type CacheStats = {
68
69
  cachedItems: number;
69
70
  capacity: number;
70
- };
71
+ };
72
+ type HashCacheStats = CacheStats & {};
71
73
 
72
74
  declare class ObjectUtil {
73
75
  static isEmpty(obj: any): boolean;
@@ -323,4 +325,4 @@ declare class HashCacheAsync<K, V> {
323
325
  getStats(): HashCacheStats;
324
326
  }
325
327
 
326
- export { type AccessTokenPayload, ArrayUtil, AsyncUtil, ByteUtil, CacheAsync, CancellablePromise, DateUtil, EventManager, type Func, type FuncHandlers, type FuncHandlersCache, HashCacheAsync, type HashCacheStats, type IdTokenPayload, type JavaHeapStats, type JwKeyPayload, type JwksPayload, Lazy, LazyAsync, NumberUtil, OAuthRestClient, OAuthSessionManager, OAuthSubject, ObjectUtil, type Page, type PagingRequest, PagingUtil, type QueueStats, type RefreshAccessTokenPayload, type RequestAccessTokenPayload, type RequestIdTokenFromLoginPayload, type RequestIdTokenFromSessionPayload, RestClient, type RestClientHeaders, type SessionPayload, type SortingField, type SortingRequest, StringUtil, type TokenRequestPayloadBase, type TokenResponsePayloadBase, type UserAlert, UserAlertType, UserAlerts, Vector2 };
328
+ export { type AccessTokenPayload, ArrayUtil, AsyncUtil, ByteUtil, CacheAsync, type CacheStats, CancellablePromise, DateUtil, EventManager, type Func, type FuncHandlers, type FuncHandlersCache, HashCacheAsync, type HashCacheStats, type IdTokenPayload, type JavaHeapStats, type JwKeyPayload, type JwksPayload, Lazy, LazyAsync, NumberUtil, OAuthRestClient, OAuthSessionManager, OAuthSubject, ObjectUtil, type Page, type PagingRequest, PagingUtil, type QueueStats, type RefreshAccessTokenPayload, type RequestAccessTokenPayload, type RequestIdTokenFromLoginPayload, type RequestIdTokenFromSessionPayload, RestClient, type RestClientHeaders, type SessionPayload, type SortingField, type SortingRequest, StringUtil, type TokenRequestPayloadBase, type TokenResponsePayloadBase, type UserAlert, UserAlertType, UserAlerts, Vector2 };
@@ -6,9 +6,11 @@ export type JavaHeapStats = {
6
6
  export type QueueStats = {
7
7
  remaining: number;
8
8
  loaded: number;
9
+ processed: number;
9
10
  state: string;
10
11
  };
11
- export type HashCacheStats = {
12
+ export type CacheStats = {
12
13
  cachedItems: number;
13
14
  capacity: number;
14
15
  };
16
+ export type HashCacheStats = CacheStats & {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zavadil-ts-common",
3
- "version": "1.1.25",
3
+ "version": "1.1.27",
4
4
  "description": "Common types and components for Typescript UI apps.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
package/src/type/Stats.ts CHANGED
@@ -7,10 +7,14 @@ export type JavaHeapStats = {
7
7
  export type QueueStats = {
8
8
  remaining: number;
9
9
  loaded: number;
10
+ processed: number;
10
11
  state: string;
11
12
  }
12
13
 
13
- export type HashCacheStats = {
14
+ export type CacheStats = {
14
15
  cachedItems: number;
15
16
  capacity: number;
16
17
  }
18
+ export type HashCacheStats = CacheStats & {
19
+
20
+ }