floydspace / effect-aws

🚰 Effectful AWS
https://floydspace.github.io/effect-aws/
MIT License
49 stars 4 forks source link

feat: export the HttpHandlerOptions type #75

Closed godu closed 3 weeks ago

godu commented 3 weeks ago

In my project (a monorepo), I have a package that wraps @effect-aws/* packages with a schema validation.

const opensearch = Effect.serviceFunctions(OpenSearchService);

export const listDomainNames = flow(
  opensearch.listDomainNames,
  Effect.flatMap(S.validate(ListDomainNamesCommandOutputSchema)),
);

Typescript isn't able to re-export the HttpHandlerOptions type.

Exported variable 'listDomainNames' has or is using name 'HttpHandlerOptions' from external module "./node_modules/@effect-aws/client-opensearch/lib/OpenSearchService" but cannot be named.
changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: af85f91aa34862759ee7328fcb95521631ee2172

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 30 packages | Name | Type | | --------------------------------------------- | ----- | | @effect-aws/client-api-gateway-management-api | Patch | | @effect-aws/client-cognito-identity-provider | Patch | | @effect-aws/client-opensearch-serverless | Patch | | @effect-aws/client-cloudwatch-events | Patch | | @effect-aws/client-cloudwatch-logs | Patch | | @effect-aws/client-secrets-manager | Patch | | @effect-aws/client-cloudsearch | Patch | | @effect-aws/client-elasticache | Patch | | @effect-aws/client-eventbridge | Patch | | @effect-aws/client-cloudtrail | Patch | | @effect-aws/client-cloudwatch | Patch | | @effect-aws/client-codedeploy | Patch | | @effect-aws/client-opensearch | Patch | | @effect-aws/client-scheduler | Patch | | @effect-aws/client-dynamodb | Patch | | @effect-aws/client-account | Patch | | @effect-aws/client-kinesis | Patch | | @effect-aws/client-lambda | Patch | | @effect-aws/lib-dynamodb | Patch | | @effect-aws/client-ec2 | Patch | | @effect-aws/client-iam | Patch | | @effect-aws/client-kms | Patch | | @effect-aws/client-rds | Patch | | @effect-aws/client-sfn | Patch | | @effect-aws/client-sns | Patch | | @effect-aws/client-sqs | Patch | | @effect-aws/client-ssm | Patch | | @effect-aws/client-sts | Patch | | @effect-aws/client-mq | Patch | | @effect-aws/client-s3 | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR