Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-09-17 10:47:33 +00:00
parent bfd07d7f4b
commit dc37dac3d9
4 changed files with 4 additions and 4 deletions

View File

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

View File

@@ -57,5 +57,5 @@
}, },
"type": "module", "type": "module",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"version": "1.0.512" "version": "1.0.513"
} }

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

View File

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