codevdesign 0.0.17 → 0.0.18
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/modeles/data.ts +1 -1
- package/modeles/response.ts +5 -3
- package/package.json +1 -1
package/modeles/data.ts
CHANGED
package/modeles/response.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import datatableColonne from './composants/datatableColonne'
|
|
2
|
+
import data from './data'
|
|
2
3
|
class response {
|
|
3
4
|
public data: data
|
|
4
|
-
|
|
5
|
+
public status: number
|
|
5
6
|
// Constructeur de la classe
|
|
6
|
-
constructor(data: any) {
|
|
7
|
+
constructor(data: any, status: number) {
|
|
7
8
|
this.data = data
|
|
9
|
+
this.status = status
|
|
8
10
|
}
|
|
9
11
|
}
|
|
10
12
|
|