@kipicore/dbcore 1.1.520 → 1.1.521

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.
@@ -368,7 +368,9 @@ export declare enum TYPE_MANAGEMENT_STATUS {
368
368
  DELETED = "DELETED"
369
369
  }
370
370
  export declare enum APPROVE_REQUEST_TYPE {
371
- BLOG = "BLOG"
371
+ ADD = "ADD",
372
+ EDIT = "EDIT",
373
+ DELETE = "DELETE"
372
374
  }
373
375
  export declare enum APPROVE_REQUEST_STATUS {
374
376
  PENDING = "PENDING",
@@ -447,7 +447,9 @@ var TYPE_MANAGEMENT_STATUS;
447
447
  })(TYPE_MANAGEMENT_STATUS || (exports.TYPE_MANAGEMENT_STATUS = TYPE_MANAGEMENT_STATUS = {}));
448
448
  var APPROVE_REQUEST_TYPE;
449
449
  (function (APPROVE_REQUEST_TYPE) {
450
- APPROVE_REQUEST_TYPE["BLOG"] = "BLOG";
450
+ APPROVE_REQUEST_TYPE["ADD"] = "ADD";
451
+ APPROVE_REQUEST_TYPE["EDIT"] = "EDIT";
452
+ APPROVE_REQUEST_TYPE["DELETE"] = "DELETE";
451
453
  })(APPROVE_REQUEST_TYPE || (exports.APPROVE_REQUEST_TYPE = APPROVE_REQUEST_TYPE = {}));
452
454
  var APPROVE_REQUEST_STATUS;
453
455
  (function (APPROVE_REQUEST_STATUS) {
@@ -1,9 +1,9 @@
1
1
  import { Document } from 'mongoose';
2
2
  import { IDefaultAttributes } from './commonInterface';
3
- import { APPROVE_REQUEST_STATUS } from '../constants/app';
3
+ import { APPROVE_REQUEST_STATUS, APPROVE_REQUEST_TYPE } from '../constants/app';
4
4
  export interface IApproveRequestModelAttributes extends IDefaultAttributes, Document {
5
5
  id: string;
6
- approveType: string;
6
+ approveType: APPROVE_REQUEST_TYPE;
7
7
  reqUrl: string;
8
8
  reqMethod: string;
9
9
  data: object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.520",
3
+ "version": "1.1.521",
4
4
  "description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",