sozsoft-platform/ui/src/services/releaseNote.service.ts
2026-08-13 00:52:49 +03:00

25 lines
702 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import apiService from '@/services/api.service'
/** `Sas_H_ReleaseNote` kaydı; git tag'lerinden tohumlanır. */
export interface ReleaseNoteDto {
id: string
version: string
releaseDate: string
changeLog: string[]
}
class ReleaseNoteService {
/**
* ChangeLog ekranının kaynağı. Uygulamanın çalışan sürüm numarası
* application-configuration ile geldiği için burada yalnızca tam liste alınır.
*/
async getList(): Promise<ReleaseNoteDto[]> {
const response = await apiService.fetchData<ReleaseNoteDto[]>({
url: '/api/app/release-note',
method: 'GET',
})
return response.data
}
}
export const releaseNoteService = new ReleaseNoteService()