From 863ac4ea7028c94a89a8b5e61ca30e8395d9ee13 Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Tue, 15 Nov 2022 15:50:11 -0500 Subject: [PATCH] Rename files (13): cleanup misc --- app/application.ts | 2 +- .../actions/{push_notifications => push-notifications}/index.ts | 0 .../{push_notifications => push-notifications}/registerer.ts | 0 .../{push_notifications => push-notifications}/setter.ts | 0 app/soapbox/features/ui/index.tsx | 2 +- .../{soapbox_config-test.ts => soapbox-config.test.ts} | 0 app/soapbox/reducers/push-notifications.ts | 2 +- 7 files changed, 3 insertions(+), 3 deletions(-) rename app/soapbox/actions/{push_notifications => push-notifications}/index.ts (100%) rename app/soapbox/actions/{push_notifications => push-notifications}/registerer.ts (100%) rename app/soapbox/actions/{push_notifications => push-notifications}/setter.ts (100%) rename app/soapbox/normalizers/soapbox/__tests__/{soapbox_config-test.ts => soapbox-config.test.ts} (100%) diff --git a/app/application.ts b/app/application.ts index 111923abd..9610b4f9a 100644 --- a/app/application.ts +++ b/app/application.ts @@ -1,4 +1,4 @@ -import loadPolyfills from './soapbox/load_polyfills'; +import loadPolyfills from './soapbox/load-polyfills'; // Load iframe event listener require('./soapbox/iframe'); diff --git a/app/soapbox/actions/push_notifications/index.ts b/app/soapbox/actions/push-notifications/index.ts similarity index 100% rename from app/soapbox/actions/push_notifications/index.ts rename to app/soapbox/actions/push-notifications/index.ts diff --git a/app/soapbox/actions/push_notifications/registerer.ts b/app/soapbox/actions/push-notifications/registerer.ts similarity index 100% rename from app/soapbox/actions/push_notifications/registerer.ts rename to app/soapbox/actions/push-notifications/registerer.ts diff --git a/app/soapbox/actions/push_notifications/setter.ts b/app/soapbox/actions/push-notifications/setter.ts similarity index 100% rename from app/soapbox/actions/push_notifications/setter.ts rename to app/soapbox/actions/push-notifications/setter.ts diff --git a/app/soapbox/features/ui/index.tsx b/app/soapbox/features/ui/index.tsx index 88e543e62..1ce57e0c7 100644 --- a/app/soapbox/features/ui/index.tsx +++ b/app/soapbox/features/ui/index.tsx @@ -16,7 +16,7 @@ import { fetchFilters } from 'soapbox/actions/filters'; import { fetchMarker } from 'soapbox/actions/markers'; import { openModal } from 'soapbox/actions/modals'; import { expandNotifications } from 'soapbox/actions/notifications'; -import { register as registerPushNotifications } from 'soapbox/actions/push_notifications'; +import { register as registerPushNotifications } from 'soapbox/actions/push-notifications'; import { fetchScheduledStatuses } from 'soapbox/actions/scheduled_statuses'; import { connectUserStream } from 'soapbox/actions/streaming'; import { fetchSuggestionsForTimeline } from 'soapbox/actions/suggestions'; diff --git a/app/soapbox/normalizers/soapbox/__tests__/soapbox_config-test.ts b/app/soapbox/normalizers/soapbox/__tests__/soapbox-config.test.ts similarity index 100% rename from app/soapbox/normalizers/soapbox/__tests__/soapbox_config-test.ts rename to app/soapbox/normalizers/soapbox/__tests__/soapbox-config.test.ts diff --git a/app/soapbox/reducers/push-notifications.ts b/app/soapbox/reducers/push-notifications.ts index 0448abf08..a2b8ca51f 100644 --- a/app/soapbox/reducers/push-notifications.ts +++ b/app/soapbox/reducers/push-notifications.ts @@ -1,6 +1,6 @@ import { Map as ImmutableMap, Record as ImmutableRecord } from 'immutable'; -import { SET_BROWSER_SUPPORT, SET_SUBSCRIPTION, CLEAR_SUBSCRIPTION, SET_ALERTS } from '../actions/push_notifications'; +import { SET_BROWSER_SUPPORT, SET_SUBSCRIPTION, CLEAR_SUBSCRIPTION, SET_ALERTS } from '../actions/push-notifications'; import type { AnyAction } from 'redux';