mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
Cleanup
This commit is contained in:
parent
cb1ab0cdbb
commit
544e336595
@ -1,7 +1,7 @@
|
||||
import { throwError, concat } from 'rxjs'
|
||||
import { flatMap, mergeMap, map, catchError, filter } from 'rxjs/operators'
|
||||
import { getDriver } from '../neo4j'
|
||||
import normalizeEmail from '../../schema/resolvers//helpers/normalizeEmail'
|
||||
import normalizeEmail from '../../schema/resolvers/helpers/normalizeEmail'
|
||||
|
||||
export const description = `
|
||||
This migration merges duplicate :User and :EmailAddress nodes. It became
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { getDriver } from '../../db/neo4j'
|
||||
import { getDriver } from '../neo4j'
|
||||
|
||||
export const description = `
|
||||
This migration creates a MUTED relationship between two edges(:User) that have a pre-existing BLOCKED relationship.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { getDriver } from '../../db/neo4j'
|
||||
import { getDriver } from '../neo4j'
|
||||
|
||||
export const description = `
|
||||
This migration swaps the value stored in Location.lat with the value
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { getDriver } from '../../db/neo4j'
|
||||
import { getDriver } from '../neo4j'
|
||||
|
||||
export const description =
|
||||
'This migration adds a fulltext index for the tags in order to search for Hasthags.'
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { getDriver } from '../../db/neo4j'
|
||||
import { getDriver } from '../neo4j'
|
||||
|
||||
export const description = `
|
||||
We introduced a new node label 'Image' and we need a primary key for it. Best
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { getDriver } from '../../db/neo4j'
|
||||
import { getDriver } from '../neo4j'
|
||||
import { existsSync, createReadStream } from 'fs'
|
||||
import path from 'path'
|
||||
import { S3 } from 'aws-sdk'
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* eslint-disable no-console */
|
||||
import { getDriver } from '../../db/neo4j'
|
||||
import { getDriver } from '../neo4j'
|
||||
|
||||
export const description = `
|
||||
Refactor all our image properties on posts and users to a dedicated type
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { getDriver } from '../../db/neo4j'
|
||||
import { getDriver } from '../neo4j'
|
||||
|
||||
export const description =
|
||||
'We should not maintain obsolete attributes for users who have been deleted.'
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { getDriver } from '../../db/neo4j'
|
||||
import { getDriver } from '../neo4j'
|
||||
|
||||
export const description =
|
||||
'We should not maintain obsolete attributes for posts which have been deleted.'
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { getDriver } from '../../db/neo4j'
|
||||
import { getDriver } from '../neo4j'
|
||||
import { existsSync } from 'fs'
|
||||
|
||||
export const description = `
|
||||
|
||||
@ -61,7 +61,7 @@ export const minimisedUserQuery = () => {
|
||||
`
|
||||
}
|
||||
|
||||
// properties have be in all notifications queries, mutations, and subscriptions here the same !!!
|
||||
// properties have to be in all notifications queries, mutations, and subscriptions here the same !!!
|
||||
export const notificationQuery = (i18n) => {
|
||||
return gql`
|
||||
${userFragment}
|
||||
@ -130,7 +130,7 @@ export const notificationQuery = (i18n) => {
|
||||
`
|
||||
}
|
||||
|
||||
// properties have be in all notifications queries, mutations, and subscriptions here the same !!!
|
||||
// properties have to be in all notifications queries, mutations, and subscriptions here the same !!!
|
||||
export const markAsReadMutation = (i18n) => {
|
||||
return gql`
|
||||
${userFragment}
|
||||
@ -199,7 +199,7 @@ export const markAsReadMutation = (i18n) => {
|
||||
`
|
||||
}
|
||||
|
||||
// properties have be in all notifications queries, mutations, and subscriptions here the same !!!
|
||||
// properties have to be in all notifications queries, mutations, and subscriptions here the same !!!
|
||||
export const notificationAdded = () => {
|
||||
return gql`
|
||||
${userFragment}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user