-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.yaml
70 lines (67 loc) · 2 KB
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
meta:
name: 'Pusher'
version: '${plugin.version}'
author: 'zenmagick.org'
description: 'Adds pusher support to the site.'
context: storefront
options:
properties:
appId:
title: 'App Id'
description: 'App Id'
type: text
appKey:
title: 'App Key'
description: 'Your Application Key'
type: text
appSecret:
title: 'App Secret'
description: 'Your Application Secret'
type: text
pusherVersion:
title: 'Pusher Version'
description: 'Pusher API Version'
type: text
config:
default: '1.12'
# block of activity stream
activityStream:
title: 'Activity Stream'
description: 'Container (ul) id for activity stream (leave emtpy to disable)'
type: text
config:
default: site_activity_stream
channel:
title: 'Channel'
description: 'The channel to subscribe to'
type: text
config:
default: test_channel
events:
title: 'Events'
description: 'The subscribed events (comma separated)'
type: text
config:
default: my_event
eventHandler:
title: 'Event Handler'
description: 'JavaScript event handler'
type: text
config:
default: 'PusherActivityStreamer.defaultActivityHandler'
maxItems:
title: 'Max items'
description: 'Maximum number of items to display'
type: text
config:
default: 10
storefront:
settings:
zenmagick:
base:
events:
listeners:
- ZenMagick\plugins\pusher\PusherEventPusher
autoload:
psr-0:
Pusher: vendor