Skip to content

Commit

Permalink
Export more types
Browse files Browse the repository at this point in the history
  • Loading branch information
HZHAIX committed Jul 7, 2023
1 parent 67abf51 commit 4965a89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/apollo-links/src/core/clusterAuthLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { POST } from '../utils/query';
import { Logger } from '../utils/logger';
import { ChannelState, OrderType } from '../types';

type AuthOptions = {
export type AuthOptions = {
authUrl: string; // the url for geting token
projectId: string; // chainId or deploymentId for the project
orderMananger: OrderMananger; // agreement manager for managing agreements
Expand Down
6 changes: 3 additions & 3 deletions packages/apollo-links/src/core/responseLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import { Logger } from '../utils/logger';
import { POST } from '../utils/query';
import { ChannelState, OrderType } from '../types';

type Options = {
export type ResponseLinkOptions = {
authUrl: string;
logger?: Logger;
};

export class ResponseLink extends ApolloLink {
private options: Options;
private options: ResponseLinkOptions;

constructor(private option: Options) {
constructor(private option: ResponseLinkOptions) {
super();
this.options = option;
}
Expand Down

0 comments on commit 4965a89

Please sign in to comment.