@singi-labs/sifa-sdk 0.11.3 → 0.11.4
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-CC8eR44a.d.cts → adult-content-Bwr392Yu.d.cts} +46 -1
- package/dist/{adult-content-CC8eR44a.d.ts → adult-content-Bwr392Yu.d.ts} +46 -1
- package/dist/index.cjs +1 -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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{keys-CbkMoJVL.d.ts → keys-BfRke4RH.d.ts} +1 -1
- package/dist/{keys-CmdNZbla.d.cts → keys-opBDjxEP.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.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -174,6 +174,49 @@ interface ProfileCourse {
|
|
|
174
174
|
credentialRkey?: string;
|
|
175
175
|
hidden?: boolean;
|
|
176
176
|
}
|
|
177
|
+
/** A related link on a presentation or delivery, as returned by the AppView. */
|
|
178
|
+
interface PresentationLinkView {
|
|
179
|
+
uri: string;
|
|
180
|
+
label?: string;
|
|
181
|
+
type?: string;
|
|
182
|
+
}
|
|
183
|
+
/** An occasion on which a presentation was delivered (the AppView view-model). */
|
|
184
|
+
interface ProfilePresentationDelivery {
|
|
185
|
+
rkey: string;
|
|
186
|
+
/** rkey of the parent presentation when this delivery references one. */
|
|
187
|
+
presentationRkey?: string | null;
|
|
188
|
+
title?: string | null;
|
|
189
|
+
role?: string | null;
|
|
190
|
+
eventName?: string | null;
|
|
191
|
+
/** Day-only date, YYYY-MM-DD. */
|
|
192
|
+
date?: string | null;
|
|
193
|
+
location?: string | null;
|
|
194
|
+
/** Full community.lexicon.calendar.event mode token. */
|
|
195
|
+
mode?: string | null;
|
|
196
|
+
/** Full community.lexicon.calendar.event status token. */
|
|
197
|
+
status?: string | null;
|
|
198
|
+
links?: PresentationLinkView[];
|
|
199
|
+
/** at-uri of the linked calendar event, when present. */
|
|
200
|
+
eventUri?: string | null;
|
|
201
|
+
hidden?: boolean;
|
|
202
|
+
}
|
|
203
|
+
/** A reusable presentation with its deliveries grouped underneath (AppView view-model). */
|
|
204
|
+
interface ProfilePresentation {
|
|
205
|
+
rkey: string;
|
|
206
|
+
title: string;
|
|
207
|
+
description?: string | null;
|
|
208
|
+
/** Duration in minutes: a fixed value (min only) or a range. */
|
|
209
|
+
duration?: {
|
|
210
|
+
minMinutes: number;
|
|
211
|
+
maxMinutes?: number;
|
|
212
|
+
} | null;
|
|
213
|
+
intendedAudiences?: string[];
|
|
214
|
+
links?: PresentationLinkView[];
|
|
215
|
+
/** at-uri of a long-form write-up (Leaflet / site.standard document). */
|
|
216
|
+
writeupUri?: string | null;
|
|
217
|
+
hidden?: boolean;
|
|
218
|
+
deliveries?: ProfilePresentationDelivery[];
|
|
219
|
+
}
|
|
177
220
|
interface TrustStat {
|
|
178
221
|
key: string;
|
|
179
222
|
label: string;
|
|
@@ -319,6 +362,8 @@ interface Profile {
|
|
|
319
362
|
honors?: ProfileHonor[];
|
|
320
363
|
languages?: ProfileLanguage[];
|
|
321
364
|
courses?: ProfileCourse[];
|
|
365
|
+
presentations?: ProfilePresentation[];
|
|
366
|
+
presentationDeliveries?: ProfilePresentationDelivery[];
|
|
322
367
|
externalAccounts?: ExternalAccount[];
|
|
323
368
|
}
|
|
324
369
|
|
|
@@ -361,4 +406,4 @@ declare function hasAdultContent(item: {
|
|
|
361
406
|
labels?: ActivityLabel[];
|
|
362
407
|
}): boolean;
|
|
363
408
|
|
|
364
|
-
export { type AdultContentLabel as A, 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 PdsProviderInfo as b, type Profile as c, ADULT_CONTENT_LABELS as d, type ActiveApp as e, type Endorsement as f, type EndorsementData as g, type ExternalAccountKeytraceClaim as h, type LanguageProficiency as i, type
|
|
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 PdsProviderInfo as b, type Profile as c, ADULT_CONTENT_LABELS as d, type ActiveApp as e, type Endorsement as f, type EndorsementData as g, type ExternalAccountKeytraceClaim as h, type LanguageProficiency as i, type PresentationLinkView as j, type ProfileCertification as k, type ProfileCourse as l, type ProfileEducation as m, type ProfileHonor as n, type ProfileIndustry as o, type ProfileLanguage as p, type ProfileLocation as q, type ProfileOverrideSource as r, type ProfilePosition as s, type ProfilePresentation as t, type ProfilePresentationDelivery as u, type ProfileProject as v, type ProfilePublication as w, type ProfileVolunteering as x, type PublicationContributor as y, type SkillRef as z };
|
|
@@ -174,6 +174,49 @@ interface ProfileCourse {
|
|
|
174
174
|
credentialRkey?: string;
|
|
175
175
|
hidden?: boolean;
|
|
176
176
|
}
|
|
177
|
+
/** A related link on a presentation or delivery, as returned by the AppView. */
|
|
178
|
+
interface PresentationLinkView {
|
|
179
|
+
uri: string;
|
|
180
|
+
label?: string;
|
|
181
|
+
type?: string;
|
|
182
|
+
}
|
|
183
|
+
/** An occasion on which a presentation was delivered (the AppView view-model). */
|
|
184
|
+
interface ProfilePresentationDelivery {
|
|
185
|
+
rkey: string;
|
|
186
|
+
/** rkey of the parent presentation when this delivery references one. */
|
|
187
|
+
presentationRkey?: string | null;
|
|
188
|
+
title?: string | null;
|
|
189
|
+
role?: string | null;
|
|
190
|
+
eventName?: string | null;
|
|
191
|
+
/** Day-only date, YYYY-MM-DD. */
|
|
192
|
+
date?: string | null;
|
|
193
|
+
location?: string | null;
|
|
194
|
+
/** Full community.lexicon.calendar.event mode token. */
|
|
195
|
+
mode?: string | null;
|
|
196
|
+
/** Full community.lexicon.calendar.event status token. */
|
|
197
|
+
status?: string | null;
|
|
198
|
+
links?: PresentationLinkView[];
|
|
199
|
+
/** at-uri of the linked calendar event, when present. */
|
|
200
|
+
eventUri?: string | null;
|
|
201
|
+
hidden?: boolean;
|
|
202
|
+
}
|
|
203
|
+
/** A reusable presentation with its deliveries grouped underneath (AppView view-model). */
|
|
204
|
+
interface ProfilePresentation {
|
|
205
|
+
rkey: string;
|
|
206
|
+
title: string;
|
|
207
|
+
description?: string | null;
|
|
208
|
+
/** Duration in minutes: a fixed value (min only) or a range. */
|
|
209
|
+
duration?: {
|
|
210
|
+
minMinutes: number;
|
|
211
|
+
maxMinutes?: number;
|
|
212
|
+
} | null;
|
|
213
|
+
intendedAudiences?: string[];
|
|
214
|
+
links?: PresentationLinkView[];
|
|
215
|
+
/** at-uri of a long-form write-up (Leaflet / site.standard document). */
|
|
216
|
+
writeupUri?: string | null;
|
|
217
|
+
hidden?: boolean;
|
|
218
|
+
deliveries?: ProfilePresentationDelivery[];
|
|
219
|
+
}
|
|
177
220
|
interface TrustStat {
|
|
178
221
|
key: string;
|
|
179
222
|
label: string;
|
|
@@ -319,6 +362,8 @@ interface Profile {
|
|
|
319
362
|
honors?: ProfileHonor[];
|
|
320
363
|
languages?: ProfileLanguage[];
|
|
321
364
|
courses?: ProfileCourse[];
|
|
365
|
+
presentations?: ProfilePresentation[];
|
|
366
|
+
presentationDeliveries?: ProfilePresentationDelivery[];
|
|
322
367
|
externalAccounts?: ExternalAccount[];
|
|
323
368
|
}
|
|
324
369
|
|
|
@@ -361,4 +406,4 @@ declare function hasAdultContent(item: {
|
|
|
361
406
|
labels?: ActivityLabel[];
|
|
362
407
|
}): boolean;
|
|
363
408
|
|
|
364
|
-
export { type AdultContentLabel as A, 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 PdsProviderInfo as b, type Profile as c, ADULT_CONTENT_LABELS as d, type ActiveApp as e, type Endorsement as f, type EndorsementData as g, type ExternalAccountKeytraceClaim as h, type LanguageProficiency as i, type
|
|
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 PdsProviderInfo as b, type Profile as c, ADULT_CONTENT_LABELS as d, type ActiveApp as e, type Endorsement as f, type EndorsementData as g, type ExternalAccountKeytraceClaim as h, type LanguageProficiency as i, type PresentationLinkView as j, type ProfileCertification as k, type ProfileCourse as l, type ProfileEducation as m, type ProfileHonor as n, type ProfileIndustry as o, type ProfileLanguage as p, type ProfileLocation as q, type ProfileOverrideSource as r, type ProfilePosition as s, type ProfilePresentation as t, type ProfilePresentationDelivery 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
|
@@ -2444,7 +2444,7 @@ var ProfileVolunteeringRecordSchema = zod.z.object({
|
|
|
2444
2444
|
});
|
|
2445
2445
|
|
|
2446
2446
|
// src/index.ts
|
|
2447
|
-
var SIFA_SDK_VERSION = "0.11.
|
|
2447
|
+
var SIFA_SDK_VERSION = "0.11.4";
|
|
2448
2448
|
|
|
2449
2449
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
2450
2450
|
exports.ACTIVITY_VISIBILITY_RULES = ACTIVITY_VISIBILITY_RULES;
|