From 939183c0d999346a4e0625e05326a8cf8d92d5b9 Mon Sep 17 00:00:00 2001 From: "mati108@gmail.com" <34651529+matbenitez@users.noreply.github.com> Date: Sat, 9 Feb 2019 13:26:17 -0300 Subject: [PATCH] Removing unused files --- server/src/schema/types/AuditLogType.js | 29 ------------------- server/src/schema/types/ExchangeType.js | 16 ---------- .../src/schema/types/SignedTransactionType.js | 15 ---------- 3 files changed, 60 deletions(-) delete mode 100644 server/src/schema/types/AuditLogType.js delete mode 100644 server/src/schema/types/ExchangeType.js delete mode 100644 server/src/schema/types/SignedTransactionType.js diff --git a/server/src/schema/types/AuditLogType.js b/server/src/schema/types/AuditLogType.js deleted file mode 100644 index 646ffd307..000000000 --- a/server/src/schema/types/AuditLogType.js +++ /dev/null @@ -1,29 +0,0 @@ -import { - GraphQLObjectType, - GraphQLID, - GraphQLString, - GraphQLInt -} from 'graphql' - -import { - KeyType -} from './index' - -const AuditLogType = new GraphQLObjectType({ - name: 'AuditLog', - fields: () => ({ - id: {type: GraphQLID}, - authId: {type: GraphQLID}, - action: {type: GraphQLString}, - details: {type: GraphQLString}, - date: {type: GraphQLInt}, - key: { - type: KeyType, - resolve (parent, args) { - return parent.key - } - } - }) -}) - -export default AuditLogType diff --git a/server/src/schema/types/ExchangeType.js b/server/src/schema/types/ExchangeType.js deleted file mode 100644 index ddafd5a16..000000000 --- a/server/src/schema/types/ExchangeType.js +++ /dev/null @@ -1,16 +0,0 @@ -import { - GraphQLObjectType, - GraphQLID, - GraphQLString -} from 'graphql' - -const ExchangeType = new GraphQLObjectType({ - name: 'Exchange', - fields: () => ({ - id: {type: GraphQLID}, - name: {type: GraphQLString}, - description: {type: GraphQLString} - }) -}) - -export default ExchangeType diff --git a/server/src/schema/types/SignedTransactionType.js b/server/src/schema/types/SignedTransactionType.js deleted file mode 100644 index ddee4a918..000000000 --- a/server/src/schema/types/SignedTransactionType.js +++ /dev/null @@ -1,15 +0,0 @@ -import { - GraphQLObjectType, - GraphQLString -} from 'graphql' - -const SignedTransactionType = new GraphQLObjectType({ - name: 'SignedTransaction', - fields: () => ({ - key: {type: GraphQLString}, - signature: {type: GraphQLString}, - date: {type: GraphQLString} - }) -}) - -export default SignedTransactionType