Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit 8f94b73

Browse files
authored
Merge pull request #4345 from withspectrum/2.4.78
2.4.78
2 parents f05b6aa + 508cf18 commit 8f94b73

File tree

136 files changed

+1348
-881
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+1348
-881
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
- hermes
1515
- chronos
1616
- mobile
17+
- analytics
1718

1819
**Run database migrations (delete if no migration was added)**
1920
YES

analytics/models/channel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import type { DBChannel } from 'shared/types';
3-
import { db } from './db';
3+
import { db } from 'shared/db';
44

55
export const getChannelById = (channelId: string): Promise<DBChannel> => {
66
return db

analytics/models/community.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import type { DBCommunity } from 'shared/types';
3-
import { db } from './db';
3+
import { db } from 'shared/db';
44

55
export const getCommunityById = (communityId: string): Promise<DBCommunity> => {
66
return db

analytics/models/db.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

analytics/models/message.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import type { DBMessage } from 'shared/types';
3-
import { db } from './db';
3+
import { db } from 'shared/db';
44

55
export const getMessageById = (messageId: string): Promise<DBMessage> => {
66
return db

analytics/models/notification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import type { DBNotification } from 'shared/types';
3-
import { db } from './db';
3+
import { db } from 'shared/db';
44

55
export const getNotificationById = (
66
notificationId: string

analytics/models/reaction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import type { DBReaction, DBThreadReaction } from 'shared/types';
3-
import { db } from './db';
3+
import { db } from 'shared/db';
44

55
export const getReactionById = (reactionId: string): Promise<DBReaction> => {
66
return db

analytics/models/thread.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import type { DBThread } from 'shared/types';
3-
import { db } from './db';
3+
import { db } from 'shared/db';
44

55
export const getThreadById = (threadId: string): Promise<DBThread> => {
66
return db

analytics/models/usersChannels.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import type { DBUsersChannels } from 'shared/types';
3-
import { db } from './db';
3+
import { db } from 'shared/db';
44

55
const defaultResult = {
66
isMember: false,

analytics/models/usersCommunities.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import type { DBUsersCommunities } from 'shared/types';
3-
import { db } from './db';
3+
import { db } from 'shared/db';
44

55
const defaultResult = {
66
isMember: false,

0 commit comments

Comments
 (0)