@causa/workspace-google 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/configurations/generated.d.ts +594 -425
- package/dist/configurations/generated.js +1097 -751
- package/dist/configurations/schemas/events.yaml +2 -0
- package/dist/configurations/schemas/infrastructure.yaml +9 -1
- package/dist/configurations/schemas/secrets.yaml +8 -1
- package/dist/configurations/schemas/serverless-functions.yaml +2 -0
- package/dist/configurations/schemas/service-container.yaml +6 -1
- package/dist/functions/google-firestore/generate-typescript-decorators.js +16 -6
- package/dist/functions/google-spanner/generate-typescript-decorators.js +4 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -130,7 +130,8 @@ additionalProperties: false
|
|
|
130
130
|
causa:
|
|
131
131
|
# This must be set for the decorators to be added to the class.
|
|
132
132
|
googleFirestoreCollection:
|
|
133
|
-
#
|
|
133
|
+
# Optional, the name of the Firestore collection.
|
|
134
|
+
# If not set, the `name` is omitted from the decorator options.
|
|
134
135
|
name: myCollection
|
|
135
136
|
# Mandatory, determines how to create the path for a document.
|
|
136
137
|
path: [property: id]
|
|
@@ -166,6 +167,8 @@ model:
|
|
|
166
167
|
# Same as Spanner globs.
|
|
167
168
|
globs:
|
|
168
169
|
- ../firestore/*.yaml
|
|
170
|
+
# Optional, generates the document path as an array of segments instead of a slash-joined string.
|
|
171
|
+
pathAsArray: true
|
|
169
172
|
```
|
|
170
173
|
|
|
171
174
|
## 🔨 Custom `google` commands
|