@singi-labs/sifa-sdk 0.12.44 → 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-JKDlPIbL.d.cts → adult-content-9l3Xmixn.d.cts} +68 -2
- package/dist/{adult-content-JKDlPIbL.d.ts → adult-content-9l3Xmixn.d.ts} +68 -2
- package/dist/{feed-C8aHEPw4.d.cts → feed-dOSy_48Z.d.cts} +1 -1
- package/dist/{feed-C8aHEPw4.d.ts → feed-dOSy_48Z.d.ts} +1 -1
- package/dist/{index-DRSrcDoq.d.cts → index--Q8kEaBH.d.cts} +4 -4
- package/dist/{index-BzfWwovU.d.ts → index-Bq1mfC91.d.ts} +4 -4
- package/dist/{index-BFO1nfxZ.d.cts → index-Bvr6ZlZ1.d.cts} +31 -4
- package/dist/{index-C-k5JuRG.d.ts → index-Dvw2NPpk.d.ts} +31 -4
- package/dist/index.cjs +32 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +32 -7
- package/dist/index.js.map +1 -1
- package/dist/{org-Bijq3reg.d.ts → org-Bqu4G83p.d.ts} +94 -4
- package/dist/{org-D_0P4klw.d.cts → org-CNsjSfE4.d.cts} +94 -4
- package/dist/{profile-summary-CSmXD7ll.d.cts → profile-summary-BcWQzphy.d.cts} +1 -1
- package/dist/{profile-summary-C9E-HPeP.d.ts → profile-summary-DITGRCHe.d.ts} +1 -1
- package/dist/query/fetchers/index.cjs +35 -0
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +5 -5
- package/dist/query/fetchers/index.d.ts +5 -5
- package/dist/query/fetchers/index.js +32 -1
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +103 -0
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +4 -4
- package/dist/query/hooks/index.d.ts +4 -4
- package/dist/query/hooks/index.js +100 -1
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +105 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +8 -8
- package/dist/query/index.d.ts +8 -8
- package/dist/query/index.js +98 -1
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +31 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +20 -593
- package/dist/schemas/index.d.ts +20 -593
- package/dist/schemas/index.js +30 -2
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/write/index.cjs +8 -0
- package/dist/schemas/write/index.cjs.map +1 -1
- package/dist/schemas/write/index.d.cts +9 -0
- package/dist/schemas/write/index.d.ts +9 -0
- package/dist/schemas/write/index.js +8 -0
- package/dist/schemas/write/index.js.map +1 -1
- package/dist/shared-CNr-iMpc.d.cts +614 -0
- package/dist/shared-CNr-iMpc.d.ts +614 -0
- package/package.json +1 -1
|
@@ -165,6 +165,14 @@ interface ProfileProject {
|
|
|
165
165
|
url?: string;
|
|
166
166
|
startDate?: string;
|
|
167
167
|
endDate?: string;
|
|
168
|
+
/** Other people named on this project, hydrated from the stored DIDs. */
|
|
169
|
+
members?: ProjectMemberCard[];
|
|
170
|
+
/**
|
|
171
|
+
* AT-URI of the same project as recorded elsewhere, when this entry
|
|
172
|
+
* duplicates another person's. Set so consumers can tell the two describe one
|
|
173
|
+
* project; both still render from their own owner's record.
|
|
174
|
+
*/
|
|
175
|
+
projectRef?: string;
|
|
168
176
|
hidden?: boolean;
|
|
169
177
|
}
|
|
170
178
|
interface PublicationContributor {
|
|
@@ -360,12 +368,45 @@ interface PresentationLinkView {
|
|
|
360
368
|
* Any atproto account; `hasSifaProfile` is true when they have a claimed Sifa
|
|
361
369
|
* profile (vs an unclaimed atproto account that still renders at /p/<handle>).
|
|
362
370
|
*/
|
|
363
|
-
|
|
371
|
+
/**
|
|
372
|
+
* Another person named on someone's record, as rendered by the AppView.
|
|
373
|
+
*
|
|
374
|
+
* `displayName` and `avatar` are present only when `confirmed` is true. An
|
|
375
|
+
* unconfirmed claim renders as a bare handle with no identity attached and no
|
|
376
|
+
* link to a profile: naming someone is a claim, and until they affirm it the
|
|
377
|
+
* claim must not borrow their face.
|
|
378
|
+
*/
|
|
379
|
+
interface ActorCard {
|
|
364
380
|
did: string;
|
|
365
381
|
handle: string;
|
|
366
382
|
displayName?: string;
|
|
367
383
|
avatar?: string;
|
|
368
384
|
hasSifaProfile?: boolean;
|
|
385
|
+
/** True once the named person has published a matching `id.sifa.confirmation`. */
|
|
386
|
+
confirmed?: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* True when the record was materially changed after being confirmed -- a
|
|
389
|
+
* rename, or a changed role. The confirmation stands until withdrawn, but the
|
|
390
|
+
* UI should say the claim has moved since it was affirmed.
|
|
391
|
+
*/
|
|
392
|
+
confirmedStale?: boolean;
|
|
393
|
+
}
|
|
394
|
+
/** @deprecated Use {@link ActorCard}. Kept so existing co-speaker call sites keep compiling. */
|
|
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];
|
|
406
|
+
/** A person named as a member of a project, with their role alongside the actor card. */
|
|
407
|
+
interface ProjectMemberCard extends ActorCard {
|
|
408
|
+
role?: string;
|
|
409
|
+
title?: string;
|
|
369
410
|
}
|
|
370
411
|
/** An occasion on which a presentation was delivered (the AppView view-model). */
|
|
371
412
|
interface ProfilePresentationDelivery {
|
|
@@ -749,6 +790,20 @@ interface ProjectView {
|
|
|
749
790
|
url?: string;
|
|
750
791
|
startDate?: string;
|
|
751
792
|
endDate?: string;
|
|
793
|
+
members?: ProjectMemberView[];
|
|
794
|
+
/** AT-URI of the same project as recorded elsewhere, when this entry duplicates another. */
|
|
795
|
+
projectRef?: string;
|
|
796
|
+
}
|
|
797
|
+
/** A person named as a member of a project. Identity fields appear only once confirmed. */
|
|
798
|
+
interface ProjectMemberView {
|
|
799
|
+
did: string;
|
|
800
|
+
handle: string;
|
|
801
|
+
displayName?: string;
|
|
802
|
+
avatar?: string;
|
|
803
|
+
confirmed?: boolean;
|
|
804
|
+
confirmedStale?: boolean;
|
|
805
|
+
role?: string;
|
|
806
|
+
title?: string;
|
|
752
807
|
}
|
|
753
808
|
interface VolunteeringView {
|
|
754
809
|
rkey: string;
|
|
@@ -818,11 +873,22 @@ interface DurationView {
|
|
|
818
873
|
minMinutes: number;
|
|
819
874
|
maxMinutes?: number;
|
|
820
875
|
}
|
|
876
|
+
/**
|
|
877
|
+
* A co-speaker on a presentation delivery.
|
|
878
|
+
*
|
|
879
|
+
* `displayName` and `avatar` are served only once `confirmed` is true. The
|
|
880
|
+
* lexicon also declares an unlinked free-text `name`, which the AppView has
|
|
881
|
+
* never emitted -- the record field is `format: did`, so there is nothing to
|
|
882
|
+
* emit it from.
|
|
883
|
+
*/
|
|
821
884
|
interface CoSpeakerView {
|
|
822
885
|
did?: string;
|
|
823
886
|
handle?: string;
|
|
824
887
|
displayName?: string;
|
|
825
888
|
avatar?: string;
|
|
889
|
+
hasSifaProfile?: boolean;
|
|
890
|
+
confirmed?: boolean;
|
|
891
|
+
confirmedStale?: boolean;
|
|
826
892
|
name?: string;
|
|
827
893
|
}
|
|
828
894
|
interface PresentationDeliveryView {
|
|
@@ -980,4 +1046,4 @@ declare function hasAdultContent(item: {
|
|
|
980
1046
|
labels?: ActivityLabel[];
|
|
981
1047
|
}): boolean;
|
|
982
1048
|
|
|
983
|
-
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 };
|
|
@@ -165,6 +165,14 @@ interface ProfileProject {
|
|
|
165
165
|
url?: string;
|
|
166
166
|
startDate?: string;
|
|
167
167
|
endDate?: string;
|
|
168
|
+
/** Other people named on this project, hydrated from the stored DIDs. */
|
|
169
|
+
members?: ProjectMemberCard[];
|
|
170
|
+
/**
|
|
171
|
+
* AT-URI of the same project as recorded elsewhere, when this entry
|
|
172
|
+
* duplicates another person's. Set so consumers can tell the two describe one
|
|
173
|
+
* project; both still render from their own owner's record.
|
|
174
|
+
*/
|
|
175
|
+
projectRef?: string;
|
|
168
176
|
hidden?: boolean;
|
|
169
177
|
}
|
|
170
178
|
interface PublicationContributor {
|
|
@@ -360,12 +368,45 @@ interface PresentationLinkView {
|
|
|
360
368
|
* Any atproto account; `hasSifaProfile` is true when they have a claimed Sifa
|
|
361
369
|
* profile (vs an unclaimed atproto account that still renders at /p/<handle>).
|
|
362
370
|
*/
|
|
363
|
-
|
|
371
|
+
/**
|
|
372
|
+
* Another person named on someone's record, as rendered by the AppView.
|
|
373
|
+
*
|
|
374
|
+
* `displayName` and `avatar` are present only when `confirmed` is true. An
|
|
375
|
+
* unconfirmed claim renders as a bare handle with no identity attached and no
|
|
376
|
+
* link to a profile: naming someone is a claim, and until they affirm it the
|
|
377
|
+
* claim must not borrow their face.
|
|
378
|
+
*/
|
|
379
|
+
interface ActorCard {
|
|
364
380
|
did: string;
|
|
365
381
|
handle: string;
|
|
366
382
|
displayName?: string;
|
|
367
383
|
avatar?: string;
|
|
368
384
|
hasSifaProfile?: boolean;
|
|
385
|
+
/** True once the named person has published a matching `id.sifa.confirmation`. */
|
|
386
|
+
confirmed?: boolean;
|
|
387
|
+
/**
|
|
388
|
+
* True when the record was materially changed after being confirmed -- a
|
|
389
|
+
* rename, or a changed role. The confirmation stands until withdrawn, but the
|
|
390
|
+
* UI should say the claim has moved since it was affirmed.
|
|
391
|
+
*/
|
|
392
|
+
confirmedStale?: boolean;
|
|
393
|
+
}
|
|
394
|
+
/** @deprecated Use {@link ActorCard}. Kept so existing co-speaker call sites keep compiling. */
|
|
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];
|
|
406
|
+
/** A person named as a member of a project, with their role alongside the actor card. */
|
|
407
|
+
interface ProjectMemberCard extends ActorCard {
|
|
408
|
+
role?: string;
|
|
409
|
+
title?: string;
|
|
369
410
|
}
|
|
370
411
|
/** An occasion on which a presentation was delivered (the AppView view-model). */
|
|
371
412
|
interface ProfilePresentationDelivery {
|
|
@@ -749,6 +790,20 @@ interface ProjectView {
|
|
|
749
790
|
url?: string;
|
|
750
791
|
startDate?: string;
|
|
751
792
|
endDate?: string;
|
|
793
|
+
members?: ProjectMemberView[];
|
|
794
|
+
/** AT-URI of the same project as recorded elsewhere, when this entry duplicates another. */
|
|
795
|
+
projectRef?: string;
|
|
796
|
+
}
|
|
797
|
+
/** A person named as a member of a project. Identity fields appear only once confirmed. */
|
|
798
|
+
interface ProjectMemberView {
|
|
799
|
+
did: string;
|
|
800
|
+
handle: string;
|
|
801
|
+
displayName?: string;
|
|
802
|
+
avatar?: string;
|
|
803
|
+
confirmed?: boolean;
|
|
804
|
+
confirmedStale?: boolean;
|
|
805
|
+
role?: string;
|
|
806
|
+
title?: string;
|
|
752
807
|
}
|
|
753
808
|
interface VolunteeringView {
|
|
754
809
|
rkey: string;
|
|
@@ -818,11 +873,22 @@ interface DurationView {
|
|
|
818
873
|
minMinutes: number;
|
|
819
874
|
maxMinutes?: number;
|
|
820
875
|
}
|
|
876
|
+
/**
|
|
877
|
+
* A co-speaker on a presentation delivery.
|
|
878
|
+
*
|
|
879
|
+
* `displayName` and `avatar` are served only once `confirmed` is true. The
|
|
880
|
+
* lexicon also declares an unlinked free-text `name`, which the AppView has
|
|
881
|
+
* never emitted -- the record field is `format: did`, so there is nothing to
|
|
882
|
+
* emit it from.
|
|
883
|
+
*/
|
|
821
884
|
interface CoSpeakerView {
|
|
822
885
|
did?: string;
|
|
823
886
|
handle?: string;
|
|
824
887
|
displayName?: string;
|
|
825
888
|
avatar?: string;
|
|
889
|
+
hasSifaProfile?: boolean;
|
|
890
|
+
confirmed?: boolean;
|
|
891
|
+
confirmedStale?: boolean;
|
|
826
892
|
name?: string;
|
|
827
893
|
}
|
|
828
894
|
interface PresentationDeliveryView {
|
|
@@ -980,4 +1046,4 @@ declare function hasAdultContent(item: {
|
|
|
980
1046
|
labels?: ActivityLabel[];
|
|
981
1047
|
}): boolean;
|
|
982
1048
|
|
|
983
|
-
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 };
|
|
@@ -426,4 +426,4 @@ interface FeedCursor {
|
|
|
426
426
|
declare function encodeFeedCursor(cursor: FeedCursor): string;
|
|
427
427
|
declare function decodeFeedCursor(encoded: string): FeedCursor;
|
|
428
428
|
|
|
429
|
-
export { type AtmosphereFeedItem as A,
|
|
429
|
+
export { type AtmosphereFeedItem as A, type FollowProfileItem as B, type FollowProfilePage as C, FollowProfilePageSchema as D, type EntityImportSearchResponse as E, FEATURE_FLAGS as F, FollowProfileSchema as G, SifaFeedItemSchema as H, decodeFeedCursor as I, encodeFeedCursor as J, type SifaFeedItem as S, AtmosphereFeedItemSchema as a, EntityImportSearchResponseSchema as b, type EntityMintDomainResponse as c, EntityMintDomainResponseSchema as d, type EntityResolveDomainRequest as e, EntityResolveDomainRequestSchema as f, type EntityResolveDomainResponse as g, EntityResolveDomainResponseSchema as h, type EntitySearchResponse as i, EntitySearchResponseSchema as j, type EntitySearchResult as k, EntitySearchResultSchema as l, type EntitySelectRequest as m, EntitySelectRequestSchema as n, type EntitySelectResponse as o, EntitySelectResponseSchema as p, type FeatureAllowlistEntry as q, FeatureAllowlistEntrySchema as r, type FeatureFlag as s, type FeedActor as t, FeedActorSchema as u, type FeedCursor as v, type FollowFeedItem as w, FollowFeedItemSchema as x, type FollowFeedPage as y, FollowFeedPageSchema as z };
|
|
@@ -426,4 +426,4 @@ interface FeedCursor {
|
|
|
426
426
|
declare function encodeFeedCursor(cursor: FeedCursor): string;
|
|
427
427
|
declare function decodeFeedCursor(encoded: string): FeedCursor;
|
|
428
428
|
|
|
429
|
-
export { type AtmosphereFeedItem as A,
|
|
429
|
+
export { type AtmosphereFeedItem as A, type FollowProfileItem as B, type FollowProfilePage as C, FollowProfilePageSchema as D, type EntityImportSearchResponse as E, FEATURE_FLAGS as F, FollowProfileSchema as G, SifaFeedItemSchema as H, decodeFeedCursor as I, encodeFeedCursor as J, type SifaFeedItem as S, AtmosphereFeedItemSchema as a, EntityImportSearchResponseSchema as b, type EntityMintDomainResponse as c, EntityMintDomainResponseSchema as d, type EntityResolveDomainRequest as e, EntityResolveDomainRequestSchema as f, type EntityResolveDomainResponse as g, EntityResolveDomainResponseSchema as h, type EntitySearchResponse as i, EntitySearchResponseSchema as j, type EntitySearchResult as k, EntitySearchResultSchema as l, type EntitySelectRequest as m, EntitySelectRequestSchema as n, type EntitySelectResponse as o, EntitySelectResponseSchema as p, type FeatureAllowlistEntry as q, FeatureAllowlistEntrySchema as r, type FeatureFlag as s, type FeedActor as t, FeedActorSchema as u, type FeedCursor as v, type FollowFeedItem as w, FollowFeedItemSchema as x, type FollowFeedPage as y, FollowFeedPageSchema 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,
|
|
3
|
-
import {
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
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
|
+
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-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,
|
|
3
|
-
import {
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
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
|
+
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-DITGRCHe.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Read the aggregated profile for a handle or DID.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult,
|
|
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,
|
|
7
|
-
import {
|
|
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
|
+
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
|
|
|
10
10
|
interface SifaProviderProps {
|
|
@@ -210,6 +210,33 @@ declare function useVerifyExternalAccount(ownerHandleOrDid: string, options?: Om
|
|
|
210
210
|
*/
|
|
211
211
|
declare function useCreateEndorsement(endorsedHandleOrDid: string | null, options?: Omit<UseMutationOptions<CreateResult, Error, EndorsementInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, EndorsementInput, unknown>;
|
|
212
212
|
|
|
213
|
+
/**
|
|
214
|
+
* Claims naming the signed-in user that await their decision. Returns an empty
|
|
215
|
+
* page when signed out or on error, so callers can render "nothing pending"
|
|
216
|
+
* without special-casing either.
|
|
217
|
+
*/
|
|
218
|
+
declare function usePendingConfirmations(options?: Omit<UseQueryOptions<PendingConfirmationsPage, Error, PendingConfirmationsPage, ReturnType<typeof sifaQueryKeys.confirmation.pending>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<PendingConfirmationsPage>, Error>;
|
|
219
|
+
/**
|
|
220
|
+
* Affirm a claim naming you. On success it leaves the inbox and starts
|
|
221
|
+
* rendering with your name and avatar on the claimer's profile, so both the
|
|
222
|
+
* inbox and the claimer's profile cache are invalidated.
|
|
223
|
+
*
|
|
224
|
+
* `claimerHandleOrDid` is whose profile the claim displays on; pass `null` to
|
|
225
|
+
* skip profile invalidation. Note this is the claimer, not the confirming
|
|
226
|
+
* user: confirming changes what renders on *their* profile, not yours.
|
|
227
|
+
*/
|
|
228
|
+
declare function useCreateConfirmation(claimerHandleOrDid: string | null, options?: Omit<UseMutationOptions<CreateResult, Error, ConfirmationInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, ConfirmationInput, unknown>;
|
|
229
|
+
/**
|
|
230
|
+
* Dismiss a claim naming you. Only the inbox is invalidated -- a dismissal
|
|
231
|
+
* changes nothing that displays anywhere, so no profile cache is affected.
|
|
232
|
+
*/
|
|
233
|
+
declare function useDismissConfirmation(options?: Omit<UseMutationOptions<WriteResult, Error, ConfirmationSubjectInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, ConfirmationSubjectInput, unknown>;
|
|
234
|
+
/**
|
|
235
|
+
* Withdraw a confirmation you previously gave. Unlike a dismissal this does
|
|
236
|
+
* change what displays, so the claimer's profile cache is invalidated too.
|
|
237
|
+
*/
|
|
238
|
+
declare function useRevokeConfirmation(claimerHandleOrDid: string | null, options?: Omit<UseMutationOptions<WriteResult, Error, ConfirmationSubjectInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, ConfirmationSubjectInput, unknown>;
|
|
239
|
+
|
|
213
240
|
/** React hook for hiding a keytrace claim. Variable: the claim `rkey` string. */
|
|
214
241
|
declare function useHideKeytraceClaim(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
|
|
215
242
|
/** React hook for unhiding a previously-hidden keytrace claim. */
|
|
@@ -746,4 +773,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
|
|
|
746
773
|
email: string;
|
|
747
774
|
}, unknown>;
|
|
748
775
|
|
|
749
|
-
export {
|
|
776
|
+
export { useDismissConfirmation as $, type AddFeatureAllowlistVariables as A, useCreateConfirmation as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateEducation as E, type FollowVariables as F, useCreateEndorsement as G, useCreateExternalAccount as H, useCreatePosition as I, useCreateProfileLocation as J, useCreateReaction as K, useCreateRecord as L, useCreateSkill as M, useDebouncedValue as N, useDeleteAccount as O, type PositionSkillLinkVariables as P, useDeleteAvatarOverride as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteEducation as T, type UnfollowVariables as U, useDeleteExternalAccount as V, useDeletePosition as W, useDeleteProfileLocation as X, useDeleteReaction as Y, useDeleteRecord as Z, useDeleteSkill as _, type CreateRecordVariables as a, useUpdateEducation as a$, useEndorsementCount as a0, useEntitySearch as a1, useExternalAccounts as a2, useFeatureAllowlist as a3, useFeaturedProfile as a4, useFollow as a5, useFollowers as a6, useFollowing as a7, useFollowingFeed as a8, useFollowingList as a9, useResetProfile as aA, useResolveEntityDomain as aB, useRetractRoadmapVote as aC, useRevealMarqueDomain as aD, useRevokeConfirmation as aE, useRoadmapVotes as aF, useSearchFilters as aG, useSearchProfiles as aH, useSelectEntity as aI, useSetExternalAccountPrimary as aJ, useSetPositionPrimary as aK, useSifaConfig as aL, useSimilarProfiles as aM, useSkillSuggestions as aN, useStats as aO, useSuggestionCount as aP, useSuggestions as aQ, useUnfollow as aR, useUnhideKeytraceClaim as aS, useUnhideOrcidPublication as aT, useUnhideProfileItem as aU, useUnhideSifaPublication as aV, useUnhideStandardPublication as aW, useUnlinkSkillFromPosition as aX, useUnrevealMarqueDomain as aY, useUnsetExternalAccountPrimary as aZ, useUnsetPositionPrimary as a_, useGetProfileView as aa, useHeatmapData as ab, useHiddenApps as ac, useHideKeytraceClaim as ad, useHideOrcidPublication as ae, useHideProfileItem as af, useHideSifaPublication as ag, useHideStandardPublication as ah, useImportSearchEntities as ai, useLinkSkillToPosition as aj, useMintEntityDomain as ak, useMutuals as al, useMyGithubPullRequests as am, useMyRoadmapVotes as an, useNetworkStreamCount as ao, useOrgClaim as ap, useOrgDomainChallenge as aq, useOrgDomainVerify as ar, useOrgProfile as as, usePendingConfirmations as at, useProfile as au, useReactionStatus as av, useRefreshOrcidPublications as aw, useRefreshPds as ax, useRemoveFeatureAllowlist as ay, useRemoveOrgNotificationEmail as az, type DeleteRecordVariables as b, useUpdateExternalAccount as b0, useUpdateOrgProfile as b1, useUpdatePosition as b2, useUpdateProfileLocation as b3, useUpdateProfileOverride as b4, useUpdateProfileSelf as b5, useUpdateRecord as b6, useUpdateSkill as b7, useUpdateSkillSubCategories as b8, useUploadAvatar as b9, useVerifyExternalAccount as ba, useWipePreview as bb, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityTeaser as m, useAddFeatureAllowlist as n, useAddOrgNotificationEmail as o, useAppAccountCheck as p, useAppsRegistry as q, useAtFundLink as r, useBlueskySuggestions as s, useBulkHideProfileItems as t, useActivityFeed as u, useBulkHideStandardPublications as v, useBulkUnhideProfileItems as w, useBulkUnhideStandardPublications as x, useCanonicalSkillSearch as y, useCastRoadmapVote as z };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult,
|
|
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,
|
|
7
|
-
import {
|
|
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
|
+
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
|
|
|
10
10
|
interface SifaProviderProps {
|
|
@@ -210,6 +210,33 @@ declare function useVerifyExternalAccount(ownerHandleOrDid: string, options?: Om
|
|
|
210
210
|
*/
|
|
211
211
|
declare function useCreateEndorsement(endorsedHandleOrDid: string | null, options?: Omit<UseMutationOptions<CreateResult, Error, EndorsementInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, EndorsementInput, unknown>;
|
|
212
212
|
|
|
213
|
+
/**
|
|
214
|
+
* Claims naming the signed-in user that await their decision. Returns an empty
|
|
215
|
+
* page when signed out or on error, so callers can render "nothing pending"
|
|
216
|
+
* without special-casing either.
|
|
217
|
+
*/
|
|
218
|
+
declare function usePendingConfirmations(options?: Omit<UseQueryOptions<PendingConfirmationsPage, Error, PendingConfirmationsPage, ReturnType<typeof sifaQueryKeys.confirmation.pending>>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<NoInfer<PendingConfirmationsPage>, Error>;
|
|
219
|
+
/**
|
|
220
|
+
* Affirm a claim naming you. On success it leaves the inbox and starts
|
|
221
|
+
* rendering with your name and avatar on the claimer's profile, so both the
|
|
222
|
+
* inbox and the claimer's profile cache are invalidated.
|
|
223
|
+
*
|
|
224
|
+
* `claimerHandleOrDid` is whose profile the claim displays on; pass `null` to
|
|
225
|
+
* skip profile invalidation. Note this is the claimer, not the confirming
|
|
226
|
+
* user: confirming changes what renders on *their* profile, not yours.
|
|
227
|
+
*/
|
|
228
|
+
declare function useCreateConfirmation(claimerHandleOrDid: string | null, options?: Omit<UseMutationOptions<CreateResult, Error, ConfirmationInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<CreateResult, Error, ConfirmationInput, unknown>;
|
|
229
|
+
/**
|
|
230
|
+
* Dismiss a claim naming you. Only the inbox is invalidated -- a dismissal
|
|
231
|
+
* changes nothing that displays anywhere, so no profile cache is affected.
|
|
232
|
+
*/
|
|
233
|
+
declare function useDismissConfirmation(options?: Omit<UseMutationOptions<WriteResult, Error, ConfirmationSubjectInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, ConfirmationSubjectInput, unknown>;
|
|
234
|
+
/**
|
|
235
|
+
* Withdraw a confirmation you previously gave. Unlike a dismissal this does
|
|
236
|
+
* change what displays, so the claimer's profile cache is invalidated too.
|
|
237
|
+
*/
|
|
238
|
+
declare function useRevokeConfirmation(claimerHandleOrDid: string | null, options?: Omit<UseMutationOptions<WriteResult, Error, ConfirmationSubjectInput>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, ConfirmationSubjectInput, unknown>;
|
|
239
|
+
|
|
213
240
|
/** React hook for hiding a keytrace claim. Variable: the claim `rkey` string. */
|
|
214
241
|
declare function useHideKeytraceClaim(ownerHandleOrDid: string, options?: Omit<UseMutationOptions<WriteResult, Error, string>, 'mutationFn'>): _tanstack_react_query.UseMutationResult<WriteResult, Error, string, unknown>;
|
|
215
242
|
/** React hook for unhiding a previously-hidden keytrace claim. */
|
|
@@ -746,4 +773,4 @@ declare function useRemoveOrgNotificationEmail(options?: Omit<UseMutationOptions
|
|
|
746
773
|
email: string;
|
|
747
774
|
}, unknown>;
|
|
748
775
|
|
|
749
|
-
export {
|
|
776
|
+
export { useDismissConfirmation as $, type AddFeatureAllowlistVariables as A, useCreateConfirmation as B, type CreateReactionVariables as C, type DeleteReactionVariables as D, useCreateEducation as E, type FollowVariables as F, useCreateEndorsement as G, useCreateExternalAccount as H, useCreatePosition as I, useCreateProfileLocation as J, useCreateReaction as K, useCreateRecord as L, useCreateSkill as M, useDebouncedValue as N, useDeleteAccount as O, type PositionSkillLinkVariables as P, useDeleteAvatarOverride as Q, type RemoveFeatureAllowlistVariables as R, SifaProvider as S, useDeleteEducation as T, type UnfollowVariables as U, useDeleteExternalAccount as V, useDeletePosition as W, useDeleteProfileLocation as X, useDeleteReaction as Y, useDeleteRecord as Z, useDeleteSkill as _, type CreateRecordVariables as a, useUpdateEducation as a$, useEndorsementCount as a0, useEntitySearch as a1, useExternalAccounts as a2, useFeatureAllowlist as a3, useFeaturedProfile as a4, useFollow as a5, useFollowers as a6, useFollowing as a7, useFollowingFeed as a8, useFollowingList as a9, useResetProfile as aA, useResolveEntityDomain as aB, useRetractRoadmapVote as aC, useRevealMarqueDomain as aD, useRevokeConfirmation as aE, useRoadmapVotes as aF, useSearchFilters as aG, useSearchProfiles as aH, useSelectEntity as aI, useSetExternalAccountPrimary as aJ, useSetPositionPrimary as aK, useSifaConfig as aL, useSimilarProfiles as aM, useSkillSuggestions as aN, useStats as aO, useSuggestionCount as aP, useSuggestions as aQ, useUnfollow as aR, useUnhideKeytraceClaim as aS, useUnhideOrcidPublication as aT, useUnhideProfileItem as aU, useUnhideSifaPublication as aV, useUnhideStandardPublication as aW, useUnlinkSkillFromPosition as aX, useUnrevealMarqueDomain as aY, useUnsetExternalAccountPrimary as aZ, useUnsetPositionPrimary as a_, useGetProfileView as aa, useHeatmapData as ab, useHiddenApps as ac, useHideKeytraceClaim as ad, useHideOrcidPublication as ae, useHideProfileItem as af, useHideSifaPublication as ag, useHideStandardPublication as ah, useImportSearchEntities as ai, useLinkSkillToPosition as aj, useMintEntityDomain as ak, useMutuals as al, useMyGithubPullRequests as am, useMyRoadmapVotes as an, useNetworkStreamCount as ao, useOrgClaim as ap, useOrgDomainChallenge as aq, useOrgDomainVerify as ar, useOrgProfile as as, usePendingConfirmations as at, useProfile as au, useReactionStatus as av, useRefreshOrcidPublications as aw, useRefreshPds as ax, useRemoveFeatureAllowlist as ay, useRemoveOrgNotificationEmail as az, type DeleteRecordVariables as b, useUpdateExternalAccount as b0, useUpdateOrgProfile as b1, useUpdatePosition as b2, useUpdateProfileLocation as b3, useUpdateProfileOverride as b4, useUpdateProfileSelf as b5, useUpdateRecord as b6, useUpdateSkill as b7, useUpdateSkillSubCategories as b8, useUploadAvatar as b9, useVerifyExternalAccount as ba, useWipePreview as bb, type SifaProviderProps as c, type UpdateEducationVariables as d, type UpdateExternalAccountVariables as e, type UpdatePositionVariables as f, type UpdateProfileLocationVariables as g, type UpdateRecordVariables as h, type UpdateSkillSubCategoriesVariables as i, type UpdateSkillVariables as j, type UseEntitySearchOptions as k, type UseMyGithubPullRequestsParams as l, useActivityTeaser as m, useAddFeatureAllowlist as n, useAddOrgNotificationEmail as o, useAppAccountCheck as p, useAppsRegistry as q, useAtFundLink as r, useBlueskySuggestions as s, useBulkHideProfileItems as t, useActivityFeed as u, useBulkHideStandardPublications as v, useBulkUnhideProfileItems as w, useBulkUnhideStandardPublications as x, useCanonicalSkillSearch as y, useCastRoadmapVote as z };
|
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" },
|
|
@@ -1417,6 +1424,11 @@ var activity_tiers_default = {
|
|
|
1417
1424
|
app: "sifa",
|
|
1418
1425
|
notes: "Confirmation/acceptance of an endorsement received."
|
|
1419
1426
|
},
|
|
1427
|
+
"id.sifa.confirmation": {
|
|
1428
|
+
tier: "action",
|
|
1429
|
+
app: "sifa",
|
|
1430
|
+
notes: "Confirmation that a record naming the actor is accurate (co-speaker credit, project membership)."
|
|
1431
|
+
},
|
|
1420
1432
|
"id.sifa.graph.connection": {
|
|
1421
1433
|
tier: "creation",
|
|
1422
1434
|
app: "sifa",
|
|
@@ -1493,11 +1505,13 @@ var activity_tiers_default = {
|
|
|
1493
1505
|
},
|
|
1494
1506
|
"id.sifa.project.member": {
|
|
1495
1507
|
tier: "creation",
|
|
1496
|
-
app: "sifa"
|
|
1508
|
+
app: "sifa",
|
|
1509
|
+
notes: "Deprecated, never implemented. Superseded by id.sifa.confirmation."
|
|
1497
1510
|
},
|
|
1498
1511
|
"id.sifa.project.membership": {
|
|
1499
1512
|
tier: "creation",
|
|
1500
|
-
app: "sifa"
|
|
1513
|
+
app: "sifa",
|
|
1514
|
+
notes: "Deprecated, never implemented. Superseded by id.sifa.confirmation."
|
|
1501
1515
|
},
|
|
1502
1516
|
"id.sifa.project.self": {
|
|
1503
1517
|
tier: "creation",
|
|
@@ -3325,8 +3339,6 @@ var verbs_default = {
|
|
|
3325
3339
|
"app.sidetrail.trail": "shipped",
|
|
3326
3340
|
"app.sidetrail.walk": "shipped",
|
|
3327
3341
|
"social.colibri.membership": "joined",
|
|
3328
|
-
"id.sifa.project.membership": "joined",
|
|
3329
|
-
"id.sifa.project.member": "joined",
|
|
3330
3342
|
"community.lexicon.calendar.rsvp": "joined",
|
|
3331
3343
|
"at.youandme.connection": "joined",
|
|
3332
3344
|
"id.sifa.graph.connection": "joined"
|
|
@@ -5208,10 +5220,23 @@ var ProfilePresentationDeliveryRecordSchema = zod.z.object({
|
|
|
5208
5220
|
coSpeakers: zod.z.array(zod.z.string().regex(/^did:[a-z]+:[^\s]+$/, "must be a DID")).max(20).optional(),
|
|
5209
5221
|
createdAt: datetimeSchema
|
|
5210
5222
|
});
|
|
5223
|
+
var projectMemberRefSchema = zod.z.object({
|
|
5224
|
+
did: didSchema,
|
|
5225
|
+
role: zod.z.string().optional(),
|
|
5226
|
+
title: zod.z.string().refine(maxGraphemes(128)).max(1280).optional()
|
|
5227
|
+
});
|
|
5211
5228
|
var ProfileProjectRecordSchema = zod.z.object({
|
|
5212
|
-
name: zod.z.string().min(1).refine(maxGraphemes(
|
|
5229
|
+
name: zod.z.string().min(1).refine(maxGraphemes(256)).max(2560),
|
|
5213
5230
|
description: zod.z.string().refine(maxGraphemes(5e3)).max(5e4).optional(),
|
|
5214
5231
|
url: uriSchema.optional(),
|
|
5232
|
+
members: zod.z.array(projectMemberRefSchema).max(50).optional(),
|
|
5233
|
+
/**
|
|
5234
|
+
* The same project as recorded elsewhere: another person's entry for shared
|
|
5235
|
+
* work, or a first-class `id.sifa.project.self` record. Set when you were
|
|
5236
|
+
* named on someone else's entry and keep your own version, so consumers can
|
|
5237
|
+
* tell the two describe one project instead of showing it twice.
|
|
5238
|
+
*/
|
|
5239
|
+
projectRef: strongRefSchema.optional(),
|
|
5215
5240
|
position: strongRefSchema.optional(),
|
|
5216
5241
|
startedAt: partialDateSchema.optional(),
|
|
5217
5242
|
endedAt: partialDateSchema.optional(),
|
|
@@ -5363,7 +5388,7 @@ function roadmapIssueUrl(issue) {
|
|
|
5363
5388
|
}
|
|
5364
5389
|
|
|
5365
5390
|
// src/index.ts
|
|
5366
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
5391
|
+
var SIFA_SDK_VERSION = "0.12.46";
|
|
5367
5392
|
|
|
5368
5393
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5369
5394
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
|
@@ -5430,6 +5455,7 @@ exports.PRESENTATION_LINK_TYPE_OPTIONS = PRESENTATION_LINK_TYPE_OPTIONS;
|
|
|
5430
5455
|
exports.PRESENTATION_ROLE_LABELS = PRESENTATION_ROLE_LABELS;
|
|
5431
5456
|
exports.PRESENTATION_ROLE_OPTIONS = PRESENTATION_ROLE_OPTIONS;
|
|
5432
5457
|
exports.PROFILE_INVOLVEMENT_NSID = PROFILE_INVOLVEMENT_NSID;
|
|
5458
|
+
exports.PROJECT_ROLES = PROJECT_ROLES;
|
|
5433
5459
|
exports.PUBLISHERS = PUBLISHERS;
|
|
5434
5460
|
exports.PresentationDurationSchema = PresentationDurationSchema;
|
|
5435
5461
|
exports.PresentationLinkSchema = PresentationLinkSchema;
|