Skip to content

Commit

Permalink
fix(delete-user-data): update regex for delete-user-data (#1816)
Browse files Browse the repository at this point in the history
  • Loading branch information
cabljac authored Jan 11, 2024
1 parent 2ffae36 commit eb9ffac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions delete-user-data/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Version 0.1.20

fix - update regex for RTDB instance param

## Version 0.1.19

chore(delete-user-data): remove firebase-tools dependency
Expand Down
2 changes: 1 addition & 1 deletion delete-user-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ For example, if you have the collections `users` and `admins`, and each collecti

* Cloud Firestore delete mode: (Only applicable if you use the `Cloud Firestore paths` parameter.) How do you want to delete Cloud Firestore documents? To also delete documents in subcollections, set this parameter to `recursive`.

* Realtime Database instance: From which Realtime Database instance do you want to delete data keyed on a user ID?
* Realtime Database instance: What is the ID of the Realtime Database instance from which you want to delete user data (keyed on user ID)?


* Realtime Database location: (Only applicable if you provided the `Realtime Database instance` parameter.) From which Realtime Database location do you want to delete data keyed on a user ID?
Expand Down
8 changes: 4 additions & 4 deletions delete-user-data/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

name: delete-user-data
version: 0.1.19
version: 0.1.20
specVersion: v1beta

displayName: Delete User Data
Expand Down Expand Up @@ -116,11 +116,11 @@ params:
- param: SELECTED_DATABASE_INSTANCE
label: Realtime Database instance
description: >
From which Realtime Database instance do you want to delete data keyed on a user ID?
What is the ID of the Realtime Database instance from which you want to delete user data (keyed on user ID)?
type: string
example: my-instance
validationRegex: ^([0-9a-z_.-]*)$
validationErrorMessage: Invalid database instance
validationRegex: ^[^\.\$\#\]\[\/\x00-\x1F\x7F]+$
validationErrorMessage: Invalid database instance. Make sure that you have entered just the instance ID, and not the entire database URL.
required: false

- param: SELECTED_DATABASE_LOCATION
Expand Down

0 comments on commit eb9ffac

Please sign in to comment.