@singi-labs/sifa-sdk 0.12.41 → 0.12.43

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.
@@ -73,6 +73,13 @@ interface ProfileEducation {
73
73
  interface ProfileSkill {
74
74
  rkey: string;
75
75
  name: string;
76
+ /**
77
+ * CID of the skill record, needed as a strongRef when endorsing it. Often
78
+ * absent: only the firehose carries a CID, so a skill added moments ago has
79
+ * none indexed yet. Pass it to `createEndorsement` when present and omit it
80
+ * otherwise -- the AppView resolves it from the owner's PDS.
81
+ */
82
+ cid?: string;
76
83
  category?: string;
77
84
  /**
78
85
  * Freeform user-defined grouping label nested under `category` (e.g.
@@ -73,6 +73,13 @@ interface ProfileEducation {
73
73
  interface ProfileSkill {
74
74
  rkey: string;
75
75
  name: string;
76
+ /**
77
+ * CID of the skill record, needed as a strongRef when endorsing it. Often
78
+ * absent: only the firehose carries a CID, so a skill added moments ago has
79
+ * none indexed yet. Pass it to `createEndorsement` when present and omit it
80
+ * otherwise -- the AppView resolves it from the owner's PDS.
81
+ */
82
+ cid?: string;
76
83
  category?: string;
77
84
  /**
78
85
  * Freeform user-defined grouping label nested under `category` (e.g.
@@ -1,7 +1,7 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-C3omwbKL.js';
2
- import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef } from './adult-content-BQoId34F.js';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-EA4mshbf.js';
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
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-cPc7uJVa.js';
4
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-C9E-HPeP.js';
5
5
 
6
6
  /**
7
7
  * Read the aggregated profile for a handle or DID.
@@ -1,9 +1,9 @@
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-C3omwbKL.js';
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';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
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-BQoId34F.js';
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';
7
7
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-C8aHEPw4.js';
8
8
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-B8e01iZx.js';
9
9
 
@@ -1,9 +1,9 @@
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-COY6uqeB.cjs';
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';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
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-BQoId34F.cjs';
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';
7
7
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, r as EntitySelectResponse, p as EntitySelectRequest, F as FollowFeedPage, c as FeatureFlag } from './feed-C8aHEPw4.cjs';
8
8
  import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-B8e01iZx.cjs';
9
9
 
@@ -1,7 +1,7 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-COY6uqeB.cjs';
2
- import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef } from './adult-content-BQoId34F.cjs';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-C0OTQnnV.cjs';
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
- import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-BmtnD3ix.cjs';
4
+ import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CSmXD7ll.cjs';
5
5
 
6
6
  /**
7
7
  * Read the aggregated profile for a handle or DID.