Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
domwong
2021-09-21 18:05:09 +00:00
parent 9f9158ed1f
commit 209283bcb7
5 changed files with 5 additions and 5 deletions

View File

@@ -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

View File

@@ -60,5 +60,5 @@
},
"type": "module",
"types": "dist/index.d.ts",
"version": "1.0.522"
"version": "1.0.523"
}

View File

@@ -87,7 +87,7 @@ export interface Result {
// The associated arabic text
text?: string;
// The related translations to the text
translations?: Interpretation[];
translations?: Translation[];
// The unique verse id across the Quran
verseId?: number;
// The verse key e.g 1:1

View File

@@ -11,10 +11,10 @@ func CreateArecord() {
dbService := db.NewDbService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := dbService.Create(&db.CreateRequest{
Record: map[string]interface{}{
"id": "1",
"name": "Jane",
"age": 42,
"isActive": true,
"id": "1",
},
Table: "users",
})

View File

@@ -11,9 +11,9 @@ func PublishAmessage() {
streamService := stream.NewStreamService(os.Getenv("MICRO_API_TOKEN"))
rsp, err := streamService.Publish(&stream.PublishRequest{
Message: map[string]interface{}{
"id": "1",
"type": "signup",
"user": "john",
"id": "1",
},
Topic: "events",
})