Skip to content

Commit

Permalink
fix a few typedoc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysu committed Jan 24, 2024
1 parent 0eb3421 commit ff859f6
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/LensClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Environment } from './environments';
import {
Explore,
Feed,
Handle,
Invites,
Modules,
Momoka,
Expand All @@ -19,7 +20,6 @@ import {
Transaction,
Wallet,
} from './submodules';
import { Handle } from './submodules/handle';

/**
* LensClient configuration
Expand Down
13 changes: 13 additions & 0 deletions packages/client/src/graphql/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,12 @@ export type {
LastLoggedInProfileRequest,
LinkHandleToProfileRequest,
UnlinkHandleFromProfileRequest,
HandleToAddressRequest,
HidePublicationRequest,
InviteRequest,
LegacyCollectRequest,
LensTransactionStatusRequest,
ModuleMetadataRequest,
MomokaCommentRequest,
MomokaMirrorRequest,
MomokaPostRequest,
Expand Down Expand Up @@ -217,14 +219,22 @@ export type {
FeeFollowModuleRedeemInput,
FollowModuleInput,
FollowModuleRedeemInput,
FraudReasonInput,
IllegalReasonInput,
MultirecipientFeeCollectModuleInput,
NetworkAddressInput,
NftInput,
OpenActionModuleInput,
ProfileFraudReasonInput,
ProfileReportingReasonInput,
ProfileSpamReasonInput,
PublicationStatsInput,
RecipientDataInput,
ReferenceModuleInput,
ReportingReasonInput,
SensitiveReasonInput,
SimpleCollectOpenActionModuleInput,
SpamReasonInput,
UnknownFollowModuleInput,
UnknownFollowModuleRedeemInput,
UnknownOpenActionActRedeemInput,
Expand All @@ -245,6 +255,7 @@ export type {
ChangeProfileManager,
Exact,
Follow,
FollowStatusBulk,
ImageTransform,
InputMaybe,
Maybe,
Expand Down Expand Up @@ -282,11 +293,13 @@ export {
MarketplaceMetadataAttributeDisplayType,
ModuleType,
MomokaValidatorError,
NftCollectionOwnersOrder,
NftContractType,
NotificationType,
OpenActionCategoryType,
OpenActionModuleType,
PoapTokenLayerType,
PopularNftCollectionsOrder,
ProfileActionHistoryType,
ProfileInterestTypes,
ProfileReportingFraudSubreason,
Expand Down
1 change: 1 addition & 0 deletions packages/client/src/submodules/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from './explore';
export * from './feed';
export * from './handle';
export * from './invites';
export * from './modules';
export * from './momoka';
Expand Down
4 changes: 3 additions & 1 deletion packages/client/src/submodules/publication/Publication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -879,12 +879,14 @@ export class Publication {
* Predict the next onchain Publication id for a Profile.
*
* @param request - Request object for the method
* @param request.from - ProfileId of the profile to predict the next onchain publication id for
* @returns Publication Id
*/
async predictNextOnChainPublicationId({
from,
}: {
/**
* Profile Id of the profile to predict the next onchain Publication Id for
*/
from: Scalars['ProfileId']['input'];
}): Promise<Scalars['PublicationId']['output']> {
const result = await this.fetchAll({
Expand Down
2 changes: 1 addition & 1 deletion packages/react-web/src/inbox/useEnhanceConversation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export type UseEnhanceConversationResult = {
/**
* Enhance XMTP conversation with a profile of the conversation's peer
*
* You MUST be authenticated via {@link useLogin} to use this hook.
* You MUST be authenticated via `useLogin` to use this hook.
*
* @example
* ```tsx
Expand Down
2 changes: 1 addition & 1 deletion packages/react-web/src/inbox/useEnhanceConversations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export type UseEnhanceConversationsResult = Prettify<
* Enhance XMTP conversations with profiles of the conversations' peers,
* if conversation is between two Lens profiles.
*
* You MUST be authenticated via {@link useLogin} to use this hook.
* You MUST be authenticated via `useLogin` to use this hook.
*
* @example
* ```tsx
Expand Down
2 changes: 1 addition & 1 deletion packages/react-web/src/inbox/useStartLensConversation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type UseStartLensConversationResult = ReturnType<typeof useStartConversat
/**
* Start a new XMTP conversation between two Lens profiles.
*
* You MUST be authenticated via {@link useLogin} to use this hook.
* You MUST be authenticated via `useLogin` to use this hook.
*
* @example
* ```tsx
Expand Down
4 changes: 2 additions & 2 deletions packages/react-web/src/inbox/useXmtpClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ const defaultOptions: InitXmtpClientOptions = {
};

/**
* Initialize XMTP client using the same Signer as the one provided with {@link LensConfig}.
* Initialize XMTP client using the same Signer as the one provided with `LensConfig`.
* Store XMTP user's decryption key in storage to improve UX.
* Be aware that XMTP user's key must be stored safely.
*
* You MUST be authenticated via {@link useLogin} to use this hook.
* You MUST be authenticated via `useLogin` to use this hook.
*
* @example
* ```tsx
Expand Down
5 changes: 4 additions & 1 deletion packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@ export {
UserRejectedError,
WalletConnectionError,
} from '@lens-protocol/domain/entities';
export { BroadcastingError } from '@lens-protocol/domain/use-cases/transactions';
export {
BroadcastingError,
BroadcastingErrorReason,
} from '@lens-protocol/domain/use-cases/transactions';
export { NotFoundError } from './NotFoundError';
export {
InsufficientAllowanceError,
Expand Down

0 comments on commit ff859f6

Please sign in to comment.