Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(delete-user-data): update regex for delete-user-data #1816

Merged
merged 3 commits into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading