Skip to content

Conversation

@chahibi
Copy link
Member

@chahibi chahibi commented Oct 31, 2025

Packages impacted by this PR

  • @azure/planetarycomputer

Issues associated with this PR

N/A

Describe the problem that is addressed by this PR

This PR introduces a new TypeScript client SDK for the Microsoft Planetary Computer Pro geo-catalog service. The Planetary Computer Pro service provides access to geospatial data through a STAC (SpatioTemporal Asset Catalog) API, enabling users to discover, access, and analyze Earth observation data.

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

N/A

Are there test cases added in this PR? (If not, why?)

In progress

Provide a list of related PRs (if any)

N/A

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Generated from TypeSpec configuration at specification/orbital/Microsoft.PlanetaryComputer/tspconfig.yaml

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

Copilot AI review requested due to automatic review settings October 31, 2025 11:37
@chahibi chahibi marked this pull request as draft October 31, 2025 11:38
@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Oct 31, 2025
@chahibi chahibi changed the title [WIPMpcpro sdk gen pup js mod [WIP] Planetary Computer Modular Client Oct 31, 2025
@github-actions
Copy link

github-actions bot commented Oct 31, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

@azure/planetarycomputer

Copy link
Contributor

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 a new @azure-rest/planetarycomputer package for the Azure SDK for JavaScript, providing TypeScript client support for the Microsoft Planetary Computer Pro geo-catalog service. This is a generated client based on the Azure REST API specifications.

Key changes:

  • Adds complete TypeScript client implementation for Planetary Computer Pro API
  • Includes configuration files for testing (Vitest), TypeScript compilation, and build setup
  • Provides comprehensive model definitions for STAC (SpatioTemporal Asset Catalog) operations
  • Implements helper utilities for paging, polling (LRO), URL templating, and multipart uploads

Reviewed Changes

Copilot reviewed 59 out of 61 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vitest.esm.config.ts ESM-specific Vitest configuration merging shared configs
vitest.config.ts Base Vitest configuration importing shared settings
vitest.browser.config.ts Browser-specific Vitest configuration
tsp-location.yaml TypeSpec location metadata pointing to API spec source
tsconfig.*.json TypeScript configuration files for various build targets
test/snippets.spec.ts Sample test snippets demonstrating client usage
test/public/utils/recordedClient.ts Test recorder utility setup
test/public/sampleTest.spec.ts Sample test case with recorder setup
src/static-helpers/*.ts Helper utilities for URL templating, paging, polling, serialization
src/models/models.ts Comprehensive model definitions (4716 lines)
src/logger.ts Logger setup using @azure/logger
src/index.ts Main package entry point with all exports
src/planetaryComputerProClient.ts Main client class implementation
src/restorePollerHelpers.ts LRO poller restoration utilities
src/classic/**/*.ts Classic-style operation groups
src/api/**/*.ts API layer with operations and context
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

@chahibi chahibi added the Consumption - UsageDetailsAndExport All issues in consumption for usage details API and exports API. label Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Consumption - UsageDetailsAndExport All issues in consumption for usage details API and exports API. Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants