@singi-labs/sifa-sdk 0.12.53 → 0.12.54
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.
- package/dist/{index-D9_yFc0m.d.ts → index-BswhdUml.d.ts} +3 -3
- package/dist/{index-B-BExLL4.d.cts → index-C7jp-pCl.d.cts} +2 -2
- package/dist/{index-BeiqwDak.d.ts → index-CYg9-9HC.d.ts} +2 -2
- package/dist/{index-B1F632lI.d.cts → index-DoT2ezVF.d.cts} +3 -3
- package/dist/index.cjs +13 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +13 -15
- package/dist/index.js.map +1 -1
- package/dist/{org-lRzEl8je.d.ts → org-5Y81k-Mb.d.ts} +1 -1
- package/dist/{org-xybLlTXW.d.cts → org-CuCqMJBE.d.cts} +1 -1
- package/dist/{profile-summary-elBg0fG6.d.ts → profile-summary-BLpekZzZ.d.ts} +1 -1
- package/dist/{profile-summary-jUtrgYrA.d.cts → profile-summary-Cpth2lfs.d.cts} +1 -1
- package/dist/query/fetchers/index.d.cts +4 -4
- package/dist/query/fetchers/index.d.ts +4 -4
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/index.d.cts +7 -7
- package/dist/query/index.d.ts +7 -7
- package/dist/{types-CmS4Argp.d.cts → types-CBH2gyTz.d.cts} +12 -1
- package/dist/{types-CmS4Argp.d.ts → types-CBH2gyTz.d.ts} +12 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
2
|
-
import { f as Profile, P as ProfileView, h as ProfilePosition, am as SkillRef } from './types-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-5Y81k-Mb.js';
|
|
2
|
+
import { f as Profile, P as ProfileView, h as ProfilePosition, am as SkillRef } from './types-CBH2gyTz.js';
|
|
3
3
|
import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-dOSy_48Z.js';
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
4
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-BLpekZzZ.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, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aK as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aL as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aK as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aL as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-CuCqMJBE.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 { f as Profile, P as ProfileView, h as ProfilePosition, am as SkillRef, E as ExternalAccount, S as SkillSuggestion, R as RepoDeleteResult, b as RepoInventory, T as OrgFloorVerdict } from './types-
|
|
6
|
+
import { f as Profile, P as ProfileView, h as ProfilePosition, am as SkillRef, E as ExternalAccount, S as SkillSuggestion, R as RepoDeleteResult, b as RepoInventory, T as OrgFloorVerdict } from './types-CBH2gyTz.cjs';
|
|
7
7
|
import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-dOSy_48Z.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,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, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aK as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aL as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aq as RefreshPdsResult, aH as UpdateProfileOverrideInput, aI as UpdateProfileSelfInput, aJ as UploadAvatarResult, C as CreateResult, aE as SubCategoryBulkResult, ae as ProfileLocationInput, p as ExternalAccountInput, o as CreateExternalAccountResult, aK as VerifyExternalAccountResult, E as EndorsementInput, m as ConfirmationInput, n as ConfirmationSubjectInput, Q as GivenConfirmation, ab as PendingConfirmationsPage, ap as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, _ as HideProfileItemInput, aD as StatsResponse, j as AppRegistryEntry, X as HiddenApp, I as FilterOptions, ay as SearchFilters, az as SearchResponse, aC as SkillSearchResult, q as FeaturedProfile, aB as SimilarProfile, H as FetchSuggestionsOptions, aG as SuggestionsResponse, M as FollowUserResult, u as FetchFollowListOptions, J as FollowListPage, N as FollowingResponse, w as FetchFollowingFeedOptions, v as FetchFollowProfilePageOptions, L as FollowProfilePageResponse, F as FeatureAllowlistResponse, h as AdminReviewQueues, r as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, V as HeatmapResponse, a0 as MyGithubPullRequestsResponse, c as AccountCheckResult, ao as ReactionStatus, an as ReactionResult, am as ReactionError, ax as RoadmapVotesResponse, k as CastRoadmapVoteResult, D as DeleteAccountResult, as as ResetProfileResult, aL as WipePreview, ar as RepoDeleteInput, a2 as OrgClaimResult, a8 as OrgProfileUpdateResult, a3 as OrgDomainChallengeResult, a4 as OrgDomainVerifyResult, a5 as OrgNotificationEmailAddResult, a6 as OrgNotificationEmailRemoveResult } from './org-5Y81k-Mb.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 { f as Profile, P as ProfileView, h as ProfilePosition, am as SkillRef, E as ExternalAccount, S as SkillSuggestion, R as RepoDeleteResult, b as RepoInventory, T as OrgFloorVerdict } from './types-
|
|
6
|
+
import { f as Profile, P as ProfileView, h as ProfilePosition, am as SkillRef, E as ExternalAccount, S as SkillSuggestion, R as RepoDeleteResult, b as RepoInventory, T as OrgFloorVerdict } from './types-CBH2gyTz.js';
|
|
7
7
|
import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-dOSy_48Z.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,7 +1,7 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
2
|
-
import { f as Profile, P as ProfileView, h as ProfilePosition, am as SkillRef } from './types-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-CuCqMJBE.cjs';
|
|
2
|
+
import { f as Profile, P as ProfileView, h as ProfilePosition, am as SkillRef } from './types-CBH2gyTz.cjs';
|
|
3
3
|
import { i as EntitySearchResponse, k as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-dOSy_48Z.cjs';
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
4
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-Cpth2lfs.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Read the aggregated profile for a handle or DID.
|
package/dist/index.cjs
CHANGED
|
@@ -5452,19 +5452,16 @@ var SIFA_REPO_GROUPS = [
|
|
|
5452
5452
|
]
|
|
5453
5453
|
},
|
|
5454
5454
|
{
|
|
5455
|
-
id: "
|
|
5455
|
+
id: "people",
|
|
5456
5456
|
collections: ["id.sifa.graph.follow", "id.sifa.graph.connection", "id.sifa.confirmation"]
|
|
5457
5457
|
},
|
|
5458
|
+
// The id.sifa.auth* lexicons are `permission-set` definitions -- OAuth scope
|
|
5459
|
+
// identifiers published to the authority PDS and referenced from the API's
|
|
5460
|
+
// scope builder. Nothing writes them into a user's repo, so listing them here
|
|
5461
|
+
// promised a consent-management surface that could only ever be empty.
|
|
5458
5462
|
{
|
|
5459
|
-
id: "
|
|
5460
|
-
collections: [
|
|
5461
|
-
"id.sifa.authProfile",
|
|
5462
|
-
"id.sifa.authProfileAccess",
|
|
5463
|
-
"id.sifa.authConnection",
|
|
5464
|
-
"id.sifa.authMeet",
|
|
5465
|
-
"id.sifa.authProject",
|
|
5466
|
-
"id.sifa.meeting"
|
|
5467
|
-
]
|
|
5463
|
+
id: "meetings",
|
|
5464
|
+
collections: ["id.sifa.meeting"]
|
|
5468
5465
|
}
|
|
5469
5466
|
];
|
|
5470
5467
|
var GROUP_BY_COLLECTION = new Map(
|
|
@@ -5575,11 +5572,12 @@ function pickString(record, fields) {
|
|
|
5575
5572
|
function describeSifaRecord(collection, value) {
|
|
5576
5573
|
const leaf = collectionLeaf(collection);
|
|
5577
5574
|
const rule = LABEL_RULES[collection];
|
|
5578
|
-
if (!rule || typeof value !== "object" || value === null)
|
|
5575
|
+
if (!rule || typeof value !== "object" || value === null) {
|
|
5576
|
+
return { primary: leaf, isFallback: true };
|
|
5577
|
+
}
|
|
5579
5578
|
const record = value;
|
|
5580
|
-
const
|
|
5581
|
-
|
|
5582
|
-
};
|
|
5579
|
+
const primary = rule.primary && pickString(record, rule.primary);
|
|
5580
|
+
const label = primary ? { primary } : { primary: leaf, isFallback: true };
|
|
5583
5581
|
const secondary = rule.secondary && pickString(record, rule.secondary);
|
|
5584
5582
|
if (secondary !== void 0 && secondary !== label.primary) label.secondary = secondary;
|
|
5585
5583
|
const date = rule.date && pickString(record, rule.date);
|
|
@@ -5590,7 +5588,7 @@ function describeSifaRecord(collection, value) {
|
|
|
5590
5588
|
}
|
|
5591
5589
|
|
|
5592
5590
|
// src/index.ts
|
|
5593
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
5591
|
+
var SIFA_SDK_VERSION = "0.12.54";
|
|
5594
5592
|
|
|
5595
5593
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5596
5594
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|