style: format web apps with prettier and sort imports
Apply repo-wide Prettier/lint normalization across admin-web, desktop-client and ops-web: single quotes, no semicolons, trailing commas, consistent line wrapping, and import ordering. Also drop an unused brand-logo import in DesktopShell.vue. No behavior changes — formatting only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -77,8 +77,14 @@ export const opsMediaSupplyApi = {
|
||||
params as Record<string, unknown>,
|
||||
)
|
||||
},
|
||||
setPrice(id: number, payload: { price_type?: string; sell_price_cents: number; enabled?: boolean }) {
|
||||
return http.put<{ updated: boolean }, typeof payload>(`/media-supply/resources/${id}/price`, payload)
|
||||
setPrice(
|
||||
id: number,
|
||||
payload: { price_type?: string; sell_price_cents: number; enabled?: boolean },
|
||||
) {
|
||||
return http.put<{ updated: boolean }, typeof payload>(
|
||||
`/media-supply/resources/${id}/price`,
|
||||
payload,
|
||||
)
|
||||
},
|
||||
setVisibility(id: number, customerVisible: boolean) {
|
||||
return http.put<{ updated: boolean }, { customer_visible: boolean }>(
|
||||
@@ -101,7 +107,15 @@ export const opsMediaSupplyApi = {
|
||||
params as Record<string, unknown>,
|
||||
)
|
||||
},
|
||||
adjustWallet(payload: { tenant_id: number; user_id: number; delta_cents: number; note?: string }) {
|
||||
return http.post<OpsMediaSupplyWallet, typeof payload>('/media-supply/wallets/adjustments', payload)
|
||||
adjustWallet(payload: {
|
||||
tenant_id: number
|
||||
user_id: number
|
||||
delta_cents: number
|
||||
note?: string
|
||||
}) {
|
||||
return http.post<OpsMediaSupplyWallet, typeof payload>(
|
||||
'/media-supply/wallets/adjustments',
|
||||
payload,
|
||||
)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user