migrate setting.js and logger.js to ts

This commit is contained in:
MaysWind
2025-01-04 23:42:10 +08:00
parent a9e50d29d3
commit a46399cbaf
34 changed files with 375 additions and 361 deletions
@@ -60,7 +60,7 @@ import { useTransactionsStore } from '@/stores/transaction.js';
import { AmountFilterType } from '@/core/numeral.ts';
import { TRANSACTION_MIN_AMOUNT, TRANSACTION_MAX_AMOUNT } from '@/consts/transaction.ts';
import { isString } from '@/lib/common.ts';
import logger from '@/lib/logger.js';
import logger from '@/lib/logger.ts';
export default {
props: [
+1 -1
View File
@@ -445,7 +445,7 @@ import { TemplateType, ScheduledTemplateFrequencyType } from '@/core/template.ts
import { TRANSACTION_MIN_AMOUNT, TRANSACTION_MAX_AMOUNT, TRANSACTION_MAX_PICTURE_COUNT } from '@/consts/transaction.ts';
import { KnownErrorCode } from '@/consts/api.ts';
import { SUPPORTED_IMAGE_EXTENSIONS } from '@/consts/file.ts';
import logger from '@/lib/logger.js';
import logger from '@/lib/logger.ts';
import {
isArray,
getNameByKeyValue