@singi-labs/sifa-sdk 0.19.71 → 0.19.73

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 (32) hide show
  1. package/dist/{index-BrubXw_E.d.ts → index-BFdNI6jA.d.ts} +22 -1
  2. package/dist/{index-IuZw47nV.d.cts → index-BzkaABDb.d.cts} +22 -1
  3. package/dist/index.cjs +2 -2
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.cts +9 -6
  6. package/dist/index.d.ts +9 -6
  7. package/dist/index.js +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/jsonld/index.d.cts +1 -1
  10. package/dist/jsonld/index.d.ts +1 -1
  11. package/dist/logic/org-floor.js +1 -1
  12. package/dist/logic/org-floor.js.map +1 -1
  13. package/dist/{network-map-CmiepDVi.d.ts → network-map-D-VXi2yc.d.ts} +3 -3
  14. package/dist/{network-map-D3UpQ8QN.d.cts → network-map-DfXwB2Eq.d.cts} +3 -3
  15. package/dist/{org-Cd2aa9IE.d.cts → org-A9Tz-Uv9.d.cts} +2 -2
  16. package/dist/{org-CHHnaCZj.d.ts → org-Spq8yU-B.d.ts} +2 -2
  17. package/dist/{profile-summary-CL1qv4Ej.d.ts → profile-summary-6GySSJvO.d.ts} +1 -1
  18. package/dist/{profile-summary-9nNof-UK.d.cts → profile-summary-X4MGExfS.d.cts} +1 -1
  19. package/dist/query/fetchers/index.d.cts +6 -6
  20. package/dist/query/fetchers/index.d.ts +6 -6
  21. package/dist/query/hooks/index.d.cts +4 -4
  22. package/dist/query/hooks/index.d.ts +4 -4
  23. package/dist/query/index.d.cts +9 -9
  24. package/dist/query/index.d.ts +9 -9
  25. package/dist/resume/index.d.cts +1 -1
  26. package/dist/resume/index.d.ts +1 -1
  27. package/dist/types/index.js.map +1 -1
  28. package/dist/{types-ENHrgIPb.d.cts → types-DXep6553.d.cts} +1 -1
  29. package/dist/{types-BwdoIqu3.d.ts → types-DxMMqOJo.d.ts} +1 -1
  30. package/dist/{use-org-notification-emails-Cj_taxxR.d.cts → use-org-notification-emails-5V3ZAlRd.d.cts} +3 -3
  31. package/dist/{use-org-notification-emails-QGewFqt7.d.ts → use-org-notification-emails-CfDfHwBl.d.ts} +3 -3
  32. package/package.json +1 -1
@@ -259,6 +259,25 @@ interface ProfileCertification {
259
259
  credentialUrl?: string;
260
260
  hidden?: boolean;
261
261
  }
