@singi-labs/sifa-sdk 0.18.18 → 0.18.20
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/{index-E2qQbMnv.d.ts → index-66ul8ibE.d.cts} +50 -0
- package/dist/{index-E2qQbMnv.d.cts → index-C13I8diU.d.ts} +50 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -6
- package/dist/index.d.ts +8 -6
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/jsonld/index.d.cts +3 -1
- package/dist/jsonld/index.d.ts +3 -1
- package/dist/{network-map-BYdQF1tr.d.ts → network-map-DSfk3Xy7.d.ts} +4 -4
- package/dist/{network-map-BdDqR9-B.d.cts → network-map-vQIw-05X.d.cts} +4 -4
- package/dist/{org-BftCzySH.d.ts → org-1bHLKAz5.d.ts} +13 -4
- package/dist/{org-DhAmipS-.d.cts → org-DRb5WQq3.d.cts} +13 -4
- package/dist/{org-settings-CZ_tmAYl.d.cts → org-settings-B8e01iZx.d.cts} +1 -1
- package/dist/{org-settings-CZ_tmAYl.d.ts → org-settings-B8e01iZx.d.ts} +1 -1
- package/dist/{profile-investment-vmHROP_v.d.cts → profile-investment-Bvulg_jG.d.cts} +1 -85
- package/dist/{profile-investment-vmHROP_v.d.ts → profile-investment-Bvulg_jG.d.ts} +1 -85
- package/dist/{profile-summary-CKAuwczF.d.ts → profile-summary-CjhrwYBp.d.ts} +1 -1
- package/dist/{profile-summary-BeiM3TmH.d.cts → profile-summary-DMaGicYm.d.cts} +1 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +9 -8
- package/dist/query/fetchers/index.d.ts +9 -8
- package/dist/query/fetchers/index.js.map +1 -1
- package/dist/query/hooks/index.cjs.map +1 -1
- package/dist/query/hooks/index.d.cts +8 -7
- package/dist/query/hooks/index.d.ts +8 -7
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +10 -9
- package/dist/query/index.d.ts +10 -9
- package/dist/query/index.js.map +1 -1
- package/dist/resume/index.d.cts +3 -1
- package/dist/resume/index.d.ts +3 -1
- package/dist/schemas/index.d.cts +2 -1
- package/dist/schemas/index.d.ts +2 -1
- package/dist/schemas/write/index.d.cts +1 -1
- package/dist/schemas/write/index.d.ts +1 -1
- package/dist/shared-v0vl5hov.d.cts +87 -0
- package/dist/shared-v0vl5hov.d.ts +87 -0
- package/dist/{types-2qTC_DBy.d.cts → types-CDrbMqyV.d.cts} +1 -1
- package/dist/{types-CLrLfvXz.d.ts → types-YpOch4Ho.d.ts} +1 -1
- package/dist/{use-org-notification-emails-CxBtveF9.d.ts → use-org-notification-emails-BbwXKpDF.d.ts} +4 -4
- package/dist/{use-org-notification-emails-CR2PDfjF.d.cts → use-org-notification-emails-DZIXFGSp.d.cts} +4 -4
- package/package.json +1 -1
package/dist/jsonld/index.d.cts
CHANGED
package/dist/jsonld/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
3
|
-
import { n as ProfileView } from './types-
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
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-1bHLKAz5.js';
|
|
3
|
+
import { n as ProfileView } from './types-YpOch4Ho.js';
|
|
4
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CjhrwYBp.js';
|
|
5
5
|
import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-BMm9Pkew.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, w as PresentationLinkView } from './index-
|
|
2
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
3
|
-
import { n as ProfileView } from './types-
|
|
4
|
-
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-
|
|
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-DRb5WQq3.cjs';
|
|
3
|
+
import { n as ProfileView } from './types-CDrbMqyV.cjs';
|
|
4
|
+
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-DMaGicYm.cjs';
|
|
5
5
|
import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, m as EntitySelectRequest, o as EntitySelectResponse } from './feed-BMm9Pkew.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as ExternalAccount, Q as SkillSuggestion } from './index-
|
|
1
|
+
import { p as ExternalAccount, Q as SkillSuggestion } from './index-C13I8diU.js';
|
|
2
2
|
import { y as FollowFeedPage, B as FollowProfileItem, q as FeatureAllowlistEntry, s as FeatureFlag } from './feed-BMm9Pkew.js';
|
|
3
|
-
import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
3
|
+
import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-YpOch4Ho.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import {
|
|
5
|
+
import { f as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, d as OrgDomainVerifyRequestInput } from './org-settings-B8e01iZx.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Foundation HTTP client for talking to the Sifa AppView.
|
|
@@ -412,11 +412,20 @@ interface PendingConfirmationsPage {
|
|
|
412
412
|
confirmations: PendingConfirmation[];
|
|
413
413
|
cursor?: string;
|
|
414
414
|
}
|
|
415
|
-
/**
|
|
415
|
+
/**
|
|
416
|
+
* A confirmation the signed-in user has already given.
|
|
417
|
+
*
|
|
418
|
+
* This is an AppView READ shape, not a PDS record, so it is a hand-written
|
|
419
|
+
* interface like {@link PendingConfirmation} and {@link PendingConfirmation}'s
|
|
420
|
+
* siblings -- the Zod schemas in `../schemas` validate lexicon record writes,
|
|
421
|
+
* not these read DTOs. Fields are additive and passed through verbatim.
|
|
422
|
+
*/
|
|
416
423
|
interface GivenConfirmation {
|
|
417
424
|
subjectUri: string;
|
|
418
425
|
claimerDid: string;
|
|
419
426
|
claimerHandle?: string;
|
|
427
|
+
/** Claimer's display name (Sifa override wins), for naming them without a handle. */
|
|
428
|
+
claimerDisplayName?: string;
|
|
420
429
|
relation: string;
|
|
421
430
|
/** The name as it stood when confirmed, so a rename shows as a difference. */
|
|
422
431
|
subjectName: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as ExternalAccount, Q as SkillSuggestion } from './index-
|
|
1
|
+
import { p as ExternalAccount, Q as SkillSuggestion } from './index-66ul8ibE.cjs';
|
|
2
2
|
import { y as FollowFeedPage, B as FollowProfileItem, q as FeatureAllowlistEntry, s as FeatureFlag } from './feed-BMm9Pkew.cjs';
|
|
3
|
-
import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
3
|
+
import { b as ActivityLabel, t as RepoDeleteResult, w as RepoInventory } from './types-CDrbMqyV.cjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import {
|
|
5
|
+
import { f as OrgNotificationEmailRequestInput, b as OrgDomainChallengeRequestInput, O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, d as OrgDomainVerifyRequestInput } from './org-settings-B8e01iZx.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Foundation HTTP client for talking to the Sifa AppView.
|
|
@@ -412,11 +412,20 @@ interface PendingConfirmationsPage {
|
|
|
412
412
|
confirmations: PendingConfirmation[];
|
|
413
413
|
cursor?: string;
|
|
414
414
|
}
|
|
415
|
-
/**
|
|
415
|
+
/**
|
|
416
|
+
* A confirmation the signed-in user has already given.
|
|
417
|
+
*
|
|
418
|
+
* This is an AppView READ shape, not a PDS record, so it is a hand-written
|
|
419
|
+
* interface like {@link PendingConfirmation} and {@link PendingConfirmation}'s
|
|
420
|
+
* siblings -- the Zod schemas in `../schemas` validate lexicon record writes,
|
|
421
|
+
* not these read DTOs. Fields are additive and passed through verbatim.
|
|
422
|
+
*/
|
|
416
423
|
interface GivenConfirmation {
|
|
417
424
|
subjectUri: string;
|
|
418
425
|
claimerDid: string;
|
|
419
426
|
claimerHandle?: string;
|
|
427
|
+
/** Claimer's display name (Sifa override wins), for naming them without a handle. */
|
|
428
|
+
claimerDisplayName?: string;
|
|
420
429
|
relation: string;
|
|
421
430
|
/** The name as it stood when confirmed, so a rename shows as a difference. */
|
|
422
431
|
subjectName: string;
|
|
@@ -73,4 +73,4 @@ declare const OrgNotificationEmailRequestSchema: z.ZodObject<{
|
|
|
73
73
|
}, z.core.$strip>;
|
|
74
74
|
type OrgNotificationEmailRequestInput = z.infer<typeof OrgNotificationEmailRequestSchema>;
|
|
75
75
|
|
|
76
|
-
export { type OrgClaimRequestInput as O,
|
|
76
|
+
export { type OrgClaimRequestInput as O, OrgClaimRequestSchema as a, type OrgDomainChallengeRequestInput as b, OrgDomainChallengeRequestSchema as c, type OrgDomainVerifyRequestInput as d, OrgDomainVerifyRequestSchema as e, type OrgNotificationEmailRequestInput as f, OrgNotificationEmailRequestSchema as g, type OrgProfileUpdateRequestInput as h, OrgProfileUpdateRequestSchema as i };
|
|
@@ -73,4 +73,4 @@ declare const OrgNotificationEmailRequestSchema: z.ZodObject<{
|
|
|
73
73
|
}, z.core.$strip>;
|
|
74
74
|
type OrgNotificationEmailRequestInput = z.infer<typeof OrgNotificationEmailRequestSchema>;
|
|
75
75
|
|
|
76
|
-
export { type OrgClaimRequestInput as O,
|
|
76
|
+
export { type OrgClaimRequestInput as O, OrgClaimRequestSchema as a, type OrgDomainChallengeRequestInput as b, OrgDomainChallengeRequestSchema as c, type OrgDomainVerifyRequestInput as d, OrgDomainVerifyRequestSchema as e, type OrgNotificationEmailRequestInput as f, OrgNotificationEmailRequestSchema as g, type OrgProfileUpdateRequestInput as h, OrgProfileUpdateRequestSchema as i };
|
|
@@ -564,90 +564,6 @@ declare const ProfileVolunteeringRecordSchema: z.ZodObject<{
|
|
|
564
564
|
}, z.core.$strip>;
|
|
565
565
|
type ProfileVolunteeringRecord = z.infer<typeof ProfileVolunteeringRecordSchema>;
|
|
566
566
|
|
|
567
|
-
/**
|
|
568
|
-
* Grapheme-aware refinement matching the AT Protocol lexicon `maxGraphemes`
|
|
569
|
-
* constraint. JS strings are sequences of UTF-16 code units, but lexicon
|
|
570
|
-
* `maxGraphemes` counts user-perceived characters (grapheme clusters), so
|
|
571
|
-
* emoji sequences, regional indicators, ZWJ joins, and combining marks all
|
|
572
|
-
* count as one unit each. We use `Intl.Segmenter` to enforce this correctly.
|
|
573
|
-
*/
|
|
574
|
-
declare function maxGraphemes(max: number): (value: string) => boolean;
|
|
575
|
-
/** Decentralized identifier, AT Protocol `format: did`. */
|
|
576
|
-
declare const didSchema: z.ZodString;
|
|
577
|
-
/** RFC 3339 datetime with timezone offset, AT Protocol `format: datetime`. */
|
|
578
|
-
declare const datetimeSchema: z.ZodString;
|
|
579
|
-
/**
|
|
580
|
-
* Freeform calendar date for user-facing profile dates (start/end, issued,
|
|
581
|
-
* completed, awarded, published, etc.). Accepts a bare year, year-month,
|
|
582
|
-
* year-month-day, or a full datetime (so a legacy record's RFC-3339 date maps
|
|
583
|
-
* through on backfill without loss). NOT strict `datetime` -- users typically
|
|
584
|
-
* remember only month/year, and LinkedIn-importer writes carry partial dates,
|
|
585
|
-
* so the lexicons document these as freeform `YYYY-MM` / `YYYY-MM-DD`. Record
|
|
586
|
-
* metadata like `createdAt` stays on `datetimeSchema`.
|
|
587
|
-
*/
|
|
588
|
-
declare const partialDateSchema: z.ZodString;
|
|
589
|
-
/** Generic AT-URI, AT Protocol `format: at-uri`. */
|
|
590
|
-
declare const atUriSchema: z.ZodString;
|
|
591
|
-
/** Content identifier, AT Protocol `format: cid`. Loose validation -- accepts CIDv0 and CIDv1. */
|
|
592
|
-
declare const cidSchema: z.ZodString;
|
|
593
|
-
/** BCP 47 language tag, AT Protocol `format: language`. */
|
|
594
|
-
declare const languageTagSchema: z.ZodString;
|
|
595
|
-
/** Generic URI, AT Protocol `format: uri`. */
|
|
596
|
-
declare const uriSchema: z.ZodString;
|
|
597
|
-
/**
|
|
598
|
-
* StrongRef shape from `com.atproto.repo.strongRef` -- pins a record by both
|
|
599
|
-
* AT-URI (identity) and CID (version).
|
|
600
|
-
*/
|
|
601
|
-
declare const strongRefSchema: z.ZodObject<{
|
|
602
|
-
uri: z.ZodString;
|
|
603
|
-
cid: z.ZodString;
|
|
604
|
-
}, z.core.$strip>;
|
|
605
|
-
/**
|
|
606
|
-
* Reference to an `id.sifa.profile.skill` record by AT-URI. Mirrors
|
|
607
|
-
* `id.sifa.defs#skillRef`, which carries no CID at all: skills are mutable
|
|
608
|
-
* records in the same user's repo, so the reference resolves live and tracks
|
|
609
|
-
* edits to the target.
|
|
610
|
-
*/
|
|
611
|
-
declare const skillRefSchema: z.ZodObject<{
|
|
612
|
-
uri: z.ZodString;
|
|
613
|
-
}, z.core.$strip>;
|
|
614
|
-
/**
|
|
615
|
-
* Reference to a record by AT-URI, with an optional CID. Mirrors
|
|
616
|
-
* `id.sifa.defs#externalRecordRef`. Unlike a strongRef the CID is optional:
|
|
617
|
-
* consumers resolve the AT-URI live so the reference tracks edits to the
|
|
618
|
-
* target, and the CID is a best-effort integrity hint only.
|
|
619
|
-
*/
|
|
620
|
-
declare const externalRecordRefSchema: z.ZodObject<{
|
|
621
|
-
uri: z.ZodString;
|
|
622
|
-
cid: z.ZodOptional<z.ZodString>;
|
|
623
|
-
}, z.core.$strip>;
|
|
624
|
-
/**
|
|
625
|
-
* Shared reference to an organization or person named by a record. Mirrors
|
|
626
|
-
* `id.sifa.defs#agentRef`. `name` is a point-in-time snapshot label captured
|
|
627
|
-
* when the record was saved; `did` and `entityRef` are the durable identity and
|
|
628
|
-
* should be resolved live. `name` is required so an empty object cannot validate
|
|
629
|
-
* as a no-op. `.passthrough()` (not `.strict()`): external apps may emit fields a
|
|
630
|
-
* newer schema will define, and dropping them on a round-trip would silently
|
|
631
|
-
* lose data.
|
|
632
|
-
*/
|
|
633
|
-
declare const agentRefSchema: z.ZodObject<{
|
|
634
|
-
name: z.ZodString;
|
|
635
|
-
did: z.ZodOptional<z.ZodString>;
|
|
636
|
-
entityRef: z.ZodOptional<z.ZodString>;
|
|
637
|
-
}, z.core.$loose>;
|
|
638
|
-
type AgentRef = z.infer<typeof agentRefSchema>;
|
|
639
|
-
/**
|
|
640
|
-
* Self-labels shape from `com.atproto.label.defs#selfLabels`. Modelled
|
|
641
|
-
* permissively because clients rarely construct this directly; the AppView
|
|
642
|
-
* handles label validation.
|
|
643
|
-
*/
|
|
644
|
-
declare const selfLabelsSchema: z.ZodObject<{
|
|
645
|
-
$type: z.ZodOptional<z.ZodLiteral<"com.atproto.label.defs#selfLabels">>;
|
|
646
|
-
values: z.ZodArray<z.ZodObject<{
|
|
647
|
-
val: z.ZodString;
|
|
648
|
-
}, z.core.$strip>>;
|
|
649
|
-
}, z.core.$strip>;
|
|
650
|
-
|
|
651
567
|
/**
|
|
652
568
|
* A deliberately structured amount. Free text was rejected here: an unparseable
|
|
653
569
|
* money string is worse than no amount at all, and cannot be repaired once people
|
|
@@ -692,4 +608,4 @@ declare const ProfileInvestmentRecordSchema: z.ZodObject<{
|
|
|
692
608
|
}, z.core.$loose>;
|
|
693
609
|
type ProfileInvestmentRecord = z.infer<typeof ProfileInvestmentRecordSchema>;
|
|
694
610
|
|
|
695
|
-
export {
|
|
611
|
+
export { PublicationAuthorSchema as $, type ArtifactLink as A, type BlobRef as B, ProfileInvestmentRecordSchema as C, type ProfileInvolvementRecord as D, type EndorsementConfirmationRecord as E, ProfileInvolvementRecordSchema as F, type GraphFollowRecord as G, type ProfileLanguageRecord as H, InvestmentAmountSchema as I, ProfileLanguageRecordSchema as J, type ProfilePositionRecord as K, ProfilePositionRecordSchema as L, ProfilePresentationDeliveryRecordSchema as M, ProfilePresentationRecordSchema as N, type OrgProfileRecord as O, type PresentationDuration as P, type ProfileProjectRecord as Q, ProfileProjectRecordSchema as R, type ProfilePublicationRecord as S, ProfilePublicationRecordSchema as T, type ProfileSelfRecord as U, ProfileSelfRecordSchema as V, type ProfileSkillRecord as W, ProfileSkillRecordSchema as X, type ProfileVolunteeringRecord as Y, ProfileVolunteeringRecordSchema as Z, type PublicationAuthor as _, type ProfilePresentationDeliveryRecord as a, makeGraphFollowRecordSchema as a0, type ProfileInvestmentRecord as a1, type ProfilePresentationRecord as b, ArtifactLinkSchema as c, BlobRefSchema as d, EndorsementConfirmationRecordSchema as e, type EndorsementRecord as f, EndorsementRecordSchema as g, GraphFollowRecordSchema as h, type OrgEmploymentAttestationRecord as i, OrgEmploymentAttestationRecordSchema as j, OrgProfileRecordSchema as k, PROFILE_INVESTMENT_NSID as l, PROFILE_INVOLVEMENT_NSID as m, PresentationDurationSchema as n, type PresentationLink as o, PresentationLinkSchema as p, type ProfileCertificationRecord as q, ProfileCertificationRecordSchema as r, type ProfileCourseRecord as s, ProfileCourseRecordSchema as t, type ProfileEducationRecord as u, ProfileEducationRecordSchema as v, type ProfileExternalAccountRecord as w, ProfileExternalAccountRecordSchema as x, type ProfileHonorRecord as y, ProfileHonorRecordSchema as z };
|
|
@@ -564,90 +564,6 @@ declare const ProfileVolunteeringRecordSchema: z.ZodObject<{
|
|
|
564
564
|
}, z.core.$strip>;
|
|
565
565
|
type ProfileVolunteeringRecord = z.infer<typeof ProfileVolunteeringRecordSchema>;
|
|
566
566
|
|
|
567
|
-
/**
|
|
568
|
-
* Grapheme-aware refinement matching the AT Protocol lexicon `maxGraphemes`
|
|
569
|
-
* constraint. JS strings are sequences of UTF-16 code units, but lexicon
|
|
570
|
-
* `maxGraphemes` counts user-perceived characters (grapheme clusters), so
|
|
571
|
-
* emoji sequences, regional indicators, ZWJ joins, and combining marks all
|
|
572
|
-
* count as one unit each. We use `Intl.Segmenter` to enforce this correctly.
|
|
573
|
-
*/
|
|
574
|
-
declare function maxGraphemes(max: number): (value: string) => boolean;
|
|
575
|
-
/** Decentralized identifier, AT Protocol `format: did`. */
|
|
576
|
-
declare const didSchema: z.ZodString;
|
|
577
|
-
/** RFC 3339 datetime with timezone offset, AT Protocol `format: datetime`. */
|
|
578
|
-
declare const datetimeSchema: z.ZodString;
|
|
579
|
-
/**
|
|
580
|
-
* Freeform calendar date for user-facing profile dates (start/end, issued,
|
|
581
|
-
* completed, awarded, published, etc.). Accepts a bare year, year-month,
|
|
582
|
-
* year-month-day, or a full datetime (so a legacy record's RFC-3339 date maps
|
|
583
|
-
* through on backfill without loss). NOT strict `datetime` -- users typically
|
|
584
|
-
* remember only month/year, and LinkedIn-importer writes carry partial dates,
|
|
585
|
-
* so the lexicons document these as freeform `YYYY-MM` / `YYYY-MM-DD`. Record
|
|
586
|
-
* metadata like `createdAt` stays on `datetimeSchema`.
|
|
587
|
-
*/
|
|
588
|
-
declare const partialDateSchema: z.ZodString;
|
|
589
|
-
/** Generic AT-URI, AT Protocol `format: at-uri`. */
|
|
590
|
-
declare const atUriSchema: z.ZodString;
|
|
591
|
-
/** Content identifier, AT Protocol `format: cid`. Loose validation -- accepts CIDv0 and CIDv1. */
|
|
592
|
-
declare const cidSchema: z.ZodString;
|
|
593
|
-
/** BCP 47 language tag, AT Protocol `format: language`. */
|
|
594
|
-
declare const languageTagSchema: z.ZodString;
|
|
595
|
-
/** Generic URI, AT Protocol `format: uri`. */
|
|
596
|
-
declare const uriSchema: z.ZodString;
|
|
597
|
-
/**
|
|
598
|
-
* StrongRef shape from `com.atproto.repo.strongRef` -- pins a record by both
|
|
599
|
-
* AT-URI (identity) and CID (version).
|
|
600
|
-
*/
|
|
601
|
-
declare const strongRefSchema: z.ZodObject<{
|
|
602
|
-
uri: z.ZodString;
|
|
603
|
-
cid: z.ZodString;
|
|
604
|
-
}, z.core.$strip>;
|
|
605
|
-
/**
|
|
606
|
-
* Reference to an `id.sifa.profile.skill` record by AT-URI. Mirrors
|
|
607
|
-
* `id.sifa.defs#skillRef`, which carries no CID at all: skills are mutable
|
|
608
|
-
* records in the same user's repo, so the reference resolves live and tracks
|
|
609
|
-
* edits to the target.
|
|
610
|
-
*/
|
|
611
|
-
declare const skillRefSchema: z.ZodObject<{
|
|
612
|
-
uri: z.ZodString;
|
|
613
|
-
}, z.core.$strip>;
|
|
614
|
-
/**
|
|
615
|
-
* Reference to a record by AT-URI, with an optional CID. Mirrors
|
|
616
|
-
* `id.sifa.defs#externalRecordRef`. Unlike a strongRef the CID is optional:
|
|
617
|
-
* consumers resolve the AT-URI live so the reference tracks edits to the
|
|
618
|
-
* target, and the CID is a best-effort integrity hint only.
|
|
619
|
-
*/
|
|
620
|
-
declare const externalRecordRefSchema: z.ZodObject<{
|
|
621
|
-
uri: z.ZodString;
|
|
622
|
-
cid: z.ZodOptional<z.ZodString>;
|
|
623
|
-
}, z.core.$strip>;
|
|
624
|
-
/**
|
|
625
|
-
* Shared reference to an organization or person named by a record. Mirrors
|
|
626
|
-
* `id.sifa.defs#agentRef`. `name` is a point-in-time snapshot label captured
|
|
627
|
-
* when the record was saved; `did` and `entityRef` are the durable identity and
|
|
628
|
-
* should be resolved live. `name` is required so an empty object cannot validate
|
|
629
|
-
* as a no-op. `.passthrough()` (not `.strict()`): external apps may emit fields a
|
|
630
|
-
* newer schema will define, and dropping them on a round-trip would silently
|
|
631
|
-
* lose data.
|
|
632
|
-
*/
|
|
633
|
-
declare const agentRefSchema: z.ZodObject<{
|
|
634
|
-
name: z.ZodString;
|
|
635
|
-
did: z.ZodOptional<z.ZodString>;
|
|
636
|
-
entityRef: z.ZodOptional<z.ZodString>;
|
|
637
|
-
}, z.core.$loose>;
|
|
638
|
-
type AgentRef = z.infer<typeof agentRefSchema>;
|
|
639
|
-
/**
|
|
640
|
-
* Self-labels shape from `com.atproto.label.defs#selfLabels`. Modelled
|
|
641
|
-
* permissively because clients rarely construct this directly; the AppView
|
|
642
|
-
* handles label validation.
|
|
643
|
-
*/
|
|
644
|
-
declare const selfLabelsSchema: z.ZodObject<{
|
|
645
|
-
$type: z.ZodOptional<z.ZodLiteral<"com.atproto.label.defs#selfLabels">>;
|
|
646
|
-
values: z.ZodArray<z.ZodObject<{
|
|
647
|
-
val: z.ZodString;
|
|
648
|
-
}, z.core.$strip>>;
|
|
649
|
-
}, z.core.$strip>;
|
|
650
|
-
|
|
651
567
|
/**
|
|
652
568
|
* A deliberately structured amount. Free text was rejected here: an unparseable
|
|
653
569
|
* money string is worse than no amount at all, and cannot be repaired once people
|
|
@@ -692,4 +608,4 @@ declare const ProfileInvestmentRecordSchema: z.ZodObject<{
|
|
|
692
608
|
}, z.core.$loose>;
|
|
693
609
|
type ProfileInvestmentRecord = z.infer<typeof ProfileInvestmentRecordSchema>;
|
|
694
610
|
|
|
695
|
-
export {
|
|
611
|
+
export { PublicationAuthorSchema as $, type ArtifactLink as A, type BlobRef as B, ProfileInvestmentRecordSchema as C, type ProfileInvolvementRecord as D, type EndorsementConfirmationRecord as E, ProfileInvolvementRecordSchema as F, type GraphFollowRecord as G, type ProfileLanguageRecord as H, InvestmentAmountSchema as I, ProfileLanguageRecordSchema as J, type ProfilePositionRecord as K, ProfilePositionRecordSchema as L, ProfilePresentationDeliveryRecordSchema as M, ProfilePresentationRecordSchema as N, type OrgProfileRecord as O, type PresentationDuration as P, type ProfileProjectRecord as Q, ProfileProjectRecordSchema as R, type ProfilePublicationRecord as S, ProfilePublicationRecordSchema as T, type ProfileSelfRecord as U, ProfileSelfRecordSchema as V, type ProfileSkillRecord as W, ProfileSkillRecordSchema as X, type ProfileVolunteeringRecord as Y, ProfileVolunteeringRecordSchema as Z, type PublicationAuthor as _, type ProfilePresentationDeliveryRecord as a, makeGraphFollowRecordSchema as a0, type ProfileInvestmentRecord as a1, type ProfilePresentationRecord as b, ArtifactLinkSchema as c, BlobRefSchema as d, EndorsementConfirmationRecordSchema as e, type EndorsementRecord as f, EndorsementRecordSchema as g, GraphFollowRecordSchema as h, type OrgEmploymentAttestationRecord as i, OrgEmploymentAttestationRecordSchema as j, OrgProfileRecordSchema as k, PROFILE_INVESTMENT_NSID as l, PROFILE_INVOLVEMENT_NSID as m, PresentationDurationSchema as n, type PresentationLink as o, PresentationLinkSchema as p, type ProfileCertificationRecord as q, ProfileCertificationRecordSchema as r, type ProfileCourseRecord as s, ProfileCourseRecordSchema as t, type ProfileEducationRecord as u, ProfileEducationRecordSchema as v, type ProfileExternalAccountRecord as w, ProfileExternalAccountRecordSchema as x, type ProfileHonorRecord as y, ProfileHonorRecordSchema as z };
|