@singi-labs/sifa-sdk 0.12.3 → 0.12.5

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.
Files changed (47) hide show
  1. package/dist/{adult-content-DDGP8W1e.d.cts → adult-content-BOY_T6j3.d.cts} +295 -1
  2. package/dist/{adult-content-DDGP8W1e.d.ts → adult-content-BOY_T6j3.d.ts} +295 -1
  3. package/dist/{index-CNh-GI9A.d.cts → index-BJV2XHOP.d.cts} +16 -3
  4. package/dist/{index-IMvNS08M.d.ts → index-C1SIpwOj.d.ts} +16 -3
  5. package/dist/{index-iAzeLOcz.d.ts → index-m5MELVUQ.d.ts} +95 -3
  6. package/dist/{index-BS7zO7KI.d.cts → index-xcu81B4E.d.cts} +95 -3
  7. package/dist/index.cjs +73 -1
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.cts +96 -5
  10. package/dist/index.d.ts +96 -5
  11. package/dist/index.js +68 -2
  12. package/dist/index.js.map +1 -1
  13. package/dist/{keys-Bn36IA8Q.d.cts → org-92bvwL8H.d.cts} +89 -2
  14. package/dist/{keys-5oyp950_.d.ts → org-Bxz__jbx.d.ts} +89 -2
  15. package/dist/org-settings-CmaSX5ZI.d.cts +74 -0
  16. package/dist/org-settings-CmaSX5ZI.d.ts +74 -0
  17. package/dist/query/fetchers/index.cjs +60 -0
  18. package/dist/query/fetchers/index.cjs.map +1 -1
  19. package/dist/query/fetchers/index.d.cts +4 -3
  20. package/dist/query/fetchers/index.d.ts +4 -3
  21. package/dist/query/fetchers/index.js +54 -1
  22. package/dist/query/fetchers/index.js.map +1 -1
  23. package/dist/query/hooks/index.cjs +144 -0
  24. package/dist/query/hooks/index.cjs.map +1 -1
  25. package/dist/query/hooks/index.d.cts +4 -3
  26. package/dist/query/hooks/index.d.ts +4 -3
  27. package/dist/query/hooks/index.js +137 -1
  28. package/dist/query/hooks/index.js.map +1 -1
  29. package/dist/query/index.cjs +147 -0
  30. package/dist/query/index.cjs.map +1 -1
  31. package/dist/query/index.d.cts +6 -5
  32. package/dist/query/index.d.ts +6 -5
  33. package/dist/query/index.js +133 -1
  34. package/dist/query/index.js.map +1 -1
  35. package/dist/schemas/index.cjs +27 -0
  36. package/dist/schemas/index.cjs.map +1 -1
  37. package/dist/schemas/index.d.cts +67 -1
  38. package/dist/schemas/index.d.ts +67 -1
  39. package/dist/schemas/index.js +26 -1
  40. package/dist/schemas/index.js.map +1 -1
  41. package/dist/schemas/write/index.cjs +36 -0
  42. package/dist/schemas/write/index.cjs.map +1 -1
  43. package/dist/schemas/write/index.d.cts +1 -0
  44. package/dist/schemas/write/index.d.ts +1 -0
  45. package/dist/schemas/write/index.js +32 -1
  46. package/dist/schemas/write/index.js.map +1 -1
  47. package/package.json +1 -1
@@ -450,9 +450,39 @@ interface ProfileOverrideSource {
450
450
  displayName?: string;
451
451
  avatarUrl?: string;
452
452
  }
