Commit from GitHub Actions (Publish APIs & Clients)

This commit is contained in:
asim
2021-10-26 16:43:07 +00:00
parent e64ec1ac1c
commit 39482a95b1
4 changed files with 4 additions and 6 deletions

View File

@@ -107,12 +107,10 @@ type DescribeRequest struct {
type DescribeResponse struct {
// The function requested
Function *Func `json:"function"`
// The last known status of the function
Status string `json:"status"`
// The timeout for requests to the function
Timeout string `json:"timeout"`
// The time at which the function was updated
UpdateTime string `json:"updateTime"`
UpdatedAt string `json:"updatedAt"`
}
type Func struct {

View File

@@ -76,5 +76,5 @@
"prepare": "npm run build"
},
"types": "index.d.ts",
"version": "1.0.570"
"version": "1.0.571"
}

View File

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

View File

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