Skip to content

Commit

Permalink
feat(client): client extensions types (#16019)
Browse files Browse the repository at this point in the history
* simplify internal client types

* begin base internal $extends

* apply suggestions from review

* feat(client): client extension types

* improve type performance

* use better implementation of omit

* fix result inference for argument inferred for needs

* first implementation of query extension types

* simplify types

* introduce getExtensionModel & getExtensionClient

* introduce getExtensionContext

* handle $allModels and $ for top-level

* chore(client): remove unneeded addition

* cleanup

* protect typegen behind flag

* fix extends test

* for $ for client layer extensions
  • Loading branch information
millsp committed Nov 8, 2022
1 parent ebb5955 commit a34b236
Show file tree
Hide file tree
Showing 26 changed files with 1,098 additions and 963 deletions.
2 changes: 0 additions & 2 deletions packages/client/helpers/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ const generatorBuildConfig: BuildOptions = {
emitTypes: false,
}

void build([generatorBuildConfig, nodeRuntimeBuildConfig, browserBuildConfig, edgeRuntimeBuildConfig])

void build([
generatorBuildConfig,
nodeRuntimeBuildConfig,
Expand Down

0 comments on commit a34b236

Please sign in to comment.