@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/resume/index.d.cts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, J as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount } from '../index-
|
|
1
|
+
import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, J as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount } from '../index-66ul8ibE.cjs';
|
|
2
|
+
import '../shared-v0vl5hov.cjs';
|
|
3
|
+
import 'zod';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* JSON Resume v1.0.0 emitter for a Sifa profile.
|
package/dist/resume/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, J as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount } from '../index-
|
|
1
|
+
import { L as LocationValue, d as ProfilePosition, f as ProfileEducation, P as ProfileSkill, e as ProfileCertification, i as ProfileProject, j as ProfilePublication, J as ProfileVolunteering, g as ProfileHonor, h as ProfileLanguage, p as ExternalAccount } from '../index-C13I8diU.js';
|
|
2
|
+
import '../shared-v0vl5hov.js';
|
|
3
|
+
import 'zod';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* JSON Resume v1.0.0 emitter for a Sifa profile.
|
package/dist/schemas/index.d.cts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { A as
|
|
1
|
+
export { A as ArtifactLink, c as ArtifactLinkSchema, B as BlobRef, d as BlobRefSchema, E as EndorsementConfirmationRecord, e as EndorsementConfirmationRecordSchema, f as EndorsementRecord, g as EndorsementRecordSchema, G as GraphFollowRecord, h as GraphFollowRecordSchema, I as InvestmentAmountSchema, i as OrgEmploymentAttestationRecord, j as OrgEmploymentAttestationRecordSchema, O as OrgProfileRecord, k as OrgProfileRecordSchema, l as PROFILE_INVESTMENT_NSID, m as PROFILE_INVOLVEMENT_NSID, P as PresentationDuration, n as PresentationDurationSchema, o as PresentationLink, p as PresentationLinkSchema, q as ProfileCertificationRecord, r as ProfileCertificationRecordSchema, s as ProfileCourseRecord, t as ProfileCourseRecordSchema, u as ProfileEducationRecord, v as ProfileEducationRecordSchema, w as ProfileExternalAccountRecord, x as ProfileExternalAccountRecordSchema, y as ProfileHonorRecord, z as ProfileHonorRecordSchema, a1 as ProfileInvestmentRecord, C as ProfileInvestmentRecordSchema, D as ProfileInvolvementRecord, F as ProfileInvolvementRecordSchema, H as ProfileLanguageRecord, J as ProfileLanguageRecordSchema, K as ProfilePositionRecord, L as ProfilePositionRecordSchema, a as ProfilePresentationDeliveryRecord, M as ProfilePresentationDeliveryRecordSchema, b as ProfilePresentationRecord, N as ProfilePresentationRecordSchema, Q as ProfileProjectRecord, R as ProfileProjectRecordSchema, S as ProfilePublicationRecord, T as ProfilePublicationRecordSchema, U as ProfileSelfRecord, V as ProfileSelfRecordSchema, W as ProfileSkillRecord, X as ProfileSkillRecordSchema, Y as ProfileVolunteeringRecord, Z as ProfileVolunteeringRecordSchema, _ as PublicationAuthor, $ as PublicationAuthorSchema, a0 as makeGraphFollowRecordSchema } from '../profile-investment-Bvulg_jG.cjs';
|
|
2
2
|
export { A as AtmosphereFeedItem, a as AtmosphereFeedItemSchema, b as EntityImportSearchResponse, c as EntityImportSearchResponseSchema, d as EntityMintDomainResponse, e as EntityMintDomainResponseSchema, f as EntityResolveDomainRequest, g as EntityResolveDomainRequestSchema, h as EntityResolveDomainResponse, i as EntityResolveDomainResponseSchema, j as EntitySearchResponse, k as EntitySearchResponseSchema, E as EntitySearchResult, l as EntitySearchResultSchema, m as EntitySelectRequest, n as EntitySelectRequestSchema, o as EntitySelectResponse, p as EntitySelectResponseSchema, F as FEATURE_FLAGS, q as FeatureAllowlistEntry, r as FeatureAllowlistEntrySchema, s as FeatureFlag, t as FeedActor, u as FeedActorSchema, v as FeedCursor, w as FollowFeedItem, x as FollowFeedItemSchema, y as FollowFeedPage, z as FollowFeedPageSchema, B as FollowProfileItem, C as FollowProfilePage, D as FollowProfilePageSchema, G as FollowProfileSchema, S as SifaFeedItem, H as SifaFeedItemSchema, I as decodeFeedCursor, J as encodeFeedCursor } from '../feed-BMm9Pkew.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
+
export { A as AgentRef, 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';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Relations shipped today. The lexicon declares these as `knownValues`, not an
|
package/dist/schemas/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export { A as
|
|
1
|
+
export { A as ArtifactLink, c as ArtifactLinkSchema, B as BlobRef, d as BlobRefSchema, E as EndorsementConfirmationRecord, e as EndorsementConfirmationRecordSchema, f as EndorsementRecord, g as EndorsementRecordSchema, G as GraphFollowRecord, h as GraphFollowRecordSchema, I as InvestmentAmountSchema, i as OrgEmploymentAttestationRecord, j as OrgEmploymentAttestationRecordSchema, O as OrgProfileRecord, k as OrgProfileRecordSchema, l as PROFILE_INVESTMENT_NSID, m as PROFILE_INVOLVEMENT_NSID, P as PresentationDuration, n as PresentationDurationSchema, o as PresentationLink, p as PresentationLinkSchema, q as ProfileCertificationRecord, r as ProfileCertificationRecordSchema, s as ProfileCourseRecord, t as ProfileCourseRecordSchema, u as ProfileEducationRecord, v as ProfileEducationRecordSchema, w as ProfileExternalAccountRecord, x as ProfileExternalAccountRecordSchema, y as ProfileHonorRecord, z as ProfileHonorRecordSchema, a1 as ProfileInvestmentRecord, C as ProfileInvestmentRecordSchema, D as ProfileInvolvementRecord, F as ProfileInvolvementRecordSchema, H as ProfileLanguageRecord, J as ProfileLanguageRecordSchema, K as ProfilePositionRecord, L as ProfilePositionRecordSchema, a as ProfilePresentationDeliveryRecord, M as ProfilePresentationDeliveryRecordSchema, b as ProfilePresentationRecord, N as ProfilePresentationRecordSchema, Q as ProfileProjectRecord, R as ProfileProjectRecordSchema, S as ProfilePublicationRecord, T as ProfilePublicationRecordSchema, U as ProfileSelfRecord, V as ProfileSelfRecordSchema, W as ProfileSkillRecord, X as ProfileSkillRecordSchema, Y as ProfileVolunteeringRecord, Z as ProfileVolunteeringRecordSchema, _ as PublicationAuthor, $ as PublicationAuthorSchema, a0 as makeGraphFollowRecordSchema } from '../profile-investment-Bvulg_jG.js';
|
|
2
2
|
export { A as AtmosphereFeedItem, a as AtmosphereFeedItemSchema, b as EntityImportSearchResponse, c as EntityImportSearchResponseSchema, d as EntityMintDomainResponse, e as EntityMintDomainResponseSchema, f as EntityResolveDomainRequest, g as EntityResolveDomainRequestSchema, h as EntityResolveDomainResponse, i as EntityResolveDomainResponseSchema, j as EntitySearchResponse, k as EntitySearchResponseSchema, E as EntitySearchResult, l as EntitySearchResultSchema, m as EntitySelectRequest, n as EntitySelectRequestSchema, o as EntitySelectResponse, p as EntitySelectResponseSchema, F as FEATURE_FLAGS, q as FeatureAllowlistEntry, r as FeatureAllowlistEntrySchema, s as FeatureFlag, t as FeedActor, u as FeedActorSchema, v as FeedCursor, w as FollowFeedItem, x as FollowFeedItemSchema, y as FollowFeedPage, z as FollowFeedPageSchema, B as FollowProfileItem, C as FollowProfilePage, D as FollowProfilePageSchema, G as FollowProfileSchema, S as SifaFeedItem, H as SifaFeedItemSchema, I as decodeFeedCursor, J as encodeFeedCursor } from '../feed-BMm9Pkew.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
|
+
export { A as AgentRef, 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';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* Relations shipped today. The lexicon declares these as `knownValues`, not an
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export { O as OrgClaimRequestInput,
|
|
2
|
+
export { O as OrgClaimRequestInput, a as OrgClaimRequestSchema, b as OrgDomainChallengeRequestInput, c as OrgDomainChallengeRequestSchema, d as OrgDomainVerifyRequestInput, e as OrgDomainVerifyRequestSchema, f as OrgNotificationEmailRequestInput, g as OrgNotificationEmailRequestSchema, h as OrgProfileUpdateRequestInput, i as OrgProfileUpdateRequestSchema } from '../../org-settings-B8e01iZx.cjs';
|
|
3
3
|
|
|
4
4
|
/** Prepend `https://` if no scheme is present. */
|
|
5
5
|
declare function normalizeUrl(val: string): string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export { O as OrgClaimRequestInput,
|
|
2
|
+
export { O as OrgClaimRequestInput, a as OrgClaimRequestSchema, b as OrgDomainChallengeRequestInput, c as OrgDomainChallengeRequestSchema, d as OrgDomainVerifyRequestInput, e as OrgDomainVerifyRequestSchema, f as OrgNotificationEmailRequestInput, g as OrgNotificationEmailRequestSchema, h as OrgProfileUpdateRequestInput, i as OrgProfileUpdateRequestSchema } from '../../org-settings-B8e01iZx.js';
|
|
3
3
|
|
|
4
4
|
/** Prepend `https://` if no scheme is present. */
|
|
5
5
|
declare function normalizeUrl(val: string): string;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Grapheme-aware refinement matching the AT Protocol lexicon `maxGraphemes`
|
|
5
|
+
* constraint. JS strings are sequences of UTF-16 code units, but lexicon
|
|
6
|
+
* `maxGraphemes` counts user-perceived characters (grapheme clusters), so
|
|
7
|
+
* emoji sequences, regional indicators, ZWJ joins, and combining marks all
|
|
8
|
+
* count as one unit each. We use `Intl.Segmenter` to enforce this correctly.
|
|
9
|
+
*/
|
|
10
|
+
declare function maxGraphemes(max: number): (value: string) => boolean;
|
|
11
|
+
/** Decentralized identifier, AT Protocol `format: did`. */
|
|
12
|
+
declare const didSchema: z.ZodString;
|
|
13
|
+
/** RFC 3339 datetime with timezone offset, AT Protocol `format: datetime`. */
|
|
14
|
+
declare const datetimeSchema: z.ZodString;
|
|
15
|
+
/**
|
|
16
|
+
* Freeform calendar date for user-facing profile dates (start/end, issued,
|
|
17
|
+
* completed, awarded, published, etc.). Accepts a bare year, year-month,
|
|
18
|
+
* year-month-day, or a full datetime (so a legacy record's RFC-3339 date maps
|
|
19
|
+
* through on backfill without loss). NOT strict `datetime` -- users typically
|
|
20
|
+
* remember only month/year, and LinkedIn-importer writes carry partial dates,
|
|
21
|
+
* so the lexicons document these as freeform `YYYY-MM` / `YYYY-MM-DD`. Record
|
|
22
|
+
* metadata like `createdAt` stays on `datetimeSchema`.
|
|
23
|
+
*/
|
|
24
|
+
declare const partialDateSchema: z.ZodString;
|
|
25
|
+
/** Generic AT-URI, AT Protocol `format: at-uri`. */
|
|
26
|
+
declare const atUriSchema: z.ZodString;
|
|
27
|
+
/** Content identifier, AT Protocol `format: cid`. Loose validation -- accepts CIDv0 and CIDv1. */
|
|
28
|
+
declare const cidSchema: z.ZodString;
|
|
29
|
+
/** BCP 47 language tag, AT Protocol `format: language`. */
|
|
30
|
+
declare const languageTagSchema: z.ZodString;
|
|
31
|
+
/** Generic URI, AT Protocol `format: uri`. */
|
|
32
|
+
declare const uriSchema: z.ZodString;
|
|
33
|
+
/**
|
|
34
|
+
* StrongRef shape from `com.atproto.repo.strongRef` -- pins a record by both
|
|
35
|
+
* AT-URI (identity) and CID (version).
|
|
36
|
+
*/
|
|
37
|
+
declare const strongRefSchema: z.ZodObject<{
|
|
38
|
+
uri: z.ZodString;
|
|
39
|
+
cid: z.ZodString;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
/**
|
|
42
|
+
* Reference to an `id.sifa.profile.skill` record by AT-URI. Mirrors
|
|
43
|
+
* `id.sifa.defs#skillRef`, which carries no CID at all: skills are mutable
|
|
44
|
+
* records in the same user's repo, so the reference resolves live and tracks
|
|
45
|
+
* edits to the target.
|
|
46
|
+
*/
|
|
47
|
+
declare const skillRefSchema: z.ZodObject<{
|
|
48
|
+
uri: z.ZodString;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
/**
|
|
51
|
+
* Reference to a record by AT-URI, with an optional CID. Mirrors
|
|
52
|
+
* `id.sifa.defs#externalRecordRef`. Unlike a strongRef the CID is optional:
|
|
53
|
+
* consumers resolve the AT-URI live so the reference tracks edits to the
|
|
54
|
+
* target, and the CID is a best-effort integrity hint only.
|
|
55
|
+
*/
|
|
56
|
+
declare const externalRecordRefSchema: z.ZodObject<{
|
|
57
|
+
uri: z.ZodString;
|
|
58
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
/**
|
|
61
|
+
* Shared reference to an organization or person named by a record. Mirrors
|
|
62
|
+
* `id.sifa.defs#agentRef`. `name` is a point-in-time snapshot label captured
|
|
63
|
+
* when the record was saved; `did` and `entityRef` are the durable identity and
|
|
64
|
+
* should be resolved live. `name` is required so an empty object cannot validate
|
|
65
|
+
* as a no-op. `.passthrough()` (not `.strict()`): external apps may emit fields a
|
|
66
|
+
* newer schema will define, and dropping them on a round-trip would silently
|
|
67
|
+
* lose data.
|
|
68
|
+
*/
|
|
69
|
+
declare const agentRefSchema: z.ZodObject<{
|
|
70
|
+
name: z.ZodString;
|
|
71
|
+
did: z.ZodOptional<z.ZodString>;
|
|
72
|
+
entityRef: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$loose>;
|
|
74
|
+
type AgentRef = z.infer<typeof agentRefSchema>;
|
|
75
|
+
/**
|
|
76
|
+
* Self-labels shape from `com.atproto.label.defs#selfLabels`. Modelled
|
|
77
|
+
* permissively because clients rarely construct this directly; the AppView
|
|
78
|
+
* handles label validation.
|
|
79
|
+
*/
|
|
80
|
+
declare const selfLabelsSchema: z.ZodObject<{
|
|
81
|
+
$type: z.ZodOptional<z.ZodLiteral<"com.atproto.label.defs#selfLabels">>;
|
|
82
|
+
values: z.ZodArray<z.ZodObject<{
|
|
83
|
+
val: z.ZodString;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
|
|
87
|
+
export { type AgentRef as A, agentRefSchema as a, atUriSchema as b, cidSchema as c, datetimeSchema as d, didSchema as e, externalRecordRefSchema as f, skillRefSchema as g, strongRefSchema as h, languageTagSchema as l, maxGraphemes as m, partialDateSchema as p, selfLabelsSchema as s, uriSchema as u };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Grapheme-aware refinement matching the AT Protocol lexicon `maxGraphemes`
|
|
5
|
+
* constraint. JS strings are sequences of UTF-16 code units, but lexicon
|
|
6
|
+
* `maxGraphemes` counts user-perceived characters (grapheme clusters), so
|
|
7
|
+
* emoji sequences, regional indicators, ZWJ joins, and combining marks all
|
|
8
|
+
* count as one unit each. We use `Intl.Segmenter` to enforce this correctly.
|
|
9
|
+
*/
|
|
10
|
+
declare function maxGraphemes(max: number): (value: string) => boolean;
|
|
11
|
+
/** Decentralized identifier, AT Protocol `format: did`. */
|
|
12
|
+
declare const didSchema: z.ZodString;
|
|
13
|
+
/** RFC 3339 datetime with timezone offset, AT Protocol `format: datetime`. */
|
|
14
|
+
declare const datetimeSchema: z.ZodString;
|
|
15
|
+
/**
|
|
16
|
+
* Freeform calendar date for user-facing profile dates (start/end, issued,
|
|
17
|
+
* completed, awarded, published, etc.). Accepts a bare year, year-month,
|
|
18
|
+
* year-month-day, or a full datetime (so a legacy record's RFC-3339 date maps
|
|
19
|
+
* through on backfill without loss). NOT strict `datetime` -- users typically
|
|
20
|
+
* remember only month/year, and LinkedIn-importer writes carry partial dates,
|
|
21
|
+
* so the lexicons document these as freeform `YYYY-MM` / `YYYY-MM-DD`. Record
|
|
22
|
+
* metadata like `createdAt` stays on `datetimeSchema`.
|
|
23
|
+
*/
|
|
24
|
+
declare const partialDateSchema: z.ZodString;
|
|
25
|
+
/** Generic AT-URI, AT Protocol `format: at-uri`. */
|
|
26
|
+
declare const atUriSchema: z.ZodString;
|
|
27
|
+
/** Content identifier, AT Protocol `format: cid`. Loose validation -- accepts CIDv0 and CIDv1. */
|
|
28
|
+
declare const cidSchema: z.ZodString;
|
|
29
|
+
/** BCP 47 language tag, AT Protocol `format: language`. */
|
|
30
|
+
declare const languageTagSchema: z.ZodString;
|
|
31
|
+
/** Generic URI, AT Protocol `format: uri`. */
|
|
32
|
+
declare const uriSchema: z.ZodString;
|
|
33
|
+
/**
|
|
34
|
+
* StrongRef shape from `com.atproto.repo.strongRef` -- pins a record by both
|
|
35
|
+
* AT-URI (identity) and CID (version).
|
|
36
|
+
*/
|
|
37
|
+
declare const strongRefSchema: z.ZodObject<{
|
|
38
|
+
uri: z.ZodString;
|
|
39
|
+
cid: z.ZodString;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
/**
|
|
42
|
+
* Reference to an `id.sifa.profile.skill` record by AT-URI. Mirrors
|
|
43
|
+
* `id.sifa.defs#skillRef`, which carries no CID at all: skills are mutable
|
|
44
|
+
* records in the same user's repo, so the reference resolves live and tracks
|
|
45
|
+
* edits to the target.
|
|
46
|
+
*/
|
|
47
|
+
declare const skillRefSchema: z.ZodObject<{
|
|
48
|
+
uri: z.ZodString;
|
|
49
|
+
}, z.core.$strip>;
|
|
50
|
+
/**
|
|
51
|
+
* Reference to a record by AT-URI, with an optional CID. Mirrors
|
|
52
|
+
* `id.sifa.defs#externalRecordRef`. Unlike a strongRef the CID is optional:
|
|
53
|
+
* consumers resolve the AT-URI live so the reference tracks edits to the
|
|
54
|
+
* target, and the CID is a best-effort integrity hint only.
|
|
55
|
+
*/
|
|
56
|
+
declare const externalRecordRefSchema: z.ZodObject<{
|
|
57
|
+
uri: z.ZodString;
|
|
58
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
/**
|
|
61
|
+
* Shared reference to an organization or person named by a record. Mirrors
|
|
62
|
+
* `id.sifa.defs#agentRef`. `name` is a point-in-time snapshot label captured
|
|
63
|
+
* when the record was saved; `did` and `entityRef` are the durable identity and
|
|
64
|
+
* should be resolved live. `name` is required so an empty object cannot validate
|
|
65
|
+
* as a no-op. `.passthrough()` (not `.strict()`): external apps may emit fields a
|
|
66
|
+
* newer schema will define, and dropping them on a round-trip would silently
|
|
67
|
+
* lose data.
|
|
68
|
+
*/
|
|
69
|
+
declare const agentRefSchema: z.ZodObject<{
|
|
70
|
+
name: z.ZodString;
|
|
71
|
+
did: z.ZodOptional<z.ZodString>;
|
|
72
|
+
entityRef: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$loose>;
|
|
74
|
+
type AgentRef = z.infer<typeof agentRefSchema>;
|
|
75
|
+
/**
|
|
76
|
+
* Self-labels shape from `com.atproto.label.defs#selfLabels`. Modelled
|
|
77
|
+
* permissively because clients rarely construct this directly; the AppView
|
|
78
|
+
* handles label validation.
|
|
79
|
+
*/
|
|
80
|
+
declare const selfLabelsSchema: z.ZodObject<{
|
|
81
|
+
$type: z.ZodOptional<z.ZodLiteral<"com.atproto.label.defs#selfLabels">>;
|
|
82
|
+
values: z.ZodArray<z.ZodObject<{
|
|
83
|
+
val: z.ZodString;
|
|
84
|
+
}, z.core.$strip>>;
|
|
85
|
+
}, z.core.$strip>;
|
|
86
|
+
|
|
87
|
+
export { type AgentRef as A, agentRefSchema as a, atUriSchema as b, cidSchema as c, datetimeSchema as d, didSchema as e, externalRecordRefSchema as f, skillRefSchema as g, strongRefSchema as h, languageTagSchema as l, maxGraphemes as m, partialDateSchema as p, selfLabelsSchema as s, uriSchema as u };
|
package/dist/{use-org-notification-emails-CxBtveF9.d.ts → use-org-notification-emails-BbwXKpDF.d.ts}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aF as RefreshPdsResult, aZ as UpdateProfileOverrideInput, a_ as UpdateProfileSelfInput, a$ as UploadAvatarResult, b0 as UploadPronunciationAudioResult, C as CreateResult, ao as PrimarySection, aT as SubCategoryBulkResult, at as ProfileLocationInput, r as ExternalAccountInput, p as CreateExternalAccountResult, b1 as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, _ as GivenConfirmation, an as PendingConfirmationsPage, a9 as InboxCounts, q as DismissUnlinkedPositionInput, aY as UnlinkedPositionsResult, ap as ProfileCompleteness, aE as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a8 as HideProfileItemInput, a3 as HiddenActivityItem, a7 as HideActivityItemInput, aW as UnhideActivityItemInput, aS as StatsResponse, k as AppRegistryEntry, a4 as HiddenApp, d as AccountSummary, Q as FilterOptions, aN as SearchFilters, aO as SearchResponse, aR as SkillSearchResult, cH as CompanySearchFilters, cI as CompanySearchResponse, t as FeaturedProfile, aQ as SimilarProfile, O as FetchSuggestionsOptions, aV as SuggestionsResponse, V as FollowUserResult, y as FetchFollowListOptions, R as FollowListPage, X as FollowingResponse, G as FetchFollowingFeedOptions, z as FetchFollowProfilePageOptions, U as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, v as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, a2 as HeatmapResponse, ab as MyGithubPullRequestsResponse, c as AccountCheckResult, aD as ReactionStatus, aC as ReactionResult, aB as ReactionError, aM as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, aH as ResetProfileResult, b2 as WipePreview, aG as RepoDeleteInput, ad as OrgClaimResult, aj as OrgProfileUpdateResult, ae as OrgDomainChallengeResult, af as OrgDomainVerifyResult, ag as OrgNotificationEmailAddResult, ah as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aF as RefreshPdsResult, aZ as UpdateProfileOverrideInput, a_ as UpdateProfileSelfInput, a$ as UploadAvatarResult, b0 as UploadPronunciationAudioResult, C as CreateResult, ao as PrimarySection, aT as SubCategoryBulkResult, at as ProfileLocationInput, r as ExternalAccountInput, p as CreateExternalAccountResult, b1 as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, _ as GivenConfirmation, an as PendingConfirmationsPage, a9 as InboxCounts, q as DismissUnlinkedPositionInput, aY as UnlinkedPositionsResult, ap as ProfileCompleteness, aE as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a8 as HideProfileItemInput, a3 as HiddenActivityItem, a7 as HideActivityItemInput, aW as UnhideActivityItemInput, aS as StatsResponse, k as AppRegistryEntry, a4 as HiddenApp, d as AccountSummary, Q as FilterOptions, aN as SearchFilters, aO as SearchResponse, aR as SkillSearchResult, cH as CompanySearchFilters, cI as CompanySearchResponse, t as FeaturedProfile, aQ as SimilarProfile, O as FetchSuggestionsOptions, aV as SuggestionsResponse, V as FollowUserResult, y as FetchFollowListOptions, R as FollowListPage, X as FollowingResponse, G as FetchFollowingFeedOptions, z as FetchFollowProfilePageOptions, U as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, v as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, a2 as HeatmapResponse, ab as MyGithubPullRequestsResponse, c as AccountCheckResult, aD as ReactionStatus, aC as ReactionResult, aB as ReactionError, aM as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, aH as ResetProfileResult, b2 as WipePreview, aG as RepoDeleteInput, ad as OrgClaimResult, aj as OrgProfileUpdateResult, ae as OrgDomainChallengeResult, af as OrgDomainVerifyResult, ag as OrgNotificationEmailAddResult, ah as OrgNotificationEmailRemoveResult } from './org-1bHLKAz5.js';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-
|
|
7
|
-
import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
6
|
+
import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-C13I8diU.js';
|
|
7
|
+
import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-YpOch4Ho.js';
|
|
8
8
|
import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-BMm9Pkew.js';
|
|
9
|
-
import { O as OrgClaimRequestInput,
|
|
9
|
+
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-B8e01iZx.js';
|
|
10
10
|
|
|
11
11
|
interface SifaProviderProps {
|
|
12
12
|
config: SifaApiConfig;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aF as RefreshPdsResult, aZ as UpdateProfileOverrideInput, a_ as UpdateProfileSelfInput, a$ as UploadAvatarResult, b0 as UploadPronunciationAudioResult, C as CreateResult, ao as PrimarySection, aT as SubCategoryBulkResult, at as ProfileLocationInput, r as ExternalAccountInput, p as CreateExternalAccountResult, b1 as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, _ as GivenConfirmation, an as PendingConfirmationsPage, a9 as InboxCounts, q as DismissUnlinkedPositionInput, aY as UnlinkedPositionsResult, ap as ProfileCompleteness, aE as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a8 as HideProfileItemInput, a3 as HiddenActivityItem, a7 as HideActivityItemInput, aW as UnhideActivityItemInput, aS as StatsResponse, k as AppRegistryEntry, a4 as HiddenApp, d as AccountSummary, Q as FilterOptions, aN as SearchFilters, aO as SearchResponse, aR as SkillSearchResult, cH as CompanySearchFilters, cI as CompanySearchResponse, t as FeaturedProfile, aQ as SimilarProfile, O as FetchSuggestionsOptions, aV as SuggestionsResponse, V as FollowUserResult, y as FetchFollowListOptions, R as FollowListPage, X as FollowingResponse, G as FetchFollowingFeedOptions, z as FetchFollowProfilePageOptions, U as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, v as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, a2 as HeatmapResponse, ab as MyGithubPullRequestsResponse, c as AccountCheckResult, aD as ReactionStatus, aC as ReactionResult, aB as ReactionError, aM as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, aH as ResetProfileResult, b2 as WipePreview, aG as RepoDeleteInput, ad as OrgClaimResult, aj as OrgProfileUpdateResult, ae as OrgDomainChallengeResult, af as OrgDomainVerifyResult, ag as OrgNotificationEmailAddResult, ah as OrgNotificationEmailRemoveResult } from './org-
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aF as RefreshPdsResult, aZ as UpdateProfileOverrideInput, a_ as UpdateProfileSelfInput, a$ as UploadAvatarResult, b0 as UploadPronunciationAudioResult, C as CreateResult, ao as PrimarySection, aT as SubCategoryBulkResult, at as ProfileLocationInput, r as ExternalAccountInput, p as CreateExternalAccountResult, b1 as VerifyExternalAccountResult, E as EndorsementInput, n as ConfirmationInput, o as ConfirmationSubjectInput, _ as GivenConfirmation, an as PendingConfirmationsPage, a9 as InboxCounts, q as DismissUnlinkedPositionInput, aY as UnlinkedPositionsResult, ap as ProfileCompleteness, aE as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, a8 as HideProfileItemInput, a3 as HiddenActivityItem, a7 as HideActivityItemInput, aW as UnhideActivityItemInput, aS as StatsResponse, k as AppRegistryEntry, a4 as HiddenApp, d as AccountSummary, Q as FilterOptions, aN as SearchFilters, aO as SearchResponse, aR as SkillSearchResult, cH as CompanySearchFilters, cI as CompanySearchResponse, t as FeaturedProfile, aQ as SimilarProfile, O as FetchSuggestionsOptions, aV as SuggestionsResponse, V as FollowUserResult, y as FetchFollowListOptions, R as FollowListPage, X as FollowingResponse, G as FetchFollowingFeedOptions, z as FetchFollowProfilePageOptions, U as FollowProfilePageResponse, F as FeatureAllowlistResponse, i as AdminReviewQueues, v as FetchActivityFeedOptions, e as ActivityFeedResponse, h as ActivityTeaserResponse, a2 as HeatmapResponse, ab as MyGithubPullRequestsResponse, c as AccountCheckResult, aD as ReactionStatus, aC as ReactionResult, aB as ReactionError, aM as RoadmapVotesResponse, l as CastRoadmapVoteResult, D as DeleteAccountResult, aH as ResetProfileResult, b2 as WipePreview, aG as RepoDeleteInput, ad as OrgClaimResult, aj as OrgProfileUpdateResult, ae as OrgDomainChallengeResult, af as OrgDomainVerifyResult, ag as OrgNotificationEmailAddResult, ah as OrgNotificationEmailRemoveResult } from './org-DRb5WQq3.cjs';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
|
-
import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-
|
|
7
|
-
import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-
|
|
6
|
+
import { c as Profile, d as ProfilePosition, S as SkillRef, p as ExternalAccount, Q as SkillSuggestion, s as OrgFloorVerdict } from './index-66ul8ibE.cjs';
|
|
7
|
+
import { n as ProfileView, t as RepoDeleteResult, w as RepoInventory } from './types-CDrbMqyV.cjs';
|
|
8
8
|
import { j as EntitySearchResponse, E as EntitySearchResult, d as EntityMintDomainResponse, h as EntityResolveDomainResponse, o as EntitySelectResponse, m as EntitySelectRequest, y as FollowFeedPage, s as FeatureFlag } from './feed-BMm9Pkew.cjs';
|
|
9
|
-
import { O as OrgClaimRequestInput,
|
|
9
|
+
import { O as OrgClaimRequestInput, h as OrgProfileUpdateRequestInput, b as OrgDomainChallengeRequestInput, d as OrgDomainVerifyRequestInput, f as OrgNotificationEmailRequestInput } from './org-settings-B8e01iZx.cjs';
|
|
10
10
|
|
|
11
11
|
interface SifaProviderProps {
|
|
12
12
|
config: SifaApiConfig;
|
package/package.json
CHANGED