From 26e3db90b4d78681050f0b8ae2ff8141836ad817 Mon Sep 17 00:00:00 2001 From: Kevin Cheung Date: Wed, 28 Jul 2021 16:36:42 -0700 Subject: [PATCH] Say how to generate separated snippets --- scripts/separate-snippets.ts | 3 ++- .../analytics-next/ecommerce/analytics_ecommerce_add_cart.js | 3 ++- .../analytics-next/ecommerce/analytics_ecommerce_checkout.js | 3 ++- snippets/analytics-next/ecommerce/analytics_ecommerce_items.js | 3 ++- .../ecommerce/analytics_ecommerce_payment_info.js | 3 ++- .../analytics-next/ecommerce/analytics_ecommerce_promotions.js | 3 ++- .../analytics-next/ecommerce/analytics_ecommerce_purchase.js | 3 ++- .../analytics-next/ecommerce/analytics_ecommerce_refund.js | 3 ++- .../ecommerce/analytics_ecommerce_remove_cart.js | 3 ++- .../ecommerce/analytics_ecommerce_select_item.js | 3 ++- .../ecommerce/analytics_ecommerce_shipping_info.js | 3 ++- .../analytics-next/ecommerce/analytics_ecommerce_view_cart.js | 3 ++- .../ecommerce/analytics_ecommerce_view_item_details.js | 3 ++- .../ecommerce/analytics_ecommerce_view_item_list.js | 3 ++- snippets/analytics-next/index/analytics_initialize.js | 3 ++- snippets/analytics-next/index/analytics_log_event.js | 3 ++- .../analytics-next/index/analytics_log_event_custom_params.js | 3 ++- snippets/analytics-next/index/analytics_log_event_params.js | 3 ++- snippets/analytics-next/index/analytics_set_user_properties.js | 3 ++- snippets/appcheck-next/index/appcheck_custom_provider.js | 3 ++- snippets/appcheck-next/index/appcheck_initialize.js | 3 ++- .../appcheck-next/index/appcheck_initialize_custom_provider.js | 3 ++- snippets/appcheck-next/index/appcheck_nonfirebase.js | 3 ++- snippets/auth-next/anonymous/auth_anon_sign_in.js | 3 ++- snippets/auth-next/apple/auth_apple_link_facebook.js | 3 ++- snippets/auth-next/apple/auth_apple_nonce_node.js | 3 ++- snippets/auth-next/apple/auth_apple_provider_create.js | 3 ++- snippets/auth-next/apple/auth_apple_provider_params.js | 3 ++- snippets/auth-next/apple/auth_apple_provider_scopes.js | 3 ++- snippets/auth-next/apple/auth_apple_reauthenticate_popup.js | 3 ++- snippets/auth-next/apple/auth_apple_signin_nonce.js | 3 ++- snippets/auth-next/apple/auth_apple_signin_popup.js | 3 ++- snippets/auth-next/apple/auth_apple_signin_redirect.js | 3 ++- snippets/auth-next/apple/auth_apple_signin_redirect_result.js | 3 ++- .../auth-state-persistence/auth_set_persistence_none.js | 3 ++- .../auth-state-persistence/auth_set_persistence_session.js | 3 ++- snippets/auth-next/cordova/auth_cordova_redirect_result.js | 3 ++- snippets/auth-next/cordova/auth_cordova_sign_in_redirect.js | 3 ++- snippets/auth-next/cordova/auth_create_google_provider.js | 3 ++- .../custom-email-handler/auth_handle_mgmt_query_params.js | 3 ++- .../custom-email-handler/auth_handle_recover_email.js | 3 ++- .../custom-email-handler/auth_handle_reset_password.js | 3 ++- .../auth-next/custom-email-handler/auth_handle_verify_email.js | 3 ++- snippets/auth-next/custom/auth_sign_in_custom.js | 3 ++- .../email-link-auth/auth_email_link_actioncode_settings.js | 3 ++- snippets/auth-next/email-link-auth/auth_email_link_link.js | 3 ++- snippets/auth-next/email-link-auth/auth_email_link_reauth.js | 3 ++- snippets/auth-next/email-link-auth/auth_email_link_send.js | 3 ++- snippets/auth-next/email-link-auth/email_link_complete.js | 3 ++- snippets/auth-next/email-link-auth/email_link_diferentiate.js | 3 ++- snippets/auth-next/email/auth_send_email_verification.js | 3 ++- snippets/auth-next/email/auth_send_password_reset.js | 3 ++- snippets/auth-next/email/auth_signin_password.js | 3 ++- snippets/auth-next/email/auth_signup_password.js | 3 ++- snippets/auth-next/emulator-suite/auth_emulator_connect.js | 3 ++- snippets/auth-next/facebook/auth_facebook_callback.js | 3 ++- snippets/auth-next/facebook/auth_facebook_checksameuser.js | 3 ++- snippets/auth-next/facebook/auth_facebook_provider_create.js | 3 ++- snippets/auth-next/facebook/auth_facebook_provider_params.js | 3 ++- snippets/auth-next/facebook/auth_facebook_provider_scopes.js | 3 ++- snippets/auth-next/facebook/auth_facebook_signin_credential.js | 3 ++- snippets/auth-next/facebook/auth_facebook_signin_popup.js | 3 ++- .../auth-next/facebook/auth_facebook_signin_redirect_result.js | 3 ++- snippets/auth-next/github/auth_github_provider_create.js | 3 ++- snippets/auth-next/github/auth_github_provider_credential.js | 3 ++- snippets/auth-next/github/auth_github_provider_params.js | 3 ++- snippets/auth-next/github/auth_github_provider_scopes.js | 3 ++- snippets/auth-next/github/auth_github_signin_popup.js | 3 ++- .../auth-next/github/auth_github_signin_redirect_result.js | 3 ++- snippets/auth-next/google-signin/auth_google_build_signin.js | 3 ++- snippets/auth-next/google-signin/auth_google_callback.js | 3 ++- snippets/auth-next/google-signin/auth_google_checksameuser.js | 3 ++- .../auth-next/google-signin/auth_google_provider_create.js | 3 ++- .../auth-next/google-signin/auth_google_provider_params.js | 3 ++- .../auth-next/google-signin/auth_google_provider_scopes.js | 3 ++- .../auth-next/google-signin/auth_google_signin_credential.js | 3 ++- snippets/auth-next/google-signin/auth_google_signin_popup.js | 3 ++- .../google-signin/auth_google_signin_redirect_result.js | 3 ++- snippets/auth-next/index/auth_current_user.js | 3 ++- snippets/auth-next/index/auth_make_email_credential.js | 3 ++- snippets/auth-next/index/auth_make_facebook_credential.js | 3 ++- snippets/auth-next/index/auth_make_google_credential.js | 3 ++- snippets/auth-next/index/auth_set_language_code.js | 3 ++- snippets/auth-next/index/auth_sign_out.js | 3 ++- snippets/auth-next/index/auth_signin_credential.js | 3 ++- snippets/auth-next/index/auth_signin_redirect.js | 3 ++- snippets/auth-next/index/auth_state_listener.js | 3 ++- .../auth-next/link-multiple-accounts/auth_anonymous_link.js | 3 ++- .../auth-next/link-multiple-accounts/auth_get_providers.js | 3 ++- .../link-multiple-accounts/auth_get_redirect_result.js | 3 ++- .../auth-next/link-multiple-accounts/auth_link_with_popup.js | 3 ++- .../link-multiple-accounts/auth_link_with_redirect.js | 3 ++- .../link-multiple-accounts/auth_make_email_credential.js | 3 ++- .../auth-next/link-multiple-accounts/auth_merge_accounts.js | 3 ++- snippets/auth-next/link-multiple-accounts/auth_simple_link.js | 3 ++- .../auth-next/link-multiple-accounts/auth_unlink_provider.js | 3 ++- snippets/auth-next/manage/auth_delete_user.js | 3 ++- snippets/auth-next/manage/auth_get_user_profile.js | 3 ++- snippets/auth-next/manage/auth_get_user_profile_provider.js | 3 ++- snippets/auth-next/manage/auth_reauth_with_credential.js | 3 ++- snippets/auth-next/manage/auth_send_password_reset.js | 3 ++- snippets/auth-next/manage/auth_update_password.js | 3 ++- snippets/auth-next/manage/auth_update_user_email.js | 3 ++- snippets/auth-next/manage/auth_update_user_profile.js | 3 ++- snippets/auth-next/manage/send_email_verification.js | 3 ++- .../auth-next/microsoft-oauth/auth_msft_create_provider.js | 3 ++- snippets/auth-next/microsoft-oauth/auth_msft_link_popup.js | 3 ++- .../auth-next/microsoft-oauth/auth_msft_provider_params.js | 3 ++- .../microsoft-oauth/auth_msft_provider_params_tenant.js | 3 ++- .../auth-next/microsoft-oauth/auth_msft_provider_scopes.js | 3 ++- snippets/auth-next/microsoft-oauth/auth_msft_reauth_popup.js | 3 ++- snippets/auth-next/microsoft-oauth/auth_msft_signin_popup.js | 3 ++- .../auth-next/microsoft-oauth/auth_msft_signin_redirect.js | 3 ++- .../microsoft-oauth/auth_msft_signin_redirect_result.js | 3 ++- snippets/auth-next/phone-auth/auth_get_recaptcha_response.js | 3 ++- snippets/auth-next/phone-auth/auth_phone_recaptcha_render.js | 3 ++- .../phone-auth/auth_phone_recaptcha_verifier_invisible.js | 3 ++- .../phone-auth/auth_phone_recaptcha_verifier_simple.js | 3 ++- .../phone-auth/auth_phone_recaptcha_verifier_visible.js | 3 ++- snippets/auth-next/phone-auth/auth_phone_signin.js | 3 ++- snippets/auth-next/phone-auth/auth_phone_verify_code.js | 3 ++- .../auth-next/service-worker-sessions/auth_svc_get_idtoken.js | 3 ++- .../auth-next/service-worker-sessions/auth_svc_intercept.js | 3 ++- .../service-worker-sessions/auth_svc_listen_activate.js | 3 ++- .../auth-next/service-worker-sessions/auth_svc_register.js | 3 ++- .../service-worker-sessions/auth_svc_sign_in_email.js | 3 ++- .../auth-next/service-worker-sessions/auth_svc_subscribe.js | 3 ++- snippets/auth-next/twitter/auth_twitter_provider_create.js | 3 ++- snippets/auth-next/twitter/auth_twitter_provider_params.js | 3 ++- snippets/auth-next/twitter/auth_twitter_signin_popup.js | 3 ++- .../auth-next/twitter/auth_twitter_signin_redirect_result.js | 3 ++- snippets/auth-next/yahoo-oauth/auth_yahoo_link_popup.js | 3 ++- snippets/auth-next/yahoo-oauth/auth_yahoo_provider_create.js | 3 ++- snippets/auth-next/yahoo-oauth/auth_yahoo_provider_params.js | 3 ++- snippets/auth-next/yahoo-oauth/auth_yahoo_provider_scopes.js | 3 ++- snippets/auth-next/yahoo-oauth/auth_yahoo_reauth_popup.js | 3 ++- snippets/auth-next/yahoo-oauth/auth_yahoo_signin_popup.js | 3 ++- snippets/auth-next/yahoo-oauth/auth_yahoo_signin_redirect.js | 3 ++- .../auth-next/yahoo-oauth/auth_yahoo_signin_redirect_result.js | 3 ++- snippets/database-next/emulator-suite/rtdb_emulator_connect.js | 3 ++- snippets/database-next/emulator-suite/rtdb_emulator_flush.js | 3 ++- snippets/database-next/index/rtdb_get_reference.js | 3 ++- .../database-next/lists-of-data/rtdb_social_listen_children.js | 3 ++- .../database-next/lists-of-data/rtdb_social_listen_value.js | 3 ++- .../database-next/lists-of-data/rtdb_social_most_starred.js | 3 ++- .../database-next/lists-of-data/rtdb_social_most_viewed.js | 3 ++- snippets/database-next/lists-of-data/rtdb_social_push.js | 3 ++- snippets/database-next/lists-of-data/rtdb_social_recent.js | 3 ++- snippets/database-next/offline/rtdb_detect_connection_state.js | 3 ++- snippets/database-next/offline/rtdb_estimate_clock_skew.js | 3 ++- snippets/database-next/offline/rtdb_ondisconnect_callback.js | 3 ++- snippets/database-next/offline/rtdb_ondisconnect_cancel.js | 3 ++- snippets/database-next/offline/rtdb_ondisconnect_simple.js | 3 ++- snippets/database-next/offline/rtdb_sample_presence_app.js | 3 ++- snippets/database-next/offline/rtdb_set_server_timestamp.js | 3 ++- snippets/database-next/read-and-write/rtdb_read_once_get.js | 3 ++- .../read-and-write/rtdb_social_completion_callback.js | 3 ++- .../read-and-write/rtdb_social_listen_star_count.js | 3 ++- .../read-and-write/rtdb_social_single_value_read.js | 3 ++- .../database-next/read-and-write/rtdb_social_star_increment.js | 3 ++- .../read-and-write/rtdb_social_star_transaction.js | 3 ++- .../database-next/read-and-write/rtdb_social_write_fan_out.js | 3 ++- snippets/database-next/read-and-write/rtdb_write_new_user.js | 3 ++- .../read-and-write/rtdb_write_new_user_completion.js | 3 ++- snippets/database-next/sharding/rtdb_multiple_instances.js | 3 ++- snippets/firebaseapp-next/firebaseapp/firebase_options.js | 3 ++- snippets/firebaseapp-next/firebaseapp/firebase_secondary.js | 3 ++- snippets/firestore-next/emulator-suite/fs_emulator_connect.js | 3 ++- snippets/firestore-next/test-firestore/add_ada_lovelace.js | 3 ++- snippets/firestore-next/test-firestore/add_alan_turing.js | 3 ++- snippets/firestore-next/test-firestore/add_document.js | 3 ++- .../firestore-next/test-firestore/add_rating_transaction.js | 3 ++- .../firestore-next/test-firestore/array_contains_any_filter.js | 3 ++- .../firestore-next/test-firestore/array_contains_filter.js | 3 ++- snippets/firestore-next/test-firestore/chain_filters.js | 3 ++- snippets/firestore-next/test-firestore/cities_document_set.js | 3 ++- snippets/firestore-next/test-firestore/city_custom_object.js | 3 ++- snippets/firestore-next/test-firestore/collection_reference.js | 3 ++- snippets/firestore-next/test-firestore/data_types.js | 3 ++- snippets/firestore-next/test-firestore/delete_collection.js | 3 ++- snippets/firestore-next/test-firestore/delete_document.js | 3 ++- snippets/firestore-next/test-firestore/detach_listener.js | 3 ++- snippets/firestore-next/test-firestore/disable_network.js | 3 ++- snippets/firestore-next/test-firestore/doc_reference.js | 3 ++- .../firestore-next/test-firestore/doc_reference_alternative.js | 3 ++- snippets/firestore-next/test-firestore/enable_network.js | 3 ++- snippets/firestore-next/test-firestore/example_data.js | 3 ++- snippets/firestore-next/test-firestore/example_filters.js | 3 ++- snippets/firestore-next/test-firestore/filter_and_order.js | 3 ++- .../firestore-next/test-firestore/fs_collection_group_query.js | 3 ++- .../test-firestore/fs_collection_group_query_data_setup.js | 3 ++- snippets/firestore-next/test-firestore/fs_setup_cache.js | 3 ++- snippets/firestore-next/test-firestore/get_all_users.js | 3 ++- snippets/firestore-next/test-firestore/get_custom_object.js | 3 ++- snippets/firestore-next/test-firestore/get_document.js | 3 ++- snippets/firestore-next/test-firestore/get_document_options.js | 3 ++- snippets/firestore-next/test-firestore/get_multiple.js | 3 ++- snippets/firestore-next/test-firestore/get_multiple_all.js | 3 ++- snippets/firestore-next/test-firestore/handle_listen_errors.js | 3 ++- snippets/firestore-next/test-firestore/in_filter.js | 3 ++- snippets/firestore-next/test-firestore/in_filter_with_array.js | 3 ++- .../firestore-next/test-firestore/initialize_persistence.js | 3 ++- .../firestore-next/test-firestore/invalid_filter_and_order.js | 3 ++- .../firestore-next/test-firestore/invalid_range_filters.js | 3 ++- snippets/firestore-next/test-firestore/listen_diffs.js | 3 ++- snippets/firestore-next/test-firestore/listen_document.js | 3 ++- .../firestore-next/test-firestore/listen_document_local.js | 3 ++- snippets/firestore-next/test-firestore/listen_for_users.js | 3 ++- snippets/firestore-next/test-firestore/listen_multiple.js | 3 ++- snippets/firestore-next/test-firestore/listen_with_metadata.js | 3 ++- snippets/firestore-next/test-firestore/new_document.js | 3 ++- snippets/firestore-next/test-firestore/not_in_filter.js | 3 ++- snippets/firestore-next/test-firestore/order_and_end.js | 3 ++- snippets/firestore-next/test-firestore/order_and_limit.js | 3 ++- snippets/firestore-next/test-firestore/order_and_limit_desc.js | 3 ++- snippets/firestore-next/test-firestore/order_and_start.js | 3 ++- snippets/firestore-next/test-firestore/order_multiple.js | 3 ++- snippets/firestore-next/test-firestore/paginate.js | 3 ++- .../test-firestore/server_timestamp_resolution_options.js | 3 ++- snippets/firestore-next/test-firestore/set_custom_object.js | 3 ++- snippets/firestore-next/test-firestore/set_document.js | 3 ++- snippets/firestore-next/test-firestore/set_with_merge.js | 3 ++- snippets/firestore-next/test-firestore/simple_queries.js | 3 ++- snippets/firestore-next/test-firestore/simple_queries_again.js | 3 ++- .../firestore-next/test-firestore/simple_query_not_equal.js | 3 ++- snippets/firestore-next/test-firestore/start_doc.js | 3 ++- .../firestore-next/test-firestore/start_multiple_orderby.js | 3 ++- .../firestore-next/test-firestore/subcollection_reference.js | 3 ++- snippets/firestore-next/test-firestore/transaction.js | 3 ++- snippets/firestore-next/test-firestore/transaction_promise.js | 3 ++- snippets/firestore-next/test-firestore/update_delete_field.js | 3 ++- snippets/firestore-next/test-firestore/update_document.js | 3 ++- .../firestore-next/test-firestore/update_document_array.js | 3 ++- .../firestore-next/test-firestore/update_document_increment.js | 3 ++- .../firestore-next/test-firestore/update_document_nested.js | 3 ++- .../test-firestore/update_with_server_timestamp.js | 3 ++- snippets/firestore-next/test-firestore/use_from_cache.js | 3 ++- .../firestore-next/test-firestore/valid_filter_and_order.js | 3 ++- snippets/firestore-next/test-firestore/valid_range_filters.js | 3 ++- snippets/firestore-next/test-firestore/write_batch.js | 3 ++- .../test-solution-aggregation/get_collection_ratings.js | 3 ++- .../firestore-next/test-solution-aggregation/sample_doc.js | 3 ++- .../firestore-next/test-solution-arrays/post_with_array.js | 3 ++- snippets/firestore-next/test-solution-arrays/post_with_map.js | 3 ++- .../test-solution-arrays/post_with_map_advanced.js | 3 ++- .../firestore-next/test-solution-arrays/query_in_category.js | 3 ++- .../test-solution-arrays/query_in_category_timestamp.js | 3 ++- .../query_in_category_timestamp_invalid.js | 3 ++- .../firestore-next/test-solution-bundles/fs_bundle_load.js | 3 ++- .../firestore-next/test-solution-counters/create_counter.js | 3 ++- snippets/firestore-next/test-solution-counters/get_count.js | 3 ++- .../firestore-next/test-solution-counters/increment_counter.js | 3 ++- .../firestore-next/test-solution-geoqueries/fs_geo_add_hash.js | 3 ++- .../test-solution-geoqueries/fs_geo_query_hashes.js | 3 ++- .../functions-next/callable/fb_functions_call_add_message.js | 3 ++- .../callable/fb_functions_call_add_message_error.js | 3 ++- snippets/functions-next/callable/fb_functions_initialize.js | 3 ++- .../emulator-suite/fb_functions_callable_call.js | 3 ++- .../emulator-suite/fb_functions_emulator_connect.js | 3 ++- snippets/messaging-next/index/messaging_delete_token.js | 3 ++- .../messaging-next/index/messaging_get_messaging_object.js | 3 ++- snippets/messaging-next/index/messaging_get_token.js | 3 ++- snippets/messaging-next/index/messaging_receive_message.js | 3 ++- snippets/messaging-next/index/messaging_request_permission.js | 3 ++- snippets/messaging-next/service-worker/messaging_init_in_sw.js | 3 ++- .../service-worker/messaging_on_background_message.js | 3 ++- snippets/perf-next/index/perf_add_custom_attributes.js | 3 ++- snippets/perf-next/index/perf_add_custom_metrics.js | 3 ++- snippets/perf-next/index/perf_add_custom_trace.js | 3 ++- snippets/perf-next/index/perf_get_instance.js | 3 ++- snippets/perf-next/index/perf_initialize.js | 3 ++- snippets/perf-next/index/perf_user_timing_marks.js | 3 ++- snippets/placeholder/coming_soon.js | 3 ++- snippets/remoteconfig-next/index/rc_fetch_config_callback.js | 3 ++- snippets/remoteconfig-next/index/rc_get_instance.js | 3 ++- snippets/remoteconfig-next/index/rc_get_values.js | 3 ++- snippets/remoteconfig-next/index/rc_set_default_values.js | 3 ++- snippets/remoteconfig-next/index/rc_set_minimum_fetch_time.js | 3 ++- snippets/storage-next/create-reference/storage_create_ref.js | 3 ++- .../storage-next/create-reference/storage_create_ref_child.js | 3 ++- snippets/storage-next/create-reference/storage_navigate_ref.js | 3 ++- .../create-reference/storage_navigate_ref_chain.js | 3 ++- .../storage-next/create-reference/storage_ref_full_example.js | 3 ++- .../storage-next/create-reference/storage_ref_properties.js | 3 ++- snippets/storage-next/delete-files/storage_delete_file.js | 3 ++- .../storage-next/download-files/storage_download_create_ref.js | 3 ++- .../download-files/storage_download_full_example.js | 3 ++- .../storage-next/download-files/storage_download_via_url.js | 3 ++- snippets/storage-next/file-metadata/storage_custom_metadata.js | 3 ++- snippets/storage-next/file-metadata/storage_delete_metadata.js | 3 ++- snippets/storage-next/file-metadata/storage_get_metadata.js | 3 ++- snippets/storage-next/file-metadata/storage_update_metadata.js | 3 ++- snippets/storage-next/index/storage_custom_app.js | 3 ++- snippets/storage-next/index/storage_initialize.js | 3 ++- snippets/storage-next/index/storage_multiple_buckets.js | 3 ++- snippets/storage-next/index/storage_on_complete.js | 3 ++- snippets/storage-next/list-files/storage_list_all.js | 3 ++- snippets/storage-next/list-files/storage_list_paginate.js | 3 ++- snippets/storage-next/upload-files/storage_manage_uploads.js | 3 ++- snippets/storage-next/upload-files/storage_monitor_upload.js | 3 ++- snippets/storage-next/upload-files/storage_upload_blob.js | 3 ++- snippets/storage-next/upload-files/storage_upload_bytes.js | 3 ++- .../storage-next/upload-files/storage_upload_handle_error.js | 3 ++- snippets/storage-next/upload-files/storage_upload_metadata.js | 3 ++- snippets/storage-next/upload-files/storage_upload_ref.js | 3 ++- snippets/storage-next/upload-files/storage_upload_string.js | 3 ++- 306 files changed, 612 insertions(+), 306 deletions(-) diff --git a/scripts/separate-snippets.ts b/scripts/separate-snippets.ts index dbc89c52..86821383 100644 --- a/scripts/separate-snippets.ts +++ b/scripts/separate-snippets.ts @@ -125,7 +125,8 @@ function processSnippet( `// This snippet file was generated by processing the source file:`, `// ${sourceFile}`, `//`, - `// To make edits to the snippets in this file, please edit the source`, + `// To update the snippets in this file, edit the source and then run`, + `// 'npm run snippets'.`, ``, ]; const content = [...preambleLines, ...outputLines].join("\n"); diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_add_cart.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_add_cart.js index 8d7f87cf..8f0e68bd 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_add_cart.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_add_cart.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_add_cart_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_checkout.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_checkout.js index 85611fb1..beaae722 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_checkout.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_checkout.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_checkout_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_items.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_items.js index e3ad7cbe..03b27b47 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_items.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_items.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_items_modular] // A pair of jeggings diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_payment_info.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_payment_info.js index db328513..048ad5da 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_payment_info.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_payment_info.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_payment_info_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_promotions.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_promotions.js index 666241ee..d0577a18 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_promotions.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_promotions.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_promotions_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_purchase.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_purchase.js index a5ba8c62..12b6d02d 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_purchase.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_purchase.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_purchase_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_refund.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_refund.js index fab84487..706e1d7d 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_refund.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_refund.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_refund_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_remove_cart.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_remove_cart.js index aa841d8f..1ad9790f 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_remove_cart.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_remove_cart.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_remove_cart_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_select_item.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_select_item.js index 74f3c8c2..d4eda55c 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_select_item.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_select_item.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_select_item_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_shipping_info.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_shipping_info.js index 09cd0f05..a4f43cbe 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_shipping_info.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_shipping_info.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_shipping_info_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_view_cart.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_view_cart.js index 89ab04ec..cc2359dc 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_view_cart.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_view_cart.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_view_cart_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_view_item_details.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_view_item_details.js index 920e2c18..83f3474e 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_view_item_details.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_view_item_details.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_view_item_details_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/ecommerce/analytics_ecommerce_view_item_list.js b/snippets/analytics-next/ecommerce/analytics_ecommerce_view_item_list.js index 13eb197c..fb2fec01 100644 --- a/snippets/analytics-next/ecommerce/analytics_ecommerce_view_item_list.js +++ b/snippets/analytics-next/ecommerce/analytics_ecommerce_view_item_list.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/ecommerce.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_ecommerce_view_item_list_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/index/analytics_initialize.js b/snippets/analytics-next/index/analytics_initialize.js index 4fb42cb3..42a9578d 100644 --- a/snippets/analytics-next/index/analytics_initialize.js +++ b/snippets/analytics-next/index/analytics_initialize.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_initialize_modular] import { getAnalytics } from "firebase/analytics"; diff --git a/snippets/analytics-next/index/analytics_log_event.js b/snippets/analytics-next/index/analytics_log_event.js index c5537b5b..7bd74243 100644 --- a/snippets/analytics-next/index/analytics_log_event.js +++ b/snippets/analytics-next/index/analytics_log_event.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_log_event_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/index/analytics_log_event_custom_params.js b/snippets/analytics-next/index/analytics_log_event_custom_params.js index 122d94d1..7d76b3f5 100644 --- a/snippets/analytics-next/index/analytics_log_event_custom_params.js +++ b/snippets/analytics-next/index/analytics_log_event_custom_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_log_event_custom_params_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/index/analytics_log_event_params.js b/snippets/analytics-next/index/analytics_log_event_params.js index 86831dbd..27e6528d 100644 --- a/snippets/analytics-next/index/analytics_log_event_params.js +++ b/snippets/analytics-next/index/analytics_log_event_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_log_event_params_modular] import { getAnalytics, logEvent } from "firebase/analytics"; diff --git a/snippets/analytics-next/index/analytics_set_user_properties.js b/snippets/analytics-next/index/analytics_set_user_properties.js index b064cdbf..f432e5bf 100644 --- a/snippets/analytics-next/index/analytics_set_user_properties.js +++ b/snippets/analytics-next/index/analytics_set_user_properties.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./analytics-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START analytics_set_user_properties_modular] import { getAnalytics, setUserProperties } from "firebase/analytics"; diff --git a/snippets/appcheck-next/index/appcheck_custom_provider.js b/snippets/appcheck-next/index/appcheck_custom_provider.js index 7bcb0452..35c7bc99 100644 --- a/snippets/appcheck-next/index/appcheck_custom_provider.js +++ b/snippets/appcheck-next/index/appcheck_custom_provider.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./appcheck-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START appcheck_custom_provider_modular] import { CustomProvider } from "firebase/app-check"; diff --git a/snippets/appcheck-next/index/appcheck_initialize.js b/snippets/appcheck-next/index/appcheck_initialize.js index 54074768..f7763562 100644 --- a/snippets/appcheck-next/index/appcheck_initialize.js +++ b/snippets/appcheck-next/index/appcheck_initialize.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./appcheck-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START appcheck_initialize_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/appcheck-next/index/appcheck_initialize_custom_provider.js b/snippets/appcheck-next/index/appcheck_initialize_custom_provider.js index 787e13a0..03f2baa8 100644 --- a/snippets/appcheck-next/index/appcheck_initialize_custom_provider.js +++ b/snippets/appcheck-next/index/appcheck_initialize_custom_provider.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./appcheck-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START appcheck_initialize_custom_provider_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/appcheck-next/index/appcheck_nonfirebase.js b/snippets/appcheck-next/index/appcheck_nonfirebase.js index e1d8dc87..275891f8 100644 --- a/snippets/appcheck-next/index/appcheck_nonfirebase.js +++ b/snippets/appcheck-next/index/appcheck_nonfirebase.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./appcheck-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START appcheck_nonfirebase_modular] import { initializeAppCheck, getToken } from 'firebase/app-check'; diff --git a/snippets/auth-next/anonymous/auth_anon_sign_in.js b/snippets/auth-next/anonymous/auth_anon_sign_in.js index b495ec28..3db81772 100644 --- a/snippets/auth-next/anonymous/auth_anon_sign_in.js +++ b/snippets/auth-next/anonymous/auth_anon_sign_in.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/anonymous.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_anon_sign_in_modular] import { getAuth, signInAnonymously } from "firebase/auth"; diff --git a/snippets/auth-next/apple/auth_apple_link_facebook.js b/snippets/auth-next/apple/auth_apple_link_facebook.js index a9f116ad..1ed9d764 100644 --- a/snippets/auth-next/apple/auth_apple_link_facebook.js +++ b/snippets/auth-next/apple/auth_apple_link_facebook.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_link_facebook_modular] import { getAuth, linkWithPopup, FacebookAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/apple/auth_apple_nonce_node.js b/snippets/auth-next/apple/auth_apple_nonce_node.js index 27b08552..26bb2ef0 100644 --- a/snippets/auth-next/apple/auth_apple_nonce_node.js +++ b/snippets/auth-next/apple/auth_apple_nonce_node.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_nonce_node_modular] const crypto = require("crypto"); diff --git a/snippets/auth-next/apple/auth_apple_provider_create.js b/snippets/auth-next/apple/auth_apple_provider_create.js index 9612b2c3..b6c0aefd 100644 --- a/snippets/auth-next/apple/auth_apple_provider_create.js +++ b/snippets/auth-next/apple/auth_apple_provider_create.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_provider_create_modular] import { OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/apple/auth_apple_provider_params.js b/snippets/auth-next/apple/auth_apple_provider_params.js index f0f914a2..775ab94b 100644 --- a/snippets/auth-next/apple/auth_apple_provider_params.js +++ b/snippets/auth-next/apple/auth_apple_provider_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_provider_params_modular] provider.setCustomParameters({ diff --git a/snippets/auth-next/apple/auth_apple_provider_scopes.js b/snippets/auth-next/apple/auth_apple_provider_scopes.js index 306853bd..86da8bbc 100644 --- a/snippets/auth-next/apple/auth_apple_provider_scopes.js +++ b/snippets/auth-next/apple/auth_apple_provider_scopes.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_provider_scopes_modular] provider.addScope('email'); diff --git a/snippets/auth-next/apple/auth_apple_reauthenticate_popup.js b/snippets/auth-next/apple/auth_apple_reauthenticate_popup.js index 5d1b9257..129fe920 100644 --- a/snippets/auth-next/apple/auth_apple_reauthenticate_popup.js +++ b/snippets/auth-next/apple/auth_apple_reauthenticate_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_reauthenticate_popup_modular] import { getAuth, reauthenticateWithPopup, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/apple/auth_apple_signin_nonce.js b/snippets/auth-next/apple/auth_apple_signin_nonce.js index 36962b8f..ffa3a3d2 100644 --- a/snippets/auth-next/apple/auth_apple_signin_nonce.js +++ b/snippets/auth-next/apple/auth_apple_signin_nonce.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_signin_nonce_modular] import { getAuth, signInWithCredential, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/apple/auth_apple_signin_popup.js b/snippets/auth-next/apple/auth_apple_signin_popup.js index 3fb9436c..2db09607 100644 --- a/snippets/auth-next/apple/auth_apple_signin_popup.js +++ b/snippets/auth-next/apple/auth_apple_signin_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_signin_popup_modular] import { getAuth, signInWithPopup, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/apple/auth_apple_signin_redirect.js b/snippets/auth-next/apple/auth_apple_signin_redirect.js index 9b97a683..f000195d 100644 --- a/snippets/auth-next/apple/auth_apple_signin_redirect.js +++ b/snippets/auth-next/apple/auth_apple_signin_redirect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_signin_redirect_modular] import { getAuth, signInWithRedirect } from "firebase/auth"; diff --git a/snippets/auth-next/apple/auth_apple_signin_redirect_result.js b/snippets/auth-next/apple/auth_apple_signin_redirect_result.js index f0b2d64c..68dba4ab 100644 --- a/snippets/auth-next/apple/auth_apple_signin_redirect_result.js +++ b/snippets/auth-next/apple/auth_apple_signin_redirect_result.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/apple.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_apple_signin_redirect_result_modular] import { getAuth, getRedirectResult, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/auth-state-persistence/auth_set_persistence_none.js b/snippets/auth-next/auth-state-persistence/auth_set_persistence_none.js index 88b579f9..5224cc21 100644 --- a/snippets/auth-next/auth-state-persistence/auth_set_persistence_none.js +++ b/snippets/auth-next/auth-state-persistence/auth_set_persistence_none.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/auth-state-persistence.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_set_persistence_none_modular] import { getAuth, setPersistence, signInWithRedirect, inMemoryPersistence, GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/auth-state-persistence/auth_set_persistence_session.js b/snippets/auth-next/auth-state-persistence/auth_set_persistence_session.js index 6644370d..d21183ff 100644 --- a/snippets/auth-next/auth-state-persistence/auth_set_persistence_session.js +++ b/snippets/auth-next/auth-state-persistence/auth_set_persistence_session.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/auth-state-persistence.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_set_persistence_session_modular] import { getAuth, setPersistence, signInWithEmailAndPassword, browserSessionPersistence } from "firebase/auth"; diff --git a/snippets/auth-next/cordova/auth_cordova_redirect_result.js b/snippets/auth-next/cordova/auth_cordova_redirect_result.js index f4794507..7bcc69a3 100644 --- a/snippets/auth-next/cordova/auth_cordova_redirect_result.js +++ b/snippets/auth-next/cordova/auth_cordova_redirect_result.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/cordova.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_cordova_redirect_result_modular] import { getAuth, getRedirectResult, GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/cordova/auth_cordova_sign_in_redirect.js b/snippets/auth-next/cordova/auth_cordova_sign_in_redirect.js index 14084a12..5aaee22d 100644 --- a/snippets/auth-next/cordova/auth_cordova_sign_in_redirect.js +++ b/snippets/auth-next/cordova/auth_cordova_sign_in_redirect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/cordova.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_cordova_sign_in_redirect_modular] import { getAuth, signInWithRedirect, getRedirectResult, GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/cordova/auth_create_google_provider.js b/snippets/auth-next/cordova/auth_create_google_provider.js index 7fb88bc9..aab60312 100644 --- a/snippets/auth-next/cordova/auth_create_google_provider.js +++ b/snippets/auth-next/cordova/auth_create_google_provider.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/cordova.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_create_google_provider_modular] import { GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/custom-email-handler/auth_handle_mgmt_query_params.js b/snippets/auth-next/custom-email-handler/auth_handle_mgmt_query_params.js index 8810372f..6dec3399 100644 --- a/snippets/auth-next/custom-email-handler/auth_handle_mgmt_query_params.js +++ b/snippets/auth-next/custom-email-handler/auth_handle_mgmt_query_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/custom-email-handler.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_handle_mgmt_query_params_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/auth-next/custom-email-handler/auth_handle_recover_email.js b/snippets/auth-next/custom-email-handler/auth_handle_recover_email.js index db2bdea8..a4351a50 100644 --- a/snippets/auth-next/custom-email-handler/auth_handle_recover_email.js +++ b/snippets/auth-next/custom-email-handler/auth_handle_recover_email.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/custom-email-handler.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_handle_recover_email_modular] import { checkActionCode, applyActionCode, sendPasswordResetEmail } from "firebase/auth"; diff --git a/snippets/auth-next/custom-email-handler/auth_handle_reset_password.js b/snippets/auth-next/custom-email-handler/auth_handle_reset_password.js index 85f32168..95a3faea 100644 --- a/snippets/auth-next/custom-email-handler/auth_handle_reset_password.js +++ b/snippets/auth-next/custom-email-handler/auth_handle_reset_password.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/custom-email-handler.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_handle_reset_password_modular] import { verifyPasswordResetCode, confirmPasswordReset } from "firebase/auth"; diff --git a/snippets/auth-next/custom-email-handler/auth_handle_verify_email.js b/snippets/auth-next/custom-email-handler/auth_handle_verify_email.js index ca0089f0..730d4601 100644 --- a/snippets/auth-next/custom-email-handler/auth_handle_verify_email.js +++ b/snippets/auth-next/custom-email-handler/auth_handle_verify_email.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/custom-email-handler.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_handle_verify_email_modular] function handleVerifyEmail(auth, actionCode, continueUrl, lang) { diff --git a/snippets/auth-next/custom/auth_sign_in_custom.js b/snippets/auth-next/custom/auth_sign_in_custom.js index 3500d6d9..c345c0ce 100644 --- a/snippets/auth-next/custom/auth_sign_in_custom.js +++ b/snippets/auth-next/custom/auth_sign_in_custom.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/custom.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_sign_in_custom_modular] import { getAuth, signInWithCustomToken } from "firebase/auth"; diff --git a/snippets/auth-next/email-link-auth/auth_email_link_actioncode_settings.js b/snippets/auth-next/email-link-auth/auth_email_link_actioncode_settings.js index dd6f4de2..a1480a11 100644 --- a/snippets/auth-next/email-link-auth/auth_email_link_actioncode_settings.js +++ b/snippets/auth-next/email-link-auth/auth_email_link_actioncode_settings.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email-link-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_email_link_actioncode_settings_modular] const actionCodeSettings = { diff --git a/snippets/auth-next/email-link-auth/auth_email_link_link.js b/snippets/auth-next/email-link-auth/auth_email_link_link.js index 07abe3c8..a49b979f 100644 --- a/snippets/auth-next/email-link-auth/auth_email_link_link.js +++ b/snippets/auth-next/email-link-auth/auth_email_link_link.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email-link-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_email_link_link_modular] import { getAuth, linkWithCredential, EmailAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/email-link-auth/auth_email_link_reauth.js b/snippets/auth-next/email-link-auth/auth_email_link_reauth.js index f6c57144..128650cb 100644 --- a/snippets/auth-next/email-link-auth/auth_email_link_reauth.js +++ b/snippets/auth-next/email-link-auth/auth_email_link_reauth.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email-link-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_email_link_reauth_modular] import { getAuth, reauthenticateWithCredential, EmailAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/email-link-auth/auth_email_link_send.js b/snippets/auth-next/email-link-auth/auth_email_link_send.js index 8a3065c8..5b97d87f 100644 --- a/snippets/auth-next/email-link-auth/auth_email_link_send.js +++ b/snippets/auth-next/email-link-auth/auth_email_link_send.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email-link-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_email_link_send_modular] import { getAuth, sendSignInLinkToEmail } from "firebase/auth"; diff --git a/snippets/auth-next/email-link-auth/email_link_complete.js b/snippets/auth-next/email-link-auth/email_link_complete.js index b0da2093..b42b9af9 100644 --- a/snippets/auth-next/email-link-auth/email_link_complete.js +++ b/snippets/auth-next/email-link-auth/email_link_complete.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email-link-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START email_link_complete_modular] import { getAuth, isSignInWithEmailLink, signInWithEmailLink } from "firebase/auth"; diff --git a/snippets/auth-next/email-link-auth/email_link_diferentiate.js b/snippets/auth-next/email-link-auth/email_link_diferentiate.js index cbbe0e57..4fc06b41 100644 --- a/snippets/auth-next/email-link-auth/email_link_diferentiate.js +++ b/snippets/auth-next/email-link-auth/email_link_diferentiate.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email-link-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START email_link_diferentiate_modular] import { getAuth, fetchSignInMethodsForEmail, EmailAuthProvider} from "firebase/auth"; diff --git a/snippets/auth-next/email/auth_send_email_verification.js b/snippets/auth-next/email/auth_send_email_verification.js index ef0c64b8..9290a421 100644 --- a/snippets/auth-next/email/auth_send_email_verification.js +++ b/snippets/auth-next/email/auth_send_email_verification.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_send_email_verification_modular] import { getAuth, sendEmailVerification } from "firebase/auth"; diff --git a/snippets/auth-next/email/auth_send_password_reset.js b/snippets/auth-next/email/auth_send_password_reset.js index 1b195344..e8e18a58 100644 --- a/snippets/auth-next/email/auth_send_password_reset.js +++ b/snippets/auth-next/email/auth_send_password_reset.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_send_password_reset_modular] import { getAuth, sendPasswordResetEmail } from "firebase/auth"; diff --git a/snippets/auth-next/email/auth_signin_password.js b/snippets/auth-next/email/auth_signin_password.js index 2652af74..f0a211d5 100644 --- a/snippets/auth-next/email/auth_signin_password.js +++ b/snippets/auth-next/email/auth_signin_password.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_signin_password_modular] import { getAuth, signInWithEmailAndPassword } from "firebase/auth"; diff --git a/snippets/auth-next/email/auth_signup_password.js b/snippets/auth-next/email/auth_signup_password.js index 679bfbb0..00aa9bd5 100644 --- a/snippets/auth-next/email/auth_signup_password.js +++ b/snippets/auth-next/email/auth_signup_password.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/email.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_signup_password_modular] import { getAuth, createUserWithEmailAndPassword } from "firebase/auth"; diff --git a/snippets/auth-next/emulator-suite/auth_emulator_connect.js b/snippets/auth-next/emulator-suite/auth_emulator_connect.js index 7e4cf680..dd0b2e37 100644 --- a/snippets/auth-next/emulator-suite/auth_emulator_connect.js +++ b/snippets/auth-next/emulator-suite/auth_emulator_connect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/emulator-suite.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_emulator_connect_modular] import { getAuth, connectAuthEmulator } from "firebase/auth"; diff --git a/snippets/auth-next/facebook/auth_facebook_callback.js b/snippets/auth-next/facebook/auth_facebook_callback.js index 144928d8..8596bb68 100644 --- a/snippets/auth-next/facebook/auth_facebook_callback.js +++ b/snippets/auth-next/facebook/auth_facebook_callback.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/facebook.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_facebook_callback_modular] import { getAuth, onAuthStateChanged, signInWithCredential, signOut, FacebookAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/facebook/auth_facebook_checksameuser.js b/snippets/auth-next/facebook/auth_facebook_checksameuser.js index e4ed4845..0b1d170b 100644 --- a/snippets/auth-next/facebook/auth_facebook_checksameuser.js +++ b/snippets/auth-next/facebook/auth_facebook_checksameuser.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/facebook.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_facebook_checksameuser_modular] import { FacebookAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/facebook/auth_facebook_provider_create.js b/snippets/auth-next/facebook/auth_facebook_provider_create.js index 93913be7..403abcd2 100644 --- a/snippets/auth-next/facebook/auth_facebook_provider_create.js +++ b/snippets/auth-next/facebook/auth_facebook_provider_create.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/facebook.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_facebook_provider_create_modular] import { FacebookAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/facebook/auth_facebook_provider_params.js b/snippets/auth-next/facebook/auth_facebook_provider_params.js index 04c8532b..308fadd4 100644 --- a/snippets/auth-next/facebook/auth_facebook_provider_params.js +++ b/snippets/auth-next/facebook/auth_facebook_provider_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/facebook.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_facebook_provider_params_modular] provider.setCustomParameters({ diff --git a/snippets/auth-next/facebook/auth_facebook_provider_scopes.js b/snippets/auth-next/facebook/auth_facebook_provider_scopes.js index ba67a6f3..06386449 100644 --- a/snippets/auth-next/facebook/auth_facebook_provider_scopes.js +++ b/snippets/auth-next/facebook/auth_facebook_provider_scopes.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/facebook.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // / [START auth_facebook_provider_scopes_modular] provider.addScope('user_birthday'); diff --git a/snippets/auth-next/facebook/auth_facebook_signin_credential.js b/snippets/auth-next/facebook/auth_facebook_signin_credential.js index 84ce9612..dcd42c7e 100644 --- a/snippets/auth-next/facebook/auth_facebook_signin_credential.js +++ b/snippets/auth-next/facebook/auth_facebook_signin_credential.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/facebook.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_facebook_signin_credential_modular] import { getAuth, signInWithCredential, FacebookAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/facebook/auth_facebook_signin_popup.js b/snippets/auth-next/facebook/auth_facebook_signin_popup.js index 164948a2..2bc014ed 100644 --- a/snippets/auth-next/facebook/auth_facebook_signin_popup.js +++ b/snippets/auth-next/facebook/auth_facebook_signin_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/facebook.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_facebook_signin_popup_modular] import { getAuth, signInWithPopup, FacebookAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/facebook/auth_facebook_signin_redirect_result.js b/snippets/auth-next/facebook/auth_facebook_signin_redirect_result.js index 9c2d5e30..49f3a494 100644 --- a/snippets/auth-next/facebook/auth_facebook_signin_redirect_result.js +++ b/snippets/auth-next/facebook/auth_facebook_signin_redirect_result.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/facebook.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_facebook_signin_redirect_result_modular] import { getAuth, getRedirectResult, FacebookAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/github/auth_github_provider_create.js b/snippets/auth-next/github/auth_github_provider_create.js index eb5250d9..92cc4171 100644 --- a/snippets/auth-next/github/auth_github_provider_create.js +++ b/snippets/auth-next/github/auth_github_provider_create.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/github.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_github_provider_create_modular] import { GithubAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/github/auth_github_provider_credential.js b/snippets/auth-next/github/auth_github_provider_credential.js index ee159180..ca122a35 100644 --- a/snippets/auth-next/github/auth_github_provider_credential.js +++ b/snippets/auth-next/github/auth_github_provider_credential.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/github.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_github_provider_credential_modular] import { GithubAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/github/auth_github_provider_params.js b/snippets/auth-next/github/auth_github_provider_params.js index 159dcd8c..e2d4f341 100644 --- a/snippets/auth-next/github/auth_github_provider_params.js +++ b/snippets/auth-next/github/auth_github_provider_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/github.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_github_provider_params_modular] provider.setCustomParameters({ diff --git a/snippets/auth-next/github/auth_github_provider_scopes.js b/snippets/auth-next/github/auth_github_provider_scopes.js index 09f26298..b9237208 100644 --- a/snippets/auth-next/github/auth_github_provider_scopes.js +++ b/snippets/auth-next/github/auth_github_provider_scopes.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/github.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_github_provider_scopes_modular] provider.addScope('repo'); diff --git a/snippets/auth-next/github/auth_github_signin_popup.js b/snippets/auth-next/github/auth_github_signin_popup.js index 5b7a78b1..74e76cc9 100644 --- a/snippets/auth-next/github/auth_github_signin_popup.js +++ b/snippets/auth-next/github/auth_github_signin_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/github.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_github_signin_popup_modular] import { getAuth, signInWithPopup, GithubAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/github/auth_github_signin_redirect_result.js b/snippets/auth-next/github/auth_github_signin_redirect_result.js index 6884ed36..6147d9de 100644 --- a/snippets/auth-next/github/auth_github_signin_redirect_result.js +++ b/snippets/auth-next/github/auth_github_signin_redirect_result.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/github.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_github_signin_redirect_result_modular] import { getAuth, getRedirectResult, GithubAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/google-signin/auth_google_build_signin.js b/snippets/auth-next/google-signin/auth_google_build_signin.js index b6f4bbb9..6df84e3e 100644 --- a/snippets/auth-next/google-signin/auth_google_build_signin.js +++ b/snippets/auth-next/google-signin/auth_google_build_signin.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/google-signin.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_google_build_signin_modular] import { getAuth, signInWithCredential, GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/google-signin/auth_google_callback.js b/snippets/auth-next/google-signin/auth_google_callback.js index 2c23aa69..27aa8dc6 100644 --- a/snippets/auth-next/google-signin/auth_google_callback.js +++ b/snippets/auth-next/google-signin/auth_google_callback.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/google-signin.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_google_callback_modular] import { getAuth, onAuthStateChanged, signInWithCredential, GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/google-signin/auth_google_checksameuser.js b/snippets/auth-next/google-signin/auth_google_checksameuser.js index e2a7cad9..cc451991 100644 --- a/snippets/auth-next/google-signin/auth_google_checksameuser.js +++ b/snippets/auth-next/google-signin/auth_google_checksameuser.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/google-signin.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_google_checksameuser_modular] import { GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/google-signin/auth_google_provider_create.js b/snippets/auth-next/google-signin/auth_google_provider_create.js index 6d696d21..76b356d6 100644 --- a/snippets/auth-next/google-signin/auth_google_provider_create.js +++ b/snippets/auth-next/google-signin/auth_google_provider_create.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/google-signin.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_google_provider_create_modular] import { GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/google-signin/auth_google_provider_params.js b/snippets/auth-next/google-signin/auth_google_provider_params.js index 4799da72..25f1ea99 100644 --- a/snippets/auth-next/google-signin/auth_google_provider_params.js +++ b/snippets/auth-next/google-signin/auth_google_provider_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/google-signin.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_google_provider_params_modular] provider.setCustomParameters({ diff --git a/snippets/auth-next/google-signin/auth_google_provider_scopes.js b/snippets/auth-next/google-signin/auth_google_provider_scopes.js index f370a854..346b6432 100644 --- a/snippets/auth-next/google-signin/auth_google_provider_scopes.js +++ b/snippets/auth-next/google-signin/auth_google_provider_scopes.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/google-signin.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_google_provider_scopes_modular] provider.addScope('https://www.googleapis.com/auth/contacts.readonly'); diff --git a/snippets/auth-next/google-signin/auth_google_signin_credential.js b/snippets/auth-next/google-signin/auth_google_signin_credential.js index 6c8a5641..a3a8808e 100644 --- a/snippets/auth-next/google-signin/auth_google_signin_credential.js +++ b/snippets/auth-next/google-signin/auth_google_signin_credential.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/google-signin.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_google_signin_credential_modular] signInWithCredential(auth, credential).catch((error) => { diff --git a/snippets/auth-next/google-signin/auth_google_signin_popup.js b/snippets/auth-next/google-signin/auth_google_signin_popup.js index f74b800d..55c46488 100644 --- a/snippets/auth-next/google-signin/auth_google_signin_popup.js +++ b/snippets/auth-next/google-signin/auth_google_signin_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/google-signin.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_google_signin_popup_modular] import { getAuth, signInWithPopup, GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/google-signin/auth_google_signin_redirect_result.js b/snippets/auth-next/google-signin/auth_google_signin_redirect_result.js index 2e91c4c6..a64977bb 100644 --- a/snippets/auth-next/google-signin/auth_google_signin_redirect_result.js +++ b/snippets/auth-next/google-signin/auth_google_signin_redirect_result.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/google-signin.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_google_signin_redirect_result_modular] import { getAuth, getRedirectResult, GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/index/auth_current_user.js b/snippets/auth-next/index/auth_current_user.js index 474f66bf..c094a464 100644 --- a/snippets/auth-next/index/auth_current_user.js +++ b/snippets/auth-next/index/auth_current_user.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_current_user_modular] import { getAuth } from "firebase/auth"; diff --git a/snippets/auth-next/index/auth_make_email_credential.js b/snippets/auth-next/index/auth_make_email_credential.js index 7009633b..6487fe62 100644 --- a/snippets/auth-next/index/auth_make_email_credential.js +++ b/snippets/auth-next/index/auth_make_email_credential.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_make_email_credential_modular] import { EmailAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/index/auth_make_facebook_credential.js b/snippets/auth-next/index/auth_make_facebook_credential.js index 7a68e3b7..91f5ae63 100644 --- a/snippets/auth-next/index/auth_make_facebook_credential.js +++ b/snippets/auth-next/index/auth_make_facebook_credential.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_make_facebook_credential_modular] import { FacebookAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/index/auth_make_google_credential.js b/snippets/auth-next/index/auth_make_google_credential.js index 007bb7eb..2640d101 100644 --- a/snippets/auth-next/index/auth_make_google_credential.js +++ b/snippets/auth-next/index/auth_make_google_credential.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_make_google_credential_modular] import { GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/index/auth_set_language_code.js b/snippets/auth-next/index/auth_set_language_code.js index 6d4126f9..47e78295 100644 --- a/snippets/auth-next/index/auth_set_language_code.js +++ b/snippets/auth-next/index/auth_set_language_code.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_set_language_code_modular] import { getAuth } from "firebase/auth"; diff --git a/snippets/auth-next/index/auth_sign_out.js b/snippets/auth-next/index/auth_sign_out.js index 7360528c..4cef4757 100644 --- a/snippets/auth-next/index/auth_sign_out.js +++ b/snippets/auth-next/index/auth_sign_out.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_sign_out_modular] import { getAuth, signOut } from "firebase/auth"; diff --git a/snippets/auth-next/index/auth_signin_credential.js b/snippets/auth-next/index/auth_signin_credential.js index eccad4e6..ba2db6b8 100644 --- a/snippets/auth-next/index/auth_signin_credential.js +++ b/snippets/auth-next/index/auth_signin_credential.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_signin_credential_modular] import { getAuth, signInWithCredential } from "firebase/auth"; diff --git a/snippets/auth-next/index/auth_signin_redirect.js b/snippets/auth-next/index/auth_signin_redirect.js index f5187cb3..49c95513 100644 --- a/snippets/auth-next/index/auth_signin_redirect.js +++ b/snippets/auth-next/index/auth_signin_redirect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_signin_redirect_modular] import { getAuth, signInWithRedirect } from "firebase/auth"; diff --git a/snippets/auth-next/index/auth_state_listener.js b/snippets/auth-next/index/auth_state_listener.js index 4764642b..aebe6818 100644 --- a/snippets/auth-next/index/auth_state_listener.js +++ b/snippets/auth-next/index/auth_state_listener.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_state_listener_modular] import { getAuth, onAuthStateChanged } from "firebase/auth"; diff --git a/snippets/auth-next/link-multiple-accounts/auth_anonymous_link.js b/snippets/auth-next/link-multiple-accounts/auth_anonymous_link.js index fb3cc1a8..3bf9ab56 100644 --- a/snippets/auth-next/link-multiple-accounts/auth_anonymous_link.js +++ b/snippets/auth-next/link-multiple-accounts/auth_anonymous_link.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/link-multiple-accounts.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_anonymous_link_modular] import { getAuth, linkWithCredential } from "firebase/auth"; diff --git a/snippets/auth-next/link-multiple-accounts/auth_get_providers.js b/snippets/auth-next/link-multiple-accounts/auth_get_providers.js index 2550bdd7..0f1ebbc1 100644 --- a/snippets/auth-next/link-multiple-accounts/auth_get_providers.js +++ b/snippets/auth-next/link-multiple-accounts/auth_get_providers.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/link-multiple-accounts.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_get_providers_modular] import { GoogleAuthProvider, FacebookAuthProvider, TwitterAuthProvider, GithubAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/link-multiple-accounts/auth_get_redirect_result.js b/snippets/auth-next/link-multiple-accounts/auth_get_redirect_result.js index 2118d9ba..1608a933 100644 --- a/snippets/auth-next/link-multiple-accounts/auth_get_redirect_result.js +++ b/snippets/auth-next/link-multiple-accounts/auth_get_redirect_result.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/link-multiple-accounts.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_get_redirect_result_modular] import { getRedirectResult } from "firebase/auth"; diff --git a/snippets/auth-next/link-multiple-accounts/auth_link_with_popup.js b/snippets/auth-next/link-multiple-accounts/auth_link_with_popup.js index b531cbc6..b6619cad 100644 --- a/snippets/auth-next/link-multiple-accounts/auth_link_with_popup.js +++ b/snippets/auth-next/link-multiple-accounts/auth_link_with_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/link-multiple-accounts.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_link_with_popup_modular] import { getAuth, linkWithPopup, GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/link-multiple-accounts/auth_link_with_redirect.js b/snippets/auth-next/link-multiple-accounts/auth_link_with_redirect.js index fc06ec47..1e496f42 100644 --- a/snippets/auth-next/link-multiple-accounts/auth_link_with_redirect.js +++ b/snippets/auth-next/link-multiple-accounts/auth_link_with_redirect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/link-multiple-accounts.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_link_with_redirect_modular] import { getAuth, linkWithRedirect, GoogleAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/link-multiple-accounts/auth_make_email_credential.js b/snippets/auth-next/link-multiple-accounts/auth_make_email_credential.js index e78c54e1..861d77e8 100644 --- a/snippets/auth-next/link-multiple-accounts/auth_make_email_credential.js +++ b/snippets/auth-next/link-multiple-accounts/auth_make_email_credential.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/link-multiple-accounts.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_make_email_credential_modular] import { EmailAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/link-multiple-accounts/auth_merge_accounts.js b/snippets/auth-next/link-multiple-accounts/auth_merge_accounts.js index 2525d20a..f7cc113c 100644 --- a/snippets/auth-next/link-multiple-accounts/auth_merge_accounts.js +++ b/snippets/auth-next/link-multiple-accounts/auth_merge_accounts.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/link-multiple-accounts.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_merge_accounts_modular] import { getAuth, signInWithCredential, linkWithCredential, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/link-multiple-accounts/auth_simple_link.js b/snippets/auth-next/link-multiple-accounts/auth_simple_link.js index ca360976..15c434a2 100644 --- a/snippets/auth-next/link-multiple-accounts/auth_simple_link.js +++ b/snippets/auth-next/link-multiple-accounts/auth_simple_link.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/link-multiple-accounts.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_simple_link_modular] import { getAuth, linkWithCredential } from "firebase/auth"; diff --git a/snippets/auth-next/link-multiple-accounts/auth_unlink_provider.js b/snippets/auth-next/link-multiple-accounts/auth_unlink_provider.js index 7818cb06..46617b26 100644 --- a/snippets/auth-next/link-multiple-accounts/auth_unlink_provider.js +++ b/snippets/auth-next/link-multiple-accounts/auth_unlink_provider.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/link-multiple-accounts.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_unlink_provider_modular] import { getAuth, unlink } from "firebase/auth"; diff --git a/snippets/auth-next/manage/auth_delete_user.js b/snippets/auth-next/manage/auth_delete_user.js index 8d725aa4..389a0852 100644 --- a/snippets/auth-next/manage/auth_delete_user.js +++ b/snippets/auth-next/manage/auth_delete_user.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/manage.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_delete_user_modular] import { getAuth, deleteUser } from "firebase/auth"; diff --git a/snippets/auth-next/manage/auth_get_user_profile.js b/snippets/auth-next/manage/auth_get_user_profile.js index 106104e8..9dce7fdc 100644 --- a/snippets/auth-next/manage/auth_get_user_profile.js +++ b/snippets/auth-next/manage/auth_get_user_profile.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/manage.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_get_user_profile_modular] import { getAuth } from "firebase/auth"; diff --git a/snippets/auth-next/manage/auth_get_user_profile_provider.js b/snippets/auth-next/manage/auth_get_user_profile_provider.js index 63e9654f..1d165d49 100644 --- a/snippets/auth-next/manage/auth_get_user_profile_provider.js +++ b/snippets/auth-next/manage/auth_get_user_profile_provider.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/manage.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_get_user_profile_provider_modular] import { getAuth } from "firebase/auth"; diff --git a/snippets/auth-next/manage/auth_reauth_with_credential.js b/snippets/auth-next/manage/auth_reauth_with_credential.js index 0b02de6c..74e84732 100644 --- a/snippets/auth-next/manage/auth_reauth_with_credential.js +++ b/snippets/auth-next/manage/auth_reauth_with_credential.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/manage.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_reauth_with_credential_modular] import { getAuth, reauthenticateWithCredential } from "firebase/auth"; diff --git a/snippets/auth-next/manage/auth_send_password_reset.js b/snippets/auth-next/manage/auth_send_password_reset.js index fa6118bb..9e8f2c3c 100644 --- a/snippets/auth-next/manage/auth_send_password_reset.js +++ b/snippets/auth-next/manage/auth_send_password_reset.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/manage.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_send_password_reset_modular] import { getAuth, sendPasswordResetEmail } from "firebase/auth"; diff --git a/snippets/auth-next/manage/auth_update_password.js b/snippets/auth-next/manage/auth_update_password.js index 69543928..56e578b9 100644 --- a/snippets/auth-next/manage/auth_update_password.js +++ b/snippets/auth-next/manage/auth_update_password.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/manage.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_update_password_modular] import { getAuth, updatePassword } from "firebase/auth"; diff --git a/snippets/auth-next/manage/auth_update_user_email.js b/snippets/auth-next/manage/auth_update_user_email.js index 8e313ece..d3607f75 100644 --- a/snippets/auth-next/manage/auth_update_user_email.js +++ b/snippets/auth-next/manage/auth_update_user_email.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/manage.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_update_user_email_modular] import { getAuth, updateEmail } from "firebase/auth"; diff --git a/snippets/auth-next/manage/auth_update_user_profile.js b/snippets/auth-next/manage/auth_update_user_profile.js index 9449474e..2af9185a 100644 --- a/snippets/auth-next/manage/auth_update_user_profile.js +++ b/snippets/auth-next/manage/auth_update_user_profile.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/manage.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_update_user_profile_modular] import { getAuth, updateProfile } from "firebase/auth"; diff --git a/snippets/auth-next/manage/send_email_verification.js b/snippets/auth-next/manage/send_email_verification.js index 82b0dcf9..34f06fdb 100644 --- a/snippets/auth-next/manage/send_email_verification.js +++ b/snippets/auth-next/manage/send_email_verification.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/manage.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START send_email_verification_modular] import { getAuth, sendEmailVerification } from "firebase/auth"; diff --git a/snippets/auth-next/microsoft-oauth/auth_msft_create_provider.js b/snippets/auth-next/microsoft-oauth/auth_msft_create_provider.js index bbde8267..c0a9039c 100644 --- a/snippets/auth-next/microsoft-oauth/auth_msft_create_provider.js +++ b/snippets/auth-next/microsoft-oauth/auth_msft_create_provider.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/microsoft-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_msft_create_provider_modular] import { OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/microsoft-oauth/auth_msft_link_popup.js b/snippets/auth-next/microsoft-oauth/auth_msft_link_popup.js index 8e4da503..1a029c7e 100644 --- a/snippets/auth-next/microsoft-oauth/auth_msft_link_popup.js +++ b/snippets/auth-next/microsoft-oauth/auth_msft_link_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/microsoft-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_msft_link_popup_modular] import { getAuth, linkWithPopup, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/microsoft-oauth/auth_msft_provider_params.js b/snippets/auth-next/microsoft-oauth/auth_msft_provider_params.js index dea75ee7..007ae646 100644 --- a/snippets/auth-next/microsoft-oauth/auth_msft_provider_params.js +++ b/snippets/auth-next/microsoft-oauth/auth_msft_provider_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/microsoft-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_msft_provider_params_modular] provider.setCustomParameters({ diff --git a/snippets/auth-next/microsoft-oauth/auth_msft_provider_params_tenant.js b/snippets/auth-next/microsoft-oauth/auth_msft_provider_params_tenant.js index 82abfe9b..341ff1f1 100644 --- a/snippets/auth-next/microsoft-oauth/auth_msft_provider_params_tenant.js +++ b/snippets/auth-next/microsoft-oauth/auth_msft_provider_params_tenant.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/microsoft-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_msft_provider_params_tenant_modular] provider.setCustomParameters({ diff --git a/snippets/auth-next/microsoft-oauth/auth_msft_provider_scopes.js b/snippets/auth-next/microsoft-oauth/auth_msft_provider_scopes.js index 6c4d2fed..ad86ac6e 100644 --- a/snippets/auth-next/microsoft-oauth/auth_msft_provider_scopes.js +++ b/snippets/auth-next/microsoft-oauth/auth_msft_provider_scopes.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/microsoft-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_msft_provider_scopes_modular] provider.addScope('mail.read'); diff --git a/snippets/auth-next/microsoft-oauth/auth_msft_reauth_popup.js b/snippets/auth-next/microsoft-oauth/auth_msft_reauth_popup.js index b257ec88..1d222fba 100644 --- a/snippets/auth-next/microsoft-oauth/auth_msft_reauth_popup.js +++ b/snippets/auth-next/microsoft-oauth/auth_msft_reauth_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/microsoft-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_msft_reauth_popup_modular] import { getAuth, reauthenticateWithPopup, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/microsoft-oauth/auth_msft_signin_popup.js b/snippets/auth-next/microsoft-oauth/auth_msft_signin_popup.js index 2b1fffa9..a19e598d 100644 --- a/snippets/auth-next/microsoft-oauth/auth_msft_signin_popup.js +++ b/snippets/auth-next/microsoft-oauth/auth_msft_signin_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/microsoft-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_msft_signin_popup_modular] import { getAuth, signInWithPopup, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/microsoft-oauth/auth_msft_signin_redirect.js b/snippets/auth-next/microsoft-oauth/auth_msft_signin_redirect.js index 7e04a832..c020dcf5 100644 --- a/snippets/auth-next/microsoft-oauth/auth_msft_signin_redirect.js +++ b/snippets/auth-next/microsoft-oauth/auth_msft_signin_redirect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/microsoft-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_msft_signin_redirect_modular] import { getAuth, signInWithRedirect } from "firebase/auth"; diff --git a/snippets/auth-next/microsoft-oauth/auth_msft_signin_redirect_result.js b/snippets/auth-next/microsoft-oauth/auth_msft_signin_redirect_result.js index 3992a4d1..e1249de1 100644 --- a/snippets/auth-next/microsoft-oauth/auth_msft_signin_redirect_result.js +++ b/snippets/auth-next/microsoft-oauth/auth_msft_signin_redirect_result.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/microsoft-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_msft_signin_redirect_result_modular] import { getAuth, getRedirectResult, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/phone-auth/auth_get_recaptcha_response.js b/snippets/auth-next/phone-auth/auth_get_recaptcha_response.js index 83a31ed1..f19a93e6 100644 --- a/snippets/auth-next/phone-auth/auth_get_recaptcha_response.js +++ b/snippets/auth-next/phone-auth/auth_get_recaptcha_response.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/phone-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_get_recaptcha_response_modular] const recaptchaResponse = grecaptcha.getResponse(recaptchaWidgetId); diff --git a/snippets/auth-next/phone-auth/auth_phone_recaptcha_render.js b/snippets/auth-next/phone-auth/auth_phone_recaptcha_render.js index 0bbceb0d..27e9d8c9 100644 --- a/snippets/auth-next/phone-auth/auth_phone_recaptcha_render.js +++ b/snippets/auth-next/phone-auth/auth_phone_recaptcha_render.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/phone-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_phone_recaptcha_render_modular] recaptchaVerifier.render().then((widgetId) => { diff --git a/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_invisible.js b/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_invisible.js index 2ee43e7c..f6b6893f 100644 --- a/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_invisible.js +++ b/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_invisible.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/phone-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_phone_recaptcha_verifier_invisible_modular] import { getAuth, RecaptchaVerifier } from "firebase/auth"; diff --git a/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_simple.js b/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_simple.js index 5a318bce..ed56fe99 100644 --- a/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_simple.js +++ b/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_simple.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/phone-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_phone_recaptcha_verifier_simple_modular] import { getAuth, RecaptchaVerifier } from "firebase/auth"; diff --git a/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_visible.js b/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_visible.js index 4b987ee7..c91e6041 100644 --- a/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_visible.js +++ b/snippets/auth-next/phone-auth/auth_phone_recaptcha_verifier_visible.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/phone-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_phone_recaptcha_verifier_visible_modular] import { getAuth, RecaptchaVerifier } from "firebase/auth"; diff --git a/snippets/auth-next/phone-auth/auth_phone_signin.js b/snippets/auth-next/phone-auth/auth_phone_signin.js index a7a3f0af..31c3d248 100644 --- a/snippets/auth-next/phone-auth/auth_phone_signin.js +++ b/snippets/auth-next/phone-auth/auth_phone_signin.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/phone-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_phone_signin_modular] import { getAuth, signInWithPhoneNumber } from "firebase/auth"; diff --git a/snippets/auth-next/phone-auth/auth_phone_verify_code.js b/snippets/auth-next/phone-auth/auth_phone_verify_code.js index 51265141..299f8cf3 100644 --- a/snippets/auth-next/phone-auth/auth_phone_verify_code.js +++ b/snippets/auth-next/phone-auth/auth_phone_verify_code.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/phone-auth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_phone_verify_code_modular] const code = getCodeFromUserInput(); diff --git a/snippets/auth-next/service-worker-sessions/auth_svc_get_idtoken.js b/snippets/auth-next/service-worker-sessions/auth_svc_get_idtoken.js index e3a61d07..dd78ada8 100644 --- a/snippets/auth-next/service-worker-sessions/auth_svc_get_idtoken.js +++ b/snippets/auth-next/service-worker-sessions/auth_svc_get_idtoken.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/service-worker-sessions.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_svc_get_idtoken_modular] import { getAuth, getIdToken } from "firebase/auth"; diff --git a/snippets/auth-next/service-worker-sessions/auth_svc_intercept.js b/snippets/auth-next/service-worker-sessions/auth_svc_intercept.js index b14ccbed..419614ff 100644 --- a/snippets/auth-next/service-worker-sessions/auth_svc_intercept.js +++ b/snippets/auth-next/service-worker-sessions/auth_svc_intercept.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/service-worker-sessions.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_svc_intercept_modular] const getOriginFromUrl = (url) => { diff --git a/snippets/auth-next/service-worker-sessions/auth_svc_listen_activate.js b/snippets/auth-next/service-worker-sessions/auth_svc_listen_activate.js index a51cfedb..0337fc83 100644 --- a/snippets/auth-next/service-worker-sessions/auth_svc_listen_activate.js +++ b/snippets/auth-next/service-worker-sessions/auth_svc_listen_activate.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/service-worker-sessions.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_svc_listen_activate_modular] self.addEventListener('activate', (event) => { diff --git a/snippets/auth-next/service-worker-sessions/auth_svc_register.js b/snippets/auth-next/service-worker-sessions/auth_svc_register.js index 1b0b19c1..0cb36be3 100644 --- a/snippets/auth-next/service-worker-sessions/auth_svc_register.js +++ b/snippets/auth-next/service-worker-sessions/auth_svc_register.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/service-worker-sessions.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_svc_register_modular] // Install servicerWorker if supported on sign-in/sign-up page. diff --git a/snippets/auth-next/service-worker-sessions/auth_svc_sign_in_email.js b/snippets/auth-next/service-worker-sessions/auth_svc_sign_in_email.js index a7d6e30b..02e3a62a 100644 --- a/snippets/auth-next/service-worker-sessions/auth_svc_sign_in_email.js +++ b/snippets/auth-next/service-worker-sessions/auth_svc_sign_in_email.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/service-worker-sessions.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_svc_sign_in_email_modular] import { getAuth, signInWithEmailAndPassword } from "firebase/auth"; diff --git a/snippets/auth-next/service-worker-sessions/auth_svc_subscribe.js b/snippets/auth-next/service-worker-sessions/auth_svc_subscribe.js index a3bb5c2a..76448570 100644 --- a/snippets/auth-next/service-worker-sessions/auth_svc_subscribe.js +++ b/snippets/auth-next/service-worker-sessions/auth_svc_subscribe.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/service-worker-sessions.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_svc_subscribe_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/auth-next/twitter/auth_twitter_provider_create.js b/snippets/auth-next/twitter/auth_twitter_provider_create.js index 496ae5f5..7fb82507 100644 --- a/snippets/auth-next/twitter/auth_twitter_provider_create.js +++ b/snippets/auth-next/twitter/auth_twitter_provider_create.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/twitter.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_twitter_provider_create_modular] import { TwitterAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/twitter/auth_twitter_provider_params.js b/snippets/auth-next/twitter/auth_twitter_provider_params.js index cb7c7a39..14d457f0 100644 --- a/snippets/auth-next/twitter/auth_twitter_provider_params.js +++ b/snippets/auth-next/twitter/auth_twitter_provider_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/twitter.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_twitter_provider_params_modular] provider.setCustomParameters({ diff --git a/snippets/auth-next/twitter/auth_twitter_signin_popup.js b/snippets/auth-next/twitter/auth_twitter_signin_popup.js index be2b7f57..a5fb5a95 100644 --- a/snippets/auth-next/twitter/auth_twitter_signin_popup.js +++ b/snippets/auth-next/twitter/auth_twitter_signin_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/twitter.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_twitter_signin_popup_modular] import { getAuth, signInWithPopup, TwitterAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/twitter/auth_twitter_signin_redirect_result.js b/snippets/auth-next/twitter/auth_twitter_signin_redirect_result.js index cfecf9cc..53b42c85 100644 --- a/snippets/auth-next/twitter/auth_twitter_signin_redirect_result.js +++ b/snippets/auth-next/twitter/auth_twitter_signin_redirect_result.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/twitter.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_twitter_signin_redirect_result_modular] import { getAuth, getRedirectResult, TwitterAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/yahoo-oauth/auth_yahoo_link_popup.js b/snippets/auth-next/yahoo-oauth/auth_yahoo_link_popup.js index 8f672f6b..1a921bce 100644 --- a/snippets/auth-next/yahoo-oauth/auth_yahoo_link_popup.js +++ b/snippets/auth-next/yahoo-oauth/auth_yahoo_link_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/yahoo-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_yahoo_link_popup_modular] import { getAuth, linkWithPopup, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_create.js b/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_create.js index c30a64f0..c26cd5fd 100644 --- a/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_create.js +++ b/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_create.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/yahoo-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_yahoo_provider_create_modular] import { OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_params.js b/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_params.js index 7bd28592..f8d918f9 100644 --- a/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_params.js +++ b/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_params.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/yahoo-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_yahoo_provider_params_modular] provider.setCustomParameters({ diff --git a/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_scopes.js b/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_scopes.js index 24e059c8..8a02ff7b 100644 --- a/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_scopes.js +++ b/snippets/auth-next/yahoo-oauth/auth_yahoo_provider_scopes.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/yahoo-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_yahoo_provider_scopes_modular] // Request access to Yahoo Mail API. diff --git a/snippets/auth-next/yahoo-oauth/auth_yahoo_reauth_popup.js b/snippets/auth-next/yahoo-oauth/auth_yahoo_reauth_popup.js index b35e162d..57243f05 100644 --- a/snippets/auth-next/yahoo-oauth/auth_yahoo_reauth_popup.js +++ b/snippets/auth-next/yahoo-oauth/auth_yahoo_reauth_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/yahoo-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_yahoo_reauth_popup_modular] import { getAuth, reauthenticateWithPopup, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_popup.js b/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_popup.js index 8c8c2713..91c04abc 100644 --- a/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_popup.js +++ b/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_popup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/yahoo-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_yahoo_signin_popup_modular] import { getAuth, signInWithPopup, OAuthProvider } from "firebase/auth"; diff --git a/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_redirect.js b/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_redirect.js index 5acb5687..f16cac73 100644 --- a/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_redirect.js +++ b/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_redirect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/yahoo-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_yahoo_signin_redirect_modular] import { getAuth, signInWithRedirect } from "firebase/auth"; diff --git a/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_redirect_result.js b/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_redirect_result.js index 73f69951..61709b2c 100644 --- a/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_redirect_result.js +++ b/snippets/auth-next/yahoo-oauth/auth_yahoo_signin_redirect_result.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./auth-next/yahoo-oauth.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START auth_yahoo_signin_redirect_result_modular] import { getAuth, getRedirectResult, OAuthProvider } from "firebase/auth"; diff --git a/snippets/database-next/emulator-suite/rtdb_emulator_connect.js b/snippets/database-next/emulator-suite/rtdb_emulator_connect.js index 709fc10b..4cc268e7 100644 --- a/snippets/database-next/emulator-suite/rtdb_emulator_connect.js +++ b/snippets/database-next/emulator-suite/rtdb_emulator_connect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/emulator-suite.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_emulator_connect_modular] import { getDatabase, connectDatabaseEmulator } from "firebase/database"; diff --git a/snippets/database-next/emulator-suite/rtdb_emulator_flush.js b/snippets/database-next/emulator-suite/rtdb_emulator_flush.js index 0476a256..3e17ef9a 100644 --- a/snippets/database-next/emulator-suite/rtdb_emulator_flush.js +++ b/snippets/database-next/emulator-suite/rtdb_emulator_flush.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/emulator-suite.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_emulator_flush_modular] import { getDatabase, ref, set } from "firebase/database"; diff --git a/snippets/database-next/index/rtdb_get_reference.js b/snippets/database-next/index/rtdb_get_reference.js index fe16c855..ee87937e 100644 --- a/snippets/database-next/index/rtdb_get_reference.js +++ b/snippets/database-next/index/rtdb_get_reference.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_get_reference_modular] import { getDatabase } from "firebase/database"; diff --git a/snippets/database-next/lists-of-data/rtdb_social_listen_children.js b/snippets/database-next/lists-of-data/rtdb_social_listen_children.js index 644c0334..78f90ff2 100644 --- a/snippets/database-next/lists-of-data/rtdb_social_listen_children.js +++ b/snippets/database-next/lists-of-data/rtdb_social_listen_children.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/lists-of-data.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_listen_children_modular] import { getDatabase, ref, onChildAdded, onChildChanged, onChildRemoved } from "firebase/database"; diff --git a/snippets/database-next/lists-of-data/rtdb_social_listen_value.js b/snippets/database-next/lists-of-data/rtdb_social_listen_value.js index 938308ad..d234eeea 100644 --- a/snippets/database-next/lists-of-data/rtdb_social_listen_value.js +++ b/snippets/database-next/lists-of-data/rtdb_social_listen_value.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/lists-of-data.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_listen_value_modular] import { getDatabase, ref, onValue } from "firebase/database"; diff --git a/snippets/database-next/lists-of-data/rtdb_social_most_starred.js b/snippets/database-next/lists-of-data/rtdb_social_most_starred.js index 5c364682..63237fdf 100644 --- a/snippets/database-next/lists-of-data/rtdb_social_most_starred.js +++ b/snippets/database-next/lists-of-data/rtdb_social_most_starred.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/lists-of-data.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_most_starred_modular] import { getDatabase, ref, query, orderByChild } from "firebase/database"; diff --git a/snippets/database-next/lists-of-data/rtdb_social_most_viewed.js b/snippets/database-next/lists-of-data/rtdb_social_most_viewed.js index 784df41e..1ebe7edc 100644 --- a/snippets/database-next/lists-of-data/rtdb_social_most_viewed.js +++ b/snippets/database-next/lists-of-data/rtdb_social_most_viewed.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/lists-of-data.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_most_viewed_modular] import { getDatabase, ref, query, orderByChild } from "firebase/database"; diff --git a/snippets/database-next/lists-of-data/rtdb_social_push.js b/snippets/database-next/lists-of-data/rtdb_social_push.js index c62c0a0a..ec366352 100644 --- a/snippets/database-next/lists-of-data/rtdb_social_push.js +++ b/snippets/database-next/lists-of-data/rtdb_social_push.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/lists-of-data.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_push_modular] import { getDatabase, ref, push, set } from "firebase/database"; diff --git a/snippets/database-next/lists-of-data/rtdb_social_recent.js b/snippets/database-next/lists-of-data/rtdb_social_recent.js index 0f26c486..8b35d6e6 100644 --- a/snippets/database-next/lists-of-data/rtdb_social_recent.js +++ b/snippets/database-next/lists-of-data/rtdb_social_recent.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/lists-of-data.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_recent_modular] import { getDatabase, ref, query, limitToLast } from "firebase/database"; diff --git a/snippets/database-next/offline/rtdb_detect_connection_state.js b/snippets/database-next/offline/rtdb_detect_connection_state.js index e37375d2..313af6ee 100644 --- a/snippets/database-next/offline/rtdb_detect_connection_state.js +++ b/snippets/database-next/offline/rtdb_detect_connection_state.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/offline.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_detect_connection_state_modular] import { getDatabase, ref, onValue } from "firebase/database"; diff --git a/snippets/database-next/offline/rtdb_estimate_clock_skew.js b/snippets/database-next/offline/rtdb_estimate_clock_skew.js index 9e4b6f5d..e1a92581 100644 --- a/snippets/database-next/offline/rtdb_estimate_clock_skew.js +++ b/snippets/database-next/offline/rtdb_estimate_clock_skew.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/offline.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_estimate_clock_skew_modular] import { getDatabase, ref, onValue } from "firebase/database"; diff --git a/snippets/database-next/offline/rtdb_ondisconnect_callback.js b/snippets/database-next/offline/rtdb_ondisconnect_callback.js index 6b7f2950..16071828 100644 --- a/snippets/database-next/offline/rtdb_ondisconnect_callback.js +++ b/snippets/database-next/offline/rtdb_ondisconnect_callback.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/offline.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_ondisconnect_callback_modular] onDisconnect(presenceRef).remove().catch((err) => { diff --git a/snippets/database-next/offline/rtdb_ondisconnect_cancel.js b/snippets/database-next/offline/rtdb_ondisconnect_cancel.js index f5c3c972..f18cab8e 100644 --- a/snippets/database-next/offline/rtdb_ondisconnect_cancel.js +++ b/snippets/database-next/offline/rtdb_ondisconnect_cancel.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/offline.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_ondisconnect_cancel_modular] const onDisconnectRef = onDisconnect(presenceRef); diff --git a/snippets/database-next/offline/rtdb_ondisconnect_simple.js b/snippets/database-next/offline/rtdb_ondisconnect_simple.js index da1fdf4f..340e3fe5 100644 --- a/snippets/database-next/offline/rtdb_ondisconnect_simple.js +++ b/snippets/database-next/offline/rtdb_ondisconnect_simple.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/offline.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_ondisconnect_simple_modular] import { getDatabase, ref, onDisconnect } from "firebase/database"; diff --git a/snippets/database-next/offline/rtdb_sample_presence_app.js b/snippets/database-next/offline/rtdb_sample_presence_app.js index 504f396f..394e64e6 100644 --- a/snippets/database-next/offline/rtdb_sample_presence_app.js +++ b/snippets/database-next/offline/rtdb_sample_presence_app.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/offline.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_sample_presence_app_modular] import { getDatabase, ref, onValue, push, onDisconnect, set, serverTimestamp } from "firebase/database"; diff --git a/snippets/database-next/offline/rtdb_set_server_timestamp.js b/snippets/database-next/offline/rtdb_set_server_timestamp.js index 4a1a219b..8a9d2e8a 100644 --- a/snippets/database-next/offline/rtdb_set_server_timestamp.js +++ b/snippets/database-next/offline/rtdb_set_server_timestamp.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/offline.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_set_server_timestamp_modular] import { getDatabase, ref, onDisconnect, serverTimestamp } from "firebase/database"; diff --git a/snippets/database-next/read-and-write/rtdb_read_once_get.js b/snippets/database-next/read-and-write/rtdb_read_once_get.js index ec618da0..a0cf77a5 100644 --- a/snippets/database-next/read-and-write/rtdb_read_once_get.js +++ b/snippets/database-next/read-and-write/rtdb_read_once_get.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/read-and-write.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_read_once_get_modular] import { getDatabase, ref, child, get } from "firebase/database"; diff --git a/snippets/database-next/read-and-write/rtdb_social_completion_callback.js b/snippets/database-next/read-and-write/rtdb_social_completion_callback.js index 483dd962..b1ab42a1 100644 --- a/snippets/database-next/read-and-write/rtdb_social_completion_callback.js +++ b/snippets/database-next/read-and-write/rtdb_social_completion_callback.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/read-and-write.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_completion_callback_modular] import { getDatabase, ref, set } from "firebase/database"; diff --git a/snippets/database-next/read-and-write/rtdb_social_listen_star_count.js b/snippets/database-next/read-and-write/rtdb_social_listen_star_count.js index 3f7f498b..ab520ce6 100644 --- a/snippets/database-next/read-and-write/rtdb_social_listen_star_count.js +++ b/snippets/database-next/read-and-write/rtdb_social_listen_star_count.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/read-and-write.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_listen_star_count_modular] import { getDatabase, ref, onValue} from "firebase/database"; diff --git a/snippets/database-next/read-and-write/rtdb_social_single_value_read.js b/snippets/database-next/read-and-write/rtdb_social_single_value_read.js index 276bdfd3..3debb5e5 100644 --- a/snippets/database-next/read-and-write/rtdb_social_single_value_read.js +++ b/snippets/database-next/read-and-write/rtdb_social_single_value_read.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/read-and-write.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_single_value_read_modular] import { getDatabase, ref, onValue } from "firebase/database"; diff --git a/snippets/database-next/read-and-write/rtdb_social_star_increment.js b/snippets/database-next/read-and-write/rtdb_social_star_increment.js index bb4f9d7e..dce5e8a9 100644 --- a/snippets/database-next/read-and-write/rtdb_social_star_increment.js +++ b/snippets/database-next/read-and-write/rtdb_social_star_increment.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/read-and-write.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_star_increment_modular] function addStar(uid, key) { diff --git a/snippets/database-next/read-and-write/rtdb_social_star_transaction.js b/snippets/database-next/read-and-write/rtdb_social_star_transaction.js index af817f0c..bf837c92 100644 --- a/snippets/database-next/read-and-write/rtdb_social_star_transaction.js +++ b/snippets/database-next/read-and-write/rtdb_social_star_transaction.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/read-and-write.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_star_transaction_modular] import { getDatabase, ref, runTransaction } from "firebase/database"; diff --git a/snippets/database-next/read-and-write/rtdb_social_write_fan_out.js b/snippets/database-next/read-and-write/rtdb_social_write_fan_out.js index a87824e9..f787d4bd 100644 --- a/snippets/database-next/read-and-write/rtdb_social_write_fan_out.js +++ b/snippets/database-next/read-and-write/rtdb_social_write_fan_out.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/read-and-write.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_social_write_fan_out_modular] function writeNewPost(uid, username, picture, title, body) { diff --git a/snippets/database-next/read-and-write/rtdb_write_new_user.js b/snippets/database-next/read-and-write/rtdb_write_new_user.js index 85ecc9f4..eef24086 100644 --- a/snippets/database-next/read-and-write/rtdb_write_new_user.js +++ b/snippets/database-next/read-and-write/rtdb_write_new_user.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/read-and-write.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_write_new_user_modular] import { getDatabase, ref, set } from "firebase/database"; diff --git a/snippets/database-next/read-and-write/rtdb_write_new_user_completion.js b/snippets/database-next/read-and-write/rtdb_write_new_user_completion.js index b6e0dacb..8bb5878e 100644 --- a/snippets/database-next/read-and-write/rtdb_write_new_user_completion.js +++ b/snippets/database-next/read-and-write/rtdb_write_new_user_completion.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/read-and-write.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_write_new_user_completion_modular] import { getDatabase, ref, set } from "firebase/database"; diff --git a/snippets/database-next/sharding/rtdb_multiple_instances.js b/snippets/database-next/sharding/rtdb_multiple_instances.js index cd40b918..fe66cbc8 100644 --- a/snippets/database-next/sharding/rtdb_multiple_instances.js +++ b/snippets/database-next/sharding/rtdb_multiple_instances.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./database-next/sharding.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rtdb_multiple_instances_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/firebaseapp-next/firebaseapp/firebase_options.js b/snippets/firebaseapp-next/firebaseapp/firebase_options.js index 76a420e9..f951d4d7 100644 --- a/snippets/firebaseapp-next/firebaseapp/firebase_options.js +++ b/snippets/firebaseapp-next/firebaseapp/firebase_options.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firebaseapp-next/firebaseapp.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START firebase_options_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/firebaseapp-next/firebaseapp/firebase_secondary.js b/snippets/firebaseapp-next/firebaseapp/firebase_secondary.js index c78f2b3f..2dd04f0f 100644 --- a/snippets/firebaseapp-next/firebaseapp/firebase_secondary.js +++ b/snippets/firebaseapp-next/firebaseapp/firebase_secondary.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firebaseapp-next/firebaseapp.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START firebase_secondary_modular] // Initialize another app with a different config diff --git a/snippets/firestore-next/emulator-suite/fs_emulator_connect.js b/snippets/firestore-next/emulator-suite/fs_emulator_connect.js index 3754a2df..7e31fcfd 100644 --- a/snippets/firestore-next/emulator-suite/fs_emulator_connect.js +++ b/snippets/firestore-next/emulator-suite/fs_emulator_connect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/emulator-suite.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fs_emulator_connect_modular] import { getFirestore, connectFirestoreEmulator } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/add_ada_lovelace.js b/snippets/firestore-next/test-firestore/add_ada_lovelace.js index 7e9a0516..ae9e168a 100644 --- a/snippets/firestore-next/test-firestore/add_ada_lovelace.js +++ b/snippets/firestore-next/test-firestore/add_ada_lovelace.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START add_ada_lovelace_modular] import { collection, addDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/add_alan_turing.js b/snippets/firestore-next/test-firestore/add_alan_turing.js index 6ea96265..0c7abaaf 100644 --- a/snippets/firestore-next/test-firestore/add_alan_turing.js +++ b/snippets/firestore-next/test-firestore/add_alan_turing.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START add_alan_turing_modular] // Add a second document with a generated ID. diff --git a/snippets/firestore-next/test-firestore/add_document.js b/snippets/firestore-next/test-firestore/add_document.js index 2ecb5c36..ddfea007 100644 --- a/snippets/firestore-next/test-firestore/add_document.js +++ b/snippets/firestore-next/test-firestore/add_document.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START add_document_modular] import { collection, addDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/add_rating_transaction.js b/snippets/firestore-next/test-firestore/add_rating_transaction.js index e5c279a9..7d698806 100644 --- a/snippets/firestore-next/test-firestore/add_rating_transaction.js +++ b/snippets/firestore-next/test-firestore/add_rating_transaction.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START add_rating_transaction_modular] import { collection, doc, runTransaction } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/array_contains_any_filter.js b/snippets/firestore-next/test-firestore/array_contains_any_filter.js index 72c550f8..3ee6e4d9 100644 --- a/snippets/firestore-next/test-firestore/array_contains_any_filter.js +++ b/snippets/firestore-next/test-firestore/array_contains_any_filter.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START array_contains_any_filter_modular] import { query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/array_contains_filter.js b/snippets/firestore-next/test-firestore/array_contains_filter.js index 9a9fcdb3..4576a193 100644 --- a/snippets/firestore-next/test-firestore/array_contains_filter.js +++ b/snippets/firestore-next/test-firestore/array_contains_filter.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START array_contains_filter_modular] import { query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/chain_filters.js b/snippets/firestore-next/test-firestore/chain_filters.js index b13640b4..cbf3322f 100644 --- a/snippets/firestore-next/test-firestore/chain_filters.js +++ b/snippets/firestore-next/test-firestore/chain_filters.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START chain_filters_modular] import { query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/cities_document_set.js b/snippets/firestore-next/test-firestore/cities_document_set.js index 793c4a8e..4b85b25d 100644 --- a/snippets/firestore-next/test-firestore/cities_document_set.js +++ b/snippets/firestore-next/test-firestore/cities_document_set.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START cities_document_set_modular] import { doc, setDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/city_custom_object.js b/snippets/firestore-next/test-firestore/city_custom_object.js index 2b9f2c02..c8e4b80c 100644 --- a/snippets/firestore-next/test-firestore/city_custom_object.js +++ b/snippets/firestore-next/test-firestore/city_custom_object.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START city_custom_object_modular] class City { diff --git a/snippets/firestore-next/test-firestore/collection_reference.js b/snippets/firestore-next/test-firestore/collection_reference.js index 2b43362d..d69f17e4 100644 --- a/snippets/firestore-next/test-firestore/collection_reference.js +++ b/snippets/firestore-next/test-firestore/collection_reference.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START collection_reference_modular] import { collection } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/data_types.js b/snippets/firestore-next/test-firestore/data_types.js index 9aa46b2b..9218ae6b 100644 --- a/snippets/firestore-next/test-firestore/data_types.js +++ b/snippets/firestore-next/test-firestore/data_types.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START data_types_modular] import { doc, setDoc, Timestamp } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/delete_collection.js b/snippets/firestore-next/test-firestore/delete_collection.js index 758e653e..4adef6f8 100644 --- a/snippets/firestore-next/test-firestore/delete_collection.js +++ b/snippets/firestore-next/test-firestore/delete_collection.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START delete_collection_modular] /** diff --git a/snippets/firestore-next/test-firestore/delete_document.js b/snippets/firestore-next/test-firestore/delete_document.js index 0933d311..b00ae490 100644 --- a/snippets/firestore-next/test-firestore/delete_document.js +++ b/snippets/firestore-next/test-firestore/delete_document.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START delete_document_modular] import { doc, deleteDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/detach_listener.js b/snippets/firestore-next/test-firestore/detach_listener.js index 24848db2..cd921018 100644 --- a/snippets/firestore-next/test-firestore/detach_listener.js +++ b/snippets/firestore-next/test-firestore/detach_listener.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START detach_listener_modular] import { collection, onSnapshot } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/disable_network.js b/snippets/firestore-next/test-firestore/disable_network.js index 095e6090..efa1fc27 100644 --- a/snippets/firestore-next/test-firestore/disable_network.js +++ b/snippets/firestore-next/test-firestore/disable_network.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START disable_network_modular] import { disableNetwork } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/doc_reference.js b/snippets/firestore-next/test-firestore/doc_reference.js index 10b96445..c5380539 100644 --- a/snippets/firestore-next/test-firestore/doc_reference.js +++ b/snippets/firestore-next/test-firestore/doc_reference.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START doc_reference_modular] import { doc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/doc_reference_alternative.js b/snippets/firestore-next/test-firestore/doc_reference_alternative.js index 8b60f4de..c88294a9 100644 --- a/snippets/firestore-next/test-firestore/doc_reference_alternative.js +++ b/snippets/firestore-next/test-firestore/doc_reference_alternative.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START doc_reference_alternative_modular] import { doc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/enable_network.js b/snippets/firestore-next/test-firestore/enable_network.js index e6d59889..2df9171b 100644 --- a/snippets/firestore-next/test-firestore/enable_network.js +++ b/snippets/firestore-next/test-firestore/enable_network.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START enable_network_modular] import { enableNetwork } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/example_data.js b/snippets/firestore-next/test-firestore/example_data.js index 52204078..cb7e92aa 100644 --- a/snippets/firestore-next/test-firestore/example_data.js +++ b/snippets/firestore-next/test-firestore/example_data.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START example_data_modular] import { collection, doc, setDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/example_filters.js b/snippets/firestore-next/test-firestore/example_filters.js index b5f58a5c..b481e5a8 100644 --- a/snippets/firestore-next/test-firestore/example_filters.js +++ b/snippets/firestore-next/test-firestore/example_filters.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START example_filters_modular] const stateQuery = query(citiesRef, where("state", "==", "CA")); diff --git a/snippets/firestore-next/test-firestore/filter_and_order.js b/snippets/firestore-next/test-firestore/filter_and_order.js index 13e31c0a..b8c03705 100644 --- a/snippets/firestore-next/test-firestore/filter_and_order.js +++ b/snippets/firestore-next/test-firestore/filter_and_order.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START filter_and_order_modular] import { query, where, orderBy, limit } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/fs_collection_group_query.js b/snippets/firestore-next/test-firestore/fs_collection_group_query.js index 96a2d735..3468017b 100644 --- a/snippets/firestore-next/test-firestore/fs_collection_group_query.js +++ b/snippets/firestore-next/test-firestore/fs_collection_group_query.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fs_collection_group_query_modular] import { collectionGroup, query, where, getDocs } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/fs_collection_group_query_data_setup.js b/snippets/firestore-next/test-firestore/fs_collection_group_query_data_setup.js index a4e07952..f4f62178 100644 --- a/snippets/firestore-next/test-firestore/fs_collection_group_query_data_setup.js +++ b/snippets/firestore-next/test-firestore/fs_collection_group_query_data_setup.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fs_collection_group_query_data_setup_modular] import { collection, doc, setDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/fs_setup_cache.js b/snippets/firestore-next/test-firestore/fs_setup_cache.js index 3085eb65..8429da4c 100644 --- a/snippets/firestore-next/test-firestore/fs_setup_cache.js +++ b/snippets/firestore-next/test-firestore/fs_setup_cache.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fs_setup_cache_modular] import { initializeFirestore, CACHE_SIZE_UNLIMITED } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/get_all_users.js b/snippets/firestore-next/test-firestore/get_all_users.js index c8c86b5d..59dd760a 100644 --- a/snippets/firestore-next/test-firestore/get_all_users.js +++ b/snippets/firestore-next/test-firestore/get_all_users.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START get_all_users_modular] import { collection, getDocs } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/get_custom_object.js b/snippets/firestore-next/test-firestore/get_custom_object.js index 3e39eafa..e20a6839 100644 --- a/snippets/firestore-next/test-firestore/get_custom_object.js +++ b/snippets/firestore-next/test-firestore/get_custom_object.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START get_custom_object_modular] import { doc, getDoc} from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/get_document.js b/snippets/firestore-next/test-firestore/get_document.js index 1ca4787d..4cfbaaf6 100644 --- a/snippets/firestore-next/test-firestore/get_document.js +++ b/snippets/firestore-next/test-firestore/get_document.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START get_document_modular] import { doc, getDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/get_document_options.js b/snippets/firestore-next/test-firestore/get_document_options.js index 8b161b27..3a708a0d 100644 --- a/snippets/firestore-next/test-firestore/get_document_options.js +++ b/snippets/firestore-next/test-firestore/get_document_options.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START get_document_options_modular] import { doc, getDocFromCache } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/get_multiple.js b/snippets/firestore-next/test-firestore/get_multiple.js index 9b1616c2..59f8f9c3 100644 --- a/snippets/firestore-next/test-firestore/get_multiple.js +++ b/snippets/firestore-next/test-firestore/get_multiple.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START get_multiple_modular] import { collection, query, where, getDocs } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/get_multiple_all.js b/snippets/firestore-next/test-firestore/get_multiple_all.js index c61ec1ad..721f222e 100644 --- a/snippets/firestore-next/test-firestore/get_multiple_all.js +++ b/snippets/firestore-next/test-firestore/get_multiple_all.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START get_multiple_all_modular] import { collection, getDocs } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/handle_listen_errors.js b/snippets/firestore-next/test-firestore/handle_listen_errors.js index bb59c7d5..c330b67b 100644 --- a/snippets/firestore-next/test-firestore/handle_listen_errors.js +++ b/snippets/firestore-next/test-firestore/handle_listen_errors.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START handle_listen_errors_modular] import { collection, onSnapshot } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/in_filter.js b/snippets/firestore-next/test-firestore/in_filter.js index 55f0a0a7..4a041397 100644 --- a/snippets/firestore-next/test-firestore/in_filter.js +++ b/snippets/firestore-next/test-firestore/in_filter.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START in_filter_modular] import { query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/in_filter_with_array.js b/snippets/firestore-next/test-firestore/in_filter_with_array.js index 722b11aa..ebe6f18b 100644 --- a/snippets/firestore-next/test-firestore/in_filter_with_array.js +++ b/snippets/firestore-next/test-firestore/in_filter_with_array.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START in_filter_with_array_modular] import { query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/initialize_persistence.js b/snippets/firestore-next/test-firestore/initialize_persistence.js index 97936466..acd5e988 100644 --- a/snippets/firestore-next/test-firestore/initialize_persistence.js +++ b/snippets/firestore-next/test-firestore/initialize_persistence.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START initialize_persistence_modular] import { enableIndexedDbPersistence } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/invalid_filter_and_order.js b/snippets/firestore-next/test-firestore/invalid_filter_and_order.js index 5d8e73e6..708c9cd1 100644 --- a/snippets/firestore-next/test-firestore/invalid_filter_and_order.js +++ b/snippets/firestore-next/test-firestore/invalid_filter_and_order.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START invalid_filter_and_order_modular] import { query, where, orderBy } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/invalid_range_filters.js b/snippets/firestore-next/test-firestore/invalid_range_filters.js index 9ebde4ef..b6236824 100644 --- a/snippets/firestore-next/test-firestore/invalid_range_filters.js +++ b/snippets/firestore-next/test-firestore/invalid_range_filters.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START invalid_range_filters_modular] import { query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/listen_diffs.js b/snippets/firestore-next/test-firestore/listen_diffs.js index 0ef32dff..531c6f1e 100644 --- a/snippets/firestore-next/test-firestore/listen_diffs.js +++ b/snippets/firestore-next/test-firestore/listen_diffs.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START listen_diffs_modular] import { collection, query, where, onSnapshot } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/listen_document.js b/snippets/firestore-next/test-firestore/listen_document.js index 9b6507fc..47b65229 100644 --- a/snippets/firestore-next/test-firestore/listen_document.js +++ b/snippets/firestore-next/test-firestore/listen_document.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START listen_document_modular] import { doc, onSnapshot } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/listen_document_local.js b/snippets/firestore-next/test-firestore/listen_document_local.js index 08041a3f..cdb4e63b 100644 --- a/snippets/firestore-next/test-firestore/listen_document_local.js +++ b/snippets/firestore-next/test-firestore/listen_document_local.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START listen_document_local_modular] import { doc, onSnapshot } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/listen_for_users.js b/snippets/firestore-next/test-firestore/listen_for_users.js index 3c42287a..5a519349 100644 --- a/snippets/firestore-next/test-firestore/listen_for_users.js +++ b/snippets/firestore-next/test-firestore/listen_for_users.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START listen_for_users_modular] import { collection, where, query, onSnapshot } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/listen_multiple.js b/snippets/firestore-next/test-firestore/listen_multiple.js index 0c7f9d46..cf30c178 100644 --- a/snippets/firestore-next/test-firestore/listen_multiple.js +++ b/snippets/firestore-next/test-firestore/listen_multiple.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START listen_multiple_modular] import { collection, query, where, onSnapshot } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/listen_with_metadata.js b/snippets/firestore-next/test-firestore/listen_with_metadata.js index 42848f62..693c1dc1 100644 --- a/snippets/firestore-next/test-firestore/listen_with_metadata.js +++ b/snippets/firestore-next/test-firestore/listen_with_metadata.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START listen_with_metadata_modular] import { doc, onSnapshot } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/new_document.js b/snippets/firestore-next/test-firestore/new_document.js index c83e4aa6..219efce7 100644 --- a/snippets/firestore-next/test-firestore/new_document.js +++ b/snippets/firestore-next/test-firestore/new_document.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START new_document_modular] import { collection, doc, setDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/not_in_filter.js b/snippets/firestore-next/test-firestore/not_in_filter.js index c880cb02..70e82480 100644 --- a/snippets/firestore-next/test-firestore/not_in_filter.js +++ b/snippets/firestore-next/test-firestore/not_in_filter.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START not_in_filter_modular] import { query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/order_and_end.js b/snippets/firestore-next/test-firestore/order_and_end.js index d543ea06..7c68047f 100644 --- a/snippets/firestore-next/test-firestore/order_and_end.js +++ b/snippets/firestore-next/test-firestore/order_and_end.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START order_and_end_modular] import { query, orderBy, endAt } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/order_and_limit.js b/snippets/firestore-next/test-firestore/order_and_limit.js index 6979b518..6ff03737 100644 --- a/snippets/firestore-next/test-firestore/order_and_limit.js +++ b/snippets/firestore-next/test-firestore/order_and_limit.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START order_and_limit_modular] import { query, orderBy, limit } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/order_and_limit_desc.js b/snippets/firestore-next/test-firestore/order_and_limit_desc.js index ed61d2ab..725983de 100644 --- a/snippets/firestore-next/test-firestore/order_and_limit_desc.js +++ b/snippets/firestore-next/test-firestore/order_and_limit_desc.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START order_and_limit_desc_modular] import { query, orderBy, limit } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/order_and_start.js b/snippets/firestore-next/test-firestore/order_and_start.js index 20587a90..35cccc84 100644 --- a/snippets/firestore-next/test-firestore/order_and_start.js +++ b/snippets/firestore-next/test-firestore/order_and_start.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START order_and_start_modular] import { query, orderBy, startAt } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/order_multiple.js b/snippets/firestore-next/test-firestore/order_multiple.js index c0991c8c..7e6e5ad6 100644 --- a/snippets/firestore-next/test-firestore/order_multiple.js +++ b/snippets/firestore-next/test-firestore/order_multiple.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START order_multiple_modular] import { query, orderBy } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/paginate.js b/snippets/firestore-next/test-firestore/paginate.js index 26a7325b..cdc146ca 100644 --- a/snippets/firestore-next/test-firestore/paginate.js +++ b/snippets/firestore-next/test-firestore/paginate.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START paginate_modular] import { collection, query, orderBy, startAfter, limit, getDocs } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/server_timestamp_resolution_options.js b/snippets/firestore-next/test-firestore/server_timestamp_resolution_options.js index 9fab8f77..ac0ce5cb 100644 --- a/snippets/firestore-next/test-firestore/server_timestamp_resolution_options.js +++ b/snippets/firestore-next/test-firestore/server_timestamp_resolution_options.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START server_timestamp_resolution_options_modular] import { doc, updateDoc, serverTimestamp, onSnapshot } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/set_custom_object.js b/snippets/firestore-next/test-firestore/set_custom_object.js index 54febc9f..e27d3dd4 100644 --- a/snippets/firestore-next/test-firestore/set_custom_object.js +++ b/snippets/firestore-next/test-firestore/set_custom_object.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START set_custom_object_modular] import { doc, setDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/set_document.js b/snippets/firestore-next/test-firestore/set_document.js index 94a562af..a4c9bdb4 100644 --- a/snippets/firestore-next/test-firestore/set_document.js +++ b/snippets/firestore-next/test-firestore/set_document.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START set_document_modular] import { doc, setDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/set_with_merge.js b/snippets/firestore-next/test-firestore/set_with_merge.js index ca0fd3b6..f33def30 100644 --- a/snippets/firestore-next/test-firestore/set_with_merge.js +++ b/snippets/firestore-next/test-firestore/set_with_merge.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START set_with_merge_modular] import { doc, setDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/simple_queries.js b/snippets/firestore-next/test-firestore/simple_queries.js index 348cd4e6..9eede831 100644 --- a/snippets/firestore-next/test-firestore/simple_queries.js +++ b/snippets/firestore-next/test-firestore/simple_queries.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START simple_queries_modular] // Create a reference to the cities collection diff --git a/snippets/firestore-next/test-firestore/simple_queries_again.js b/snippets/firestore-next/test-firestore/simple_queries_again.js index f6256baf..bb2ebc83 100644 --- a/snippets/firestore-next/test-firestore/simple_queries_again.js +++ b/snippets/firestore-next/test-firestore/simple_queries_again.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START simple_queries_again_modular] import { collection, query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/simple_query_not_equal.js b/snippets/firestore-next/test-firestore/simple_query_not_equal.js index a9ca2690..d2bef734 100644 --- a/snippets/firestore-next/test-firestore/simple_query_not_equal.js +++ b/snippets/firestore-next/test-firestore/simple_query_not_equal.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START simple_query_not_equal_modular] const notCapitalQuery = query(citiesRef, where("capital", "!=", false)); diff --git a/snippets/firestore-next/test-firestore/start_doc.js b/snippets/firestore-next/test-firestore/start_doc.js index 23f38e63..e75c7984 100644 --- a/snippets/firestore-next/test-firestore/start_doc.js +++ b/snippets/firestore-next/test-firestore/start_doc.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START start_doc_modular] import { collection, doc, getDoc, query, orderBy, startAt } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/start_multiple_orderby.js b/snippets/firestore-next/test-firestore/start_multiple_orderby.js index f0faaec0..88133d16 100644 --- a/snippets/firestore-next/test-firestore/start_multiple_orderby.js +++ b/snippets/firestore-next/test-firestore/start_multiple_orderby.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START start_multiple_orderby_modular] // Will return all Springfields diff --git a/snippets/firestore-next/test-firestore/subcollection_reference.js b/snippets/firestore-next/test-firestore/subcollection_reference.js index 7b42af67..997714f1 100644 --- a/snippets/firestore-next/test-firestore/subcollection_reference.js +++ b/snippets/firestore-next/test-firestore/subcollection_reference.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START subcollection_reference_modular] import { doc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/transaction.js b/snippets/firestore-next/test-firestore/transaction.js index 27b84264..727c5f41 100644 --- a/snippets/firestore-next/test-firestore/transaction.js +++ b/snippets/firestore-next/test-firestore/transaction.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START transaction_modular] import { runTransaction } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/transaction_promise.js b/snippets/firestore-next/test-firestore/transaction_promise.js index 7646bb6d..94792933 100644 --- a/snippets/firestore-next/test-firestore/transaction_promise.js +++ b/snippets/firestore-next/test-firestore/transaction_promise.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START transaction_promise_modular] import { doc, runTransaction } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/update_delete_field.js b/snippets/firestore-next/test-firestore/update_delete_field.js index 7bff4444..fc6f1f94 100644 --- a/snippets/firestore-next/test-firestore/update_delete_field.js +++ b/snippets/firestore-next/test-firestore/update_delete_field.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START update_delete_field_modular] import { doc, updateDoc, deleteField } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/update_document.js b/snippets/firestore-next/test-firestore/update_document.js index 23488474..1073482a 100644 --- a/snippets/firestore-next/test-firestore/update_document.js +++ b/snippets/firestore-next/test-firestore/update_document.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START update_document_modular] import { doc, updateDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/update_document_array.js b/snippets/firestore-next/test-firestore/update_document_array.js index 463e857d..29a5c04e 100644 --- a/snippets/firestore-next/test-firestore/update_document_array.js +++ b/snippets/firestore-next/test-firestore/update_document_array.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START update_document_array_modular] import { doc, updateDoc, arrayUnion, arrayRemove } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/update_document_increment.js b/snippets/firestore-next/test-firestore/update_document_increment.js index 30258a6c..b8555bcf 100644 --- a/snippets/firestore-next/test-firestore/update_document_increment.js +++ b/snippets/firestore-next/test-firestore/update_document_increment.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START update_document_increment_modular] import { doc, updateDoc, increment } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/update_document_nested.js b/snippets/firestore-next/test-firestore/update_document_nested.js index d3c12533..be66b031 100644 --- a/snippets/firestore-next/test-firestore/update_document_nested.js +++ b/snippets/firestore-next/test-firestore/update_document_nested.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START update_document_nested_modular] import { doc, setDoc, updateDoc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/update_with_server_timestamp.js b/snippets/firestore-next/test-firestore/update_with_server_timestamp.js index e4e2f248..e761f11f 100644 --- a/snippets/firestore-next/test-firestore/update_with_server_timestamp.js +++ b/snippets/firestore-next/test-firestore/update_with_server_timestamp.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START update_with_server_timestamp_modular] import { updateDoc, serverTimestamp } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/use_from_cache.js b/snippets/firestore-next/test-firestore/use_from_cache.js index 9f125e6c..e9f257da 100644 --- a/snippets/firestore-next/test-firestore/use_from_cache.js +++ b/snippets/firestore-next/test-firestore/use_from_cache.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START use_from_cache_modular] import { collection, onSnapshot, where, query } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/valid_filter_and_order.js b/snippets/firestore-next/test-firestore/valid_filter_and_order.js index ae2519d0..d75524e9 100644 --- a/snippets/firestore-next/test-firestore/valid_filter_and_order.js +++ b/snippets/firestore-next/test-firestore/valid_filter_and_order.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START valid_filter_and_order_modular] import { query, where, orderBy } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/valid_range_filters.js b/snippets/firestore-next/test-firestore/valid_range_filters.js index cd559456..9a7f5350 100644 --- a/snippets/firestore-next/test-firestore/valid_range_filters.js +++ b/snippets/firestore-next/test-firestore/valid_range_filters.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START valid_range_filters_modular] import { query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-firestore/write_batch.js b/snippets/firestore-next/test-firestore/write_batch.js index 42494f5a..38f41f47 100644 --- a/snippets/firestore-next/test-firestore/write_batch.js +++ b/snippets/firestore-next/test-firestore/write_batch.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.firestore.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START write_batch_modular] import { writeBatch, doc } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-solution-aggregation/get_collection_ratings.js b/snippets/firestore-next/test-solution-aggregation/get_collection_ratings.js index 06b85efc..bc83cf8b 100644 --- a/snippets/firestore-next/test-solution-aggregation/get_collection_ratings.js +++ b/snippets/firestore-next/test-solution-aggregation/get_collection_ratings.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-aggregation.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START get_collection_ratings_modular] import { collection, getDocs } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-solution-aggregation/sample_doc.js b/snippets/firestore-next/test-solution-aggregation/sample_doc.js index 651b4d37..4cec6773 100644 --- a/snippets/firestore-next/test-solution-aggregation/sample_doc.js +++ b/snippets/firestore-next/test-solution-aggregation/sample_doc.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-aggregation.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START sample_doc_modular] const arinellDoc = { diff --git a/snippets/firestore-next/test-solution-arrays/post_with_array.js b/snippets/firestore-next/test-solution-arrays/post_with_array.js index da070d3d..eb336d14 100644 --- a/snippets/firestore-next/test-solution-arrays/post_with_array.js +++ b/snippets/firestore-next/test-solution-arrays/post_with_array.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-arrays.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START post_with_array_modular] // Sample document in the 'posts' collection. diff --git a/snippets/firestore-next/test-solution-arrays/post_with_map.js b/snippets/firestore-next/test-solution-arrays/post_with_map.js index 36ce26cc..16313ace 100644 --- a/snippets/firestore-next/test-solution-arrays/post_with_map.js +++ b/snippets/firestore-next/test-solution-arrays/post_with_map.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-arrays.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START post_with_map_modular] // Sample document in the 'posts' collection diff --git a/snippets/firestore-next/test-solution-arrays/post_with_map_advanced.js b/snippets/firestore-next/test-solution-arrays/post_with_map_advanced.js index b5b40eca..4cb176db 100644 --- a/snippets/firestore-next/test-solution-arrays/post_with_map_advanced.js +++ b/snippets/firestore-next/test-solution-arrays/post_with_map_advanced.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-arrays.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START post_with_map_advanced_modular] // The value of each entry in 'categories' is a unix timestamp diff --git a/snippets/firestore-next/test-solution-arrays/query_in_category.js b/snippets/firestore-next/test-solution-arrays/query_in_category.js index 212ef92b..3a13d2cf 100644 --- a/snippets/firestore-next/test-solution-arrays/query_in_category.js +++ b/snippets/firestore-next/test-solution-arrays/query_in_category.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-arrays.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START query_in_category_modular] import { collection, getDocs, query, where } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-solution-arrays/query_in_category_timestamp.js b/snippets/firestore-next/test-solution-arrays/query_in_category_timestamp.js index 31336fac..87dd9c6f 100644 --- a/snippets/firestore-next/test-solution-arrays/query_in_category_timestamp.js +++ b/snippets/firestore-next/test-solution-arrays/query_in_category_timestamp.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-arrays.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START query_in_category_timestamp_modular] import { collection, query, where, orderBy } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-solution-arrays/query_in_category_timestamp_invalid.js b/snippets/firestore-next/test-solution-arrays/query_in_category_timestamp_invalid.js index 29c0a18c..c387ac2d 100644 --- a/snippets/firestore-next/test-solution-arrays/query_in_category_timestamp_invalid.js +++ b/snippets/firestore-next/test-solution-arrays/query_in_category_timestamp_invalid.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-arrays.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START query_in_category_timestamp_invalid_modular] import { collection, query, where, orderBy, FirebaseFirestore } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-solution-bundles/fs_bundle_load.js b/snippets/firestore-next/test-solution-bundles/fs_bundle_load.js index 9aa8f430..e61315d2 100644 --- a/snippets/firestore-next/test-solution-bundles/fs_bundle_load.js +++ b/snippets/firestore-next/test-solution-bundles/fs_bundle_load.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-bundles.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fs_bundle_load_modular] import { loadBundle, namedQuery, getDocsFromCache } from "firebase/firestore"; diff --git a/snippets/firestore-next/test-solution-counters/create_counter.js b/snippets/firestore-next/test-solution-counters/create_counter.js index 738dd634..11dfb3d8 100644 --- a/snippets/firestore-next/test-solution-counters/create_counter.js +++ b/snippets/firestore-next/test-solution-counters/create_counter.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-counters.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START create_counter_modular] function createCounter(ref, num_shards) { diff --git a/snippets/firestore-next/test-solution-counters/get_count.js b/snippets/firestore-next/test-solution-counters/get_count.js index 2fc01217..7dec78f1 100644 --- a/snippets/firestore-next/test-solution-counters/get_count.js +++ b/snippets/firestore-next/test-solution-counters/get_count.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-counters.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START get_count_modular] async function getCount(ref) { diff --git a/snippets/firestore-next/test-solution-counters/increment_counter.js b/snippets/firestore-next/test-solution-counters/increment_counter.js index c74ec711..22defe9c 100644 --- a/snippets/firestore-next/test-solution-counters/increment_counter.js +++ b/snippets/firestore-next/test-solution-counters/increment_counter.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-counters.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START increment_counter_modular] function incrementCounter(db, ref, num_shards) { diff --git a/snippets/firestore-next/test-solution-geoqueries/fs_geo_add_hash.js b/snippets/firestore-next/test-solution-geoqueries/fs_geo_add_hash.js index f50ab477..29caa3d5 100644 --- a/snippets/firestore-next/test-solution-geoqueries/fs_geo_add_hash.js +++ b/snippets/firestore-next/test-solution-geoqueries/fs_geo_add_hash.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-geoqueries.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fs_geo_add_hash_modular] import { doc, updateDoc } from 'firebase/firestore'; diff --git a/snippets/firestore-next/test-solution-geoqueries/fs_geo_query_hashes.js b/snippets/firestore-next/test-solution-geoqueries/fs_geo_query_hashes.js index 1230a989..95a8863c 100644 --- a/snippets/firestore-next/test-solution-geoqueries/fs_geo_query_hashes.js +++ b/snippets/firestore-next/test-solution-geoqueries/fs_geo_query_hashes.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./firestore-next/test.solution-geoqueries.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fs_geo_query_hashes_modular] import { collection, query, orderBy, startAt, endAt, getDocs } from 'firebase/firestore'; diff --git a/snippets/functions-next/callable/fb_functions_call_add_message.js b/snippets/functions-next/callable/fb_functions_call_add_message.js index 12d4d242..67c01eff 100644 --- a/snippets/functions-next/callable/fb_functions_call_add_message.js +++ b/snippets/functions-next/callable/fb_functions_call_add_message.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./functions-next/callable.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fb_functions_call_add_message_modular] import { getFunctions, httpsCallable } from "firebase/functions"; diff --git a/snippets/functions-next/callable/fb_functions_call_add_message_error.js b/snippets/functions-next/callable/fb_functions_call_add_message_error.js index 3a34c845..e87afbdd 100644 --- a/snippets/functions-next/callable/fb_functions_call_add_message_error.js +++ b/snippets/functions-next/callable/fb_functions_call_add_message_error.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./functions-next/callable.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fb_functions_call_add_message_error_modular] import { getFunctions, httpsCallable } from "firebase/functions"; diff --git a/snippets/functions-next/callable/fb_functions_initialize.js b/snippets/functions-next/callable/fb_functions_initialize.js index 7c8e4d49..d03268c8 100644 --- a/snippets/functions-next/callable/fb_functions_initialize.js +++ b/snippets/functions-next/callable/fb_functions_initialize.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./functions-next/callable.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fb_functions_initialize_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/functions-next/emulator-suite/fb_functions_callable_call.js b/snippets/functions-next/emulator-suite/fb_functions_callable_call.js index 2619806b..e547c3d3 100644 --- a/snippets/functions-next/emulator-suite/fb_functions_callable_call.js +++ b/snippets/functions-next/emulator-suite/fb_functions_callable_call.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./functions-next/emulator-suite.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fb_functions_callable_call_modular] import { getApp } from "firebase/app"; diff --git a/snippets/functions-next/emulator-suite/fb_functions_emulator_connect.js b/snippets/functions-next/emulator-suite/fb_functions_emulator_connect.js index 1a314acf..9b186fc2 100644 --- a/snippets/functions-next/emulator-suite/fb_functions_emulator_connect.js +++ b/snippets/functions-next/emulator-suite/fb_functions_emulator_connect.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./functions-next/emulator-suite.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START fb_functions_emulator_connect_modular] import { getApp } from "firebase/app"; diff --git a/snippets/messaging-next/index/messaging_delete_token.js b/snippets/messaging-next/index/messaging_delete_token.js index f8d6ef63..2e27ab2a 100644 --- a/snippets/messaging-next/index/messaging_delete_token.js +++ b/snippets/messaging-next/index/messaging_delete_token.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./messaging-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START messaging_delete_token_modular] import { getMessaging, deleteToken } from "firebase/messaging"; diff --git a/snippets/messaging-next/index/messaging_get_messaging_object.js b/snippets/messaging-next/index/messaging_get_messaging_object.js index 5dc88c68..1768bdd2 100644 --- a/snippets/messaging-next/index/messaging_get_messaging_object.js +++ b/snippets/messaging-next/index/messaging_get_messaging_object.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./messaging-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START messaging_get_messaging_object_modular] import { getMessaging } from "firebase/messaging"; diff --git a/snippets/messaging-next/index/messaging_get_token.js b/snippets/messaging-next/index/messaging_get_token.js index f1f4b3aa..fe571340 100644 --- a/snippets/messaging-next/index/messaging_get_token.js +++ b/snippets/messaging-next/index/messaging_get_token.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./messaging-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START messaging_get_token_modular] import { getMessaging, getToken } from "firebase/messaging"; diff --git a/snippets/messaging-next/index/messaging_receive_message.js b/snippets/messaging-next/index/messaging_receive_message.js index 94c3864d..63825c00 100644 --- a/snippets/messaging-next/index/messaging_receive_message.js +++ b/snippets/messaging-next/index/messaging_receive_message.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./messaging-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START messaging_receive_message_modular] // Handle incoming messages. Called when: diff --git a/snippets/messaging-next/index/messaging_request_permission.js b/snippets/messaging-next/index/messaging_request_permission.js index 77e2d311..c6653037 100644 --- a/snippets/messaging-next/index/messaging_request_permission.js +++ b/snippets/messaging-next/index/messaging_request_permission.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./messaging-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START messaging_request_permission_modular] Notification.requestPermission().then((permission) => { diff --git a/snippets/messaging-next/service-worker/messaging_init_in_sw.js b/snippets/messaging-next/service-worker/messaging_init_in_sw.js index 703e687d..abce8e1d 100644 --- a/snippets/messaging-next/service-worker/messaging_init_in_sw.js +++ b/snippets/messaging-next/service-worker/messaging_init_in_sw.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./messaging-next/service-worker.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START messaging_init_in_sw_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/messaging-next/service-worker/messaging_on_background_message.js b/snippets/messaging-next/service-worker/messaging_on_background_message.js index 000ab312..b7f65b53 100644 --- a/snippets/messaging-next/service-worker/messaging_on_background_message.js +++ b/snippets/messaging-next/service-worker/messaging_on_background_message.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./messaging-next/service-worker.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START messaging_on_background_message_modular] import { getMessaging } from "firebase/messaging"; diff --git a/snippets/perf-next/index/perf_add_custom_attributes.js b/snippets/perf-next/index/perf_add_custom_attributes.js index 42639c63..a1a7b13d 100644 --- a/snippets/perf-next/index/perf_add_custom_attributes.js +++ b/snippets/perf-next/index/perf_add_custom_attributes.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./perf-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START perf_add_custom_attributes_modular] import { trace } from "firebase/performance"; diff --git a/snippets/perf-next/index/perf_add_custom_metrics.js b/snippets/perf-next/index/perf_add_custom_metrics.js index ad8ef48c..86dd674b 100644 --- a/snippets/perf-next/index/perf_add_custom_metrics.js +++ b/snippets/perf-next/index/perf_add_custom_metrics.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./perf-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START perf_add_custom_metrics_modular] import { trace } from "firebase/performance"; diff --git a/snippets/perf-next/index/perf_add_custom_trace.js b/snippets/perf-next/index/perf_add_custom_trace.js index 004ecda2..6fd54e49 100644 --- a/snippets/perf-next/index/perf_add_custom_trace.js +++ b/snippets/perf-next/index/perf_add_custom_trace.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./perf-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START perf_add_custom_trace_modular] import { trace } from "firebase/performance"; diff --git a/snippets/perf-next/index/perf_get_instance.js b/snippets/perf-next/index/perf_get_instance.js index cbee11e6..8b62eb72 100644 --- a/snippets/perf-next/index/perf_get_instance.js +++ b/snippets/perf-next/index/perf_get_instance.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./perf-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START perf_get_instance_modular] import { getPerformance } from "firebase/performance"; diff --git a/snippets/perf-next/index/perf_initialize.js b/snippets/perf-next/index/perf_initialize.js index c4802566..3b87e9c8 100644 --- a/snippets/perf-next/index/perf_initialize.js +++ b/snippets/perf-next/index/perf_initialize.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./perf-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START perf_initialize_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/perf-next/index/perf_user_timing_marks.js b/snippets/perf-next/index/perf_user_timing_marks.js index 5854f85c..8450370f 100644 --- a/snippets/perf-next/index/perf_user_timing_marks.js +++ b/snippets/perf-next/index/perf_user_timing_marks.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./perf-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START perf_user_timing_marks_modular] const performance = window.performance; diff --git a/snippets/placeholder/coming_soon.js b/snippets/placeholder/coming_soon.js index 715d6a3d..0477645f 100644 --- a/snippets/placeholder/coming_soon.js +++ b/snippets/placeholder/coming_soon.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./placeholder.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START coming_soon_modular] // TODO: Snippet coming soon! diff --git a/snippets/remoteconfig-next/index/rc_fetch_config_callback.js b/snippets/remoteconfig-next/index/rc_fetch_config_callback.js index 3975befd..3cb39de0 100644 --- a/snippets/remoteconfig-next/index/rc_fetch_config_callback.js +++ b/snippets/remoteconfig-next/index/rc_fetch_config_callback.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./remoteconfig-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rc_fetch_config_callback_modular] import { fetchAndActivate } from "firebase/remote-config"; diff --git a/snippets/remoteconfig-next/index/rc_get_instance.js b/snippets/remoteconfig-next/index/rc_get_instance.js index 7d59bf9d..0bf952b8 100644 --- a/snippets/remoteconfig-next/index/rc_get_instance.js +++ b/snippets/remoteconfig-next/index/rc_get_instance.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./remoteconfig-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rc_get_instance_modular] import { getRemoteConfig } from "firebase/remote-config"; diff --git a/snippets/remoteconfig-next/index/rc_get_values.js b/snippets/remoteconfig-next/index/rc_get_values.js index 1266cfe9..67018e3b 100644 --- a/snippets/remoteconfig-next/index/rc_get_values.js +++ b/snippets/remoteconfig-next/index/rc_get_values.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./remoteconfig-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rc_get_values_modular] import { getValue } from "firebase/remote-config"; diff --git a/snippets/remoteconfig-next/index/rc_set_default_values.js b/snippets/remoteconfig-next/index/rc_set_default_values.js index 6db33c0d..80e0e8c2 100644 --- a/snippets/remoteconfig-next/index/rc_set_default_values.js +++ b/snippets/remoteconfig-next/index/rc_set_default_values.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./remoteconfig-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rc_set_default_values_modular] remoteConfig.defaultConfig = { diff --git a/snippets/remoteconfig-next/index/rc_set_minimum_fetch_time.js b/snippets/remoteconfig-next/index/rc_set_minimum_fetch_time.js index 77a442f9..131976c5 100644 --- a/snippets/remoteconfig-next/index/rc_set_minimum_fetch_time.js +++ b/snippets/remoteconfig-next/index/rc_set_minimum_fetch_time.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./remoteconfig-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START rc_set_minimum_fetch_time_modular] remoteConfig.settings.minimumFetchIntervalMillis = 3600000; diff --git a/snippets/storage-next/create-reference/storage_create_ref.js b/snippets/storage-next/create-reference/storage_create_ref.js index eb27bacb..761a634a 100644 --- a/snippets/storage-next/create-reference/storage_create_ref.js +++ b/snippets/storage-next/create-reference/storage_create_ref.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/create-reference.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_create_ref_modular] import { getStorage, ref } from "firebase/storage"; diff --git a/snippets/storage-next/create-reference/storage_create_ref_child.js b/snippets/storage-next/create-reference/storage_create_ref_child.js index 53b6834c..5e16407a 100644 --- a/snippets/storage-next/create-reference/storage_create_ref_child.js +++ b/snippets/storage-next/create-reference/storage_create_ref_child.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/create-reference.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_create_ref_child_modular] import { getStorage, ref } from "firebase/storage"; diff --git a/snippets/storage-next/create-reference/storage_navigate_ref.js b/snippets/storage-next/create-reference/storage_navigate_ref.js index 00a9e53f..ee279c72 100644 --- a/snippets/storage-next/create-reference/storage_navigate_ref.js +++ b/snippets/storage-next/create-reference/storage_navigate_ref.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/create-reference.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_navigate_ref_modular] import { getStorage, ref } from "firebase/storage"; diff --git a/snippets/storage-next/create-reference/storage_navigate_ref_chain.js b/snippets/storage-next/create-reference/storage_navigate_ref_chain.js index e0f2a056..d5e13752 100644 --- a/snippets/storage-next/create-reference/storage_navigate_ref_chain.js +++ b/snippets/storage-next/create-reference/storage_navigate_ref_chain.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/create-reference.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_navigate_ref_chain_modular] import { getStorage, ref } from "firebase/storage"; diff --git a/snippets/storage-next/create-reference/storage_ref_full_example.js b/snippets/storage-next/create-reference/storage_ref_full_example.js index 3c9f94c6..e61f4594 100644 --- a/snippets/storage-next/create-reference/storage_ref_full_example.js +++ b/snippets/storage-next/create-reference/storage_ref_full_example.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/create-reference.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_ref_full_example_modular] import { getStorage, ref } from "firebase/storage"; diff --git a/snippets/storage-next/create-reference/storage_ref_properties.js b/snippets/storage-next/create-reference/storage_ref_properties.js index 494817ea..c95a5b13 100644 --- a/snippets/storage-next/create-reference/storage_ref_properties.js +++ b/snippets/storage-next/create-reference/storage_ref_properties.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/create-reference.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_ref_properties_modular] import { getStorage, ref } from "firebase/storage"; diff --git a/snippets/storage-next/delete-files/storage_delete_file.js b/snippets/storage-next/delete-files/storage_delete_file.js index 86520968..c851c447 100644 --- a/snippets/storage-next/delete-files/storage_delete_file.js +++ b/snippets/storage-next/delete-files/storage_delete_file.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/delete-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_delete_file_modular] import { getStorage, ref, deleteObject } from "firebase/storage"; diff --git a/snippets/storage-next/download-files/storage_download_create_ref.js b/snippets/storage-next/download-files/storage_download_create_ref.js index bf12aaa9..8b1345b7 100644 --- a/snippets/storage-next/download-files/storage_download_create_ref.js +++ b/snippets/storage-next/download-files/storage_download_create_ref.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/download-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_download_create_ref_modular] import { getStorage, ref } from "firebase/storage"; diff --git a/snippets/storage-next/download-files/storage_download_full_example.js b/snippets/storage-next/download-files/storage_download_full_example.js index 4b66880e..cdd12166 100644 --- a/snippets/storage-next/download-files/storage_download_full_example.js +++ b/snippets/storage-next/download-files/storage_download_full_example.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/download-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_download_full_example_modular] import { getStorage, ref, getDownloadURL } from "firebase/storage"; diff --git a/snippets/storage-next/download-files/storage_download_via_url.js b/snippets/storage-next/download-files/storage_download_via_url.js index 0e45cada..c90e235c 100644 --- a/snippets/storage-next/download-files/storage_download_via_url.js +++ b/snippets/storage-next/download-files/storage_download_via_url.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/download-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_download_via_url_modular] import { getStorage, ref, getDownloadURL } from "firebase/storage"; diff --git a/snippets/storage-next/file-metadata/storage_custom_metadata.js b/snippets/storage-next/file-metadata/storage_custom_metadata.js index 7674c7d4..d6fb5ab4 100644 --- a/snippets/storage-next/file-metadata/storage_custom_metadata.js +++ b/snippets/storage-next/file-metadata/storage_custom_metadata.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/file-metadata.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_custom_metadata_modular] const metadata = { diff --git a/snippets/storage-next/file-metadata/storage_delete_metadata.js b/snippets/storage-next/file-metadata/storage_delete_metadata.js index c6b2ece3..71db946e 100644 --- a/snippets/storage-next/file-metadata/storage_delete_metadata.js +++ b/snippets/storage-next/file-metadata/storage_delete_metadata.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/file-metadata.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_delete_metadata_modular] import { getStorage, ref, updateMetadata } from "firebase/storage"; diff --git a/snippets/storage-next/file-metadata/storage_get_metadata.js b/snippets/storage-next/file-metadata/storage_get_metadata.js index e77444db..b2c96f1a 100644 --- a/snippets/storage-next/file-metadata/storage_get_metadata.js +++ b/snippets/storage-next/file-metadata/storage_get_metadata.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/file-metadata.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_get_metadata_modular] import { getStorage, ref, getMetadata } from "firebase/storage"; diff --git a/snippets/storage-next/file-metadata/storage_update_metadata.js b/snippets/storage-next/file-metadata/storage_update_metadata.js index fd9d6183..2435983b 100644 --- a/snippets/storage-next/file-metadata/storage_update_metadata.js +++ b/snippets/storage-next/file-metadata/storage_update_metadata.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/file-metadata.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_update_metadata_modular] import { getStorage, ref, updateMetadata } from "firebase/storage"; diff --git a/snippets/storage-next/index/storage_custom_app.js b/snippets/storage-next/index/storage_custom_app.js index 0c4f26fe..7196c252 100644 --- a/snippets/storage-next/index/storage_custom_app.js +++ b/snippets/storage-next/index/storage_custom_app.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_custom_app_modular] import { getStorage } from "firebase/storage"; diff --git a/snippets/storage-next/index/storage_initialize.js b/snippets/storage-next/index/storage_initialize.js index 61ad21be..422df3dd 100644 --- a/snippets/storage-next/index/storage_initialize.js +++ b/snippets/storage-next/index/storage_initialize.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_initialize_modular] import { initializeApp } from "firebase/app"; diff --git a/snippets/storage-next/index/storage_multiple_buckets.js b/snippets/storage-next/index/storage_multiple_buckets.js index 1022299b..426dd4f4 100644 --- a/snippets/storage-next/index/storage_multiple_buckets.js +++ b/snippets/storage-next/index/storage_multiple_buckets.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_multiple_buckets_modular] import { getApp } from "firebase/app"; diff --git a/snippets/storage-next/index/storage_on_complete.js b/snippets/storage-next/index/storage_on_complete.js index aa3edca8..e5d792f3 100644 --- a/snippets/storage-next/index/storage_on_complete.js +++ b/snippets/storage-next/index/storage_on_complete.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/index.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_on_complete_modular] import { getStorage, ref, uploadBytesResumable, getDownloadURL } from "firebase/storage"; diff --git a/snippets/storage-next/list-files/storage_list_all.js b/snippets/storage-next/list-files/storage_list_all.js index 1adf935a..11e72e9e 100644 --- a/snippets/storage-next/list-files/storage_list_all.js +++ b/snippets/storage-next/list-files/storage_list_all.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/list-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_list_all_modular] import { getStorage, ref, listAll } from "firebase/storage"; diff --git a/snippets/storage-next/list-files/storage_list_paginate.js b/snippets/storage-next/list-files/storage_list_paginate.js index d04cd1d3..c7dd314e 100644 --- a/snippets/storage-next/list-files/storage_list_paginate.js +++ b/snippets/storage-next/list-files/storage_list_paginate.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/list-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_list_paginate_modular] import { getStorage, ref, list } from "firebase/storage"; diff --git a/snippets/storage-next/upload-files/storage_manage_uploads.js b/snippets/storage-next/upload-files/storage_manage_uploads.js index 2623e8a1..0eaf008a 100644 --- a/snippets/storage-next/upload-files/storage_manage_uploads.js +++ b/snippets/storage-next/upload-files/storage_manage_uploads.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/upload-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_manage_uploads_modular] import { getStorage, ref, uploadBytesResumable } from "firebase/storage"; diff --git a/snippets/storage-next/upload-files/storage_monitor_upload.js b/snippets/storage-next/upload-files/storage_monitor_upload.js index 101f509a..cf035832 100644 --- a/snippets/storage-next/upload-files/storage_monitor_upload.js +++ b/snippets/storage-next/upload-files/storage_monitor_upload.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/upload-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_monitor_upload_modular] import { getStorage, ref, uploadBytesResumable, getDownloadURL } from "firebase/storage"; diff --git a/snippets/storage-next/upload-files/storage_upload_blob.js b/snippets/storage-next/upload-files/storage_upload_blob.js index c33593cb..5ad22f8e 100644 --- a/snippets/storage-next/upload-files/storage_upload_blob.js +++ b/snippets/storage-next/upload-files/storage_upload_blob.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/upload-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_upload_blob_modular] import { getStorage, ref, uploadBytes } from "firebase/storage"; diff --git a/snippets/storage-next/upload-files/storage_upload_bytes.js b/snippets/storage-next/upload-files/storage_upload_bytes.js index ebf12e66..82acac25 100644 --- a/snippets/storage-next/upload-files/storage_upload_bytes.js +++ b/snippets/storage-next/upload-files/storage_upload_bytes.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/upload-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_upload_bytes_modular] import { getStorage, ref, uploadBytes } from "firebase/storage"; diff --git a/snippets/storage-next/upload-files/storage_upload_handle_error.js b/snippets/storage-next/upload-files/storage_upload_handle_error.js index 434fc230..bf50c6b5 100644 --- a/snippets/storage-next/upload-files/storage_upload_handle_error.js +++ b/snippets/storage-next/upload-files/storage_upload_handle_error.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/upload-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_upload_handle_error_modular] import { getStorage, ref, uploadBytesResumable, getDownloadURL } from "firebase/storage"; diff --git a/snippets/storage-next/upload-files/storage_upload_metadata.js b/snippets/storage-next/upload-files/storage_upload_metadata.js index 1ac39783..3dd304b4 100644 --- a/snippets/storage-next/upload-files/storage_upload_metadata.js +++ b/snippets/storage-next/upload-files/storage_upload_metadata.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/upload-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_upload_metadata_modular] import { getStorage, ref, uploadBytes } from "firebase/storage"; diff --git a/snippets/storage-next/upload-files/storage_upload_ref.js b/snippets/storage-next/upload-files/storage_upload_ref.js index e776120d..ef565bf2 100644 --- a/snippets/storage-next/upload-files/storage_upload_ref.js +++ b/snippets/storage-next/upload-files/storage_upload_ref.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/upload-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_upload_ref_modular] import { getStorage, ref } from "firebase/storage"; diff --git a/snippets/storage-next/upload-files/storage_upload_string.js b/snippets/storage-next/upload-files/storage_upload_string.js index ce0d4736..6450a566 100644 --- a/snippets/storage-next/upload-files/storage_upload_string.js +++ b/snippets/storage-next/upload-files/storage_upload_string.js @@ -1,7 +1,8 @@ // This snippet file was generated by processing the source file: // ./storage-next/upload-files.js // -// To make edits to the snippets in this file, please edit the source +// To update the snippets in this file, edit the source and then run +// 'npm run snippets'. // [START storage_upload_string_modular] import { getStorage, ref, uploadString } from "firebase/storage";