453
+ /**
454
+ * The org-profile fields exposed on the profile resolve when the org rendering
455
+ * floor is met. Narrow on purpose: `contact` is never included (not rendered
456
+ * publicly); record URI/CID are internal. Mirrors sifa-api's `OrgProfileView`.
457
+ */
458
+ interface OrgProfileView {
459
+ name: string;
460
+ description: string | null;
461
+ website: string | null;
462
+ /** Blob CID (or resolved URL) of the org logo, when present. */
463
+ logoBlob: string | null;
464
+ entityRefs: string[] | null;
465
+ }
466
+ /**
467
+ * Server-computed org rendering-floor verdict (#160), carried on the profile
468
+ * resolve so clients need no extra round-trip. `isOrg` is true when the account
469
+ * has an `id.sifa.org.profile` record AND its handle is a custom registrable
470
+ * domain (the authoritative, PSL-backed check lives server-side). Read it via
471
+ * the `useOrgProfile` hook.
472
+ */
473
+ interface OrgFloorVerdict {
474
+ isOrg: boolean;
475
+ orgProfile?: OrgProfileView;
476
+ }
453
477
  interface Profile {
454
478
  did: string;
455
479
  handle: string;
480
+ /**
481
+ * Org rendering-floor verdict (#160). Present on the profile resolve; absent
482
+ * on payloads that predate the field. When `org.isOrg` is true the account
483
+ * renders as an organization (`/c/`).
484
+ */
485
+ org?: OrgFloorVerdict;
456
486
  displayName?: string;
457
487
  /**
458
488
  * Given (first) name from `id.sifa.profile.self.givenName`. Schema.org
@@ -544,6 +574,270 @@ interface Profile {
544
574
  externalAccounts?: ExternalAccount[];
545
575
  }
546
576
 
577
+ /**
578
+ * Types for the `id.sifa.getProfileView` XRPC query: the aggregated public
579
+ * professional profile view served by a Sifa AppView. This is a curated public
580
+ * projection, viewer-specific and internal fields are not included and hidden
581
+ * items are omitted. Mirrors the `id.sifa.getProfileView` lexicon in
582
+ * @singi-labs/sifa-lexicons.
583
+ */
584
+
585
+ interface IndustryDomain {
586
+ industry: string;
587
+ domain?: string;
588
+ }
589
+ interface ProfileLocationView {
590
+ rkey: string;
591
+ type?: string;
592
+ label?: string;
593
+ isPrimary?: boolean;
594
+ locationCountry?: string;
595
+ locationRegion?: string;
596
+ locationLocality?: string;
597
+ countryCode?: string;
598
+ location?: string;
599
+ }
600
+ interface PositionView {
601
+ rkey: string;
602
+ title: string;
603
+ company?: string;
604
+ companyDid?: string;
605
+ entityRef?: string;
606
+ entityName?: string;
607
+ description?: string;
608
+ employmentType?: string;
609
+ workplaceType?: string;
610
+ locationCountry?: string;
611
+ locationRegion?: string;
612
+ locationLocality?: string;
613
+ countryCode?: string;
614
+ location?: string;
615
+ startedAt?: string;
616
+ endedAt?: string;
617
+ primary?: boolean;
618
+ skillRkeys?: string[];
619
+ }
620
+ interface EducationView {
621
+ rkey: string;
622
+ institution?: string;
623
+ institutionDid?: string;
624
+ entityRef?: string;
625
+ degree?: string;
626
+ fieldOfStudy?: string;
627
+ activities?: string;
628
+ description?: string;
629
+ startedAt?: string;
630
+ endedAt?: string;
631
+ }
632
+ interface SkillView {
633
+ rkey: string;
634
+ name: string;
635
+ category?: string;
636
+ positionRkeys?: string[];
637
+ }
638
+ interface CertificationView {
639
+ rkey: string;
640
+ name: string;
641
+ issuingOrg?: string;
642
+ entityRef?: string;
643
+ issueDate?: string;
644
+ expiryDate?: string;
645
+ credentialUrl?: string;
646
+ }
647
+ interface ProjectView {
648
+ rkey: string;
649
+ name: string;
650
+ description?: string;
651
+ url?: string;
652
+ startDate?: string;
653
+ endDate?: string;
654
+ }
655
+ interface VolunteeringView {
656
+ rkey: string;
657
+ organization: string;
658
+ entityRef?: string;
659
+ role?: string;
660
+ cause?: string;
661
+ description?: string;
662
+ startDate?: string;
663
+ endDate?: string;
664
+ }
665
+ interface InvolvementLinkView {
666
+ url: string;
667
+ kind?: string;
668
+ label?: string;
669
+ verified?: boolean;
670
+ verifiedPlatform?: string;
671
+ }
672
+ interface InvolvementView {
673
+ rkey: string;
674
+ kind?: string;
675
+ upstream?: string;
676
+ upstreamDid?: string;
677
+ upstreamUrl?: string;
678
+ role?: string;
679
+ description?: string;
680
+ startedAt?: string;
681
+ endedAt?: string;
682
+ links: InvolvementLinkView[];
683
+ legacy: boolean;
684
+ }
685
+ interface ContributorView {
686
+ name: string;
687
+ orcidId?: string;
688
+ did?: string;
689
+ handle?: string;
690
+ }
691
+ interface PublicationView {
692
+ rkey: string;
693
+ title: string;
694
+ subtitle?: string;
695
+ publisher?: string;
696
+ date?: string;
697
+ url?: string;
698
+ description?: string;
699
+ doi?: string;
700
+ type?: string;
701
+ typeLabel?: string;
702
+ contributors?: ContributorView[];
703
+ verified: boolean;
704
+ verifiedVia?: string;
705
+ orcidCorroborated?: boolean;
706
+ publicationUri?: string;
707
+ publicationUrl?: string;
708
+ publicationName?: string;
709
+ image?: string;
710
+ }
711
+ interface CourseView {
712
+ rkey: string;
713
+ name: string;
714
+ number?: string;
715
+ institution?: string;
716
+ entityRef?: string;
717
+ credentialRkey?: string;
718
+ }
719
+ interface DurationView {
720
+ minMinutes: number;
721
+ maxMinutes?: number;
722
+ }
723
+ interface CoSpeakerView {
724
+ did?: string;
725
+ handle?: string;
726
+ displayName?: string;
727
+ avatar?: string;
728
+ name?: string;
729
+ }
730
+ interface PresentationDeliveryView {
731
+ rkey: string;
732
+ presentationRkey?: string;
733
+ title?: string;
734
+ role?: string;
735
+ eventName?: string;
736
+ date?: string;
737
+ location?: string;
738
+ mode?: string;
739
+ status?: string;
740
+ links?: PresentationLinkView[];
741
+ eventUri?: string;
742
+ coSpeakers?: CoSpeakerView[];
743
+ }
744
+ interface PresentationView {
745
+ rkey: string;
746
+ title: string;
747
+ description?: string;
748
+ duration?: DurationView;
749
+ intendedAudiences?: string[];
750
+ links?: PresentationLinkView[];
751
+ writeupUri?: string;
752
+ deliveries: PresentationDeliveryView[];
753
+ }
754
+ interface HonorView {
755
+ rkey: string;
756
+ title: string;
757
+ issuer?: string;
758
+ entityRef?: string;
759
+ description?: string;
760
+ date?: string;
761
+ }
762
+ interface LanguageView {
763
+ rkey: string;
764
+ language: string;
765
+ proficiency?: string;
766
+ }
767
+ interface ExternalAccountView {
768
+ rkey: string;
769
+ platform?: string;
770
+ url: string;
771
+ label?: string;
772
+ feedUrl?: string;
773
+ verifiable?: boolean;
774
+ verified?: boolean;
775
+ verifiedVia?: string;
776
+ primary?: boolean;
777
+ }
778
+ interface ActiveAppView {
779
+ id: string;
780
+ name: string;
781
+ category?: string;
782
+ recentCount?: number;
783
+ latestRecordAt?: string;
784
+ }
785
+ interface AtfundLinkView {
786
+ url: string;
787
+ label?: string;
788
+ }
789
+ /** Aggregated public professional profile view (`id.sifa.getProfileView#profileView`). */
790
+ interface ProfileView {
791
+ did: string;
792
+ handle: string;
793
+ displayName?: string;
794
+ givenName?: string;
795
+ familyName?: string;
796
+ avatar?: string;
797
+ pronouns?: string;
798
+ headline?: string;
799
+ about?: string;
800
+ industries?: IndustryDomain[];
801
+ locationCountry?: string;
802
+ locationRegion?: string;
803
+ locationLocality?: string;
804
+ countryCode?: string;
805
+ location?: string;
806
+ locations?: ProfileLocationView[];
807
+ website?: string;
808
+ openTo?: string[];
809
+ preferredWorkplace?: string;
810
+ availableFromUtc?: string;
811
+ availableToUtc?: string;
812
+ langs?: string[];
813
+ createdAt?: string;
814
+ positions?: PositionView[];
815
+ education?: EducationView[];
816
+ skills?: SkillView[];
817
+ certifications?: CertificationView[];
818
+ projects?: ProjectView[];
819
+ volunteering?: VolunteeringView[];
820
+ involvement?: InvolvementView[];
821
+ publications?: PublicationView[];
822
+ courses?: CourseView[];
823
+ presentations?: PresentationView[];
824
+ presentationDeliveries?: PresentationDeliveryView[];
825
+ honors?: HonorView[];
826
+ languages?: LanguageView[];
827
+ externalAccounts?: ExternalAccountView[];
828
+ atfundContribute?: AtfundLinkView;
829
+ followersCount?: number;
830
+ followingCount?: number;
831
+ connectionsCount?: number;
832
+ metInPersonCount?: number;
833
+ atprotoFollowersCount?: number;
834
+ blueskyVerified?: boolean;
835
+ blueskyVerifiedAt?: string;
836
+ activeApps?: ActiveAppView[];
837
+ pdsProvider?: string;
838
+ claimed?: boolean;
839
+ }
840
+
547
841
  /**
548
842
  * Adult-content gating for Bluesky activity items.
549
843
  *
@@ -583,4 +877,4 @@ declare function hasAdultContent(item: {
583
877
  labels?: ActivityLabel[];
584
878
  }): boolean;
585
879
 
586
- export { type AdultContentLabel as A, type PublicationContributor as B, type CoSpeaker as C, type SkillRef as D, type ExternalAccount as E, type FeedItem as F, hasAdultContent as G, type LocationValue as L, type ProfileSkill as P, type SkillSuggestion as S, type TrustStat as T, type VerifiedAccount as V, type ActivityLabel as a, type ProfilePresentationDelivery as b, type PdsProviderInfo as c, type Profile as d, type ProfilePosition as e, type ProfileCertification as f, type ProfileEducation as g, type ProfileHonor as h, type ProfileLanguage as i, type ProfileProject as j, type ProfilePublication as k, type ProfileInvolvement as l, ADULT_CONTENT_LABELS as m, type ActiveApp as n, type Endorsement as o, type EndorsementData as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type PresentationLinkView as s, type ProfileCourse as t, type ProfileIndustry as u, type ProfileInvolvementLink as v, type ProfileLocation as w, type ProfileOverrideSource as x, type ProfilePresentation as y, type ProfileVolunteering as z };
880
+ export { type ProfileVolunteering as $, type AdultContentLabel as A, type InvolvementView as B, type CoSpeaker as C, type DurationView as D, type ExternalAccount as E, type FeedItem as F, type LanguageProficiency as G, type HonorView as H, type IndustryDomain as I, type LanguageView as J, type OrgProfileView as K, type LocationValue as L, type PositionView as M, type PresentationDeliveryView as N, type OrgFloorVerdict as O, type ProfileSkill as P, type PresentationLinkView as Q, type PresentationView as R, type SkillSuggestion as S, type ProfileCourse as T, type ProfileIndustry as U, type ProfileInvolvementLink as V, type ProfileLocation as W, type ProfileLocationView as X, type ProfileOverrideSource as Y, type ProfilePresentation as Z, type ProfileView as _, type ActivityLabel as a, type ProjectView as a0, type PublicationContributor as a1, type PublicationView as a2, type SkillRef as a3, type SkillView as a4, type TrustStat as a5, type VerifiedAccount as a6, type VolunteeringView as a7, hasAdultContent as a8, type ProfilePresentationDelivery as b, type PdsProviderInfo as c, type Profile as d, type ProfilePosition as e, type ProfileCertification as f, type ProfileEducation as g, type ProfileHonor as h, type ProfileLanguage as i, type ProfileProject as j, type ProfilePublication as k, type ProfileInvolvement as l, ADULT_CONTENT_LABELS as m, type ActiveApp as n, type ActiveAppView as o, type AtfundLinkView as p, type CertificationView as q, type CoSpeakerView as r, type ContributorView as s, type CourseView as t, type EducationView as u, type Endorsement as v, type EndorsementData as w, type ExternalAccountKeytraceClaim as x, type ExternalAccountView as y, type InvolvementLinkView as z };
@@ -450,9 +450,39 @@ interface ProfileOverrideSource {
450
450
  displayName?: string;
451
451
  avatarUrl?: string;
452
452
  }
453
+ /**
454
+ * The org-profile fields exposed on the profile resolve when the org rendering
455
+ * floor is met. Narrow on purpose: `contact` is never included (not rendered
456
+ * publicly); record URI/CID are internal. Mirrors sifa-api's `OrgProfileView`.
457
+ */
458
+ interface OrgProfileView {
459
+ name: string;
460
+ description: string | null;
461
+ website: string | null;
462
+ /** Blob CID (or resolved URL) of the org logo, when present. */
463
+ logoBlob: string | null;
464
+ entityRefs: string[] | null;
465
+ }
466
+ /**
467
+ * Server-computed org rendering-floor verdict (#160), carried on the profile
468
+ * resolve so clients need no extra round-trip. `isOrg` is true when the account
469
+ * has an `id.sifa.org.profile` record AND its handle is a custom registrable
470
+ * domain (the authoritative, PSL-backed check lives server-side). Read it via
471
+ * the `useOrgProfile` hook.
472
+ */
473
+ interface OrgFloorVerdict {
474
+ isOrg: boolean;
475
+ orgProfile?: OrgProfileView;
476
+ }
453
477
  interface Profile {
454
478
  did: string;
455
479
  handle: string;
480
+ /**
481
+ * Org rendering-floor verdict (#160). Present on the profile resolve; absent
482
+ * on payloads that predate the field. When `org.isOrg` is true the account
483
+ * renders as an organization (`/c/`).
484
+ */
485
+ org?: OrgFloorVerdict;
456
486
  displayName?: string;
457
487
  /**
458
488
  * Given (first) name from `id.sifa.profile.self.givenName`. Schema.org
@@ -544,6 +574,270 @@ interface Profile {
544
574
  externalAccounts?: ExternalAccount[];
545
575
  }
546
576
 
577
+ /**
578
+ * Types for the `id.sifa.getProfileView` XRPC query: the aggregated public
579
+ * professional profile view served by a Sifa AppView. This is a curated public
580
+ * projection, viewer-specific and internal fields are not included and hidden
581
+ * items are omitted. Mirrors the `id.sifa.getProfileView` lexicon in
582
+ * @singi-labs/sifa-lexicons.
583
+ */
584
+
585
+ interface IndustryDomain {
586
+ industry: string;
587
+ domain?: string;
588
+ }
589
+ interface ProfileLocationView {
590
+ rkey: string;
591
+ type?: string;
592
+ label?: string;
593
+ isPrimary?: boolean;
594
+ locationCountry?: string;
595
+ locationRegion?: string;
596
+ locationLocality?: string;
597
+ countryCode?: string;
598
+ location?: string;
599
+ }
600
+ interface PositionView {
601
+ rkey: string;
602
+ title: string;
603
+ company?: string;
604
+ companyDid?: string;
605
+ entityRef?: string;
606
+ entityName?: string;
607
+ description?: string;
608
+ employmentType?: string;
609
+ workplaceType?: string;
610
+ locationCountry?: string;
611
+ locationRegion?: string;
612
+ locationLocality?: string;
613
+ countryCode?: string;
614
+ location?: string;
615
+ startedAt?: string;
616
+ endedAt?: string;
617
+ primary?: boolean;
618
+ skillRkeys?: string[];
619
+ }
620
+ interface EducationView {
621
+ rkey: string;
622
+ institution?: string;
623
+ institutionDid?: string;
624
+ entityRef?: string;
625
+ degree?: string;
626
+ fieldOfStudy?: string;
627
+ activities?: string;
628
+ description?: string;
629
+ startedAt?: string;
630
+ endedAt?: string;
631
+ }
632
+ interface SkillView {
633
+ rkey: string;
634
+ name: string;
635
+ category?: string;
636
+ positionRkeys?: string[];
637
+ }
638
+ interface CertificationView {
639
+ rkey: string;
640
+ name: string;
641
+ issuingOrg?: string;
642
+ entityRef?: string;
643
+ issueDate?: string;
644
+ expiryDate?: string;
645
+ credentialUrl?: string;
646
+ }
647
+ interface ProjectView {
648
+ rkey: string;
649
+ name: string;
650
+ description?: string;
651
+ url?: string;
652
+ startDate?: string;
653
+ endDate?: string;
654
+ }
655
+ interface VolunteeringView {
656
+ rkey: string;
657
+ organization: string;
658
+ entityRef?: string;
659
+ role?: string;
660
+ cause?: string;
661
+ description?: string;
662
+ startDate?: string;
663
+ endDate?: string;
664
+ }
665
+ interface InvolvementLinkView {
666
+ url: string;
667
+ kind?: string;
668
+ label?: string;
669
+ verified?: boolean;
670
+ verifiedPlatform?: string;
671
+ }
672
+ interface InvolvementView {
673
+ rkey: string;
674
+ kind?: string;
675
+ upstream?: string;
676
+ upstreamDid?: string;
677
+ upstreamUrl?: string;
678
+ role?: string;
679
+ description?: string;
680
+ startedAt?: string;
681
+ endedAt?: string;
682
+ links: InvolvementLinkView[];
683
+ legacy: boolean;
684
+ }
685
+ interface ContributorView {
686
+ name: string;
687
+ orcidId?: string;
688
+ did?: string;
689
+ handle?: string;
690
+ }
691
+ interface PublicationView {
692
+ rkey: string;
693
+ title: string;
694
+ subtitle?: string;
695
+ publisher?: string;
696
+ date?: string;
697
+ url?: string;
698
+ description?: string;
699
+ doi?: string;
700
+ type?: string;
701
+ typeLabel?: string;
702
+ contributors?: ContributorView[];
703
+ verified: boolean;
704
+ verifiedVia?: string;
705
+ orcidCorroborated?: boolean;
706
+ publicationUri?: string;
707
+ publicationUrl?: string;
708
+ publicationName?: string;
709
+ image?: string;
710
+ }
711
+ interface CourseView {
712
+ rkey: string;
713
+ name: string;
714
+ number?: string;
715
+ institution?: string;
716
+ entityRef?: string;
717
+ credentialRkey?: string;
718
+ }
719
+ interface DurationView {
720
+ minMinutes: number;
721
+ maxMinutes?: number;
722
+ }
723
+ interface CoSpeakerView {
724
+ did?: string;
725
+ handle?: string;
726
+ displayName?: string;
727
+ avatar?: string;
728
+ name?: string;
729
+ }
730
+ interface PresentationDeliveryView {
731
+ rkey: string;
732
+ presentationRkey?: string;
733
+ title?: string;
734
+ role?: string;
735
+ eventName?: string;
736
+ date?: string;
737
+ location?: string;
738
+ mode?: string;
739
+ status?: string;
740
+ links?: PresentationLinkView[];
741
+ eventUri?: string;
742
+ coSpeakers?: CoSpeakerView[];
743
+ }
744
+ interface PresentationView {
745
+ rkey: string;
746
+ title: string;
747
+ description?: string;
748
+ duration?: DurationView;
749
+ intendedAudiences?: string[];
750
+ links?: PresentationLinkView[];
751
+ writeupUri?: string;
752
+ deliveries: PresentationDeliveryView[];
753
+ }
754
+ interface HonorView {
755
+ rkey: string;
756
+ title: string;
757
+ issuer?: string;
758
+ entityRef?: string;
759
+ description?: string;
760
+ date?: string;
761
+ }
762
+ interface LanguageView {
763
+ rkey: string;
764
+ language: string;
765
+ proficiency?: string;
766
+ }
767
+ interface ExternalAccountView {
768
+ rkey: string;
769
+ platform?: string;
770
+ url: string;
771
+ label?: string;
772
+ feedUrl?: string;
773
+ verifiable?: boolean;
774
+ verified?: boolean;
775
+ verifiedVia?: string;
776
+ primary?: boolean;
777
+ }
778
+ interface ActiveAppView {
779
+ id: string;
780
+ name: string;
781
+ category?: string;
782
+ recentCount?: number;
783
+ latestRecordAt?: string;
784
+ }
785
+ interface AtfundLinkView {
786
+ url: string;
787
+ label?: string;
788
+ }
789
+ /** Aggregated public professional profile view (`id.sifa.getProfileView#profileView`). */
790
+ interface ProfileView {
791
+ did: string;
792
+ handle: string;
793
+ displayName?: string;
794
+ givenName?: string;
795
+ familyName?: string;
796
+ avatar?: string;
797
+ pronouns?: string;
798
+ headline?: string;
799
+ about?: string;
800
+ industries?: IndustryDomain[];
801
+ locationCountry?: string;
802
+ locationRegion?: string;
803
+ locationLocality?: string;
804
+ countryCode?: string;
805
+ location?: string;
806
+ locations?: ProfileLocationView[];
807
+ website?: string;
808
+ openTo?: string[];
809
+ preferredWorkplace?: string;
810
+ availableFromUtc?: string;
811
+ availableToUtc?: string;
812
+ langs?: string[];
813
+ createdAt?: string;
814
+ positions?: PositionView[];
815
+ education?: EducationView[];
816
+ skills?: SkillView[];
817
+ certifications?: CertificationView[];
818
+ projects?: ProjectView[];
819
+ volunteering?: VolunteeringView[];
820
+ involvement?: InvolvementView[];
821
+ publications?: PublicationView[];
822
+ courses?: CourseView[];
823
+ presentations?: PresentationView[];
824
+ presentationDeliveries?: PresentationDeliveryView[];
825
+ honors?: HonorView[];
826
+ languages?: LanguageView[];
827
+ externalAccounts?: ExternalAccountView[];
828
+ atfundContribute?: AtfundLinkView;
829
+ followersCount?: number;
830
+ followingCount?: number;
831
+ connectionsCount?: number;
832
+ metInPersonCount?: number;
833
+ atprotoFollowersCount?: number;
834
+ blueskyVerified?: boolean;
835
+ blueskyVerifiedAt?: string;
836
+ activeApps?: ActiveAppView[];
837
+ pdsProvider?: string;
838
+ claimed?: boolean;
839
+ }
840
+
547
841
  /**
548
842
  * Adult-content gating for Bluesky activity items.
549
843
  *
@@ -583,4 +877,4 @@ declare function hasAdultContent(item: {
583
877
  labels?: ActivityLabel[];
584
878
  }): boolean;
585
879
 
586
- export { type AdultContentLabel as A, type PublicationContributor as B, type CoSpeaker as C, type SkillRef as D, type ExternalAccount as E, type FeedItem as F, hasAdultContent as G, type LocationValue as L, type ProfileSkill as P, type SkillSuggestion as S, type TrustStat as T, type VerifiedAccount as V, type ActivityLabel as a, type ProfilePresentationDelivery as b, type PdsProviderInfo as c, type Profile as d, type ProfilePosition as e, type ProfileCertification as f, type ProfileEducation as g, type ProfileHonor as h, type ProfileLanguage as i, type ProfileProject as j, type ProfilePublication as k, type ProfileInvolvement as l, ADULT_CONTENT_LABELS as m, type ActiveApp as n, type Endorsement as o, type EndorsementData as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type PresentationLinkView as s, type ProfileCourse as t, type ProfileIndustry as u, type ProfileInvolvementLink as v, type ProfileLocation as w, type ProfileOverrideSource as x, type ProfilePresentation as y, type ProfileVolunteering as z };
880
+ export { type ProfileVolunteering as $, type AdultContentLabel as A, type InvolvementView as B, type CoSpeaker as C, type DurationView as D, type ExternalAccount as E, type FeedItem as F, type LanguageProficiency as G, type HonorView as H, type IndustryDomain as I, type LanguageView as J, type OrgProfileView as K, type LocationValue as L, type PositionView as M, type PresentationDeliveryView as N, type OrgFloorVerdict as O, type ProfileSkill as P, type PresentationLinkView as Q, type PresentationView as R, type SkillSuggestion as S, type ProfileCourse as T, type ProfileIndustry as U, type ProfileInvolvementLink as V, type ProfileLocation as W, type ProfileLocationView as X, type ProfileOverrideSource as Y, type ProfilePresentation as Z, type ProfileView as _, type ActivityLabel as a, type ProjectView as a0, type PublicationContributor as a1, type PublicationView as a2, type SkillRef as a3, type SkillView as a4, type TrustStat as a5, type VerifiedAccount as a6, type VolunteeringView as a7, hasAdultContent as a8, type ProfilePresentationDelivery as b, type PdsProviderInfo as c, type Profile as d, type ProfilePosition as e, type ProfileCertification as f, type ProfileEducation as g, type ProfileHonor as h, type ProfileLanguage as i, type ProfileProject as j, type ProfilePublication as k, type ProfileInvolvement as l, ADULT_CONTENT_LABELS as m, type ActiveApp as n, type ActiveAppView as o, type AtfundLinkView as p, type CertificationView as q, type CoSpeakerView as r, type ContributorView as s, type CourseView as t, type EducationView as u, type Endorsement as v, type EndorsementData as w, type ExternalAccountKeytraceClaim as x, type ExternalAccountView as y, type InvolvementLinkView as z };
@@ -1,5 +1,5 @@
1
- import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './keys-Bn36IA8Q.cjs';
2
- import { d as Profile, e as ProfilePosition, D as SkillRef } from './adult-content-DDGP8W1e.cjs';
1
+ import { S as SifaApiConfig, A as ApiFetchOptions, j as CreateResult, W as WriteResult } from './org-92bvwL8H.cjs';
2
+ import { d as Profile, _ as ProfileView, e as ProfilePosition, a3 as SkillRef } from './adult-content-BOY_T6j3.cjs';
3
3
  import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-D2ZV8Eaj.cjs';
4
4
 
5
5
  /**
@@ -18,6 +18,19 @@ declare function fetchProfile(config: SifaApiConfig, handleOrDid: string, option
18
18
  */
19
19
  declare function fetchAtFundLink(config: SifaApiConfig, did: string, options?: ApiFetchOptions): Promise<string | null>;
20
20
 
21
+ /**
22
+ * Read the aggregated public profile view via the `id.sifa.getProfileView`
23
+ * XRPC query. This is the AppView-only join (positions, education, skills,
24
+ * endorsements, and more) exposed as a standard lexicon method, distinct from
25
+ * the internal `/api/profile/*` REST surface.
26
+ *
27
+ * Returns `null` when the AppView has no profile for the actor
28
+ * (`ProfileNotFound`). Throws {@link ApiError} on other non-2xx responses.
29
+ *
30
+ * Server-callable (Next.js RSC) and client-callable (Expo, browser).
31
+ */
32
+ declare function fetchGetProfileView(config: SifaApiConfig, actor: string, options?: ApiFetchOptions): Promise<ProfileView | null>;
33
+
21
34
  /**
22
35
  * Create a new `id.sifa.profile.position` record on the authenticated
23
36
  * user's PDS. The AppView signs and writes via the user's OAuth session.
@@ -258,4 +271,4 @@ declare function checkNetworkMapJobStatus(config: SifaApiConfig, jobId: string,
258
271
  */
259
272
  declare function fetchNetworkMap(config: SifaApiConfig, options?: ApiFetchOptions): Promise<NetworkMapResponse | null>;
260
273
 
261
- export { resolveEntityDomain as A, revealMarqueDomain as B, selectEntity as C, setPositionPrimary as D, unhideKeytraceClaim as E, type FetchNetworkStreamCountOptions as F, unlinkSkillFromPosition as G, unrevealMarqueDomain as H, unsetPositionPrimary as I, updateEducation as J, updatePosition as K, updateRecord as L, updateSkill as M, type NetworkMapEdge as N, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, createSkill as j, deleteEducation as k, deletePosition as l, deleteRecord as m, deleteSkill as n, fetchAtFundLink as o, fetchEndorsementCount as p, fetchEntitySearch as q, fetchNetworkMap as r, fetchNetworkStreamCount as s, fetchProfile as t, hideKeytraceClaim as u, importSearchEntities as v, initiateNetworkMapGeneration as w, isNetworkMapResponse as x, linkSkillToPosition as y, mintEntityDomain as z };
274
+ export { mintEntityDomain as A, resolveEntityDomain as B, revealMarqueDomain as C, selectEntity as D, setPositionPrimary as E, type FetchNetworkStreamCountOptions as F, unhideKeytraceClaim as G, unlinkSkillFromPosition as H, unrevealMarqueDomain as I, unsetPositionPrimary as J, updateEducation as K, updatePosition as L, updateRecord as M, type NetworkMapEdge as N, updateSkill as O, type NetworkMapGenerationJob as a, type NetworkMapGraphData as b, type NetworkMapNode as c, type NetworkMapPendingJob as d, type NetworkMapResponse as e, checkNetworkMapJobStatus as f, createEducation as g, createPosition as h, createRecord as i, createSkill as j, deleteEducation as k, deletePosition as l, deleteRecord as m, deleteSkill as n, fetchAtFundLink as o, fetchEndorsementCount as p, fetchEntitySearch as q, fetchGetProfileView as r, fetchNetworkMap as s, fetchNetworkStreamCount as t, fetchProfile as u, hideKeytraceClaim as v, importSearchEntities as w, initiateNetworkMapGeneration as x, isNetworkMapResponse as y, linkSkillToPosition as z };