@singi-labs/sifa-sdk 0.12.46 → 0.12.48
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/{adult-content-9l3Xmixn.d.cts → adult-content-BUgP8bpf.d.cts} +18 -2
- package/dist/{adult-content-9l3Xmixn.d.ts → adult-content-BUgP8bpf.d.ts} +18 -2
- package/dist/{index-Dvw2NPpk.d.ts → index-D5yf1X4k.d.ts} +2 -2
- package/dist/{index-Bq1mfC91.d.ts → index-DS-cxfHb.d.ts} +3 -3
- package/dist/{index-Bvr6ZlZ1.d.cts → index-TELQkOMk.d.cts} +2 -2
- package/dist/{index--Q8kEaBH.d.cts → index-X9PQhUnB.d.cts} +3 -3
- package/dist/index.cjs +10 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/{org-Bqu4G83p.d.ts → org-BtdoBUT6.d.ts} +1 -1
- package/dist/{org-CNsjSfE4.d.cts → org-C5Dzmo38.d.cts} +1 -1
- package/dist/{profile-summary-BcWQzphy.d.cts → profile-summary-DReI-P0i.d.cts} +1 -1
- package/dist/{profile-summary-DITGRCHe.d.ts → profile-summary-DyX9EJzZ.d.ts} +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/schemas/index.cjs +9 -4
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -1
- package/dist/schemas/index.d.ts +1 -1
- package/dist/schemas/index.js +9 -4
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +8 -1
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +8 -0
- package/dist/schemas/write/index.d.ts +8 -0
- package/dist/schemas/write/index.js +8 -1
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/{shared-CNr-iMpc.d.cts → shared-CqayM24g.d.cts} +4 -0
- package/dist/{shared-CNr-iMpc.d.ts → shared-CqayM24g.d.ts} +4 -0
- package/package.json +1 -1
|
@@ -89,6 +89,16 @@ interface ProfileSkill {
|
|
|
89
89
|
subCategory?: string;
|
|
90
90
|
endorsementCount?: number;
|
|
91
91
|
endorsed?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Names this skill was endorsed under, where they differ from what it is
|
|
94
|
+
* called now. Absent when nothing has drifted.
|
|
95
|
+
*
|
|
96
|
+
* A rename keeps the same record, so endorsements follow it and stay
|
|
97
|
+
* counted. Showing the original name is what keeps that honest: a reader can
|
|
98
|
+
* see that a skill now called one thing was vouched for as another, instead
|
|
99
|
+
* of the rename quietly laundering the endorsement.
|
|
100
|
+
*/
|
|
101
|
+
endorsedAs?: string[];
|
|
92
102
|
activityBacked?: boolean;
|
|
93
103
|
}
|
|
94
104
|
interface SkillSuggestion {
|
|
@@ -172,7 +182,8 @@ interface ProfileProject {
|
|
|
172
182
|
* duplicates another person's. Set so consumers can tell the two describe one
|
|
173
183
|
* project; both still render from their own owner's record.
|
|
174
184
|
*/
|
|
175
|
-
|
|
185
|
+
/** AT-URI of the same record on another person's profile, when they keep one. */
|
|
186
|
+
sameAs?: string;
|
|
176
187
|
hidden?: boolean;
|
|
177
188
|
}
|
|
178
189
|
interface PublicationContributor {
|
|
@@ -415,6 +426,8 @@ interface ProfilePresentationDelivery {
|
|
|
415
426
|
presentationRkey?: string | null;
|
|
416
427
|
/** Co-speakers at this occasion, hydrated from the stored DIDs. */
|
|
417
428
|
coSpeakers?: CoSpeaker[];
|
|
429
|
+
/** AT-URI of the same session as recorded on another person's profile. */
|
|
430
|
+
sameAs?: string;
|
|
418
431
|
title?: string | null;
|
|
419
432
|
role?: string | null;
|
|
420
433
|
eventName?: string | null;
|
|
@@ -792,7 +805,8 @@ interface ProjectView {
|
|
|
792
805
|
endDate?: string;
|
|
793
806
|
members?: ProjectMemberView[];
|
|
794
807
|
/** AT-URI of the same project as recorded elsewhere, when this entry duplicates another. */
|
|
795
|
-
|
|
808
|
+
/** AT-URI of the same record on another person's profile, when they keep one. */
|
|
809
|
+
sameAs?: string;
|
|
796
810
|
}
|
|
797
811
|
/** A person named as a member of a project. Identity fields appear only once confirmed. */
|
|
798
812
|
interface ProjectMemberView {
|
|
@@ -908,6 +922,8 @@ interface PresentationDeliveryView {
|
|
|
908
922
|
links?: PresentationLinkView[];
|
|
909
923
|
eventUri?: string;
|
|
910
924
|
coSpeakers?: CoSpeakerView[];
|
|
925
|
+
/** AT-URI of the same session as recorded on another person's profile. */
|
|
926
|
+
sameAs?: string;
|
|
911
927
|
}
|
|
912
928
|
interface PresentationView {
|
|
913
929
|
rkey: string;
|
|
@@ -89,6 +89,16 @@ interface ProfileSkill {
|
|
|
89
89
|
subCategory?: string;
|
|
90
90
|
endorsementCount?: number;
|
|
91
91
|
endorsed?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Names this skill was endorsed under, where they differ from what it is
|
|
94
|
+
* called now. Absent when nothing has drifted.
|
|
95
|
+
*
|
|
96
|
+
* A rename keeps the same record, so endorsements follow it and stay
|
|
97
|
+
* counted. Showing the original name is what keeps that honest: a reader can
|
|
98
|
+
* see that a skill now called one thing was vouched for as another, instead
|
|
99
|
+
* of the rename quietly laundering the endorsement.
|
|
100
|
+
*/
|
|
101
|
+
endorsedAs?: string[];
|
|
92
102
|
activityBacked?: boolean;
|
|
93
103
|
}
|
|
94
104
|
interface SkillSuggestion {
|
|
@@ -172,7 +182,8 @@ interface ProfileProject {
|
|
|
172
182
|
* duplicates another person's. Set so consumers can tell the two describe one
|
|
173
183
|
* project; both still render from their own owner's record.
|
|
174
184
|
*/
|
|
175
|
-
|
|
185
|
+
/** AT-URI of the same record on another person's profile, when they keep one. */
|
|
186
|
+
sameAs?: string;
|
|
176
187
|
hidden?: boolean;
|
|
177
188
|
}
|
|
178
189
|
interface PublicationContributor {
|
|
@@ -415,6 +426,8 @@ interface ProfilePresentationDelivery {
|
|
|
415
426
|
presentationRkey?: string | null;
|
|
416
427
|
/** Co-speakers at this occasion, hydrated from the stored DIDs. */
|
|
417
428
|
coSpeakers?: CoSpeaker[];
|
|
429
|
+
/** AT-URI of the same session as recorded on another person's profile. */
|
|
430
|
+
sameAs?: string;
|
|
418
431
|
title?: string | null;
|
|
419
432
|
role?: string | null;
|
|
420
433
|
eventName?: string | null;
|
|
@@ -792,7 +805,8 @@ interface ProjectView {
|
|
|
792
805
|
endDate?: string;
|
|
793
806
|
members?: ProjectMemberView[];
|
|
794
807
|
/** AT-URI of the same project as recorded elsewhere, when this entry duplicates another. */
|
|
795
|
-
|
|
808
|
+
/** AT-URI of the same record on another person's profile, when they keep one. */
|
|
809
|
+
sameAs?: string;
|
|
796
810
|
}
|
|
797
811
|
/** A person named as a member of a project. Identity fields appear only once confirmed. */
|
|
798
812
|
interface ProjectMemberView {
|
|
@@ -908,6 +922,8 @@ interface PresentationDeliveryView {
|
|
|
908
922
|
links?: PresentationLinkView[];
|
|
909
923
|
eventUri?: string;
|
|
910
924
|
coSpeakers?: CoSpeakerView[];
|
|
925
|
+
/** AT-URI of the same session as recorded on another person's profile. */
|
|
926
|
+
sameAs?: string;
|
|
911
927
|
}
|
|
912
928
|
interface PresentationView {
|
|
913
929
|
rkey: string;
|
|
@@ -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, an as RefreshPdsResult, aD as UpdateProfileOverrideInput, aE as UpdateProfileSelfInput, aF as UploadAvatarResult, C as CreateResult, aA as SubCategoryBulkResult, ab as ProfileLocationInput, o as ExternalAccountInput, n as CreateExternalAccountResult, aG as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a8 as PendingConfirmationsPage, am as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, X as HideProfileItemInput, az as StatsResponse, i as AppRegistryEntry, T as HiddenApp, H as FilterOptions, au as SearchFilters, av as SearchResponse, ay as SkillSearchResult, p as FeaturedProfile, ax as SimilarProfile, G as FetchSuggestionsOptions, aC as SuggestionsResponse, L as FollowUserResult, t as FetchFollowListOptions, I as FollowListPage, M as FollowingResponse, v as FetchFollowingFeedOptions, u as FetchFollowProfilePageOptions, K as FollowProfilePageResponse, F as FeatureAllowlistResponse, q as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, R as HeatmapResponse, Z as MyGithubPullRequestsResponse, c as AccountCheckResult, al as ReactionStatus, ak as ReactionResult, aj as ReactionError, at as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, ao as ResetProfileResult, aH as WipePreview, $ as OrgClaimResult, a5 as OrgProfileUpdateResult, a0 as OrgDomainChallengeResult, a1 as OrgDomainVerifyResult, a2 as OrgNotificationEmailAddResult, a3 as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, an as RefreshPdsResult, aD as UpdateProfileOverrideInput, aE as UpdateProfileSelfInput, aF as UploadAvatarResult, C as CreateResult, aA as SubCategoryBulkResult, ab as ProfileLocationInput, o as ExternalAccountInput, n as CreateExternalAccountResult, aG as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a8 as PendingConfirmationsPage, am as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, X as HideProfileItemInput, az as StatsResponse, i as AppRegistryEntry, T as HiddenApp, H as FilterOptions, au as SearchFilters, av as SearchResponse, ay as SkillSearchResult, p as FeaturedProfile, ax as SimilarProfile, G as FetchSuggestionsOptions, aC as SuggestionsResponse, L as FollowUserResult, t as FetchFollowListOptions, I as FollowListPage, M as FollowingResponse, v as FetchFollowingFeedOptions, u as FetchFollowProfilePageOptions, K as FollowProfilePageResponse, F as FeatureAllowlistResponse, q as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, R as HeatmapResponse, Z as MyGithubPullRequestsResponse, c as AccountCheckResult, al as ReactionStatus, ak as ReactionResult, aj as ReactionError, at as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, ao as ResetProfileResult, aH as WipePreview, $ as OrgClaimResult, a5 as OrgProfileUpdateResult, a0 as OrgDomainChallengeResult, a1 as OrgDomainVerifyResult, a2 as OrgNotificationEmailAddResult, a3 as OrgNotificationEmailRemoveResult } from './org-BtdoBUT6.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, ac as SkillRef, E as ExternalAccount, S as SkillSuggestion, Q as OrgFloorVerdict } from './adult-content-
|
|
6
|
+
import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef, E as ExternalAccount, S as SkillSuggestion, Q as OrgFloorVerdict } from './adult-content-BUgP8bpf.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 { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-BtdoBUT6.js';
|
|
2
|
+
import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-BUgP8bpf.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-DyX9EJzZ.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, an as RefreshPdsResult, aD as UpdateProfileOverrideInput, aE as UpdateProfileSelfInput, aF as UploadAvatarResult, C as CreateResult, aA as SubCategoryBulkResult, ab as ProfileLocationInput, o as ExternalAccountInput, n as CreateExternalAccountResult, aG as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a8 as PendingConfirmationsPage, am as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, X as HideProfileItemInput, az as StatsResponse, i as AppRegistryEntry, T as HiddenApp, H as FilterOptions, au as SearchFilters, av as SearchResponse, ay as SkillSearchResult, p as FeaturedProfile, ax as SimilarProfile, G as FetchSuggestionsOptions, aC as SuggestionsResponse, L as FollowUserResult, t as FetchFollowListOptions, I as FollowListPage, M as FollowingResponse, v as FetchFollowingFeedOptions, u as FetchFollowProfilePageOptions, K as FollowProfilePageResponse, F as FeatureAllowlistResponse, q as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, R as HeatmapResponse, Z as MyGithubPullRequestsResponse, c as AccountCheckResult, al as ReactionStatus, ak as ReactionResult, aj as ReactionError, at as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, ao as ResetProfileResult, aH as WipePreview, $ as OrgClaimResult, a5 as OrgProfileUpdateResult, a0 as OrgDomainChallengeResult, a1 as OrgDomainVerifyResult, a2 as OrgNotificationEmailAddResult, a3 as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, an as RefreshPdsResult, aD as UpdateProfileOverrideInput, aE as UpdateProfileSelfInput, aF as UploadAvatarResult, C as CreateResult, aA as SubCategoryBulkResult, ab as ProfileLocationInput, o as ExternalAccountInput, n as CreateExternalAccountResult, aG as VerifyExternalAccountResult, E as EndorsementInput, l as ConfirmationInput, m as ConfirmationSubjectInput, a8 as PendingConfirmationsPage, am as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, X as HideProfileItemInput, az as StatsResponse, i as AppRegistryEntry, T as HiddenApp, H as FilterOptions, au as SearchFilters, av as SearchResponse, ay as SkillSearchResult, p as FeaturedProfile, ax as SimilarProfile, G as FetchSuggestionsOptions, aC as SuggestionsResponse, L as FollowUserResult, t as FetchFollowListOptions, I as FollowListPage, M as FollowingResponse, v as FetchFollowingFeedOptions, u as FetchFollowProfilePageOptions, K as FollowProfilePageResponse, F as FeatureAllowlistResponse, q as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, R as HeatmapResponse, Z as MyGithubPullRequestsResponse, c as AccountCheckResult, al as ReactionStatus, ak as ReactionResult, aj as ReactionError, at as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, ao as ResetProfileResult, aH as WipePreview, $ as OrgClaimResult, a5 as OrgProfileUpdateResult, a0 as OrgDomainChallengeResult, a1 as OrgDomainVerifyResult, a2 as OrgNotificationEmailAddResult, a3 as OrgNotificationEmailRemoveResult } from './org-C5Dzmo38.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, ac as SkillRef, E as ExternalAccount, S as SkillSuggestion, Q as OrgFloorVerdict } from './adult-content-
|
|
6
|
+
import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef, E as ExternalAccount, S as SkillSuggestion, Q as OrgFloorVerdict } from './adult-content-BUgP8bpf.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,7 +1,7 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
2
|
-
import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-C5Dzmo38.cjs';
|
|
2
|
+
import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-BUgP8bpf.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-DReI-P0i.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Read the aggregated profile for a handle or DID.
|
package/dist/index.cjs
CHANGED
|
@@ -5231,12 +5231,17 @@ var ProfileProjectRecordSchema = zod.z.object({
|
|
|
5231
5231
|
url: uriSchema.optional(),
|
|
5232
5232
|
members: zod.z.array(projectMemberRefSchema).max(50).optional(),
|
|
5233
5233
|
/**
|
|
5234
|
-
* The
|
|
5235
|
-
*
|
|
5236
|
-
*
|
|
5237
|
-
* tell the two describe one project instead of showing it twice.
|
|
5234
|
+
* The canonical `id.sifa.project.self` this personal entry corresponds to.
|
|
5235
|
+
* A composition link. For the same project recorded on someone else's
|
|
5236
|
+
* profile, see `sameAs`.
|
|
5238
5237
|
*/
|
|
5239
5238
|
projectRef: strongRefSchema.optional(),
|
|
5239
|
+
/**
|
|
5240
|
+
* The same project as recorded on another person's profile. Each side stays
|
|
5241
|
+
* its own record; this only says the two describe one thing. Resolves by
|
|
5242
|
+
* AT-URI, since they will keep editing their copy.
|
|
5243
|
+
*/
|
|
5244
|
+
sameAs: externalRecordRefSchema.optional(),
|
|
5240
5245
|
position: strongRefSchema.optional(),
|
|
5241
5246
|
startedAt: partialDateSchema.optional(),
|
|
5242
5247
|
endedAt: partialDateSchema.optional(),
|
|
@@ -5388,7 +5393,7 @@ function roadmapIssueUrl(issue) {
|
|
|
5388
5393
|
}
|
|
5389
5394
|
|
|
5390
5395
|
// src/index.ts
|
|
5391
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
5396
|
+
var SIFA_SDK_VERSION = "0.12.48";
|
|
5392
5397
|
|
|
5393
5398
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5394
5399
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|