Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
domwong
2021-09-20 10:26:15 +00:00
parent dd2f975bae
commit d7670e522c
3 changed files with 6 additions and 6 deletions

View File

@@ -87,7 +87,7 @@ type Result struct {
// The associated arabic text // The associated arabic text
Text string `json:"text"` Text string `json:"text"`
// The related translations to the text // The related translations to the text
Translations []Interpretation `json:"translations"` Translations []Translation `json:"translations"`
// The unique verse id across the Quran // The unique verse id across the Quran
VerseId int32 `json:"verseId"` VerseId int32 `json:"verseId"`
// The verse key e.g 1:1 // The verse key e.g 1:1
@@ -149,7 +149,7 @@ type Verse struct {
// The unique id of the verse in the whole book // The unique id of the verse in the whole book
Id int32 `json:"id"` Id int32 `json:"id"`
// The interpretations of the verse // The interpretations of the verse
Interpretations []Interpretation `json:"interpretations"` Interpretations []Translation `json:"interpretations"`
// The key of this verse (chapter:verse) e.g 1:1 // The key of this verse (chapter:verse) e.g 1:1
Key string `json:"key"` Key string `json:"key"`
// The verse number in this chapter // The verse number in this chapter
@@ -161,7 +161,7 @@ type Verse struct {
// The basic translation of the verse // The basic translation of the verse
TranslatedText string `json:"translatedText"` TranslatedText string `json:"translatedText"`
// The alternative translations for the verse // The alternative translations for the verse
Translations []Interpretation `json:"translations"` Translations []Translation `json:"translations"`
// The phonetic transliteration from arabic // The phonetic transliteration from arabic
Transliteration string `json:"transliteration"` Transliteration string `json:"transliteration"`
// The individual words within the verse (Ayah) // The individual words within the verse (Ayah)

View File

@@ -58,5 +58,5 @@
}, },
"type": "module", "type": "module",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"version": "1.0.515" "version": "1.0.516"
} }

View File

@@ -149,7 +149,7 @@ export interface Verse {
// The unique id of the verse in the whole book // The unique id of the verse in the whole book
id?: number; id?: number;
// The interpretations of the verse // The interpretations of the verse
interpretations?: Interpretation[]; interpretations?: Translation[];
// The key of this verse (chapter:verse) e.g 1:1 // The key of this verse (chapter:verse) e.g 1:1
key?: string; key?: string;
// The verse number in this chapter // The verse number in this chapter
@@ -161,7 +161,7 @@ export interface Verse {
// The basic translation of the verse // The basic translation of the verse
translatedText?: string; translatedText?: string;
// The alternative translations for the verse // The alternative translations for the verse
translations?: Interpretation[]; translations?: Translation[];
// The phonetic transliteration from arabic // The phonetic transliteration from arabic
transliteration?: string; transliteration?: string;
// The individual words within the verse (Ayah) // The individual words within the verse (Ayah)