-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathextension.yaml
More file actions
45 lines (38 loc) · 1.58 KB
/
extension.yaml
File metadata and controls
45 lines (38 loc) · 1.58 KB
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
# Learn detailed information about the fields of an extension.yaml file in the docs:
# https://firebase.google.com/docs/extensions/reference/extension-yaml
name: pingbell-ext
version: 1.0.0
specVersion: v1beta
displayName: PingBell
description: >-
Automatically sends notifications when a new user profile is created
author:
authorName: "PingBell Team"
url: "https://pingbell.io/"
license: Apache-2.0
sourceUrl: https://github.com/PingBell-io/firebase-ext
billingRequired: true
# In an `apis` field, list any Google APIs (like Cloud Translation, BigQuery, etc.)
# required for your extension to operate.
# Learn more in the docs:
# https://firebase.google.com/docs/extensions/reference/extension-yaml#apis-field
# In a `roles` field, list any IAM access roles required for your extension to operate.
# Learn more in the docs:
# https://firebase.google.com/docs/extensions/reference/extension-yaml#roles-field
# In the `resources` field, list each of your extension's functions, including the trigger for each function.
# Learn more in the docs:
# https://firebase.google.com/docs/extensions/reference/extension-yaml#resources-field
resources:
- name: onUserPingbellCall
type: firebaseextensions.v1beta.function
description: "Triggers when a new user is created in Firebase Authentication"
properties:
eventTrigger:
eventType: providers/firebase.auth/eventTypes/user.create
resource: projects/${PROJECT_ID}
runtime: "nodejs22"
params:
- param: PINGBELL_WEBHOOK_URL
label: "PingBell Webhook URL"
description: "PingBell Webhook URL"
required: true