zavadil-ts-common 1.1.76 → 1.1.78

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
@@ -55,6 +55,16 @@ type CacheStats = {
55
55
  };
56
56
  type HashCacheStats = CacheStats & {};
57
57
 
58
+ type EntityBase = {
59
+ id?: number | null;
60
+ createdOn?: Date;
61
+ lastUpdatedOn?: Date;
62
+ };
63
+ type EntityWithName = EntityBase & {
64
+ name: string;
65
+ };
66
+ type LookupTableEntity = EntityWithName & {};
67
+
58
68
  declare class HashCacheAsync<K, V> {
59
69
  private cache;
60
70
  private supplier;
@@ -86,12 +96,6 @@ declare class LazyAsync<T> {
86
96
  reset(): void;
87
97
  }
88
98
 
89
- type EntityBase = {
90
- id?: number | null;
91
- createdOn?: Date;
92
- lastUpdateOn?: Date;
93
- };
94
-
95
99
  type RestClientHeaders = {};
96
100
  declare class RestClient {
97
101
  private baseUrl;
@@ -408,4 +412,4 @@ declare class Vector2 {
408
412
  toString(decimals?: number): string;
409
413
  }
410
414
 
411
- export { type AccessTokenPayload, ArrayUtil, AsyncUtil, ByteUtil, CacheAsync, type CacheStats, CancellablePromise, DateUtil, EntityCachedClient, EntityClient, EntityClientWithStub, EventManager, type Func, type FuncHandlers, type FuncHandlersCache, HashCacheAsync, type HashCacheStats, type IdTokenPayload, type JavaHeapStats, type JwKeyPayload, type JwksPayload, Lazy, LazyAsync, LookupClient, NumberUtil, OAuthRestClient, OAuthSubject, OAuthTokenManager, ObjectUtil, type Page, type PagingRequest, PagingUtil, type QueueStats, type RequestAccessTokenPayload, type RequestIdTokenFromLoginPayload, type RequestIdTokenFromPrevTokenPayload, RestClient, type RestClientHeaders, RestClientWithOAuth, type ServerOAuthInfoPayload, type SortingField, type SortingRequest, StringUtil, type TokenRequestPayloadBase, type TokenResponsePayloadBase, type UserAlert, UserAlertType, UserAlerts, Vector2 };
415
+ export { type AccessTokenPayload, ArrayUtil, AsyncUtil, ByteUtil, CacheAsync, type CacheStats, CancellablePromise, DateUtil, type EntityBase, EntityCachedClient, EntityClient, EntityClientWithStub, type EntityWithName, EventManager, type Func, type FuncHandlers, type FuncHandlersCache, HashCacheAsync, type HashCacheStats, type IdTokenPayload, type JavaHeapStats, type JwKeyPayload, type JwksPayload, Lazy, LazyAsync, LookupClient, type LookupTableEntity, NumberUtil, OAuthRestClient, OAuthSubject, OAuthTokenManager, ObjectUtil, type Page, type PagingRequest, PagingUtil, type QueueStats, type RequestAccessTokenPayload, type RequestIdTokenFromLoginPayload, type RequestIdTokenFromPrevTokenPayload, RestClient, type RestClientHeaders, RestClientWithOAuth, type ServerOAuthInfoPayload, type SortingField, type SortingRequest, StringUtil, type TokenRequestPayloadBase, type TokenResponsePayloadBase, type UserAlert, UserAlertType, UserAlerts, Vector2 };
@@ -1,7 +1,7 @@
1
1
  export type EntityBase = {
2
2
  id?: number | null;
3
3
  createdOn?: Date;
4
- lastUpdateOn?: Date;
4
+ lastUpdatedOn?: Date;
5
5
  };
6
6
  export type EntityWithName = EntityBase & {
7
7
  name: string;
@@ -1,3 +1,4 @@
1
1
  export * from './Paging';
2
2
  export * from './UserAlert';
3
3
  export * from './Stats';
4
+ export * from './Entity';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zavadil-ts-common",
3
- "version": "1.1.76",
3
+ "version": "1.1.78",
4
4
  "description": "Common types and components for Typescript UI apps.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -1,7 +1,7 @@
1
1
  export type EntityBase = {
2
2
  id?: number | null;
3
3
  createdOn?: Date;
4
- lastUpdateOn?: Date;
4
+ lastUpdatedOn?: Date;
5
5
  }
6
6
 
7
7
  export type EntityWithName = EntityBase & {
package/src/type/index.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './Paging';
2
2
  export * from './UserAlert';
3
3
  export * from './Stats';
4
-
4
+ export * from './Entity';