@singi-labs/sifa-sdk 0.12.43 → 0.12.44
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-DFSDtTFz.d.cts → index-BFO1nfxZ.d.cts} +1 -1
- package/dist/{index-BsIdD2su.d.ts → index-BzfWwovU.d.ts} +10 -3
- package/dist/{index-CIQinrgP.d.ts → index-C-k5JuRG.d.ts} +1 -1
- package/dist/{index-ti9RAkMn.d.cts → index-DRSrcDoq.d.cts} +10 -3
- package/dist/index.cjs +14 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +14 -2
- package/dist/index.js.map +1 -1
- package/dist/{org-EA4mshbf.d.ts → org-Bijq3reg.d.ts} +14 -4
- package/dist/{org-C0OTQnnV.d.cts → org-D_0P4klw.d.cts} +14 -4
- package/dist/query/fetchers/index.cjs +6 -1
- package/dist/query/fetchers/index.cjs.map +1 -1
- package/dist/query/fetchers/index.d.cts +2 -2
- package/dist/query/fetchers/index.d.ts +2 -2
- package/dist/query/fetchers/index.js +6 -1
- 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 +2 -2
- package/dist/query/hooks/index.d.ts +2 -2
- package/dist/query/hooks/index.js.map +1 -1
- package/dist/query/index.cjs +6 -1
- 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 +6 -1
- package/dist/query/index.js.map +1 -1
- package/dist/schemas/index.cjs +13 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +6 -2
- package/dist/schemas/index.d.ts +6 -2
- package/dist/schemas/index.js +13 -1
- package/dist/schemas/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult,
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aj as RefreshPdsResult, az as UpdateProfileOverrideInput, aA as UpdateProfileSelfInput, aB as UploadAvatarResult, C as CreateResult, aw as SubCategoryBulkResult, a7 as ProfileLocationInput, m as ExternalAccountInput, l as CreateExternalAccountResult, aC as VerifyExternalAccountResult, E as EndorsementInput, ai as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, U as HideProfileItemInput, av as StatsResponse, i as AppRegistryEntry, Q as HiddenApp, z as FilterOptions, aq as SearchFilters, ar as SearchResponse, au as SkillSearchResult, n as FeaturedProfile, at as SimilarProfile, y as FetchSuggestionsOptions, ay as SuggestionsResponse, J as FollowUserResult, q as FetchFollowListOptions, G as FollowListPage, K as FollowingResponse, t as FetchFollowingFeedOptions, r as FetchFollowProfilePageOptions, I as FollowProfilePageResponse, F as FeatureAllowlistResponse, o as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, P as HeatmapResponse, X as MyGithubPullRequestsResponse, c as AccountCheckResult, ah as ReactionStatus, ag as ReactionResult, af as ReactionError, ap as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, ak as ResetProfileResult, aD as WipePreview, Z as OrgClaimResult, a3 as OrgProfileUpdateResult, _ as OrgDomainChallengeResult, $ as OrgDomainVerifyResult, a0 as OrgNotificationEmailAddResult, a1 as OrgNotificationEmailRemoveResult } from './org-D_0P4klw.cjs';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
6
|
import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef, E as ExternalAccount, S as SkillSuggestion, N as OrgFloorVerdict } from './adult-content-JKDlPIbL.cjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-Bijq3reg.js';
|
|
2
2
|
import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef } from './adult-content-JKDlPIbL.js';
|
|
3
3
|
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.js';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-C9E-HPeP.js';
|
|
@@ -123,8 +123,15 @@ interface PendingEndorsement {
|
|
|
123
123
|
* AppView resolves it from the endorser's PDS when it is not.
|
|
124
124
|
*/
|
|
125
125
|
cid?: string;
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
/** Absent when this endorsement proposes a skill the subject does not have. */
|
|
127
|
+
skillUri?: string;
|
|
128
|
+
skillCid?: string;
|
|
129
|
+
/**
|
|
130
|
+
* True when accepting this will add `skillName` to the profile as well as
|
|
131
|
+
* publishing the endorsement. The UI must say so: it is a bigger action than
|
|
132
|
+
* confirming an endorsement of a skill already listed.
|
|
133
|
+
*/
|
|
134
|
+
proposesNewSkill?: boolean;
|
|
128
135
|
skillName: string;
|
|
129
136
|
comment?: string;
|
|
130
137
|
createdAt: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode } from 'react';
|
|
3
|
-
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult,
|
|
3
|
+
import { S as SifaApiConfig, s as sifaQueryKeys, W as WriteResult, aj as RefreshPdsResult, az as UpdateProfileOverrideInput, aA as UpdateProfileSelfInput, aB as UploadAvatarResult, C as CreateResult, aw as SubCategoryBulkResult, a7 as ProfileLocationInput, m as ExternalAccountInput, l as CreateExternalAccountResult, aC as VerifyExternalAccountResult, E as EndorsementInput, ai as RefreshOrcidPublicationsResult, B as BulkHideProfileItemInput, U as HideProfileItemInput, av as StatsResponse, i as AppRegistryEntry, Q as HiddenApp, z as FilterOptions, aq as SearchFilters, ar as SearchResponse, au as SkillSearchResult, n as FeaturedProfile, at as SimilarProfile, y as FetchSuggestionsOptions, ay as SuggestionsResponse, J as FollowUserResult, q as FetchFollowListOptions, G as FollowListPage, K as FollowingResponse, t as FetchFollowingFeedOptions, r as FetchFollowProfilePageOptions, I as FollowProfilePageResponse, F as FeatureAllowlistResponse, o as FetchActivityFeedOptions, d as ActivityFeedResponse, g as ActivityTeaserResponse, P as HeatmapResponse, X as MyGithubPullRequestsResponse, c as AccountCheckResult, ah as ReactionStatus, ag as ReactionResult, af as ReactionError, ap as RoadmapVotesResponse, j as CastRoadmapVoteResult, D as DeleteAccountResult, ak as ResetProfileResult, aD as WipePreview, Z as OrgClaimResult, a3 as OrgProfileUpdateResult, _ as OrgDomainChallengeResult, $ as OrgDomainVerifyResult, a0 as OrgNotificationEmailAddResult, a1 as OrgNotificationEmailRemoveResult } from './org-Bijq3reg.js';
|
|
4
4
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
5
5
|
import { UseQueryOptions, UseMutationOptions, UseInfiniteQueryOptions, InfiniteData } from '@tanstack/react-query';
|
|
6
6
|
import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef, E as ExternalAccount, S as SkillSuggestion, N as OrgFloorVerdict } from './adult-content-JKDlPIbL.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-
|
|
1
|
+
import { S as SifaApiConfig, A as ApiFetchOptions, C as CreateResult, W as WriteResult } from './org-D_0P4klw.cjs';
|
|
2
2
|
import { e as Profile, P as ProfileView, g as ProfilePosition, a7 as SkillRef } from './adult-content-JKDlPIbL.cjs';
|
|
3
3
|
import { m as EntitySearchResponse, E as EntitySearchResult, g as EntityMintDomainResponse, k as EntityResolveDomainResponse, p as EntitySelectRequest, r as EntitySelectResponse } from './feed-C8aHEPw4.cjs';
|
|
4
4
|
import { S as SummarizeProfileViewOptions, P as ProfileSummary } from './profile-summary-CSmXD7ll.cjs';
|
|
@@ -123,8 +123,15 @@ interface PendingEndorsement {
|
|
|
123
123
|
* AppView resolves it from the endorser's PDS when it is not.
|
|
124
124
|
*/
|
|
125
125
|
cid?: string;
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
/** Absent when this endorsement proposes a skill the subject does not have. */
|
|
127
|
+
skillUri?: string;
|
|
128
|
+
skillCid?: string;
|
|
129
|
+
/**
|
|
130
|
+
* True when accepting this will add `skillName` to the profile as well as
|
|
131
|
+
* publishing the endorsement. The UI must say so: it is a bigger action than
|
|
132
|
+
* confirming an endorsement of a skill already listed.
|
|
133
|
+
*/
|
|
134
|
+
proposesNewSkill?: boolean;
|
|
128
135
|
skillName: string;
|
|
129
136
|
comment?: string;
|
|
130
137
|
createdAt: string;
|
package/dist/index.cjs
CHANGED
|
@@ -4808,6 +4808,13 @@ var BlobRefSchema = zod.z.object({
|
|
|
4808
4808
|
});
|
|
4809
4809
|
var EndorsementConfirmationRecordSchema = zod.z.object({
|
|
4810
4810
|
endorsement: strongRefSchema,
|
|
4811
|
+
/**
|
|
4812
|
+
* Skill record this endorsement applies to. Set when the endorsement proposed
|
|
4813
|
+
* a skill: the subject creates the record and links it here, because the
|
|
4814
|
+
* endorser cannot write to the subject's repository. Also set when a proposed
|
|
4815
|
+
* name matched a skill the subject already had.
|
|
4816
|
+
*/
|
|
4817
|
+
skill: strongRefSchema.optional(),
|
|
4811
4818
|
createdAt: datetimeSchema
|
|
4812
4819
|
});
|
|
4813
4820
|
var httpUrlNullable = zod.z.string().refine((s) => /^https?:\/\//i.test(s), { message: "must be an http(s) URL" }).nullable();
|
|
@@ -4873,7 +4880,12 @@ var EntityMintDomainResponseSchema = zod.z.object({
|
|
|
4873
4880
|
});
|
|
4874
4881
|
var EndorsementRecordSchema = zod.z.object({
|
|
4875
4882
|
subject: didSchema,
|
|
4876
|
-
|
|
4883
|
+
/**
|
|
4884
|
+
* Absent when the endorser is proposing a skill the subject has not listed,
|
|
4885
|
+
* named by `skillName`. The record it becomes is linked from the subject's
|
|
4886
|
+
* confirmation, since only they can write to their own repository.
|
|
4887
|
+
*/
|
|
4888
|
+
skill: strongRefSchema.optional(),
|
|
4877
4889
|
skillName: zod.z.string().min(1).refine(maxGraphemes(64)).max(640),
|
|
4878
4890
|
comment: zod.z.string().refine(maxGraphemes(300)).max(3e3).optional(),
|
|
4879
4891
|
createdAt: datetimeSchema
|
|
@@ -5351,7 +5363,7 @@ function roadmapIssueUrl(issue) {
|
|
|
5351
5363
|
}
|
|
5352
5364
|
|
|
5353
5365
|
// src/index.ts
|
|
5354
|
-
var SIFA_SDK_VERSION = "0.12.
|
|
5366
|
+
var SIFA_SDK_VERSION = "0.12.44";
|
|
5355
5367
|
|
|
5356
5368
|
exports.ACTIVITY_TIERS = ACTIVITY_TIERS;
|
|
5357
5369
|
exports.ACTIVITY_VERBS = ACTIVITY_VERBS;
|