@singi-labs/sifa-sdk 0.11.11 → 0.11.12
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-B5hAdi76.d.cts → adult-content-BpZD_3ow.d.cts} +15 -1
- package/dist/{adult-content-B5hAdi76.d.ts → adult-content-BpZD_3ow.d.ts} +15 -1
- package/dist/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/{keys-BSII76cd.d.ts → keys-DuICaiIq.d.ts} +1 -1
- package/dist/{keys-mf3dhTyN.d.cts → keys-K8kCuA5J.d.cts} +1 -1
- package/dist/query/fetchers/index.d.cts +3 -3
- package/dist/query/fetchers/index.d.ts +3 -3
- package/dist/query/hooks/index.d.cts +3 -3
- package/dist/query/hooks/index.d.ts +3 -3
- package/dist/query/index.cjs +11 -0
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +12 -4
- package/dist/query/index.d.ts +12 -4
- package/dist/query/index.js +11 -1
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +2 -0
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +1 -0
- package/dist/schemas/index.d.ts +1 -0
- package/dist/schemas/index.js +2 -0
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -180,11 +180,25 @@ interface PresentationLinkView {
|
|
|
180
180
|
label?: string;
|
|
181
181
|
type?: string;
|
|
182
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* A co-speaker on a delivery, hydrated from a stored DID to a profile card.
|
|
185
|
+
* Any atproto account; `hasSifaProfile` is true when they have a claimed Sifa
|
|
186
|
+
* profile (vs an unclaimed atproto account that still renders at /p/<handle>).
|
|
187
|
+
*/
|
|
188
|
+
interface CoSpeaker {
|
|
189
|
+
did: string;
|
|
190
|
+
handle: string;
|
|
191
|
+
displayName?: string;
|
|
192
|
+
avatar?: string;
|
|
193
|
+
hasSifaProfile?: boolean;
|
|
194
|
+
}
|
|
183
195
|
/** An occasion on which a presentation was delivered (the AppView view-model). */
|
|
184
196
|
interface ProfilePresentationDelivery {
|
|
185
197
|
rkey: string;
|
|
186
198
|
/** rkey of the parent presentation when this delivery references one. */
|
|
187
199
|
presentationRkey?: string | null;
|
|
200
|
+
/** Co-speakers at this occasion, hydrated from the stored DIDs. */
|
|
201
|
+
coSpeakers?: CoSpeaker[];
|
|
188
202
|
title?: string | null;
|
|
189
203
|
role?: string | null;
|
|
190
204
|
eventName?: string | null;
|
|
@@ -406,4 +420,4 @@ declare function hasAdultContent(item: {
|
|
|
406
420
|
labels?: ActivityLabel[];
|
|
407
421
|
}): boolean;
|
|
408
422
|
|
|
409
|
-
export { type AdultContentLabel as A, hasAdultContent as B, type ExternalAccount as E, type FeedItem as F, 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, ADULT_CONTENT_LABELS as e, type ActiveApp as f, type Endorsement as g, type EndorsementData as h, type ExternalAccountKeytraceClaim as i, type LanguageProficiency as j, type PresentationLinkView as k, type ProfileCertification as l, type ProfileCourse as m, type ProfileEducation as n, type ProfileHonor as o, type ProfileIndustry as p, type ProfileLanguage as q, type ProfileLocation as r, type ProfileOverrideSource as s, type ProfilePosition as t, type ProfilePresentation as u, type ProfileProject as v, type ProfilePublication as w, type ProfileVolunteering as x, type PublicationContributor as y, type SkillRef as z };
|
|
423
|
+
export { type AdultContentLabel as A, hasAdultContent as B, type CoSpeaker as C, type ExternalAccount as E, type FeedItem as F, 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, ADULT_CONTENT_LABELS as e, type ActiveApp as f, type Endorsement as g, type EndorsementData as h, type ExternalAccountKeytraceClaim as i, type LanguageProficiency as j, type PresentationLinkView as k, type ProfileCertification as l, type ProfileCourse as m, type ProfileEducation as n, type ProfileHonor as o, type ProfileIndustry as p, type ProfileLanguage as q, type ProfileLocation as r, type ProfileOverrideSource as s, type ProfilePosition as t, type ProfilePresentation as u, type ProfileProject as v, type ProfilePublication as w, type ProfileVolunteering as x, type PublicationContributor as y, type SkillRef as z };
|
|
@@ -180,11 +180,25 @@ interface PresentationLinkView {
|
|
|
180
180
|
label?: string;
|
|
181
181
|
type?: string;
|
|
182
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* A co-speaker on a delivery, hydrated from a stored DID to a profile card.
|
|
185
|
+
* Any atproto account; `hasSifaProfile` is true when they have a claimed Sifa
|
|
186
|
+
* profile (vs an unclaimed atproto account that still renders at /p/<handle>).
|
|
187
|
+
*/
|
|
188
|
+
interface CoSpeaker {
|
|
189
|
+
did: string;
|
|
190
|
+
handle: string;
|
|
191
|
+
displayName?: string;
|
|
192
|
+
avatar?: string;
|
|
193
|
+
hasSifaProfile?: boolean;
|
|
194
|
+
}
|
|
183
195
|
/** An occasion on which a presentation was delivered (the AppView view-model). */
|
|
184
196
|
interface ProfilePresentationDelivery {
|
|
185
197
|
rkey: string;
|
|
186
198
|
/** rkey of the parent presentation when this delivery references one. */
|
|
187
199
|
presentationRkey?: string | null;
|
|
200
|
+
/** Co-speakers at this occasion, hydrated from the stored DIDs. */
|
|
201
|
+
coSpeakers?: CoSpeaker[];
|
|
188
202
|
title?: string | null;
|
|
189
203
|
role?: string | null;
|
|
190
204
|
eventName?: string | null;
|
|
@@ -406,4 +420,4 @@ declare function hasAdultContent(item: {
|
|
|
406
420
|
labels?: ActivityLabel[];
|
|
407
421
|
}): boolean;
|
|
408
422
|
|
|
409
|
-
export { type AdultContentLabel as A, hasAdultContent as B, type ExternalAccount as E, type FeedItem as F, 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, ADULT_CONTENT_LABELS as e, type ActiveApp as f, type Endorsement as g, type EndorsementData as h, type ExternalAccountKeytraceClaim as i, type LanguageProficiency as j, type PresentationLinkView as k, type ProfileCertification as l, type ProfileCourse as m, type ProfileEducation as n, type ProfileHonor as o, type ProfileIndustry as p, type ProfileLanguage as q, type ProfileLocation as r, type ProfileOverrideSource as s, type ProfilePosition as t, type ProfilePresentation as u, type ProfileProject as v, type ProfilePublication as w, type ProfileVolunteering as x, type PublicationContributor as y, type SkillRef as z };
|
|
423
|
+
export { type AdultContentLabel as A, hasAdultContent as B, type CoSpeaker as C, type ExternalAccount as E, type FeedItem as F, 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, ADULT_CONTENT_LABELS as e, type ActiveApp as f, type Endorsement as g, type EndorsementData as h, type ExternalAccountKeytraceClaim as i, type LanguageProficiency as j, type PresentationLinkView as k, type ProfileCertification as l, type ProfileCourse as m, type ProfileEducation as n, type ProfileHonor as o, type ProfileIndustry as p, type ProfileLanguage as q, type ProfileLocation as r, type ProfileOverrideSource as s, type ProfilePosition as t, type ProfilePresentation as u, type ProfileProject as v, type ProfilePublication as w, type ProfileVolunteering as x, type PublicationContributor as y, type SkillRef as z };
|
package/dist/index.cjs
CHANGED
|
@@ -2637,6 +2637,8 @@ var ProfilePresentationDeliveryRecordSchema = zod.z.object({
|
|
|
2637
2637
|
links: zod.z.array(PresentationLinkSchema).max(20).optional(),
|
|
2638
2638
|
// Optional reference to a community.lexicon.calendar.event for this occasion.
|
|
2639
2639
|
eventRef: externalRecordRefSchema.optional(),
|
|
2640
|
+
// DIDs of co-speakers who presented alongside the author at this occasion.
|
|
2641
|
+
coSpeakers: zod.z.array(zod.z.string().regex(/^did:[a-z]+:[^\s]+$/, "must be a DID")).max(20).optional(),
|
|
2640
2642
|
createdAt: datetimeSchema
|
|
2641
2643
|
});
|
|
2642
2644
|
var ProfileProjectRecordSchema = zod.z.object({
|
|
@@ -2693,7 +2695,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
2693
2695
|
});
|
|
2694
2696
|
|
|
2695
2697
|
// src/index.ts
|
|
2696
|
-
var SIFA_SDK_VERSION = "0.11.
|
|
2698
|
+
var SIFA_SDK_VERSION = "0.11.12";
|
|
2697
2699
|
|
|
2698
2700
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
2699
2701
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|