forked from GoogleCloudPlatform/rad-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirestore-schema.json
30 lines (30 loc) · 1.12 KB
/
firestore-schema.json
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
{
"modules": [
{
"name": "string",
"createdAt": "FirestoreTimestamp",
"publishedByEmail": "string",
"variables": {
"#comment": "group=0 (admin-only) variables set at publish time",
"admin-module-variable-name1": "admin-module-variable-value1",
"admin-module-variable-name2": "admin-module-variable-value2"
}
}
],
"settings": {
"admin-variable-name1": "admin-variable-value1",
"admin-variable-name2": "admin-variable-value2"
},
"deployments": {
"createdAt": "FirestoreTimestamp",
"deploymentId": "string",
"deployedByEmail": "string",
"module": "string",
"projectId": "string",
"variables": {
"user-variable-name1": "user-variable-value1",
"user-variable-name2": "user-variable-value2"
}
},
"#comment": "At deploy time, merge (in priority order) user vars, module vars, global vars and send the combined to PubSub and save in Deployment collection. User provided variables should override module variables if they share the same key. Module variables should override global admin variables if they share the same key"
}