private void GenerateComponentForTable(Table table, string path)
 {
     TypescriptControllerComponentGenerator.GenerateControllerComponentForTable(table, path);
     TypescriptComponentSpecGenerator.GenerateComponentSpec(table, path);
     TypescriptComponentViewGenerator.GenerateViewForTable(table, _database.Type, path);
     TypescriptComponentStyleGenerator.GenerateStyleForTable(table, path);
 }
        public TypescriptGenerator(Database database)
        {
            _database = database;

            _typescriptModelsGenerator    = new TypescriptModelsGenerator(_database);
            _typescriptGetDataGenerator   = new TypescriptGetDataGenerator(_database);
            _typescriptHelpersGenerator   = new TypescriptHelpersGenerator();
            _typescriptViewGenerator      = new TypescriptComponentViewGenerator(_database);
            _typescriptComponentGenerator = new TypescriptComponentGenerator(_database);
        }