types_from_serializers
✅ Generate TypeScript interfaces from your JSON serializers
File Explorer
Download Latest Version (.zip)- bug_report.md
- config.yml
- build.yml
- PULL_REQUEST_TEMPLATE.md
- .gitignore
- commit-msg
- pre-commit
- lint
- rake
- rspec
- rubocop
- standardrb
- Gemfile-rails-edge
- Gemfile-rails.7.2.x
- Gemfile-rails.8.0.x
- Gemfile-rails.8.1.x
- application_controller.rb
- composers_controller.rb
- songs_controller.rb
- videos_controller.rb
- all.ts
- ComposersApi.ts
- index.ts
- SongsApi.ts
- VideosApi.ts
- InertiaLink.vue
- Link.vue
- PageList.vue
- PageSubtitle.vue
- PageTitle.vue
- TheNavBar.vue
- YouTubePlayer.vue
- page.ts
- application.ts
- object.ts
- DefaultLayout.vue
- index.vue
- show.vue
- index.vue
- show.vue
- index.vue
- axios.ts
- Song.ts
- Album.ts
- Composer.ts
- ComposerWithSongs.ts
- index.ts
- Model.ts
- SnakeComposer.ts
- Song.ts
- SongWithVideos.ts
- Video.ts
- VideoWithSong.ts
- AnyModel.ts
- app.ts
- components.d.ts
- index.d.ts
- inertia.ts
- pages.ts
- tsconfig.json
- windi.config.ts
- application_record.rb
- comment.rb
- composer.rb
- song.rb
- video_clip.rb
- album_serializer.rb
- base_serializer.rb
- comment_serializer.rb
- composer_serializer.rb
- composer_with_songs_serializer.rb
- model_serializer.rb
- snake_composer_serializer.rb
- song_serializer.rb
- song_with_videos_serializer.rb
- video_serializer.rb
- video_with_song_serializer.rb
- application.html.erb
- bundle
- rails
- rake
- setup
- vite
- development.rb
- test.rb
- application_controller_renderer.rb
- backtrace_silencers.rb
- content_security_policy.rb
- cookies_serializer.rb
- filter_parameter_logging.rb
- inflections.rb
- js_from_routes.rb
- mime_types.rb
- types_from_serializers.rb
- wrap_parameters.rb
- en.yml
- application.rb
- boot.rb
- database.yml
- environment.rb
- puma.rb
- routes.rb
- vite.json
- 20220709144820_create_composers.rb
- 20220709151241_create_video_clips.rb
- 20220709151259_create_songs.rb
- 20240227112250_add_enums_to_songs.rb
- 20251006161731_create_comments.rb
- 20260703141049_add_content_flags_to_songs.rb
- schema.rb
- seeds.rb
- 404.html
- 422.html
- 500.html
- apple-touch-icon-precomposed.png
- apple-touch-icon.png
- favicon.ico
- robots.txt
- .browserslistrc
- .gitignore
- .npmrc
- .pnpm-debug.log
- .rspec
- config.ru
- Gemfile
- Gemfile.lock
- package.json
- pnpm-lock.yaml
- Procfile.dev
- Rakefile
- vite.config.ts
- changelog.js
- release.js
- verifyCommit.js
- snapshot_matcher.rb
- interfaces_CommentSerializer.snap
- interfaces_ComposerSerializer.snap
- interfaces_ComposerWithSongsSerializer.snap
- interfaces_ComposerWithSongsSerializer__SongSerializer.snap
- interfaces_index.snap
- interfaces_ModelSerializer.snap
- interfaces_Nested__AlbumSerializer.snap
- interfaces_SnakeComposerSerializer.snap
- interfaces_SongSerializer.snap
- interfaces_SongWithVideosSerializer.snap
- interfaces_VideoSerializer.snap
- interfaces_VideoWithSongSerializer.snap
- namespace_interfaces_CommentSerializer.snap
- namespace_interfaces_ComposerSerializer.snap
- namespace_interfaces_ComposerWithSongsSerializer.snap
- namespace_interfaces_ComposerWithSongsSerializer__SongSerializer.snap
- namespace_interfaces_ModelSerializer.snap
- namespace_interfaces_Nested__AlbumSerializer.snap
- namespace_interfaces_SnakeComposerSerializer.snap
- namespace_interfaces_SongSerializer.snap
- namespace_interfaces_SongWithVideosSerializer.snap
- namespace_interfaces_VideoSerializer.snap
- namespace_interfaces_VideoWithSongSerializer.snap
- generator_spec.rb
- spec_helper.rb
- release
- dsl.rb
- generator.rb
- railtie.rb
- version.rb
- types_from_serializers.rb
- CHANGELOG.md
- LICENSE.txt
- Rakefile
- README.md
- types_from_serializers.gemspec
- .eslintignore
- .eslintrc.js
- .gitignore
- .npmrc
- .rspec
- .rubocop.yml
- .standard.yml
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- Gemfile
- Gemfile.lock
- LICENSE.txt
- netlify.toml
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- Rakefile
- README.md
- tsconfig.json
# Installation Guide
1. Get the code
git clone https://github.com/ElMassimo/types_from_serializers
Downloads the entire project code from GitHub to your computer.
cd types_from_serializers
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
3. Ruby
EasyPrerequisites
bundle exec rake types_from_serializers:generate
Type this command into your terminal and run it.
$ bundle install
Installs the Ruby libraries listed in the Gemfile.
If bundle install finishes without errors, continue with the run command from the README (e.g. rails server).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
