Skip to content

Commit

Permalink
feat(removed): unnecessary
Browse files Browse the repository at this point in the history
removed some unnecessary generation of code in editor -> moving it to cloud version as it is useless
from end user perspective to have it here
  • Loading branch information
aexol committed Aug 4, 2019
1 parent 0493a04 commit a37cc95
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 152 deletions.
17 changes: 1 addition & 16 deletions src/Graph/index.ts
@@ -1,5 +1,5 @@
import { buildASTSchema, parse } from 'graphql';
import { OperationType, Parser, ParserTree, TreeToTS, Utils } from 'graphql-zeus';
import { OperationType, Parser, ParserTree, Utils } from 'graphql-zeus';
import {
DefaultDiagramTheme,
Diagram,
Expand All @@ -12,7 +12,6 @@ import {
import { Colors } from '../Colors';
import { EditorNodeDefinition } from '../Models';
import { NodesToTree } from '../NodesToTree';
import { TreeToFaker } from '../TreeToFaker';
import { TreeToNodes } from '../TreeToNodes';
import { Definitions } from './definitions';
/**
Expand Down Expand Up @@ -273,20 +272,6 @@ export class GraphController {
(bd) => !rememberBasicDefinitions.find((rbd) => rbd.id === bd.id)
);
}
/**
* Returns generated string for typescript library
*
* @returns {string}
*/
getAutocompletelibrary = (): string =>
TreeToTS.resolveTree(Parser.parse(this.stichesCode + this.schema))
/**
* Returns generated string for faker library
*
* @returns {string}
*/
getFakerLibrary = (): string =>
TreeToFaker.resolveTree(Parser.parse(this.stichesCode + this.schema))
/**
* Load nodes and links into diagram
*
Expand Down
136 changes: 0 additions & 136 deletions src/TreeToFaker/index.ts

This file was deleted.

0 comments on commit a37cc95

Please sign in to comment.