From d7670e522c44eea4805f8cd5630616413ea05289 Mon Sep 17 00:00:00 2001 From: domwong Date: Mon, 20 Sep 2021 10:26:15 +0000 Subject: [PATCH] Commit from GitHub Actions (Publish APIs & Clients) --- clients/go/quran/quran.go | 6 +++--- clients/ts/package.json | 2 +- clients/ts/quran/index.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/clients/go/quran/quran.go b/clients/go/quran/quran.go index ea515f2..a3f3428 100755 --- a/clients/go/quran/quran.go +++ b/clients/go/quran/quran.go @@ -87,7 +87,7 @@ type Result struct { // The associated arabic text Text string `json:"text"` // The related translations to the text - Translations []Interpretation `json:"translations"` + Translations []Translation `json:"translations"` // The unique verse id across the Quran VerseId int32 `json:"verseId"` // The verse key e.g 1:1 @@ -149,7 +149,7 @@ type Verse struct { // The unique id of the verse in the whole book Id int32 `json:"id"` // The interpretations of the verse - Interpretations []Interpretation `json:"interpretations"` + Interpretations []Translation `json:"interpretations"` // The key of this verse (chapter:verse) e.g 1:1 Key string `json:"key"` // The verse number in this chapter @@ -161,7 +161,7 @@ type Verse struct { // The basic translation of the verse TranslatedText string `json:"translatedText"` // The alternative translations for the verse - Translations []Interpretation `json:"translations"` + Translations []Translation `json:"translations"` // The phonetic transliteration from arabic Transliteration string `json:"transliteration"` // The individual words within the verse (Ayah) diff --git a/clients/ts/package.json b/clients/ts/package.json index 960db9d..b83c15c 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -58,5 +58,5 @@ }, "type": "module", "types": "dist/index.d.ts", - "version": "1.0.515" + "version": "1.0.516" } \ No newline at end of file diff --git a/clients/ts/quran/index.ts b/clients/ts/quran/index.ts index f903ecc..73a2c78 100755 --- a/clients/ts/quran/index.ts +++ b/clients/ts/quran/index.ts @@ -149,7 +149,7 @@ export interface Verse { // The unique id of the verse in the whole book id?: number; // The interpretations of the verse - interpretations?: Interpretation[]; + interpretations?: Translation[]; // The key of this verse (chapter:verse) e.g 1:1 key?: string; // The verse number in this chapter @@ -161,7 +161,7 @@ export interface Verse { // The basic translation of the verse translatedText?: string; // The alternative translations for the verse - translations?: Interpretation[]; + translations?: Translation[]; // The phonetic transliteration from arabic transliteration?: string; // The individual words within the verse (Ayah)