AB-1934: Add TS and Sync support#920
Merged
animeshjajoopostman merged 42 commits intodevelopfrom Jan 28, 2026
Merged
Conversation
Contributor
integration test code coverage
Coverage Breakdown • (19%)
|
Contributor
unit test code coverage
Coverage Breakdown • (88%)
|
added 7 commits
December 22, 2025 13:38
…nto feature/ts-support
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds TypeScript support to the project by introducing type definitions and converting the main entry point to TypeScript. The changes enable better type safety and developer experience when using this OpenAPI to Postman converter library.
Key changes:
- New TypeScript type definitions in
types/index.tscovering all major interfaces - Conversion of
index.jstoindex.tswith TypeScript annotations - Build pipeline setup with TypeScript compilation to
dist/directory
Reviewed changes
Copilot reviewed 25 out of 35 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| types/index.ts | Comprehensive type definitions for converter inputs, options, and outputs |
| index.ts | TypeScript conversion of main entry point with type annotations |
| package.json | Added TypeScript tooling, build scripts, and updated main/types entry points |
| libV2/index.js | Updated import paths to reference reorganized CollectionGeneration directory |
| libV2/CollectionGeneration/schemaUtils.js | Added missing eslint-disable comment and fixed import paths with .js extensions |
| libV2/CollectionGeneration/validationUtils.js | Updated import paths with .js extensions for relocated modules |
| test/unit/*.test.js | Updated test imports to use compiled dist/index.js instead of source |
| test/system/*.test.js | Updated test imports to use compiled dist/index.js |
| test/integration/integration.test.js | Updated import to use compiled dist/index.js |
| scripts/test-lint.sh | Removed index.js from eslint targets since it's now TypeScript |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
added 5 commits
December 29, 2025 10:56
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 28 out of 38 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
added 6 commits
December 30, 2025 12:41
AyushShri
reviewed
Jan 22, 2026
libV2/CollectionGeneration/helpers/collection/generateAuthForCollectionFromOpenAPI.js
Show resolved
Hide resolved
Collaborator
|
are we not creating |
AyushShri
reviewed
Jan 22, 2026
AyushShri
reviewed
Jan 22, 2026
AyushShri
reviewed
Jan 22, 2026
added 10 commits
January 23, 2026 11:42
…nto feature/ts-support
added 11 commits
January 28, 2026 15:10
…BundleResult structure
Add documentation for syncing collections in README.md
Add syncing support
AyushShri
approved these changes
Jan 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA: https://postmanlabs.atlassian.net/browse/AB-1934