@fragus/sam-types 1.0.35 → 1.0.36
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/package.json +1 -1
- package/types/dashboardBanner.d.ts +11 -2
- package/types/dashboardBanner.ts +11 -2
package/package.json
CHANGED
|
@@ -5,14 +5,23 @@ import { TIsoCountry } from './country';
|
|
|
5
5
|
export interface DashboardBannerRequest {
|
|
6
6
|
text: string;
|
|
7
7
|
countryIso: TIsoCountry;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
/**
|
|
9
|
+
* ISO date string (YYYY-MM-DD) for the start date of the banner
|
|
10
|
+
*/
|
|
11
|
+
startDate: string;
|
|
12
|
+
/**
|
|
13
|
+
* ISO date string (YYYY-MM-DD) for the end date of the banner
|
|
14
|
+
*/
|
|
15
|
+
endDate: string;
|
|
10
16
|
}
|
|
11
17
|
/**
|
|
12
18
|
* Response body for retrieving a dashboard banner (Superadmin)
|
|
13
19
|
*/
|
|
14
20
|
export interface DashboardBannerResponse extends DashboardBannerRequest {
|
|
15
21
|
id: number;
|
|
22
|
+
/**
|
|
23
|
+
* Email of the user who last updated the banner
|
|
24
|
+
*/
|
|
16
25
|
updatedByUser: string;
|
|
17
26
|
}
|
|
18
27
|
/**
|
package/types/dashboardBanner.ts
CHANGED
|
@@ -6,8 +6,14 @@ import { TIsoCountry } from './country'
|
|
|
6
6
|
export interface DashboardBannerRequest {
|
|
7
7
|
text: string
|
|
8
8
|
countryIso: TIsoCountry
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
/**
|
|
10
|
+
* ISO date string (YYYY-MM-DD) for the start date of the banner
|
|
11
|
+
*/
|
|
12
|
+
startDate: string
|
|
13
|
+
/**
|
|
14
|
+
* ISO date string (YYYY-MM-DD) for the end date of the banner
|
|
15
|
+
*/
|
|
16
|
+
endDate: string
|
|
11
17
|
}
|
|
12
18
|
|
|
13
19
|
/**
|
|
@@ -15,6 +21,9 @@ export interface DashboardBannerRequest {
|
|
|
15
21
|
*/
|
|
16
22
|
export interface DashboardBannerResponse extends DashboardBannerRequest {
|
|
17
23
|
id: number
|
|
24
|
+
/**
|
|
25
|
+
* Email of the user who last updated the banner
|
|
26
|
+
*/
|
|
18
27
|
updatedByUser: string
|
|
19
28
|
}
|
|
20
29
|
|