@wenex/sdk 1.1.28 → 1.1.29

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.
@@ -1,10 +1,12 @@
1
1
  import type { Document } from 'mongoose';
2
+ import { Status } from '../../../core/enums';
2
3
  import { ConfigKey } from '../../../enums/context';
3
4
  import { Core, Dto } from '../../../core/interfaces';
4
5
  export interface Config<T = any, Properties extends object = object> extends Core<Properties> {
5
6
  key: ConfigKey;
6
7
  eid: string;
7
8
  value?: T;
9
+ status?: Status;
8
10
  }
9
11
  export type ConfigDoc<T = any, Properties extends object = object> = Config<T, Properties> & Document;
10
12
  export type ConfigDto<T = any, Properties extends object = object> = Dto<Config<T, Properties>>;
@@ -1,10 +1,11 @@
1
1
  import type { Document } from 'mongoose';
2
- import { ValueType } from '../../../core/enums';
3
2
  import { Core, Dto } from '../../../core/interfaces';
3
+ import { Status, ValueType } from '../../../core/enums';
4
4
  export interface Setting<T = any, Properties extends object = object> extends Core<Properties> {
5
5
  key: string;
6
6
  type: ValueType;
7
7
  value?: T;
8
+ status?: Status;
8
9
  }
9
10
  export type SettingDoc<T = any, Properties extends object = object> = Setting<T, Properties> & Document;
10
11
  export type SettingDto<T = any, Properties extends object = object> = Dto<Setting<T, Properties>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenex/sdk",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
4
4
  "description": "Wenex SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",