@singi-labs/sifa-sdk 0.18.22 → 0.19.0
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/badge/index.cjs.map +1 -1
- package/dist/badge/index.js.map +1 -1
- package/dist/{feed-BMm9Pkew.d.cts → follow-profile-D1l6pulB.d.cts} +1 -190
- package/dist/{feed-BMm9Pkew.d.ts → follow-profile-D1l6pulB.d.ts} +1 -190
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/{network-map-Dupds9nG.d.cts → network-map-C8VCE7HI.d.cts} +2 -2
- package/dist/{network-map-Cwef6yhK.d.ts → network-map-DNE9jp_r.d.ts} +2 -2
- package/dist/{org-DgC4pecF.d.cts → org-8RWC0qSH.d.cts} +198 -191
- package/dist/{org-DC_71Ojb.d.ts → org-BwK-97S0.d.ts} +198 -191
- package/dist/{profile-investment-Bvulg_jG.d.cts → profile-investment-D-nKT3ZK.d.cts} +190 -1
- package/dist/{profile-investment-Bvulg_jG.d.ts → profile-investment-D-nKT3ZK.d.ts} +190 -1
- package/dist/query/fetchers/index.cjs +9 -9
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +4 -4
- package/dist/query/fetchers/index.d.ts +4 -4
- package/dist/query/fetchers/index.js +9 -9
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs +11 -17
- 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 +11 -17
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +12 -18
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +6 -6
- package/dist/query/index.d.ts +6 -6
- package/dist/query/index.js +12 -18
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.d.cts +2 -2
- package/dist/schemas/index.d.ts +2 -2
- package/dist/{use-org-notification-emails-ZmOjvMh0.d.cts → use-org-notification-emails-CeDxRlis.d.cts} +7 -40
- package/dist/{use-org-notification-emails-CHU0JhlL.d.ts → use-org-notification-emails-LIoQtBgD.d.ts} +7 -40
- package/package.json +1 -1
|
@@ -237,193 +237,4 @@ type FeatureAllowlistEntry = z.infer<typeof FeatureAllowlistEntrySchema>;
|
|
|
237
237
|
declare const FEATURE_FLAGS: readonly ["FEED_V5_ENABLED"];
|
|
238
238
|
type FeatureFlag = (typeof FEATURE_FLAGS)[number];
|
|
239
239
|
|
|
240
|
-
|
|
241
|
-
* Feed item from `GET /api/following/feed`. Discriminated on `source`:
|
|
242
|
-
*
|
|
243
|
-
* - `sifa`: a Sifa-native event (e.g. profile update, endorsement).
|
|
244
|
-
* - `atmosphere`: a curated creation event from another ATproto app
|
|
245
|
-
* (Barazo post, etc.). Payload is the hydrated `app.bsky.embed.*#view`
|
|
246
|
-
* shape, NOT the raw record (per memory `sifa-hydrated-view-embed-types`).
|
|
247
|
-
*
|
|
248
|
-
* Both variants share `actor`, `indexedAt`, and `id` (the materialized
|
|
249
|
-
* `feed_events.id` row identifier, used in the cursor).
|
|
250
|
-
*/
|
|
251
|
-
declare const FeedActorSchema: z.ZodObject<{
|
|
252
|
-
did: z.ZodString;
|
|
253
|
-
handle: z.ZodString;
|
|
254
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
255
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
256
|
-
}, z.core.$strip>;
|
|
257
|
-
type FeedActor = z.infer<typeof FeedActorSchema>;
|
|
258
|
-
/**
|
|
259
|
-
* @deprecated The `/api/following/feed` surface was reverted (sifa-api#674).
|
|
260
|
-
* Per `decisions/activity-data-strategy.md` the Sifa Timeline + ATmosphere
|
|
261
|
-
* Stream are two distinct surfaces with different data paths (Barazo API
|
|
262
|
-
* for Timeline, live PDS reads + Valkey for Stream). These collapsed feed
|
|
263
|
-
* types are no longer consumed. Scheduled for removal in next major bump.
|
|
264
|
-
*/
|
|
265
|
-
declare const SifaFeedItemSchema: z.ZodObject<{
|
|
266
|
-
id: z.ZodString;
|
|
267
|
-
actor: z.ZodObject<{
|
|
268
|
-
did: z.ZodString;
|
|
269
|
-
handle: z.ZodString;
|
|
270
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
271
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
272
|
-
}, z.core.$strip>;
|
|
273
|
-
indexedAt: z.ZodString;
|
|
274
|
-
eventType: z.ZodString;
|
|
275
|
-
source: z.ZodLiteral<"sifa">;
|
|
276
|
-
appId: z.ZodOptional<z.ZodLiteral<"sifa">>;
|
|
277
|
-
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
278
|
-
}, z.core.$strip>;
|
|
279
|
-
/**
|
|
280
|
-
* @deprecated The `/api/following/feed` surface was reverted (sifa-api#674).
|
|
281
|
-
* Per `decisions/activity-data-strategy.md` the Sifa Timeline + ATmosphere
|
|
282
|
-
* Stream are two distinct surfaces with different data paths (Barazo API
|
|
283
|
-
* for Timeline, live PDS reads + Valkey for Stream). These collapsed feed
|
|
284
|
-
* types are no longer consumed. Scheduled for removal in next major bump.
|
|
285
|
-
*/
|
|
286
|
-
type SifaFeedItem = z.infer<typeof SifaFeedItemSchema>;
|
|
287
|
-
/**
|
|
288
|
-
* ATmosphere feed item. `payload` is intentionally permissive: it carries
|
|
289
|
-
* a hydrated `app.bsky.embed.*#view` shape that varies by source app. The
|
|
290
|
-
* AppView resolves the hydration; clients render via the existing
|
|
291
|
-
* embed-view union (mirrors `sifa-web/src/components/stream/`).
|
|
292
|
-
*
|
|
293
|
-
* @deprecated The `/api/following/feed` surface was reverted (sifa-api#674).
|
|
294
|
-
* Per `decisions/activity-data-strategy.md` the Sifa Timeline + ATmosphere
|
|
295
|
-
* Stream are two distinct surfaces with different data paths (Barazo API
|
|
296
|
-
* for Timeline, live PDS reads + Valkey for Stream). These collapsed feed
|
|
297
|
-
* types are no longer consumed. Scheduled for removal in next major bump.
|
|
298
|
-
*/
|
|
299
|
-
declare const AtmosphereFeedItemSchema: z.ZodObject<{
|
|
300
|
-
id: z.ZodString;
|
|
301
|
-
actor: z.ZodObject<{
|
|
302
|
-
did: z.ZodString;
|
|
303
|
-
handle: z.ZodString;
|
|
304
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
305
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
306
|
-
}, z.core.$strip>;
|
|
307
|
-
indexedAt: z.ZodString;
|
|
308
|
-
eventType: z.ZodString;
|
|
309
|
-
source: z.ZodLiteral<"atmosphere">;
|
|
310
|
-
appId: z.ZodString;
|
|
311
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
312
|
-
cid: z.ZodOptional<z.ZodString>;
|
|
313
|
-
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
314
|
-
}, z.core.$strip>;
|
|
315
|
-
/**
|
|
316
|
-
* @deprecated The `/api/following/feed` surface was reverted (sifa-api#674).
|
|
317
|
-
* Per `decisions/activity-data-strategy.md` the Sifa Timeline + ATmosphere
|
|
318
|
-
* Stream are two distinct surfaces with different data paths (Barazo API
|
|
319
|
-
* for Timeline, live PDS reads + Valkey for Stream). These collapsed feed
|
|
320
|
-
* types are no longer consumed. Scheduled for removal in next major bump.
|
|
321
|
-
*/
|
|
322
|
-
type AtmosphereFeedItem = z.infer<typeof AtmosphereFeedItemSchema>;
|
|
323
|
-
/**
|
|
324
|
-
* @deprecated The `/api/following/feed` surface was reverted (sifa-api#674).
|
|
325
|
-
* Per `decisions/activity-data-strategy.md` the Sifa Timeline + ATmosphere
|
|
326
|
-
* Stream are two distinct surfaces with different data paths (Barazo API
|
|
327
|
-
* for Timeline, live PDS reads + Valkey for Stream). These collapsed feed
|
|
328
|
-
* types are no longer consumed. Scheduled for removal in next major bump.
|
|
329
|
-
*/
|
|
330
|
-
declare const FollowFeedItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
331
|
-
id: z.ZodString;
|
|
332
|
-
actor: z.ZodObject<{
|
|
333
|
-
did: z.ZodString;
|
|
334
|
-
handle: z.ZodString;
|
|
335
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
336
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
337
|
-
}, z.core.$strip>;
|
|
338
|
-
indexedAt: z.ZodString;
|
|
339
|
-
eventType: z.ZodString;
|
|
340
|
-
source: z.ZodLiteral<"sifa">;
|
|
341
|
-
appId: z.ZodOptional<z.ZodLiteral<"sifa">>;
|
|
342
|
-
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
343
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
344
|
-
id: z.ZodString;
|
|
345
|
-
actor: z.ZodObject<{
|
|
346
|
-
did: z.ZodString;
|
|
347
|
-
handle: z.ZodString;
|
|
348
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
349
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
350
|
-
}, z.core.$strip>;
|
|
351
|
-
indexedAt: z.ZodString;
|
|
352
|
-
eventType: z.ZodString;
|
|
353
|
-
source: z.ZodLiteral<"atmosphere">;
|
|
354
|
-
appId: z.ZodString;
|
|
355
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
356
|
-
cid: z.ZodOptional<z.ZodString>;
|
|
357
|
-
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
358
|
-
}, z.core.$strip>], "source">;
|
|
359
|
-
/**
|
|
360
|
-
* @deprecated The `/api/following/feed` surface was reverted (sifa-api#674).
|
|
361
|
-
* Per `decisions/activity-data-strategy.md` the Sifa Timeline + ATmosphere
|
|
362
|
-
* Stream are two distinct surfaces with different data paths (Barazo API
|
|
363
|
-
* for Timeline, live PDS reads + Valkey for Stream). These collapsed feed
|
|
364
|
-
* types are no longer consumed. Scheduled for removal in next major bump.
|
|
365
|
-
*/
|
|
366
|
-
type FollowFeedItem = z.infer<typeof FollowFeedItemSchema>;
|
|
367
|
-
/**
|
|
368
|
-
* @deprecated The `/api/following/feed` surface was reverted (sifa-api#674).
|
|
369
|
-
* Per `decisions/activity-data-strategy.md` the Sifa Timeline + ATmosphere
|
|
370
|
-
* Stream are two distinct surfaces with different data paths (Barazo API
|
|
371
|
-
* for Timeline, live PDS reads + Valkey for Stream). These collapsed feed
|
|
372
|
-
* types are no longer consumed. Scheduled for removal in next major bump.
|
|
373
|
-
*/
|
|
374
|
-
declare const FollowFeedPageSchema: z.ZodObject<{
|
|
375
|
-
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
376
|
-
id: z.ZodString;
|
|
377
|
-
actor: z.ZodObject<{
|
|
378
|
-
did: z.ZodString;
|
|
379
|
-
handle: z.ZodString;
|
|
380
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
381
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
382
|
-
}, z.core.$strip>;
|
|
383
|
-
indexedAt: z.ZodString;
|
|
384
|
-
eventType: z.ZodString;
|
|
385
|
-
source: z.ZodLiteral<"sifa">;
|
|
386
|
-
appId: z.ZodOptional<z.ZodLiteral<"sifa">>;
|
|
387
|
-
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
388
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
389
|
-
id: z.ZodString;
|
|
390
|
-
actor: z.ZodObject<{
|
|
391
|
-
did: z.ZodString;
|
|
392
|
-
handle: z.ZodString;
|
|
393
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
394
|
-
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
395
|
-
}, z.core.$strip>;
|
|
396
|
-
indexedAt: z.ZodString;
|
|
397
|
-
eventType: z.ZodString;
|
|
398
|
-
source: z.ZodLiteral<"atmosphere">;
|
|
399
|
-
appId: z.ZodString;
|
|
400
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
401
|
-
cid: z.ZodOptional<z.ZodString>;
|
|
402
|
-
payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
403
|
-
}, z.core.$strip>], "source">>;
|
|
404
|
-
cursor: z.ZodNullable<z.ZodString>;
|
|
405
|
-
}, z.core.$strip>;
|
|
406
|
-
/**
|
|
407
|
-
* @deprecated The `/api/following/feed` surface was reverted (sifa-api#674).
|
|
408
|
-
* Per `decisions/activity-data-strategy.md` the Sifa Timeline + ATmosphere
|
|
409
|
-
* Stream are two distinct surfaces with different data paths (Barazo API
|
|
410
|
-
* for Timeline, live PDS reads + Valkey for Stream). These collapsed feed
|
|
411
|
-
* types are no longer consumed. Scheduled for removal in next major bump.
|
|
412
|
-
*/
|
|
413
|
-
type FollowFeedPage = z.infer<typeof FollowFeedPageSchema>;
|
|
414
|
-
/**
|
|
415
|
-
* Composite feed cursor `(indexedAt DESC, source, id)`. Encoded as a
|
|
416
|
-
* URL-safe base64 string so it survives `URLSearchParams` round-trips
|
|
417
|
-
* without further encoding. Decoupling encode/decode from the API call
|
|
418
|
-
* lets consumers persist cursors (e.g. for "jump-back-here" UX) and
|
|
419
|
-
* lets us unit-test the format.
|
|
420
|
-
*/
|
|
421
|
-
interface FeedCursor {
|
|
422
|
-
indexedAt: string;
|
|
423
|
-
source: 'sifa' | 'atmosphere';
|
|
424
|
-
id: string;
|
|
425
|
-
}
|
|
426
|
-
declare function encodeFeedCursor(cursor: FeedCursor): string;
|
|
427
|
-
declare function decodeFeedCursor(encoded: string): FeedCursor;
|
|
428
|
-
|
|
429
|
-
export { type AtmosphereFeedItem as A, type FollowProfileItem as B, type FollowProfilePage as C, FollowProfilePageSchema as D, type EntitySearchResult 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, type EntityImportSearchResponse as b, EntityImportSearchResponseSchema as c, type EntityMintDomainResponse as d, EntityMintDomainResponseSchema as e, type EntityResolveDomainRequest as f, EntityResolveDomainRequestSchema as g, type EntityResolveDomainResponse as h, EntityResolveDomainResponseSchema as i, type EntitySearchResponse as j, EntitySearchResponseSchema 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 };
|
|
240
|
+
export { type EntitySearchResult as E, FEATURE_FLAGS as F, type EntityImportSearchResponse 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, EntitySearchResultSchema as k, type EntitySelectRequest as l, EntitySelectRequestSchema as m, type EntitySelectResponse as n, EntitySelectResponseSchema as o, type FeatureAllowlistEntry as p, FeatureAllowlistEntrySchema as q, type FeatureFlag as r, type FollowProfileItem as s, type FollowProfilePage as t, FollowProfilePageSchema as u, FollowProfileSchema as v };
|
package/dist/index.cjs
CHANGED
|
@@ -6417,7 +6417,7 @@ function describeSifaRecord(collection, value) {
|
|
|
6417
6417
|
}
|
|
6418
6418
|
|
|
6419
6419
|
// src/index.ts
|
|
6420
|
-
var SIFA_SDK_VERSION = "0.
|
|
6420
|
+
var SIFA_SDK_VERSION = "0.19.0";
|
|
6421
6421
|
|
|
6422
6422
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
6423
6423
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement } from './index-66ul8ibE.cjs';
|
|
2
2
|
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, R as RecognizedEntity, S as SkillRef, Q as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-66ul8ibE.cjs';
|
|
3
3
|
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, S as SIFA_REPO_GROUPS, z as SkillView, V as VolunteeringView, B as describeSifaRecord, F as hasAdultContent, G as repoGroupForCollection } from './types-CDrbMqyV.cjs';
|
|
4
|
-
import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-
|
|
5
|
-
export { A as ArtifactLink, c as ArtifactLinkSchema, B as BlobRef,
|
|
4
|
+
import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-D-nKT3ZK.cjs';
|
|
5
|
+
export { A as ArtifactLink, c as ArtifactLinkSchema, d as AtmosphereFeedItem, e as AtmosphereFeedItemSchema, B as BlobRef, f as BlobRefSchema, E as EndorsementConfirmationRecord, g as EndorsementConfirmationRecordSchema, h as EndorsementRecord, i as EndorsementRecordSchema, F as FeedActor, j as FeedActorSchema, k as FeedCursor, l as FollowFeedItem, m as FollowFeedItemSchema, n as FollowFeedPage, o as FollowFeedPageSchema, G as GraphFollowRecord, p as GraphFollowRecordSchema, I as InvestmentAmountSchema, q as OrgEmploymentAttestationRecord, r as OrgEmploymentAttestationRecordSchema, s as OrgProfileRecordSchema, t as PROFILE_INVESTMENT_NSID, u as PROFILE_INVOLVEMENT_NSID, v as PresentationDurationSchema, w as PresentationLink, x as PresentationLinkSchema, y as ProfileCertificationRecord, z as ProfileCertificationRecordSchema, C as ProfileCourseRecord, D as ProfileCourseRecordSchema, H as ProfileEducationRecord, J as ProfileEducationRecordSchema, K as ProfileExternalAccountRecord, L as ProfileExternalAccountRecordSchema, M as ProfileHonorRecord, N as ProfileHonorRecordSchema, Q as ProfileInvestmentRecordSchema, R as ProfileInvolvementRecord, S as ProfileInvolvementRecordSchema, T as ProfileLanguageRecord, U as ProfileLanguageRecordSchema, V as ProfilePositionRecord, W as ProfilePositionRecordSchema, X as ProfilePresentationDeliveryRecordSchema, Y as ProfilePresentationRecordSchema, Z as ProfileProjectRecord, _ as ProfileProjectRecordSchema, $ as ProfilePublicationRecord, a0 as ProfilePublicationRecordSchema, a1 as ProfileSelfRecord, a2 as ProfileSelfRecordSchema, a3 as ProfileSkillRecord, a4 as ProfileSkillRecordSchema, a5 as ProfileVolunteeringRecord, a6 as ProfileVolunteeringRecordSchema, a7 as PublicationAuthor, a8 as PublicationAuthorSchema, a9 as SifaFeedItem, aa as SifaFeedItemSchema, ab as decodeFeedCursor, ac as encodeFeedCursor, ad as makeGraphFollowRecordSchema } from './profile-investment-D-nKT3ZK.cjs';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-DMaGicYm.cjs';
|
|
8
|
-
import { E as EntitySearchResult } from './
|
|
9
|
-
export {
|
|
8
|
+
import { E as EntitySearchResult } from './follow-profile-D1l6pulB.cjs';
|
|
9
|
+
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-D1l6pulB.cjs';
|
|
10
10
|
import { A as AgentRef } from './shared-v0vl5hov.cjs';
|
|
11
11
|
export { a as agentRefSchema, b as atUriSchema, c as cidSchema, d as datetimeSchema, e as didSchema, f as externalRecordRefSchema, l as languageTagSchema, m as maxGraphemes, p as partialDateSchema, s as selfLabelsSchema, g as skillRefSchema, h as strongRefSchema, u as uriSchema } from './shared-v0vl5hov.cjs';
|
|
12
12
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { P as ProfileSkill, a as ProfilePresentationDelivery, L as LocationValue, b as PdsProviderInfo, c as Profile, A as AccountFacetMode, d as ProfilePosition, e as ProfileCertification, f as ProfileEducation, g as ProfileHonor, h as ProfileLanguage, i as ProfileProject, j as ProfilePublication, k as ProfileInvolvement } from './index-C13I8diU.js';
|
|
2
2
|
export { l as ActiveApp, m as ActorCard, n as AuthorSuggestion, C as CoSpeaker, E as Endorsement, o as EndorsementData, p as ExternalAccount, q as ExternalAccountKeytraceClaim, F as FeedItem, r as LanguageProficiency, O as OrgAddressView, s as OrgFloorVerdict, t as OrgLinkView, u as OrgProfileView, v as PROJECT_ROLES, w as PresentationLinkView, x as ProfileCourse, y as ProfileIndustry, z as ProfileInvestment, B as ProfileInvestmentLink, D as ProfileInvolvementLink, G as ProfileLocation, H as ProfileOverrideSource, I as ProfilePresentation, J as ProfileVolunteering, K as ProjectMemberCard, M as ProjectRole, N as PublicationContributor, R as RecognizedEntity, S as SkillRef, Q as SkillSuggestion, T as TrustStat, V as VerifiedAccount } from './index-C13I8diU.js';
|
|
3
3
|
export { A as ADULT_CONTENT_LABELS, a as ActiveAppView, b as ActivityLabel, c as AdultContentLabel, d as AtfundLinkView, C as CertificationView, e as CoSpeakerView, f as ContributorView, g as CourseView, D as DurationView, E as EducationView, h as ExternalAccountView, H as HonorView, I as IndustryDomain, i as InvolvementLinkView, j as InvolvementView, L as LanguageView, P as PositionView, k as PresentationDeliveryView, l as PresentationView, m as ProfileLocationView, n as ProfileView, o as ProjectMemberView, p as ProjectView, q as PublicationView, R as RepoCollectionGroup, r as RepoDeleteOutcome, s as RepoDeleteRecordResult, t as RepoDeleteResult, u as RepoGroupDefinition, v as RepoGroupId, w as RepoInventory, x as RepoRecordLabel, y as RepoRecordSummary, S as SIFA_REPO_GROUPS, z as SkillView, V as VolunteeringView, B as describeSifaRecord, F as hasAdultContent, G as repoGroupForCollection } from './types-YpOch4Ho.js';
|
|
4
|
-
import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-
|
|
5
|
-
export { A as ArtifactLink, c as ArtifactLinkSchema, B as BlobRef,
|
|
4
|
+
import { P as PresentationDuration, a as ProfilePresentationDeliveryRecord, b as ProfilePresentationRecord, O as OrgProfileRecord } from './profile-investment-D-nKT3ZK.js';
|
|
5
|
+
export { A as ArtifactLink, c as ArtifactLinkSchema, d as AtmosphereFeedItem, e as AtmosphereFeedItemSchema, B as BlobRef, f as BlobRefSchema, E as EndorsementConfirmationRecord, g as EndorsementConfirmationRecordSchema, h as EndorsementRecord, i as EndorsementRecordSchema, F as FeedActor, j as FeedActorSchema, k as FeedCursor, l as FollowFeedItem, m as FollowFeedItemSchema, n as FollowFeedPage, o as FollowFeedPageSchema, G as GraphFollowRecord, p as GraphFollowRecordSchema, I as InvestmentAmountSchema, q as OrgEmploymentAttestationRecord, r as OrgEmploymentAttestationRecordSchema, s as OrgProfileRecordSchema, t as PROFILE_INVESTMENT_NSID, u as PROFILE_INVOLVEMENT_NSID, v as PresentationDurationSchema, w as PresentationLink, x as PresentationLinkSchema, y as ProfileCertificationRecord, z as ProfileCertificationRecordSchema, C as ProfileCourseRecord, D as ProfileCourseRecordSchema, H as ProfileEducationRecord, J as ProfileEducationRecordSchema, K as ProfileExternalAccountRecord, L as ProfileExternalAccountRecordSchema, M as ProfileHonorRecord, N as ProfileHonorRecordSchema, Q as ProfileInvestmentRecordSchema, R as ProfileInvolvementRecord, S as ProfileInvolvementRecordSchema, T as ProfileLanguageRecord, U as ProfileLanguageRecordSchema, V as ProfilePositionRecord, W as ProfilePositionRecordSchema, X as ProfilePresentationDeliveryRecordSchema, Y as ProfilePresentationRecordSchema, Z as ProfileProjectRecord, _ as ProfileProjectRecordSchema, $ as ProfilePublicationRecord, a0 as ProfilePublicationRecordSchema, a1 as ProfileSelfRecord, a2 as ProfileSelfRecordSchema, a3 as ProfileSkillRecord, a4 as ProfileSkillRecordSchema, a5 as ProfileVolunteeringRecord, a6 as ProfileVolunteeringRecordSchema, a7 as PublicationAuthor, a8 as PublicationAuthorSchema, a9 as SifaFeedItem, aa as SifaFeedItemSchema, ab as decodeFeedCursor, ac as encodeFeedCursor, ad as makeGraphFollowRecordSchema } from './profile-investment-D-nKT3ZK.js';
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
export { P as ProfileSummary, S as SummarizeProfileViewOptions, s as summarizeProfileView } from './profile-summary-CjhrwYBp.js';
|
|
8
|
-
import { E as EntitySearchResult } from './
|
|
9
|
-
export {
|
|
8
|
+
import { E as EntitySearchResult } from './follow-profile-D1l6pulB.js';
|
|
9
|
+
export { a as EntityImportSearchResponse, b as EntityImportSearchResponseSchema, c as EntityMintDomainResponse, d as EntityMintDomainResponseSchema, e as EntityResolveDomainRequest, f as EntityResolveDomainRequestSchema, g as EntityResolveDomainResponse, h as EntityResolveDomainResponseSchema, i as EntitySearchResponse, j as EntitySearchResponseSchema, k as EntitySearchResultSchema, l as EntitySelectRequest, m as EntitySelectRequestSchema, n as EntitySelectResponse, o as EntitySelectResponseSchema, F as FEATURE_FLAGS, p as FeatureAllowlistEntry, q as FeatureAllowlistEntrySchema, r as FeatureFlag, s as FollowProfileItem, t as FollowProfilePage, u as FollowProfilePageSchema, v as FollowProfileSchema } from './follow-profile-D1l6pulB.js';
|
|
10
10
|
import { A as AgentRef } from './shared-v0vl5hov.js';
|
|
11
11
|
export { a as agentRefSchema, b as atUriSchema, c as cidSchema, d as datetimeSchema, e as didSchema, f as externalRecordRefSchema, l as languageTagSchema, m as maxGraphemes, p as partialDateSchema, s as selfLabelsSchema, g as skillRefSchema, h as strongRefSchema, u as uriSchema } from './shared-v0vl5hov.js';
|
|
12
12
|
|
package/dist/index.js
CHANGED
|
@@ -6415,7 +6415,7 @@ function describeSifaRecord(collection, value) {
|
|
|
6415
6415
|
}
|
|
6416
6416
|
|
|
6417
6417
|
// src/index.ts
|
|
6418
|
-
var SIFA_SDK_VERSION = "0.
|
|
6418
|
+
var SIFA_SDK_VERSION = "0.19.0";
|
|
6419
6419
|
|
|
6420
6420
|
export { ACTIVITY_TIERS, ACTIVITY_VERBS, ACTIVITY_VISIBILITY_RULES, ADULT_CONTENT_LABELS, ALL_SECTIONS, APP_CATEGORIES, APP_CATEGORY_IDS, APP_CATEGORY_MAP, APP_URL_PATTERNS, ARTIFACT_LINK_KIND_LABELS, ARTIFACT_LINK_KIND_OPTIONS, ArtifactLinkSchema, AtmosphereFeedItemSchema, BlobRefSchema, CALENDAR_EVENT_MODE_LABELS, CALENDAR_EVENT_STATUS_LABELS, CATEGORY_LABELS, CATEGORY_ORDER, COLLECTION_TO_APP, COMPANY_OPTIONAL_EMPLOYMENT_TYPES, COMPANY_PAGE_MIN_FIRMOGRAPHIC_FIELDS, COMPLETENESS_MAX_SCORE, CONTINENTS, COUNTRIES, DIMENSIONS_MAX_SCORE, EMPLOYMENT_TYPE_GROUPS, EMPLOYMENT_TYPE_LABELS, ENTITY_REF_ANCHORS, EndorsementConfirmationRecordSchema, EndorsementRecordSchema, EntityImportSearchResponseSchema, EntityMintDomainResponseSchema, EntityResolveDomainRequestSchema, EntityResolveDomainResponseSchema, EntitySearchResponseSchema, EntitySearchResultSchema, EntitySelectRequestSchema, EntitySelectResponseSchema, FEATURE_FLAGS, FeatureAllowlistEntrySchema, FeedActorSchema, FollowFeedItemSchema, FollowFeedPageSchema, FollowProfilePageSchema, FollowProfileSchema, GraphFollowRecordSchema, INDUSTRY_OPTIONS, INVESTMENT_ROLE_LABELS, INVESTMENT_ROLE_OPTIONS, INVESTMENT_STAGE_LABELS, INVESTMENT_STAGE_OPTIONS, INVESTMENT_STATUS_LABELS, INVESTMENT_STATUS_OPTIONS, INVOLVEMENT_HEADING_ORDER, INVOLVEMENT_KIND_HEADINGS, INVOLVEMENT_KIND_LABELS, INVOLVEMENT_KIND_OPTIONS, InvestmentAmountSchema, MIN_SKILLS, ON_BEHALF_OF_EMPLOYMENT_TYPES, OPEN_TO_OPTIONS, OPEN_TO_TOKENS, OPEN_TO_TOKEN_TO_VALUE, OPEN_TO_VALUE_TO_TOKEN, OrgEmploymentAttestationRecordSchema, OrgProfileRecordSchema, PLATFORM_LABELS, PLATFORM_OPTIONS, PRESENTATION_LINK_TYPE_LABELS, PRESENTATION_LINK_TYPE_OPTIONS, PRESENTATION_ROLE_LABELS, PRESENTATION_ROLE_OPTIONS, PROFILE_INVESTMENT_NSID, PROFILE_INVOLVEMENT_NSID, PROJECT_ROLES, PUBLICATION_TYPE_LABELS, PUBLICATION_TYPE_OPTIONS, PUBLISHERS, PresentationDurationSchema, PresentationLinkSchema, ProfileCertificationRecordSchema, ProfileCourseRecordSchema, ProfileEducationRecordSchema, ProfileExternalAccountRecordSchema, ProfileHonorRecordSchema, ProfileInvestmentRecordSchema, ProfileInvolvementRecordSchema, ProfileLanguageRecordSchema, ProfilePositionRecordSchema, ProfilePresentationDeliveryRecordSchema, ProfilePresentationRecordSchema, ProfileProjectRecordSchema, ProfilePublicationRecordSchema, ProfileSelfRecordSchema, ProfileSkillRecordSchema, ProfileVolunteeringRecordSchema, PublicationAuthorSchema, ROADMAP_ISSUES_REPO, ROADMAP_ITEM_META, SECTION_GROUPS, SECTION_LABELS, SELF_APP_ID, SIFA_REPO_GROUPS, SIFA_SDK_VERSION, SKILL_CATEGORIES, STANDARD_PUBLISHER_ID, STREAM_VERBS, SifaFeedItemSchema, VERIFICATION_PROVIDERS, WORKPLACE_TYPE_LABELS, WORKPLACE_TYPE_OPTIONS, actorShowsIdentity, agentRefSchema, atUriSchema, buildMetaDescription, buildProfileHighlights, buildTalkSlug, categoryForApp, certDateExtractor, cidSchema, classifyEntityRef, completenessPercent, completenessScore, contrastRatio, countFilledDimensions, countRecentActivity, countryCodeToFlag, dateRangeExtractor, datetimeSchema, decodeFeedCursor, dedupeSkills, describeSifaRecord, detectPdsProvider, didSchema, dimensionsFromInputs, durationFromMinutes, encodeFeedCursor, entityDisambiguationLabel, entityResultKey, excludeSelfApp, externalRecordRefSchema, filterHidden, findIndustry, formatCompanyName, formatDateRange, formatDisplayUrl, formatDistanceToNow, formatEventDate, formatLocation, formatPresentationDuration, formatRelativeTime, formatSingleDate, formatSpanDate, formatTimelineDate, getActivityTaxonomyVersion, getActivityTier, getActivityVerbsVersion, getAppCategoryIcon, getAppIdForCollection, getArtifactLinkKindLabel, getCalendarEventModeLabel, getCalendarEventStatusLabel, getContinent, getDisplayLabel, getEmploymentTypeLabel, getFaviconUrl, getFilledDimensionsMap, getHandleStem, getIndustryLabelKey, getInvestmentRoleLabel, getInvestmentStageLabel, getInvestmentStatusLabel, getInvolvementKindHeading, getInvolvementKindLabel, getLexiconEntry, getOpenToLabelKey, getPdsDisplayName, getPlatformLabel, getPresentationLinkTypeLabel, getPresentationRoleLabel, getPublicationTypeLabel, getPublisherByHost, getPublisherById, getPublisherFromSiteUrl, getTierMeta, getVerificationProvider, getVisibleSectionIds, getWorkplaceTypeLabel, groupInvolvementByHeading, groupSkillsByCategory, groupSkillsBySubCategory, groupSkillsForDisplay, hasAdultContent, hasPersonalProfileContent, hoistPrimary, isAppCategory, isCompanyPageIndexable, isCompanyRequired, isKnownAppId, isKnownPlatform, isKnownVerificationProvider, isLinked, isOnBehalfOfApplicable, isPseudoEmployer, isRegistrableDomainHandle, isRoleLineRedundant, isSectionPopulated, isValidRgbColor, isVisibleActivityItem, languageTagSchema, lexiconDateExtractor, limitCombiningMarks, locationSegments, looksLikeDomain, makeGraphFollowRecordSchema, maxGraphemes, meetsContrastAA, normalizeCompanyKey, normalizeDoi, normalizeLegalForm, normalizeOpenTo, normalizePlatformId, normalizePresentationMode, normalizePresentationRole, normalizeSkillCategory, normalizeWorkplaceTypes, openToTokenToValue, openToValueToToken, parseIntendedAudiences, parseLocationString, parsePresentationDuration, parseTalkRkey, partialDateSchema, pdsProviderFromApi, pickPrimaryFlagged, pickPrimaryPosition, presentationCsvRowToRecord, presentationDeliveryCsvRowToRecord, primaryVerification, profileToDimensionInputs, qualifiesAsOrg, relativeLuminance, rendersCompanyProfile, rendersPersonalProfile, repoGroupForCollection, resolveAccountFacetMode, resolveAgentRef, resolveCardHealth, resolveCardUrl, resolveEmbed, resolveVerifierProvider, rgbToString, roadmapIssueUrl, sanitizeDisplayText, sanitizeHandleInput, searchResultDisambiguation, selfLabelsSchema, shouldRenderHighlights, singleDateExtractor, skillRefSchema, slugifyTitle, sortByActiveDateRange, sortByDateDesc, sortCertifications, sortEducation, sortHonors, sortLanguages, sortLanguagesByProficiency, sortPositions, sortProjects, sortPublications, streamAddressSchema, streamAuthorSchema, streamCardBodySchema, streamCardSubjectSchema, streamCardVMSchema, streamExternalLinkSchema, streamGeoSchema, streamMediaSchema, streamRichSegmentSchema, streamSourceSchema, streamThemeSchema, streamVerbSchema, stripHtmlToText, strongRefSchema, summarizePresentationDeliveries, summarizeProfileView, toStreamCardVM, toStreamCardVMs, truncateGraphemes, uriSchema, verbForCollection, visibleItems, youtubeThumbnailUrl, youtubeVideoId };
|
|
6421
6421
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-66ul8ibE.cjs';
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
2
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-8RWC0qSH.cjs';
|
|
3
3
|
import { n as ProfileView } from './types-CDrbMqyV.cjs';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DMaGicYm.cjs';
|
|
5
|
-
import {
|
|
5
|
+
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Read the aggregated profile for a handle or DID.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-C13I8diU.js';
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
2
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-BwK-97S0.js';
|
|
3
3
|
import { n as ProfileView } from './types-YpOch4Ho.js';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CjhrwYBp.js';
|
|
5
|
-
import {
|
|
5
|
+
import { i as EntitySearchResponse, E as EntitySearchResult, c as EntityMintDomainResponse, g as EntityResolveDomainResponse, l as EntitySelectRequest, n as EntitySelectResponse } from './follow-profile-D1l6pulB.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Read the aggregated profile for a handle or DID.
|