kintone-migrator 0.18.0 → 0.19.0
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/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -4886,7 +4886,7 @@ function fromKintoneReportConfig(raw) {
|
|
|
4886
4886
|
filterCond: raw.filterCond,
|
|
4887
4887
|
sorts: raw.sorts.map(fromKintoneSort)
|
|
4888
4888
|
};
|
|
4889
|
-
if (raw.periodicReport
|
|
4889
|
+
if (raw.periodicReport != null) return {
|
|
4890
4890
|
...result,
|
|
4891
4891
|
periodicReport: fromKintonePeriodicReport(raw.periodicReport)
|
|
4892
4892
|
};
|
|
@@ -6205,7 +6205,7 @@ function sanitizeForFileSystem(name) {
|
|
|
6205
6205
|
return sanitized === "" ? "_" : sanitized;
|
|
6206
6206
|
}
|
|
6207
6207
|
function resolveAppName(app) {
|
|
6208
|
-
const raw = app.code !== "" ? app.code : `app-${app.appId}`;
|
|
6208
|
+
const raw = app.code !== "" ? app.code : app.name !== "" ? app.name : `app-${app.appId}`;
|
|
6209
6209
|
return AppName.create(sanitizeForFileSystem(raw));
|
|
6210
6210
|
}
|
|
6211
6211
|
|