Skip to content

Conversation

@rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Nov 19, 2025

Also added a test-project for manual testing.

Also added a test-project for manual testing.
Copilot AI review requested due to automatic review settings November 19, 2025 18:32
@github-actions
Copy link

Copyright Validation Results
Total: 11 | Passed: 3 | Failed: 0 | Skipped: 8 | at: 2025-11-19 18:33:03 UTC | commit: 2dff6a1

⏭️ Skipped (Excluded) Files

  • .copyrightconfig
  • CONTRIBUTING.md
  • test-typescript/README.md
  • typescript-test-project/.gitignore
  • typescript-test-project/README.md
  • typescript-test-project/package.json
  • typescript-test-project/setup.sh
  • typescript-test-project/tsconfig.json

✅ Valid Files

  • marklogic.d.ts
  • test-typescript/connection-methods.test.ts
  • typescript-test-project/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 adds TypeScript support for the releaseClient() and checkConnection() methods, and includes a manual testing project to validate the TypeScript definitions.

Key Changes:

  • Added TypeScript type definitions for connection management methods (checkConnection() and releaseClient())
  • Created a standalone TypeScript test project for manual validation and demonstration
  • Added type-checking tests to verify correctness of the new TypeScript definitions

Reviewed Changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated no comments.

Show a summary per file
File Description
typescript-test-project/tsconfig.json TypeScript compiler configuration for the manual test project with strict type checking enabled
typescript-test-project/test.ts Example TypeScript code demonstrating usage of connection methods with autocomplete and type safety
typescript-test-project/setup.sh Installation script for setting up the test project dependencies
typescript-test-project/package.json NPM package configuration linking to parent marklogic package for local testing
typescript-test-project/README.md Documentation explaining the purpose and usage of the test project
typescript-test-project/.gitignore Git ignore rules for node modules and build artifacts
test-typescript/connection-methods.test.ts Type-checking tests validating the TypeScript definitions for connection methods
test-typescript/README.md Removed outdated documentation sections about test structure
CONTRIBUTING.md Added documentation reference for TypeScript testing
.copyrightconfig Excluded shell scripts from copyright header requirements

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

Copy link
Collaborator

@stevebio stevebio left a comment

Choose a reason for hiding this comment

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

Good first PR.

@rjrudin rjrudin merged commit 55f7d74 into develop Nov 20, 2025
6 checks passed
@rjrudin rjrudin deleted the feature/24194-release-and-check-ts branch November 20, 2025 01:43
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.

3 participants