Repository navigation
Conversation
…aming Addresses review comments on PR #19: - Namespace MFA, OAuth server, and admin features with dot-separated group prefixes (auth.mfa.*, auth.oauth_server.*, auth.admin.*, auth.admin.oauth.*, auth.admin.passkey.*) - Merge auth.start_auto_refresh / auth.stop_auto_refresh into a single auth.auto_refresh feature per reviewer suggestion - Add database.return_modified_data for select chained on mutations - Move realtime.track/untrack/presence_state to a new presence group - Remove JS-specific language from descriptions (navigator.credentials, method name references, service_role key mentions, browser redirects) Stack-agnostic naming pass: - Rename JS method-style IDs: auth.resend → auth.resend_confirmation, auth.on_auth_state_change → auth.subscribe_auth_events, auth.reset_password_for_email → auth.reset_password, auth.get_user_identities → auth.list_identities, auth.invite_user_by_email → auth.admin.invite_user - Rename terse database filter IDs (database.eq → database.filter_eq, database.in → database.filter_in, etc.) with descriptive filter_ prefix - Rename database.from → database.from_table, database.schema → database.schema_selection, database.rollback → database.dry_run, database.range (pagination) → database.paginate (avoids conflict with range filter family) - Rename realtime.on_heartbeat → realtime.heartbeat_handler, realtime.http_send → realtime.broadcast_http, realtime.set_auth → realtime.set_auth_token - Rename storage.from → storage.access_bucket, storage.index → storage.access_vector_index, storage.list_v2 → storage.list_files_paginated - Rename functions.set_auth → functions.set_auth_token - Update schema to allow dot-segmented IDs (auth.mfa.challenge pattern) Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- database.return_modified_data → database.select_after_mutation - database.paginate → database.range (revert) - realtime.heartbeat_handler → realtime.listen_heartbeats Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
|
Folded into #19 — kept most of this, with a few adjustments I cherry-pick-merged your rename pass into Adopted in full
DivergedUniform 3-segment IDs — we keep every feature at exactly three segments (
Filter prefix — you used flat Schema regex — kept strict 3-segment (`^[a-z][a-z0-9_]*.[a-z0-9_]+.[a-z0-9_]+$`) instead of your relaxed `(.X)+` so depth stays uniform. Realtime removals — kept |
34d6881 to
3722842
Compare
Summary
Builds on #19 to address review comments and do a broader naming pass.
PR review comments addressed:
auth.mfa.*,auth.oauth_server.*,auth.admin.*,auth.admin.oauth.*,auth.admin.passkey.*)start_auto_refresh/stop_auto_refreshinto a singleauth.auto_refreshfeaturedatabase.select_after_mutationfor select chained on mutationstrack/untrack/presence_stateto a newpresencegroup in realtimenavigator.credentials, method name references,service_rolekey mentions, browser redirect language)Stack-agnostic naming pass:
auth.resend→auth.resend_confirmation,auth.on_auth_state_change→auth.subscribe_auth_events,auth.reset_password_for_email→auth.reset_password,auth.get_user_identities→auth.list_identities,auth.invite_user_by_email→auth.admin.invite_userfilter_(database.eq→database.filter_eq, etc.);database.from→database.from_table;database.rollback→database.dry_runrealtime.on_heartbeat→realtime.listen_heartbeats;realtime.http_send→realtime.broadcast_http;realtime.set_auth→realtime.set_auth_tokenstorage.from→storage.access_bucket;storage.index→storage.access_vector_index;storage.list_v2→storage.list_files_paginatedfunctions.set_auth→functions.set_auth_tokenauth.mfa.challengepattern)Test plan
🤖 Generated with Claude Code