@singi-labs/sifa-sdk 0.12.42 → 0.12.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ai as RefreshPdsResult, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, C as CreateResult, av as SubCategoryBulkResult, a6 as ProfileLocationInput, l as ExternalAccountInput, k as CreateExternalAccountResult, aB as VerifyExternalAccountResult, E as EndorsementInput, ah as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, T as HideProfileItemInput, au as StatsResponse, h as AppRegistryEntry, P as HiddenApp, y as FilterOptions, ap as SearchFilters, aq as SearchResponse, at as SkillSearchResult, m as FeaturedProfile, as as SimilarProfile, x as FetchSuggestionsOptions, ax as SuggestionsResponse, I as FollowUserResult, p as FetchFollowListOptions, z as FollowListPage, J as FollowingResponse, r as FetchFollowingFeedOptions, q as FetchFollowProfilePageOptions, H as FollowProfilePageResponse, F as FeatureAllowlistResponse, n as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, O as HeatmapResponse, V as MyGithubPullRequestsResponse, b as AccountCheckResult, ag as ReactionStatus, af as ReactionResult, ae as ReactionError, ao as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aj as ResetProfileResult, aC as WipePreview, Y as OrgClaimResult, a2 as OrgProfileUpdateResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult } from './org-C0OTQnnV.cjs';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aj as RefreshPdsResult, az as UpdateProfileOverrideInput, aA as UpdateProfileSelfInput, aB as UploadAvatarResult, C as CreateResult, aw as SubCategoryBulkResult, a7 as ProfileLocationInput, m as ExternalAccountInput, l as CreateExternalAccountResult, aC as VerifyExternalAccountResult, E as EndorsementInput, ai as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, U as HideProfileItemInput, av as StatsResponse, i as AppRegistryEntry, Q as HiddenApp, z as FilterOptions, aq as SearchFilters, ar as SearchResponse, au as SkillSearchResult, n as FeaturedProfile, at as SimilarProfile, y as FetchSuggestionsOptions, ay as SuggestionsResponse, J as FollowUserResult, q as FetchFollowListOptions, G as FollowListPage, K as FollowingResponse, t as FetchFollowingFeedOptions, r as FetchFollowProfilePageOptions, I as FollowProfilePageResponse, F as FeatureAllowlistResponse, o as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, P as HeatmapResponse, X as MyGithubPullRequestsResponse, c as AccountCheckResult, ah as ReactionStatus, ag as ReactionResult, af as ReactionError, ap as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, ak as ResetProfileResult, aD as WipePreview, Z as OrgClaimResult, a3 as OrgProfileUpdateResult, _ as OrgDomainChallengeResult, $ as OrgDomainVerifyResult, a0 as OrgNotificationEmailAddResult, a1 as OrgNotificationEmailRemoveResult } from './org-D_0P4klw.cjs';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
6
  import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef, E as ExternalAccount, S as SkillSuggestion, N as OrgFloorVerdict } from './adult-content-JKDlPIbL.cjs';
@@ -1,4 +1,4 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-EA4mshbf.js';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-Bijq3reg.js';
2
2
  import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef } from './adult-content-JKDlPIbL.js';
3
3
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.js';
4
4
  import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-C9E-HPeP.js';
