From 209283bcb7e4a0613f80146b1d30def0f8bad401 Mon Sep 17 00:00:00 2001 From: domwong Date: Tue, 21 Sep 2021 18:05:09 +0000 Subject: [PATCH] Commit from GitHub Actions (Publish APIs & Clients) --- clients/go/quran/quran.go | 2 +- clients/ts/package.json | 2 +- clients/ts/quran/index.ts | 2 +- examples/db/create/go/createARecord.go | 2 +- examples/stream/publish/go/publishAMessage.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/go/quran/quran.go b/clients/go/quran/quran.go index 3641c13..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 diff --git a/clients/ts/package.json b/clients/ts/package.json index 0c49311..12517e5 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -60,5 +60,5 @@ }, "type": "module", "types": "dist/index.d.ts", - "version": "1.0.522" + "version": "1.0.523" } \ No newline at end of file diff --git a/clients/ts/quran/index.ts b/clients/ts/quran/index.ts index 73a2c78..0371e68 100755 --- a/clients/ts/quran/index.ts +++ b/clients/ts/quran/index.ts @@ -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 diff --git a/examples/db/create/go/createARecord.go b/examples/db/create/go/createARecord.go index ed2b1c4..c582849 100755 --- a/examples/db/create/go/createARecord.go +++ b/examples/db/create/go/createARecord.go @@ -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", }) diff --git a/examples/stream/publish/go/publishAMessage.go b/examples/stream/publish/go/publishAMessage.go index af88ee1..f7db1b0 100755 --- a/examples/stream/publish/go/publishAMessage.go +++ b/examples/stream/publish/go/publishAMessage.go @@ -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", })