cloud-ide-lms-model 1.0.188 → 1.0.190
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,16 +1,6 @@
|
|
|
1
1
|
import { CommonSelect } from "../../common-types";
|
|
2
|
+
import { ICoreSygmt } from "../../schema";
|
|
2
3
|
import { controllerResponse } from "../../utilities";
|
|
3
|
-
export interface ICoreGeneralMasterType {
|
|
4
|
-
_id: string;
|
|
5
|
-
sygmt_code: string;
|
|
6
|
-
sygmt_title: string;
|
|
7
|
-
sygmt_desc: string;
|
|
8
|
-
sygmt_isactive: boolean;
|
|
9
|
-
sygmt_configuration: Record<string, any>;
|
|
10
|
-
sygmt_id_sygmt?: string;
|
|
11
|
-
created_at?: string;
|
|
12
|
-
updated_at?: string;
|
|
13
|
-
}
|
|
14
4
|
export interface IGeneralMasterTypeCreateUpdatePayload {
|
|
15
5
|
_id?: string;
|
|
16
6
|
sygmt_code: string;
|
|
@@ -29,7 +19,7 @@ export interface IGeneralMasterTypeListRequest {
|
|
|
29
19
|
export interface IGeneralMasterTypeListResponse {
|
|
30
20
|
success: boolean;
|
|
31
21
|
message: string;
|
|
32
|
-
data:
|
|
22
|
+
data: ICoreSygmt[];
|
|
33
23
|
total: number;
|
|
34
24
|
pageIndex: number;
|
|
35
25
|
pageSize: number;
|
|
@@ -132,10 +122,10 @@ interface generalMasterTypeResponseData {
|
|
|
132
122
|
sygmt_isactive: boolean;
|
|
133
123
|
}
|
|
134
124
|
export interface generalMasterTypeByIdControllerResponse extends controllerResponse {
|
|
135
|
-
data?:
|
|
125
|
+
data?: ICoreSygmt;
|
|
136
126
|
}
|
|
137
127
|
export interface generalMasterTypeInsertUpdateControllerResponse extends controllerResponse {
|
|
138
|
-
data?:
|
|
128
|
+
data?: ICoreSygmt;
|
|
139
129
|
}
|
|
140
130
|
export interface generalMasterTypeDeleteControllerResponse extends controllerResponse {
|
|
141
131
|
data?: {
|
|
@@ -143,10 +133,10 @@ export interface generalMasterTypeDeleteControllerResponse extends controllerRes
|
|
|
143
133
|
};
|
|
144
134
|
}
|
|
145
135
|
export interface generalMasterTypeToggleStatusControllerResponse extends controllerResponse {
|
|
146
|
-
data?:
|
|
136
|
+
data?: ICoreSygmt;
|
|
147
137
|
}
|
|
148
138
|
export interface generalMasterTypeListControllerResponse extends controllerResponse {
|
|
149
|
-
data?:
|
|
139
|
+
data?: ICoreSygmt[];
|
|
150
140
|
total?: number;
|
|
151
141
|
pageIndex?: number;
|
|
152
142
|
pageSize?: number;
|