dff-util 1.2.2 → 1.2.3

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/README.md CHANGED
@@ -162,7 +162,15 @@ ConstValue = {
162
162
  "Oct",
163
163
  "Nov",
164
164
  "Dec",
165
- ]
165
+ ],
166
+
167
+ HTTP_METHODS: {
168
+ GET: "GET",
169
+ POST: "POST",
170
+ PUT: "PUT",
171
+ DELETE: "DELETE"
172
+ }
173
+
166
174
 
167
175
  };
168
176
  ```
@@ -363,7 +371,7 @@ export type SearchByType = {
363
371
  searchTerm?: string;
364
372
  };
365
373
 
366
- export type ResponseLimitType = {
374
+ export type PaginationResponseType = {
367
375
  status?: string | number;
368
376
  data?: any;
369
377
  error?: any;
@@ -30,7 +30,7 @@ export type SearchByType = {
30
30
  order?: "ASC" | "DESC";
31
31
  searchTerm?: string;
32
32
  };
33
- export type ResponseLimitType = {
33
+ export type PaginationResponseType = {
34
34
  status?: string | number;
35
35
  data?: any;
36
36
  error?: any;
@@ -42,4 +42,10 @@ export declare const ConstValue: {
42
42
  LIGHT: string;
43
43
  DARK: string;
44
44
  MonthNames: string[];
45
+ HTTP_METHODS: {
46
+ GET: string;
47
+ POST: string;
48
+ PUT: string;
49
+ DELETE: string;
50
+ };
45
51
  };
@@ -61,5 +61,11 @@ exports.ConstValue = {
61
61
  "Oct",
62
62
  "Nov",
63
63
  "Dec",
64
- ]
64
+ ],
65
+ HTTP_METHODS: {
66
+ GET: "GET",
67
+ POST: "POST",
68
+ PUT: "PUT",
69
+ DELETE: "DELETE"
70
+ }
65
71
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dff-util",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {