@minimaltech/node-infra 0.3.19 → 0.3.20
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/common/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/common/types.d.ts
CHANGED
@@ -34,6 +34,7 @@ export type NullableType = undefined | null | void;
|
|
34
34
|
export type TRelationType = 'belongsTo' | 'hasOne' | 'hasMany' | 'hasManyThrough';
|
35
35
|
export type TBullQueueRole = 'queue' | 'worker';
|
36
36
|
export type TPermissionEffect = 'allow' | 'deny';
|
37
|
+
export type TStatusFromClass<T extends ClassType<AnyObject>> = ValueOf<Omit<T, 'prototype' | 'isValid' | 'SCHEME_SET'>>;
|
37
38
|
export interface IEntity {
|
38
39
|
id: IdType;
|
39
40
|
}
|