dplus_common_v1 0.1.21 → 0.1.23

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.
@@ -50,3 +50,10 @@ export declare const DPLUS_CONTENT_TYPE: {
50
50
  product: string;
51
51
  team: string;
52
52
  };
53
+ export type FormFieldProps = {
54
+ id: string;
55
+ label: string;
56
+ is_required: boolean;
57
+ max_length?: number;
58
+ placeholder?: string;
59
+ };
@@ -103,4 +103,13 @@ export type ResponseTeamDetailForAdmin = BaseResponseDetail<TTeamDetail> & WithS
103
103
  mapTeamFolder?: TMapTeamFolder[];
104
104
  mapTeamEvent?: TMapTeamEvent[];
105
105
  };
106
+ export type ResponseDplusAPI<T> = {
107
+ success: boolean;
108
+ alarm?: string | null;
109
+ status?: string | null;
110
+ msg?: string | null;
111
+ dbResponse?: T | null | undefined;
112
+ error?: string | null;
113
+ missingFields?: string[] | string | null;
114
+ };
106
115
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dplus_common_v1",
3
- "version": "0.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "Common modules for dplus API Server and Admin User Frontend",
5
5
  "keywords": [
6
6
  "dplus"