Skip to content

Commit

Permalink
chore: upgrade node
Browse files Browse the repository at this point in the history
chore: remove dead code
  • Loading branch information
vnugent committed Nov 28, 2024
1 parent 2718cb4 commit c56d66f
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 248 deletions.
5 changes: 0 additions & 5 deletions src/graphql/posts/PostResolvers.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/graphql/posts/index.ts

This file was deleted.

63 changes: 0 additions & 63 deletions src/graphql/posts/mutations.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/graphql/posts/queries.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/graphql/resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import { AreaType, CountByDisciplineType } from '../db/AreaTypes.js'
import { ClimbGQLQueryType, ClimbType } from '../db/ClimbTypes.js'
import AreaDataSource from '../model/AreaDataSource.js'
import { MediaMutations, MediaQueries, MediaResolvers } from './media/index.js'
import { PostMutations, PostQueries, PostResolvers } from './posts/index.js'
import { XMediaMutations, XMediaQueries, XMediaResolvers } from './xmedia/index.js'
import { AreaMutations, AreaQueries } from './area/index.js'
import { ClimbMutations } from './climb/index.js'
import { OrganizationMutations, OrganizationQueries } from './organization/index.js'
Expand Down Expand Up @@ -42,16 +40,11 @@ const HistoryTypeDef = loadSchema('History.gql')
const AreaEditTypeDef = loadSchema('AreaEdit.gql')
const OrganizationEditTypeDef = loadSchema('OrganizationEdit.gql')
const ClimbMutationTypeDefs = loadSchema('ClimbEdit.gql')
const PostTypeDef = loadSchema('Post.gql')

const XMediaTypeDef = loadSchema('XMedia.gql')
const TagTypeDef = loadSchema('Tag.gql')
const UserTypeDef = loadSchema('User.gql')

const resolvers = {
Mutation: {
...XMediaMutations,
...PostMutations,
...MediaMutations,
...AreaMutations,
...ClimbMutations,
Expand All @@ -60,8 +53,6 @@ const resolvers = {
...UserMutations
},
Query: {
...XMediaQueries,
...PostQueries,
...MediaQueries,
...AreaQueries,
...TickQueries,
Expand Down Expand Up @@ -126,8 +117,6 @@ const resolvers = {
...CommonResolvers,
...MediaResolvers,
...HistoryFieldResolvers,
...PostResolvers,
...XMediaResolvers,
...UserResolvers,
JSONObject: GraphQLJSONObject,

Expand Down Expand Up @@ -301,8 +290,6 @@ export const graphqlSchema = makeExecutableSchema({
TickTypeDef,
HistoryTypeDef,
ClimbMutationTypeDefs,
PostTypeDef,
XMediaTypeDef,
TagTypeDef,
UserTypeDef
],
Expand Down
45 changes: 0 additions & 45 deletions src/graphql/schema/Post.gql

This file was deleted.

45 changes: 0 additions & 45 deletions src/graphql/schema/XMedia.gql

This file was deleted.

3 changes: 0 additions & 3 deletions src/graphql/xmedia/XMediaResolvers.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/graphql/xmedia/index.ts

This file was deleted.

38 changes: 0 additions & 38 deletions src/graphql/xmedia/mutations.ts

This file was deleted.

13 changes: 0 additions & 13 deletions src/graphql/xmedia/queries.ts

This file was deleted.

0 comments on commit c56d66f

Please sign in to comment.