Skip to content

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Nov 19, 2025

Just doing the database config. Everything done by Copilot here, including the README that will either get updated or folded into the CONTRIBUTING at some point.

Copilot AI review requested due to automatic review settings November 19, 2025 16:10
@github-actions
Copy link

github-actions bot commented Nov 19, 2025

Copyright Validation Results
Total: 9 | Passed: 4 | Failed: 0 | Skipped: 5 | at: 2025-11-19 16:19:52 UTC | commit: 6fceb4d

⏭️ Skipped (Excluded) Files

  • Jenkinsfile
  • package-lock.json
  • package.json
  • test-typescript/README.md
  • tsconfig.json

✅ Valid Files

  • marklogic.d.ts
  • test-typescript/basic-types.test.ts
  • test-typescript/error-examples.test.ts
  • test-typescript/type-constraints.test.ts

✅ All files have valid copyright headers!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces initial TypeScript support for the MarkLogic Node.js client by adding type definitions and comprehensive type testing infrastructure. The changes enable TypeScript developers to benefit from type safety and IntelliSense when using the library.

Key Changes:

  • Added TypeScript type definition file (marklogic.d.ts) for the DatabaseClientConfig interface
  • Created a comprehensive test suite for validating type definitions
  • Integrated TypeScript type checking into the CI/CD pipeline

Reviewed Changes

Copilot reviewed 6 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test-typescript/type-constraints.test.ts Tests type constraints without module import by defining a mirror type to validate the interface structure
test-typescript/error-examples.test.ts Demonstrates TypeScript's ability to catch type errors with commented invalid examples
test-typescript/basic-types.test.ts Full integration test importing the marklogic module (currently excluded from tsconfig)
test-typescript/README.md Documentation explaining the TypeScript testing approach and how to run/extend tests
package.json Adds TypeScript dependencies, type definition reference, and test:types script
Jenkinsfile Integrates TypeScript type checking into the CI pipeline

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Just doing the database config. Everything done by Copilot here, including the README that will either get updated or folded into the CONTRIBUTING at some point.
@rjrudin rjrudin force-pushed the feature/24194-ts-for-db-config branch from be997b9 to 6fceb4d Compare November 19, 2025 16:19
@rjrudin rjrudin merged commit 0ce247f into develop Nov 19, 2025
6 checks passed
@rjrudin rjrudin deleted the feature/24194-ts-for-db-config branch November 19, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants