magneto365.ui 2.63.7 → 2.63.8

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.
@@ -10,6 +10,10 @@ import { ISimilarJobs } from '../SimilarJobs/SimilarJobs.interface';
10
10
  import { IJobVideo } from '@components/UI/molecules/JobVideo';
11
11
  import { ICityDetail } from '../../molecules/CitiesDetailDrawer';
12
12
  import { IFraudCardJob } from '../../molecules/FraudCardJob/FraudCardJob.interface';
13
+ export interface ICanApply {
14
+ message: string;
15
+ isApplicable: boolean;
16
+ }
13
17
  export interface IJobDetailsDrawer {
14
18
  /**
15
19
  * Props for the job company logo and header section.
@@ -87,4 +91,8 @@ export interface IJobDetailsDrawer {
87
91
  * Props for show alert when apply
88
92
  */
89
93
  alertJobStatusProps?: IAlertJobStatus;
94
+ /**
95
+ * Props for show alert when user can´t apply
96
+ */
97
+ canApply?: ICanApply;
90
98
  }
@@ -5,6 +5,7 @@ import { IJobVideo } from '@components/UI/molecules/JobVideo';
5
5
  import { ISimilarJobs } from '../SimilarJobs/SimilarJobs.interface';
6
6
  import { SwipeProps } from '../Swipe/Swipe.interface';
7
7
  import { IFraudCardJob } from './../../molecules/FraudCardJob/FraudCardJob.interface';
8
+ import { ICanApply } from '../JobDetailsDrawer';
8
9
  export interface IMobileJobDetailsDrawer {
9
10
  /**
10
11
  * Props for the job company logo and header section.
@@ -96,4 +97,8 @@ export interface IMobileJobDetailsDrawer {
96
97
  * Props for show alert when apply
97
98
  */
98
99
  alertJobStatusProps?: IAlertJobStatus;
100
+ /**
101
+ * Props for show alert when user can´t apply
102
+ */
103
+ canApply?: ICanApply;
99
104
  }