262
+ /**
263
+ * A calendar event a project organized or hosted, with display fields the
264
+ * AppView resolved from the referenced community.lexicon.calendar.event.
265
+ */
266
+ interface ProjectEventView {
267
+ /** AT-URI of the community.lexicon.calendar.event. */
268
+ uri: string;
269
+ /** The user's role at this occurrence, when it differs from the project's role. */
270
+ role?: string;
271
+ name?: string;
272
+ /** ISO datetime. Use the date part for display; the time is not meaningful for past events. */
273
+ startsAt?: string;
274
+ /** community.lexicon.calendar.event mode token. */
275
+ mode?: string;
276
+ locality?: string;
277
+ /** ISO 3166-1 alpha-2. */
278
+ country?: string;
279
+ url?: string;
280
+ }
262
281
  interface ProfileProject {
263
282
  rkey: string;
264
283
  name: string;
@@ -277,6 +296,8 @@ interface ProfileProject {
277
296
  */
278
297
  /** AT-URI of the same record on another person's profile, when they keep one. */
279
298
  sameAs?: string;
299
+ /** Calendar events this project organized or hosted, newest first. */
300
+ events?: ProjectEventView[];
280
301
  hidden?: boolean;
281
302
  /** User-flagged primary project, surfaced in the Highlights block. Ongoing only. */
282
303
  primary?: boolean;
@@ -1010,4 +1031,4 @@ interface Profile {
1010
1031
  externalAccounts?: ExternalAccount[];
1011
1032
  }
1012
1033
 
1013
- export { type AccountFacetMode as A, type ProfileCourse as B, type CoSpeaker as C, type ProfileIndustry as D, type Endorsement as E, type FeedItem as F, type ProfileInvestment as G, type ProfileInvestmentLink as H, type ProfileInvolvementLink as I, type ProfileLocation as J, type ProfileOverrideSource as K, type LocationValue as L, type ProfilePresentation as M, type ProfileVolunteering as N, type OrgAddressView as O, type ProfileSkill as P, type ProjectMemberCard as Q, type RelatedIdentifier as R, type ProjectRole as S, type PublicationContributor as T, type RecognizedEntity as U, type SkillRef as V, type SkillSuggestion as W, type TrustStat as X, type VerifiedAccount as Y, type ProfilePresentationDelivery as a, type PdsProviderInfo as b, type Profile as c, type ProfilePosition as d, type ProfileCertification as e, type ProfileEducation as f, type ProfileHonor as g, type ProfileLanguage as h, type ProfileProject as i, type ProfilePublication as j, type ProfileInvolvement as k, type ActiveApp as l, type ActorCard as m, type AuthorSuggestion as n, type EndorsementData as o, type ExternalAccount as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type OrgFloorVerdict as s, type OrgLinkView as t, type OrgProfileView as u, PROJECT_ROLES as v, type PositionConfirmations as w, type PositionOrgVerification as x, type PositionViewerConfirmation as y, type PresentationLinkView as z };
1034
+ export { type AccountFacetMode as A, type ProfileCourse as B, type CoSpeaker as C, type ProfileIndustry as D, type Endorsement as E, type FeedItem as F, type ProfileInvestment as G, type ProfileInvestmentLink as H, type ProfileInvolvementLink as I, type ProfileLocation as J, type ProfileOverrideSource as K, type LocationValue as L, type ProfilePresentation as M, type ProfileVolunteering as N, type OrgAddressView as O, type ProfileSkill as P, type ProjectEventView as Q, type RelatedIdentifier as R, type ProjectMemberCard as S, type ProjectRole as T, type PublicationContributor as U, type RecognizedEntity as V, type SkillRef as W, type SkillSuggestion as X, type TrustStat as Y, type VerifiedAccount as Z, type ProfilePresentationDelivery as a, type PdsProviderInfo as b, type Profile as c, type ProfilePosition as d, type ProfileCertification as e, type ProfileEducation as f, type ProfileHonor as g, type ProfileLanguage as h, type ProfileProject as i, type ProfilePublication as j, type ProfileInvolvement as k, type ActiveApp as l, type ActorCard as m, type AuthorSuggestion as n, type EndorsementData as o, type ExternalAccount as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type OrgFloorVerdict as s, type OrgLinkView as t, type OrgProfileView as u, PROJECT_ROLES as v, type PositionConfirmations as w, type PositionOrgVerification as x, type PositionViewerConfirmation as y, type PresentationLinkView as z };
@@ -259,6 +259,25 @@ interface ProfileCertification {
259
259
  credentialUrl?: string;
260
260
  hidden?: boolean;
261
261
  }
262
+ /**
263
+ * A calendar event a project organized or hosted, with display fields the
264
+ * AppView resolved from the referenced community.lexicon.calendar.event.
265
+ */
266
+ interface ProjectEventView {
267
+ /** AT-URI of the community.lexicon.calendar.event. */
268
+ uri: string;
269
+ /** The user's role at this occurrence, when it differs from the project's role. */
270
+ role?: string;
271
+ name?: string;
272
+ /** ISO datetime. Use the date part for display; the time is not meaningful for past events. */
273
+ startsAt?: string;
274
+ /** community.lexicon.calendar.event mode token. */
275
+ mode?: string;
276
+ locality?: string;
277
+ /** ISO 3166-1 alpha-2. */
278
+ country?: string;
279
+ url?: string;
280
+ }
262
281
  interface ProfileProject {
263
282
  rkey: string;
264
283
  name: string;
@@ -277,6 +296,8 @@ interface ProfileProject {
277
296
  */
278
297
  /** AT-URI of the same record on another person's profile, when they keep one. */
279
298
  sameAs?: string;
299
+ /** Calendar events this project organized or hosted, newest first. */
300
+ events?: ProjectEventView[];
280
301
  hidden?: boolean;
281
302
  /** User-flagged primary project, surfaced in the Highlights block. Ongoing only. */
282
303
  primary?: boolean;
@@ -1010,4 +1031,4 @@ interface Profile {
1010
1031
  externalAccounts?: ExternalAccount[];
1011
1032
  }
1012
1033
 
1013
- export { type AccountFacetMode as A, type ProfileCourse as B, type CoSpeaker as C, type ProfileIndustry as D, type Endorsement as E, type FeedItem as F, type ProfileInvestment as G, type ProfileInvestmentLink as H, type ProfileInvolvementLink as I, type ProfileLocation as J, type ProfileOverrideSource as K, type LocationValue as L, type ProfilePresentation as M, type ProfileVolunteering as N, type OrgAddressView as O, type ProfileSkill as P, type ProjectMemberCard as Q, type RelatedIdentifier as R, type ProjectRole as S, type PublicationContributor as T, type RecognizedEntity as U, type SkillRef as V, type SkillSuggestion as W, type TrustStat as X, type VerifiedAccount as Y, type ProfilePresentationDelivery as a, type PdsProviderInfo as b, type Profile as c, type ProfilePosition as d, type ProfileCertification as e, type ProfileEducation as f, type ProfileHonor as g, type ProfileLanguage as h, type ProfileProject as i, type ProfilePublication as j, type ProfileInvolvement as k, type ActiveApp as l, type ActorCard as m, type AuthorSuggestion as n, type EndorsementData as o, type ExternalAccount as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type OrgFloorVerdict as s, type OrgLinkView as t, type OrgProfileView as u, PROJECT_ROLES as v, type PositionConfirmations as w, type PositionOrgVerification as x, type PositionViewerConfirmation as y, type PresentationLinkView as z };
1034
+ export { type AccountFacetMode as A, type ProfileCourse as B, type CoSpeaker as C, type ProfileIndustry as D, type Endorsement as E, type FeedItem as F, type ProfileInvestment as G, type ProfileInvestmentLink as H, type ProfileInvolvementLink as I, type ProfileLocation as J, type ProfileOverrideSource as K, type LocationValue as L, type ProfilePresentation as M, type ProfileVolunteering as N, type OrgAddressView as O, type ProfileSkill as P, type ProjectEventView as Q, type RelatedIdentifier as R, type ProjectMemberCard as S, type ProjectRole as T, type PublicationContributor as U, type RecognizedEntity as V, type SkillRef as W, type SkillSuggestion as X, type TrustStat as Y, type VerifiedAccount as Z, type ProfilePresentationDelivery as a, type PdsProviderInfo as b, type Profile as c, type ProfilePosition as d, type ProfileCertification as e, type ProfileEducation as f, type ProfileHonor as g, type ProfileLanguage as h, type ProfileProject as i, type ProfilePublication as j, type ProfileInvolvement as k, type ActiveApp as l, type ActorCard as m, type AuthorSuggestion as n, type EndorsementData as o, type ExternalAccount as p, type ExternalAccountKeytraceClaim as q, type LanguageProficiency as r, type OrgFloorVerdict as s, type OrgLinkView as t, type OrgProfileView as u, PROJECT_ROLES as v, type PositionConfirmations as w, type PositionOrgVerification as x, type PositionViewerConfirmation as y, type PresentationLinkView as z };
package/dist/index.cjs CHANGED
@@ -5887,7 +5887,7 @@ function qualifiesAsOrg(record, handle) {
5887
5887
  }
5888
5888
  function hasPersonalProfileContent(profile) {
5889
5889
  const filled = (text) => typeof text === "string" && text.trim() !== "";
5890
- if (filled(profile.headline) || filled(profile.about)) return true;
5890
+ if (filled(profile.headline)) return true;
5891
5891
  const sections = [
5892
5892
  profile.positions,
5893
5893
  profile.education,
@@ -7250,7 +7250,7 @@ function describeSifaRecord(collection, value) {
7250
7250
  }
7251
7251
 
7252
7252
  // src/index.ts
7253
- var SIFA_SDK_VERSION = "0.19.71";
7253
+ var SIFA_SDK_VERSION = "0.19.73";
7254
7254
 
7255
7255
  exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
7256
7256
  exports.ACTIVITY_VERBS = ACTIVITY_VERBS;