refactor: Update Location import paths for consistency across routes

Former-commit-id: b5286cd0182a34d6842a4beb2bc4c1d374faf3de [formerly b0726525061d4aaed9df78eedaad8419aa3a2c5e] [formerly 6b340de48cc3182342576dab112680a7a40a7a56 [formerly 3dfbc7e6860c7d89f8b0ea3d71a13caba0dabc40]]
Former-commit-id: dee006c248328cab5951f1add2123880d6ca8c64 [formerly 2ca954406f9684742efdf05bd72c339c3935378a]
Former-commit-id: 9f052ea35f57e9f94eb224ad9f09d3963f18110f
This commit is contained in:
Melvin Chia
2025-08-15 23:12:54 +08:00
parent 91a55bb2b1
commit 94b60cf3ec
4 changed files with 5 additions and 5 deletions

View File

@@ -3,8 +3,8 @@ import { fetchAI } from '@functions/external/ai'
import searchLocations from '@functions/external/location'
import { forgeController, forgeRouter } from '@functions/routes'
import { ClientError } from '@functions/routes/utils/response'
import { Location } from '@lib/locations/typescript/location.types'
import { singleUploadMiddleware } from '@middlewares/uploadMiddleware'
import { Location } from '@typescript/location.types'
import fs from 'fs'
import moment from 'moment'
import { z } from 'zod/v4'

View File

@@ -1,6 +1,6 @@
import { forgeController, forgeRouter } from '@functions/routes'
import { Location } from '@lib/locations/typescript/location.types'
import { SCHEMAS } from '@schema'
import { Location } from '@typescript/location.types'
import { z } from 'zod/v4'
const update = forgeController.mutation

View File

@@ -1,7 +1,7 @@
import { SchemaWithPB } from '@functions/database/PBService/typescript/pb_service'
import { forgeController, forgeRouter } from '@functions/routes'
import { Location } from '@lib/locations/typescript/location.types'
import COLLECTION_SCHEMAS from '@schema'
import { Location } from '@typescript/location.types'
import { z } from 'zod/v4'
const list = forgeController.query

View File

@@ -1,7 +1,7 @@
import parseOCR from '@functions/external/ocr'
import { forgeController, forgeRouter } from '@functions/routes'
import { Location } from '@lib/locations/typescript/location.types'
import { SCHEMAS } from '@schema'
import { Location } from '@typescript/location.types'
import fs from 'fs'
import z from 'zod/v4'
@@ -88,7 +88,7 @@ const CreateTransactionInputSchema = SCHEMAS.wallet.transactions
type: z.literal('transfer')
})
])
)
)
const create = forgeController.mutation
.description('Create a new wallet transaction')