Expose interfaces for feature flags (#1395)
## Description The types that the functions that deal with feature flags return (`FeatureFlag` and `FeatureFlagResponse`) https://github.com/workos/workos-node/blob/0a8b3db79502781382cd5ff255de928e04a8c809/src/organizations/organizations.ts#L114-L116 aren't visible from the package entrypoint which means they can't be imported by third-party code. This differs from other functionality (e.g. organizations) which 1. Have an `index.ts` file which re-exports all their interfaces https://github.com/workos/workos-node/blob/d0067d58d2ab93362b08c1c26d4b5ccea3b81a09/src/organizations/interfaces/index.ts#L1-L6 2. Re-export these index files from the main entrypoint https://github.com/workos/workos-node/blob/0a8b3db79502781382cd5ff255de928e04a8c809/src/index.ts#L25 ## Changes 1. Adds a `feature-flags/interfaces/index.ts` file to mirror the other namespaces 2. Adds a `export * from` the above in `src/index.ts` ## Documentation Does this require changes to the WorkOS Docs? E.g. the [API Reference](https://workos.com/docs/reference) or code snippets need updates. ``` [ ] Yes ``` If yes, link a related docs PR and add a docs maintainer as a reviewer. Their approval is required.
D
David Cornu committed
b48829e7de44bd0e9fdfe749e2cc35c8313f919c
Parent: d0067d5
Committed by GitHub <noreply@github.com>
on 11/21/2025, 6:46:58 PM