1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-app-notification/src/store.rs
Items
const DDL const NOTIFICATION_SELECT static MIGRATED struct NotificationRowIds struct NotificationRowSourceIds struct NotificationRowRouting struct NotificationRowContent struct NotificationRowState struct NotificationRowSchedule struct PushSubscriptionIdentity struct PushSubscriptionKeys struct RowTimestamps const INBOX_SUBSCRIPTION_SELECT_SQL const INBOX_SUBSCRIPTION_INSERT_SQL const INBOX_SUBSCRIPTION_CAS_SQL struct SubscriptionIdentity struct SubscriptionFilters
Functions
By call-graph weight (PageRank; 1.0 is the average function). 55 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ensure_tablessrc/store.rs:82 | fn | 20 | 2 | 25 | 3 | 6 | |
| get_notificationsrc/store.rs:174 | fn | 5 | 1 | 16 | 4 | 3.9 | |
| migrate_push_subscription_columnssrc/store.rs:113 | fn | 13 | 3 | 1 | 4 | 2.2 | |
| list_subscriptions_for_peersrc/store.rs:869 | fn | 17 | 1 | 3 | 4 | 1.6 | |
| row_notificationsrc/store.rs:376 | fn | 23 | 1 | 3 | 3 | 1.6 | |
| row_subscriptionsrc/store.rs:904 | fn | 16 | 1 | 5 | 3 | 1.5 | |
| scalar_countsrc/store.rs:344 | fn | 10 | 1 | 2 | 3 | 1.3 | |
| list_notificationssrc/store.rs:180 | fn | 45 | 1 | 2 | 7 | 1.2 | |
| normalized_filtersrc/store.rs:372 | fn | 3 | 2 | 3 | 0 | 1.2 | |
| set_notification_statussrc/store.rs:257 | fn | 13 | 2 | 4 | 4 | 1.2 | |
| enable_inbox_subscriptionsrc/store.rs:683 | fn | 99 | 15 | 1 | 7 | 1 | |
| row_notification_idssrc/store.rs:442 | fn | 12 | 1 | 1 | 2 | 0.9 | |
| row_notification_contentsrc/store.rs:468 | fn | 11 | 1 | 1 | 4 | 0.9 | |
| row_notification_schedulesrc/store.rs:496 | fn | 8 | 1 | 1 | 2 | 0.9 | |
| row_subscription_identitysrc/store.rs:927 | fn | 7 | 1 | 1 | 1 | 0.9 | |
| row_subscription_filterssrc/store.rs:942 | fn | 10 | 1 | 1 | 2 | 0.9 | |
| row_subscription_timestampssrc/store.rs:953 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| due_notificationssrc/store.rs:226 | fn | 30 | 1 | 1 | 7 | 0.9 | |
| delete_push_subscription_by_endpointsrc/store.rs:645 | fn | 8 | 1 | 1 | 3 | 0.9 | |
| upsert_subscriptionsrc/store.rs:783 | fn | 35 | 1 | 1 | 5 | 0.9 | |
| subscription_rowsrc/store.rs:962 | fn | 13 | 1 | 2 | 0 | 0.9 | |
| row_notification_source_idssrc/store.rs:455 | fn | 8 | 1 | 1 | 1 | 0.9 | |
| row_notification_routingsrc/store.rs:464 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| promote_due_notificationssrc/store.rs:298 | fn | 13 | 1 | 3 | 4 | 0.9 | |
| get_configsrc/store.rs:656 | fn | 6 | 1 | 1 | 4 | 0.9 | |
| statussrc/store.rs:312 | fn | 16 | 1 | 2 | 5 | 0.8 | |
| validate_notification_subscriptionsrc/store.rs:819 | fn | 9 | 3 | 2 | 0 | 0.8 | |
| set_configsrc/store.rs:663 | fn | 9 | 1 | 1 | 3 | 0.7 | |
| update_notification_statusessrc/store.rs:271 | fn | 16 | 2 | 1 | 2 | 0.7 | |
| collect_notifications_by_idsrc/store.rs:288 | fn | 9 | 3 | 1 | 1 | 0.7 | |
| delete_subscription_by_idsrc/store.rs:887 | fn | 7 | 1 | 1 | 3 | 0.7 | |
| delete_subscriptions_for_peer_and_topicsrc/store.rs:895 | fn | 8 | 1 | 1 | 3 | 0.7 | |
| row_notification_statesrc/store.rs:480 | fn | 5 | 1 | 1 | 3 | 0.7 | |
| row_notification_payloadsrc/store.rs:486 | fn | 4 | 1 | 1 | 1 | 0.7 | |
| row_notification_actionssrc/store.rs:491 | fn | 4 | 1 | 1 | 1 | 0.7 | |
| parse_priority_colsrc/store.rs:505 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| parse_status_colsrc/store.rs:509 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| row_push_subscription_identitysrc/store.rs:610 | fn | 9 | 1 | 1 | 1 | 0.7 | |
| row_push_subscription_keyssrc/store.rs:627 | fn | 8 | 1 | 1 | 1 | 0.7 | |
| row_push_subscription_timestampssrc/store.rs:641 | fn | 3 | 1 | 1 | 1 | 0.7 | |
| list_subscriptions_for_topicsrc/store.rs:851 | fn | 17 | 1 | 1 | 4 | 0.7 | |
| prepared_notification_subscriptionsrc/store.rs:829 | fn | 17 | 3 | 1 | 1 | 0.7 | |
| notification_countsrc/store.rs:329 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| active_notification_countsrc/store.rs:333 | fn | 10 | 1 | 1 | 2 | 0.6 | |
| notification_count_by_statussrc/store.rs:355 | fn | 14 | 2 | 1 | 4 | 0.6 | |
| row_push_subscriptionsrc/store.rs:585 | fn | 17 | 1 | 1 | 3 | 0.6 | |
| list_push_subscriptionssrc/store.rs:571 | fn | 13 | 1 | 1 | 4 | 0.6 | |
| upsert_push_subscriptionsrc/store.rs:515 | fn | 32 | 1 | 1 | 5 | 0.6 | |
| validate_push_subscriptionsrc/store.rs:548 | fn | 9 | 3 | 1 | 0 | 0.6 | |
| prepared_push_subscriptionsrc/store.rs:558 | fn | 12 | 3 | 1 | 1 | 0.6 | |
| upsert_notificationsrc/store.rs:127 | fn | 46 | 1 | 1 | 4 | 0.6 | |
| row_subscription_decodes_channels_priority_and_optional_sourcessrc/store.rs:977 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| row_subscription_falls_back_for_bad_channels_and_unknown_prioritysrc/store.rs:993 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| normalized_filter_treats_blank_and_wildcard_as_unfilteredsrc/store.rs:1002 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| sql_optional_helpers_map_none_to_nullsrc/store.rs:1010 | fn | 6 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.