You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2020/03/11 02:38:53 UTC

[openwhisk-client-js] branch master updated: Add field 'rules' in Trigger interface (#203)

This is an automated email from the ASF dual-hosted git repository.

rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-client-js.git


The following commit(s) were added to refs/heads/master by this push:
     new 7c33707  Add field 'rules' in Trigger interface (#203)
7c33707 is described below

commit 7c337078b9920acef40dc1969dfbc65d1ee71b0a
Author: Jeongmin Yu <ma...@gmail.com>
AuthorDate: Wed Mar 11 11:38:46 2020 +0900

    Add field 'rules' in Trigger interface (#203)
---
 lib/main.d.ts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/main.d.ts b/lib/main.d.ts
index a7df27e..cb13f36 100644
--- a/lib/main.d.ts
+++ b/lib/main.d.ts
@@ -225,6 +225,12 @@ declare namespace openwhisk {
     interface Trigger extends TriggerDesc {
         parameters?: KeyVal[];
         limits?: any;
+        rules?: {
+            [key: string]: {
+                action: PathName;
+                status: Status;
+            }
+        }
     }
 
     interface Route {