Skip to content

Commit

Permalink
Export MutationOptionsAlone, QueryOptionsAlone, SubscriptionOptionsAl…
Browse files Browse the repository at this point in the history
…one, WatchQueryOptionsAlone from 'apollo-angular'

Fixes #1756
Fixes #2335
  • Loading branch information
PowerKiKi committed Feb 3, 2025
1 parent 70e40d0 commit c9b405e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .changeset/curly-rivers-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'apollo-angular': patch
---

Export MutationOptionsAlone, QueryOptionsAlone, SubscriptionOptionsAlone, WatchQueryOptionsAlone
from 'apollo-angular'
14 changes: 9 additions & 5 deletions packages/apollo-angular/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ export { Mutation } from './mutation';
export { Subscription } from './subscription';
export { APOLLO_OPTIONS, APOLLO_NAMED_OPTIONS, APOLLO_FLAGS } from './tokens';
export type {
NamedOptions,
SubscriptionResult,
WatchQueryOptions,
ExtraSubscriptionOptions,
MutationResult,
Flags,
VariablesOf,
MutationOptionsAlone,
MutationResult,
NamedOptions,
QueryOptionsAlone,
ResultOf,
SubscriptionOptionsAlone,
SubscriptionResult,
VariablesOf,
WatchQueryOptions,
WatchQueryOptionsAlone,
} from './types';
export { gql, graphql } from './gql';

0 comments on commit c9b405e

Please sign in to comment.