refactor(api)!: align client with canonical HTTP contract
Route all feature requests through business API modules, sync generated DTOs, and add communication tests and architecture documentation. BREAKING CHANGE: migrate the client to plural resource paths, canonical snake_case fields, ISO timestamps, and explicit paginated responses.
This commit is contained in:
@@ -13,7 +13,7 @@ import ContributionHeatmap from '@/features/profile/components/ContributionHeatm
|
||||
import { useAuthStore } from '@/features/auth/stores/auth'
|
||||
import { useCloudsStore } from '@/features/clouds/stores/clouds'
|
||||
import { useProfileStore, type ProfileCloudItem } from '@/features/profile/stores/profile'
|
||||
import type { Profile } from '@/types/database'
|
||||
import type { Profile } from '@/types/models'
|
||||
|
||||
interface TimelineGroup {
|
||||
key: string
|
||||
@@ -325,7 +325,7 @@ async function submitEditModal(value: CloudEditFormValue) {
|
||||
viewedIdentifier.value,
|
||||
selectedCloud.value.id,
|
||||
{
|
||||
type_id: value.cloudCategoryId,
|
||||
cloud_type_id: value.cloudCategoryId,
|
||||
latitude: blurCoordinate(value.latitude as number),
|
||||
longitude: blurCoordinate(value.longitude as number),
|
||||
description: value.description.trim(),
|
||||
|
||||
Reference in New Issue
Block a user