File tree Expand file tree Collapse file tree 3 files changed +81
-1
lines changed Expand file tree Collapse file tree 3 files changed +81
-1
lines changed Original file line number Diff line number Diff line change 11{
22  "name" : " @pipedream/slack" 
3-   "version" : " 0.7.1 " 
3+   "version" : " 0.8.0 " 
44  "description" : " Pipedream Slack Components" 
55  "main" : " slack.app.mjs" 
66  "keywords" : [
Original file line number Diff line number Diff line change 1+ import  common  from  "../common/base.mjs" ; 
2+ import  sampleEmit  from  "./test-event.mjs" ; 
3+ 
4+ export  default  { 
5+   ...common , 
6+   key : "slack-new-user-added" , 
7+   name : "New User Added (Instant)" , 
8+   version : "0.0.1" , 
9+   description : "Emit new event when a new member joins a workspace." , 
10+   type : "source" , 
11+   dedupe : "unique" , 
12+   props : { 
13+     ...common . props , 
14+     // eslint-disable-next-line pipedream/props-description,pipedream/props-label 
15+     slackApphook : { 
16+       type : "$.interface.apphook" , 
17+       appProp : "slack" , 
18+       async  eventNames ( )  { 
19+         return  [ 
20+           "team_join" , 
21+         ] ; 
22+       } , 
23+     } , 
24+   } , 
25+   methods : { 
26+     ...common . methods , 
27+     getSummary ( {  user : {  name }  } )  { 
28+       return  `New User: ${ name }  ; 
29+     } , 
30+   } , 
31+   sampleEmit, 
32+ } ; 
Original file line number Diff line number Diff line change 1+ export  default  { 
2+   "type" : "team_join" , 
3+   "user" : { 
4+     "id" : "U080GULP8SD" , 
5+     "team_id" : "TS8319547" , 
6+     "name" : "" , 
7+     "deleted" : false , 
8+     "color" : "9b3b45" , 
9+     "real_name" : "" , 
10+     "tz" : "America/New_York" , 
11+     "tz_label" : "Eastern Standard Time" , 
12+     "tz_offset" : - 18000 , 
13+     "profile" : { 
14+       "title" : "" , 
15+       "phone" : "" , 
16+       "skype" : "" , 
17+       "real_name" : "" , 
18+       "real_name_normalized" : "" , 
19+       "display_name" : "" , 
20+       "display_name_normalized" : "" , 
21+       "fields" : { } , 
22+       "status_text" : "" , 
23+       "status_emoji" : "" , 
24+       "status_emoji_display_info" : [ ] , 
25+       "status_expiration" : 0 , 
26+       "avatar_hash" : "g96b6e8b38c2" , 
27+       "email" : "" , 
28+       "first_name" : "" , 
29+       "last_name" : "" , 
30+       "status_text_canonical" : "" , 
31+       "team" : "TS8319547" 
32+     } , 
33+     "is_admin" : false , 
34+     "is_owner" : false , 
35+     "is_primary_owner" : false , 
36+     "is_restricted" : false , 
37+     "is_ultra_restricted" : false , 
38+     "is_bot" : false , 
39+     "is_app_user" : false , 
40+     "updated" : 1731094476 , 
41+     "is_email_confirmed" : true , 
42+     "who_can_share_contact_card" : "EVERYONE" , 
43+     "presence" : "away" 
44+   } , 
45+   "cache_ts" : 1731094476 , 
46+   "event_ts" : "1731094477.001400" , 
47+   "pipedream_msg_id" : "pd_1731094479305_v1ic236by8" 
48+ } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments