@singi-labs/sifa-sdk 0.12.45 → 0.12.46
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-DPbdzRqN.d.cts → adult-content-9l3Xmixn.d.cts} +11 -1
- package/dist/{adult-content-DPbdzRqN.d.ts → adult-content-9l3Xmixn.d.ts} +11 -1
- package/dist/{index-C5bE9r3L.d.cts → index--Q8kEaBH.d.cts} +3 -3
- package/dist/{index-8tpQ3aa6.d.ts → index-Bq1mfC91.d.ts} +3 -3
- package/dist/{index-DtpqwUb4.d.cts → index-Bvr6ZlZ1.d.cts} +2 -2
- package/dist/{index-CC03zp-c.d.ts → index-Dvw2NPpk.d.ts} +2 -2
- package/dist/index.cjs +9 -1
- 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 +9 -2
- package/dist/index.js.map +1 -1
- package/dist/{org-C827hinr.d.ts → org-Bqu4G83p.d.ts} +1 -1
- package/dist/{org-DvskXMpB.d.cts → org-CNsjSfE4.d.cts} +1 -1
- package/dist/{profile-summary-BawHMAG9.d.cts → profile-summary-BcWQzphy.d.cts} +1 -1
- package/dist/{profile-summary-M_mQaHdp.d.ts → profile-summary-DITGRCHe.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/package.json +1 -1
|
@@ -393,6 +393,16 @@ interface ActorCard {
|
|
|
393
393
|
}
|
|
394
394
|
/** @deprecated Use {@link ActorCard}. Kept so existing co-speaker call sites keep compiling. */
|
|
395
395
|
type CoSpeaker = ActorCard;
|
|
396
|
+
/**
|
|
397
|
+
* Roles shipped today. The lexicon declares these as `knownValues`, so the
|
|
398
|
+
* field itself stays a plain string: a consumer meeting a role it does not
|
|
399
|
+
* recognise should show it rather than discard it.
|
|
400
|
+
*
|
|
401
|
+
* Display only. A record living in someone else's repository cannot grant
|
|
402
|
+
* write access to anything, and the UI must not imply that it does.
|
|
403
|
+
*/
|
|
404
|
+
declare const PROJECT_ROLES: readonly ["id.sifa.defs#projectOwner", "id.sifa.defs#projectCore", "id.sifa.defs#projectContributor"];
|
|
405
|
+
type ProjectRole = (typeof PROJECT_ROLES)[number];
|
|
396
406
|
/** A person named as a member of a project, with their role alongside the actor card. */
|
|
397
407
|
interface ProjectMemberCard extends ActorCard {
|
|
398
408
|
role?: string;
|
|
@@ -1036,4 +1046,4 @@ declare function hasAdultContent(item: {
|
|
|
1036
1046
|
labels?: ActivityLabel[];
|
|
1037
1047
|
}): boolean;
|
|
1038
1048
|
|
|
1039
|
-
export { type
|
|
1049
|
+
export { type ProfileInvolvementLink as $, type AdultContentLabel as A, type ExternalAccountKeytraceClaim as B, type CoSpeaker as C, type DurationView as D, type ExternalAccount as E, type ExternalAccountView as F, type FeedItem as G, type HonorView as H, type IndustryDomain as I, type InvolvementLinkView as J, type InvolvementView as K, type LocationValue as L, type LanguageProficiency as M, type LanguageView as N, type OrgAddressView as O, type ProfileView as P, type OrgFloorVerdict as Q, type OrgLinkView as R, type SkillSuggestion as S, type OrgProfileView as T, PROJECT_ROLES as U, type PositionView as V, type PresentationDeliveryView as W, type PresentationLinkView as X, type PresentationView as Y, type ProfileCourse as Z, type ProfileIndustry as _, type ActivityLabel as a, type ProfileLocation as a0, type ProfileLocationView as a1, type ProfileOverrideSource as a2, type ProfilePresentation as a3, type ProfileVolunteering as a4, type ProjectMemberCard as a5, type ProjectMemberView as a6, type ProjectRole as a7, type ProjectView as a8, type PublicationContributor as a9, type PublicationView as aa, type RecognizedEntity as ab, type SkillRef as ac, type SkillView as ad, type TrustStat as ae, type VerifiedAccount as af, type VolunteeringView as ag, hasAdultContent as ah, type ProfileSkill as b, type ProfilePresentationDelivery as c, type PdsProviderInfo as d, type Profile as e, type AccountFacetMode as f, type ProfilePosition as g, type ProfileCertification as h, type ProfileEducation as i, type ProfileHonor as j, type ProfileLanguage as k, type ProfileProject as l, type ProfilePublication as m, type ProfileInvolvement as n, ADULT_CONTENT_LABELS as o, type ActiveApp as p, type ActiveAppView as q, type ActorCard as r, type AtfundLinkView as s, type CertificationView as t, type CoSpeakerView as u, type ContributorView as v, type CourseView as w, type EducationView as x, type Endorsement as y, type EndorsementData as z };
|
|
@@ -393,6 +393,16 @@ interface ActorCard {
|
|
|
393
393
|
}
|
|
394
394
|
/** @deprecated Use {@link ActorCard}. Kept so existing co-speaker call sites keep compiling. */
|
|
395
395
|
type CoSpeaker = ActorCard;
|
|
396
|
+
/**
|
|
397
|
+
* Roles shipped today. The lexicon declares these as `knownValues`, so the
|
|
398
|
+
* field itself stays a plain string: a consumer meeting a role it does not
|
|
399
|
+
* recognise should show it rather than discard it.
|
|
400
|
+
*
|
|
401
|
+
* Display only. A record living in someone else's repository cannot grant
|
|
402
|
+
* write access to anything, and the UI must not imply that it does.
|
|
403
|
+
*/
|
|
404
|
+
declare const PROJECT_ROLES: readonly ["id.sifa.defs#projectOwner", "id.sifa.defs#projectCore", "id.sifa.defs#projectContributor"];
|
|
405
|
+
type ProjectRole = (typeof PROJECT_ROLES)[number];
|
|
396
406
|
/** A person named as a member of a project, with their role alongside the actor card. */
|
|
397
407
|
interface ProjectMemberCard extends ActorCard {
|
|
398
408
|
role?: string;
|
|
@@ -1036,4 +1046,4 @@ declare function hasAdultContent(item: {
|
|
|
1036
1046
|
labels?: ActivityLabel[];
|
|
1037
1047
|
}): boolean;
|
|
1038
1048
|
|
|
1039
|
-
export { type
|
|
1049
|
+
export { type ProfileInvolvementLink as $, type AdultContentLabel as A, type ExternalAccountKeytraceClaim as B, type CoSpeaker as C, type DurationView as D, type ExternalAccount as E, type ExternalAccountView as F, type FeedItem as G, type HonorView as H, type IndustryDomain as I, type InvolvementLinkView as J, type InvolvementView as K, type LocationValue as L, type LanguageProficiency as M, type LanguageView as N, type OrgAddressView as O, type ProfileView as P, type OrgFloorVerdict as Q, type OrgLinkView as R, type SkillSuggestion as S, type OrgProfileView as T, PROJECT_ROLES as U, type PositionView as V, type PresentationDeliveryView as W, type PresentationLinkView as X, type PresentationView as Y, type ProfileCourse as Z, type ProfileIndustry as _, type ActivityLabel as a, type ProfileLocation as a0, type ProfileLocationView as a1, type ProfileOverrideSource as a2, type ProfilePresentation as a3, type ProfileVolunteering as a4, type ProjectMemberCard as a5, type ProjectMemberView as a6, type ProjectRole as a7, type ProjectView as a8, type PublicationContributor as a9, type PublicationView as aa, type RecognizedEntity as ab, type SkillRef as ac, type SkillView as ad, type TrustStat as ae, type VerifiedAccount as af, type VolunteeringView as ag, hasAdultContent as ah, type ProfileSkill as b, type ProfilePresentationDelivery as c, type PdsProviderInfo as d, type Profile as e, type AccountFacetMode as f, type ProfilePosition as g, type ProfileCertification as h, type ProfileEducation as i, type ProfileHonor as j, type ProfileLanguage as k, type ProfileProject as l, type ProfilePublication as m, type ProfileInvolvement as n, ADULT_CONTENT_LABELS as o, type ActiveApp as p, type ActiveAppView as q, type ActorCard as r, type AtfundLinkView as s, type CertificationView as t, type CoSpeakerView as u, type ContributorView as v, type CourseView as w, type EducationView as x, type Endorsement as y, type EndorsementData as z };
|
|
@@ -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,
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-CNsjSfE4.cjs';
|
|
2
|
+
import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-9l3Xmixn.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-BcWQzphy.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Read the aggregated profile for a handle or DID.
|
|
@@ -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,
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-Bqu4G83p.js';
|
|
2
|
+
import { e as Profile, P as ProfileView, g as ProfilePosition, ac as SkillRef } from './adult-content-9l3Xmixn.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-DITGRCHe.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-CNsjSfE4.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,
|
|
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-9l3Xmixn.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, 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-Bqu4G83p.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,
|
|
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-9l3Xmixn.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
|
|
package/dist/index.cjs
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
4
|
|
|
5
|
+
// src/types/index.ts
|
|
6
|
+
var PROJECT_ROLES = [
|
|
7
|
+
"id.sifa.defs#projectOwner",
|
|
8
|
+
"id.sifa.defs#projectCore",
|
|
9
|
+
"id.sifa.defs#projectContributor"
|
|
10
|
+
];
|
|
11
|
+
|
|
5
12
|
// src/taxonomy/continents.ts
|
|
6
13
|
var CONTINENTS = [
|
|
7
14
|
{ code: "AF", name: "Africa" },
|
|
@@ -5381,7 +5388,7 @@ function roadmapIssueUrl(issue) {
|
|
|
5381
5388
|
}
|
|
5382
5389
|
|
|
5383
5390
|
// src/index.ts
|
|
5384
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
5391
|
+
var SIFA_SDK_VERSION = "0.12.46";
|
|
5385
5392
|
|
|
5386
5393
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5387
5394
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -5448,6 +5455,7 @@ exports.PRESENTATION_LINK_TYPE_OPTIONS = PRESENTATION_LINK_TYPE_OPTIONS;
|
|
|
5448
5455
|
exports.PRESENTATION_ROLE_LABELS = PRESENTATION_ROLE_LABELS;
|
|
5449
5456
|
exports.PRESENTATION_ROLE_OPTIONS = PRESENTATION_ROLE_OPTIONS;
|
|
5450
5457
|
exports.PROFILE_INVOLVEMENT_NSID = PROFILE_INVOLVEMENT_NSID;
|
|
5458
|
+
exports.PROJECT_ROLES = PROJECT_ROLES;
|
|
5451
5459
|
exports.PUBLISHERS = PUBLISHERS;
|
|
5452
5460
|
exports.PresentationDurationSchema = PresentationDurationSchema;
|
|
5453
5461
|
exports.PresentationLinkSchema = PresentationLinkSchema;
|