@@ -123,8 +123,15 @@ interface PendingEndorsement {
123
123
  * AppView resolves it from the endorser's PDS when it is not.
124
124
  */
125
125
  cid?: string;
126
- skillUri: string;
127
- skillCid: string;
126
+ /** Absent when this endorsement proposes a skill the subject does not have. */
127
+ skillUri?: string;
128
+ skillCid?: string;
129
+ /**
130
+ * True when accepting this will add `skillName` to the profile as well as
131
+ * publishing the endorsement. The UI must say so: it is a bigger action than
132
+ * confirming an endorsement of a skill already listed.
133
+ */
134
+ proposesNewSkill?: boolean;
128
135
  skillName: string;
129
136
  comment?: string;
130
137
  createdAt: string;
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, ai as RefreshPdsResult, ay as UpdateProfileOverrideInput, az as UpdateProfileSelfInput, aA as UploadAvatarResult, C as CreateResult, av as SubCategoryBulkResult, a6 as ProfileLocationInput, l as ExternalAccountInput, k as CreateExternalAccountResult, aB as VerifyExternalAccountResult, E as EndorsementInput, ah as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, T as HideProfileItemInput, au as StatsResponse, h as AppRegistryEntry, P as HiddenApp, y as FilterOptions, ap as SearchFilters, aq as SearchResponse, at as SkillSearchResult, m as FeaturedProfile, as as SimilarProfile, x as FetchSuggestionsOptions, ax as SuggestionsResponse, I as FollowUserResult, p as FetchFollowListOptions, z as FollowListPage, J as FollowingResponse, r as FetchFollowingFeedOptions, q as FetchFollowProfilePageOptions, H as FollowProfilePageResponse, F as FeatureAllowlistResponse, n as FetchActivityFeedOptions, c as ActivityFeedResponse, f as ActivityTeaserResponse, O as HeatmapResponse, V as MyGithubPullRequestsResponse, b as AccountCheckResult, ag as ReactionStatus, af as ReactionResult, ae as ReactionError, ao as RoadmapVotesResponse, i as CastRoadmapVoteResult, D as DeleteAccountResult, aj as ResetProfileResult, aC as WipePreview, Y as OrgClaimResult, a2 as OrgProfileUpdateResult, Z as OrgDomainChallengeResult, _ as OrgDomainVerifyResult, $ as OrgNotificationEmailAddResult, a0 as OrgNotificationEmailRemoveResult } from './org-EA4mshbf.js';
3
+ import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aj as RefreshPdsResult, az as UpdateProfileOverrideInput, aA as UpdateProfileSelfInput, aB as UploadAvatarResult, C as CreateResult, aw as SubCategoryBulkResult, a7 as ProfileLocationInput, m as ExternalAccountInput, l as CreateExternalAccountResult, aC as VerifyExternalAccountResult, E as EndorsementInput, ai as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, U as HideProfileItemInput, av as StatsResponse, i as AppRegistryEntry, Q as HiddenApp, z as FilterOptions, aq as SearchFilters, ar as SearchResponse, au as SkillSearchResult, n as FeaturedProfile, at as SimilarProfile, y as FetchSuggestionsOptions, ay as SuggestionsResponse, J as FollowUserResult, q as FetchFollowListOptions, G as FollowListPage, K as FollowingResponse, t as FetchFollowingFeedOptions, r as FetchFollowProfilePageOptions, I as FollowProfilePageResponse, F as FeatureAllowlistResponse, o as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, P as HeatmapResponse, X as MyGithubPullRequestsResponse, c as AccountCheckResult, ah as ReactionStatus, ag as ReactionResult, af as ReactionError, ap as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, ak as ResetProfileResult, aD as WipePreview, Z as OrgClaimResult, a3 as OrgProfileUpdateResult, _ as OrgDomainChallengeResult, $ as OrgDomainVerifyResult, a0 as OrgNotificationEmailAddResult, a1 as OrgNotificationEmailRemoveResult } from './org-Bijq3reg.js';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
6
6
  import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef, E as ExternalAccount, S as SkillSuggestion, N as OrgFloorVerdict } from './adult-content-JKDlPIbL.js';
@@ -1,4 +1,4 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-C0OTQnnV.cjs';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-D_0P4klw.cjs';
2
2
  import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef } from './adult-content-JKDlPIbL.cjs';
3
3
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.cjs';
4
4
  import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CSmXD7ll.cjs';
@@ -123,8 +123,15 @@ interface PendingEndorsement {
123
123
  * AppView resolves it from the endorser's PDS when it is not.
124
124
  */
125
125
  cid?: string;
126
- skillUri: string;
127
- skillCid: string;
126
+ /** Absent when this endorsement proposes a skill the subject does not have. */
127
+ skillUri?: string;
128
+ skillCid?: string;
129
+ /**
130
+ * True when accepting this will add `skillName` to the profile as well as
131
+ * publishing the endorsement. The UI must say so: it is a bigger action than
132
+ * confirming an endorsement of a skill already listed.
133
+ */
134
+ proposesNewSkill?: boolean;
128
135
  skillName: string;
129
136
  comment?: string;
130
137
  createdAt: string;