-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
28 lines (23 loc) · 672 Bytes
/
index.js
File metadata and controls
28 lines (23 loc) · 672 Bytes
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
var Resource = require('deployd/lib/resource'),
util = require('util'),
path = require('path');
function FCM(name, options) {
Resource.apply(this, arguments);
}
util.inherits(FCM, Resource);
FCM.prototype.clientGeneration = true;
FCM.basicDashboard = {
settings: [
{
name : 'serverKey',
type : 'text',
description : 'Make sure this is the server key, whose value is available in your Firebase project console under Project Settings > Cloud Messaging. Android, iOS, and browser keys are rejected by FCM.'
}]
};
FCM.dashboard = {
path: __dirname
, pages: ['Config', 'Push']
, scripts: [
]
}
module.exports = FCM;