chore: update the frozen pnpm-lock.yaml file

This commit is contained in:
Ahmed Bouhuolia
2024-03-15 00:26:23 +02:00
parent ab4c0ab7a7
commit c5063fc5b5
2 changed files with 7 additions and 33 deletions

View File

@@ -2,7 +2,8 @@ import TenantModel from 'models/TenantModel';
export default class Import extends TenantModel {
mapping!: string;
columns!: string;
/**
* Table name.
*/
@@ -31,6 +32,10 @@ export default class Import extends TenantModel {
return {};
}
/**
* Detarmines whether the import is mapped.
* @returns {boolean}
*/
public get isMapped() {
return Boolean(this.mapping);
}
@@ -43,6 +48,7 @@ export default class Import extends TenantModel {
}
}
public get mappingParsed() {
try {
return JSON.parse(this.mapping);