You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build(client): Omit "internal" APIs from type tests (microsoft#22516)
_This was pulled out of microsoft#22392 so that PR has more discussion._
This change updates the typetest entrypoints for packages to be the
lowest-level/broadest available entrypoint other than internal. The
intent of this change is to stop type testing internal APIs, but the
design is deliberately entrypoint-focused so any entrypoint can be
tested. Indeed, as a follow-up to this change, package owners can adjust
the entrypoint tested as their requirements change.
Towards the goal of no longer testing internal APIs, The typetests have
been regenerated with the updated entrypoints.
Rough logic:
- If the package has a ./legacy export, entrypoint = legacy.
- Else if the package has an ./alpha export, entrypoint = alpha.
- Else if the package has a ./beta export, entrypoint = beta.
- Else if the package has a . export, entrypoint = public.
Because of the current API hierarchy, legacy is _usually_ a superset of
alpha/beta/public. This may not be true in the future as we refine the
legacy API and move them between levels; package configurations will
need to be adjusted for such packages.
## Full list of packages and their updated type test entrypoint:
### public
packages/common/client-utils
packages/common/driver-definitions
packages/dds/tree
packages/framework/fluid-static
### beta
packages/service-clients/tinylicious-client
### alpha
packages/tools/devtools/devtools-core
packages/tools/devtools/devtools
### legacy
azure/packages/azure-service-utils
experimental/dds/attributable-map
packages/common/container-definitions
packages/common/core-interfaces
packages/common/core-utils
packages/dds/counter
packages/dds/map
packages/dds/matrix
packages/dds/merge-tree
packages/dds/ordered-collection
packages/dds/register-collection
packages/dds/sequence
packages/dds/shared-object-base
packages/dds/shared-summary-block
packages/dds/task-manager
packages/drivers/debugger
packages/drivers/driver-web-cache
packages/drivers/local-driver
packages/drivers/odsp-driver-definitions
packages/drivers/odsp-driver
packages/drivers/routerlicious-driver
packages/framework/agent-scheduler
packages/framework/aqueduct
packages/framework/request-handler
packages/framework/synthesize
packages/loader/container-loader
packages/loader/driver-utils
packages/runtime/container-runtime-definitions
packages/runtime/container-runtime
packages/runtime/datastore-definitions
packages/runtime/datastore
packages/runtime/id-compressor
packages/runtime/runtime-definitions
packages/runtime/runtime-utils
packages/runtime/test-runtime-utils
packages/service-clients/azure-client
packages/test/test-utils
packages/tools/fluid-runner
packages/utils/odsp-doclib-utils
packages/utils/telemetry-utils
0 commit comments