mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
chore: update the frozen pnpm-lock.yaml file
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user