@tomei/rental 0.17.4-dev.7 → 0.17.4-dev.9
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/dist/src/components/joint-hirer/joint-hirer.js +4 -4
- package/dist/src/components/joint-hirer/joint-hirer.js.map +1 -1
- package/dist/src/components/rental/rental.js +2 -1
- package/dist/src/components/rental/rental.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/joint-hirer/joint-hirer.ts +2 -2
- package/src/components/rental/rental.ts +2 -1
package/package.json
CHANGED
|
@@ -4,8 +4,8 @@ import { IJointHirerAttr } from '../../interfaces/joint-hirer-attr.interface';
|
|
|
4
4
|
import { ApplicationConfig } from '@tomei/config';
|
|
5
5
|
import { LoginUser } from '@tomei/sso';
|
|
6
6
|
import { ActionEnum, Activity } from '@tomei/activity-history';
|
|
7
|
-
import { Rental } from '
|
|
8
|
-
import { RentalAccountTypeEnum } from 'enum';
|
|
7
|
+
import { Rental } from '../rental/rental';
|
|
8
|
+
import { RentalAccountTypeEnum } from '../../enum/account-type.enum';
|
|
9
9
|
|
|
10
10
|
export class JointHirer extends ObjectBase {
|
|
11
11
|
ObjectId: string;
|
|
@@ -128,10 +128,11 @@ export class Rental extends ObjectBase {
|
|
|
128
128
|
}
|
|
129
129
|
return new Rental();
|
|
130
130
|
} catch (error) {
|
|
131
|
+
console.error('Error initializing Rental:', error);
|
|
131
132
|
throw new ClassError(
|
|
132
133
|
'Rental',
|
|
133
134
|
'RentalErrMsg00',
|
|
134
|
-
'Failed To Initialize
|
|
135
|
+
'Failed To Initialize Rental',
|
|
135
136
|
);
|
|
136
137
|
}
|
|
137
138
|
}
|