Skip to content

Commit

Permalink
[graphql] [@apollo/client] add graphql libdef and integrate with @apo…
Browse files Browse the repository at this point in the history
…llo/client (#4550)

* Fix ApolloLink inheritance

* Fix Operation inheritance

* Move FetchResult into module

* Move GraphQLRequest into module

* Move ExecutionPatchResult into module

* Move ExecutionPatchInitialResult into module

* Move ExecutionPatchIncrementalResult into module

* Move IncrementalPayload into module

* Move ExecutionPatchResultBase into module

* Move SingleExecutionResult into module

* Remove Data type

which isn't in the typescript sources anymore.

* Move Path into module

* Add @apollo/client/utilities module

* Add graphql_v16.x.x libdef

* Integrate graphql libdef

* Replace Object with { ... }

* Change node definitions to types

rather than interfaces because they are used with object spread but not class extension.

* Add test for useQuery

* Replace mixins with extends

* Simplify void | void

* Export DEV and maybe from utilities

* Export graphql/directives from utilities

* Fix GraphQLRequest

to be closer to the original typescript.

* Export graphql/policies/pagination from utilities

* Export graphql/transform from utilities

* Export graphql/operations from utilities

* Export promises/decoration from utilities

* Export common/mergeDeep from utilities

* Export common/cloneDeep from utilities

* Export common/maybeDeepFreeze from utilities

* Export observables/iteration from utilities
  • Loading branch information
joshuanapoli committed Nov 6, 2023
1 parent 8a67a35 commit 7599864
Show file tree
Hide file tree
Showing 5 changed files with 4,393 additions and 474 deletions.

0 comments on commit 7599864

Please sign in to comment.