|
|
@ -680,7 +680,7 @@ export class AtImportProcessor { |
|
|
|
viewId: view.list[0].id, |
|
|
|
viewId: view.list[0].id, |
|
|
|
view: { title: aTbl_grid.name }, |
|
|
|
view: { title: aTbl_grid.name }, |
|
|
|
user: syncDB.user, |
|
|
|
user: syncDB.user, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
recordPerfStats(_perfStart, 'dbView.update'); |
|
|
|
recordPerfStats(_perfStart, 'dbView.update'); |
|
|
|
|
|
|
|
|
|
|
@ -1527,8 +1527,8 @@ export class AtImportProcessor { |
|
|
|
url: attachment.url, |
|
|
|
url: attachment.url, |
|
|
|
size: attachment.size, |
|
|
|
size: attachment.size, |
|
|
|
mimetype: attachment.type, |
|
|
|
mimetype: attachment.type, |
|
|
|
})), req:{} |
|
|
|
})), |
|
|
|
|
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
console.log(e); |
|
|
|
console.log(e); |
|
|
@ -1571,7 +1571,7 @@ export class AtImportProcessor { |
|
|
|
ncCreatedProjectSchema = await this.basesService.baseCreate({ |
|
|
|
ncCreatedProjectSchema = await this.basesService.baseCreate({ |
|
|
|
base: { title: projName }, |
|
|
|
base: { title: projName }, |
|
|
|
user: { id: syncDB.user.id }, |
|
|
|
user: { id: syncDB.user.id }, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
recordPerfStats(_perfStart, 'base.create'); |
|
|
|
recordPerfStats(_perfStart, 'base.create'); |
|
|
@ -1622,7 +1622,7 @@ export class AtImportProcessor { |
|
|
|
title: viewName, |
|
|
|
title: viewName, |
|
|
|
}, |
|
|
|
}, |
|
|
|
user: syncDB.user, |
|
|
|
user: syncDB.user, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
recordPerfStats(_perfStart, 'dbView.galleryCreate'); |
|
|
|
recordPerfStats(_perfStart, 'dbView.galleryCreate'); |
|
|
|
|
|
|
|
|
|
|
@ -1689,7 +1689,7 @@ export class AtImportProcessor { |
|
|
|
tableId: tblId, |
|
|
|
tableId: tblId, |
|
|
|
body: formData, |
|
|
|
body: formData, |
|
|
|
user: syncDB.user, |
|
|
|
user: syncDB.user, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
recordPerfStats(_perfStart, 'dbView.formCreate'); |
|
|
|
recordPerfStats(_perfStart, 'dbView.formCreate'); |
|
|
|
|
|
|
|
|
|
|
@ -1769,7 +1769,7 @@ export class AtImportProcessor { |
|
|
|
grid: { |
|
|
|
grid: { |
|
|
|
title: viewName, |
|
|
|
title: viewName, |
|
|
|
}, |
|
|
|
}, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
recordPerfStats(_perfStart, 'dbView.gridCreate'); |
|
|
|
recordPerfStats(_perfStart, 'dbView.gridCreate'); |
|
|
|
|
|
|
|
|
|
|
@ -2146,7 +2146,7 @@ export class AtImportProcessor { |
|
|
|
viewId: viewId, |
|
|
|
viewId: viewId, |
|
|
|
filter: ncFilters[i], |
|
|
|
filter: ncFilters[i], |
|
|
|
user: syncDB.user, |
|
|
|
user: syncDB.user, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
recordPerfStats(_perfStart, 'dbTableFilter.create'); |
|
|
|
recordPerfStats(_perfStart, 'dbTableFilter.create'); |
|
|
|
|
|
|
|
|
|
|
@ -2225,7 +2225,7 @@ export class AtImportProcessor { |
|
|
|
group_by_sort: |
|
|
|
group_by_sort: |
|
|
|
ncGroup[i].direction === 'ascending' ? 'asc' : 'desc', |
|
|
|
ncGroup[i].direction === 'ascending' ? 'asc' : 'desc', |
|
|
|
}, |
|
|
|
}, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
} catch (e) { |
|
|
|
} catch (e) { |
|
|
|
// ignore
|
|
|
|
// ignore
|
|
|
@ -2247,7 +2247,7 @@ export class AtImportProcessor { |
|
|
|
fk_column_id: columnId, |
|
|
|
fk_column_id: columnId, |
|
|
|
direction: s.sortSet[i].ascending ? 'asc' : 'desc', |
|
|
|
direction: s.sortSet[i].ascending ? 'asc' : 'desc', |
|
|
|
}, |
|
|
|
}, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
recordPerfStats(_perfStart, 'dbTableSort.create'); |
|
|
|
recordPerfStats(_perfStart, 'dbTableSort.create'); |
|
|
|
} |
|
|
|
} |
|
|
@ -2312,7 +2312,7 @@ export class AtImportProcessor { |
|
|
|
show: false, |
|
|
|
show: false, |
|
|
|
order: j + 1 + c.length, |
|
|
|
order: j + 1 + c.length, |
|
|
|
}, |
|
|
|
}, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
recordPerfStats(_perfStart, 'dbViewColumn.update'); |
|
|
|
recordPerfStats(_perfStart, 'dbViewColumn.update'); |
|
|
|
} |
|
|
|
} |
|
|
@ -2340,7 +2340,7 @@ export class AtImportProcessor { |
|
|
|
await this.formColumnsService.columnUpdate({ |
|
|
|
await this.formColumnsService.columnUpdate({ |
|
|
|
formViewColumnId: ncViewColumnId, |
|
|
|
formViewColumnId: ncViewColumnId, |
|
|
|
formViewColumn: formData, |
|
|
|
formViewColumn: formData, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
recordPerfStats(_perfStart, 'dbView.formColumnUpdate'); |
|
|
|
recordPerfStats(_perfStart, 'dbView.formColumnUpdate'); |
|
|
|
} |
|
|
|
} |
|
|
@ -2350,7 +2350,7 @@ export class AtImportProcessor { |
|
|
|
viewId: viewId, |
|
|
|
viewId: viewId, |
|
|
|
columnId: ncViewColumnId, |
|
|
|
columnId: ncViewColumnId, |
|
|
|
column: configData, |
|
|
|
column: configData, |
|
|
|
req:{} |
|
|
|
req: {}, |
|
|
|
}); |
|
|
|
}); |
|
|
|
recordPerfStats(_perfStart, 'dbViewColumn.update'); |
|
|
|
recordPerfStats(_perfStart, 'dbViewColumn.update'); |
|
|
|
} |
|
|
|
} |
|
|
|