@learncard/learn-cloud-plugin 2.3.16 → 2.3.17
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/learn-cloud-plugin.cjs.development.js +36 -2
- package/dist/learn-cloud-plugin.cjs.development.js.map +2 -2
- package/dist/learn-cloud-plugin.cjs.production.min.js +13 -13
- package/dist/learn-cloud-plugin.cjs.production.min.js.map +3 -3
- package/dist/learn-cloud-plugin.esm.js +36 -2
- package/dist/learn-cloud-plugin.esm.js.map +2 -2
- package/package.json +7 -7
|
@@ -19677,6 +19677,8 @@ var LCNProfileDisplayValidator = external_exports.object({
|
|
|
19677
19677
|
idBackgroundColor: external_exports.string().optional(),
|
|
19678
19678
|
repeatIdBackgroundImage: external_exports.boolean().optional()
|
|
19679
19679
|
});
|
|
19680
|
+
var ProfileVisibilityEnum = external_exports.enum(["public", "connections_only", "private"]);
|
|
19681
|
+
var AllowConnectionRequestsEnum = external_exports.enum(["anyone", "invite_only"]);
|
|
19680
19682
|
var LCNProfileValidator = external_exports.object({
|
|
19681
19683
|
profileId: external_exports.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
19682
19684
|
displayName: external_exports.string().default("").describe("Human-readable display name for the profile."),
|
|
@@ -19684,6 +19686,9 @@ var LCNProfileValidator = external_exports.object({
|
|
|
19684
19686
|
bio: external_exports.string().default("").describe("Longer bio for the profile."),
|
|
19685
19687
|
did: external_exports.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
19686
19688
|
isPrivate: external_exports.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
19689
|
+
profileVisibility: ProfileVisibilityEnum.default("public").optional().describe("Profile visibility: 'public', 'connections_only', or 'private'."),
|
|
19690
|
+
showEmail: external_exports.boolean().default(false).optional().describe("Whether to show email to connections."),
|
|
19691
|
+
allowConnectionRequests: AllowConnectionRequestsEnum.default("anyone").optional().describe("Who can send connection requests: 'anyone' or 'invite_only'."),
|
|
19687
19692
|
email: external_exports.string().optional().describe("Contact email address for the profile. (deprecated)"),
|
|
19688
19693
|
image: external_exports.string().optional().describe("Profile image URL for the profile."),
|
|
19689
19694
|
heroImage: external_exports.string().optional().describe("Hero image URL for the profile."),
|
|
@@ -19698,6 +19703,32 @@ var LCNProfileValidator = external_exports.object({
|
|
|
19698
19703
|
country: external_exports.string().optional().describe("Country for the profile."),
|
|
19699
19704
|
approved: external_exports.boolean().optional().describe("Approval status for the profile.")
|
|
19700
19705
|
});
|
|
19706
|
+
var LCNPublicProfileValidator = LCNProfileValidator.pick({
|
|
19707
|
+
profileId: true,
|
|
19708
|
+
displayName: true,
|
|
19709
|
+
shortBio: true,
|
|
19710
|
+
image: true,
|
|
19711
|
+
heroImage: true,
|
|
19712
|
+
type: true,
|
|
19713
|
+
isServiceProfile: true,
|
|
19714
|
+
display: true
|
|
19715
|
+
});
|
|
19716
|
+
var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
19717
|
+
bio: LCNProfileValidator.shape.bio,
|
|
19718
|
+
websiteLink: LCNProfileValidator.shape.websiteLink,
|
|
19719
|
+
role: LCNProfileValidator.shape.role,
|
|
19720
|
+
highlightedCredentials: LCNProfileValidator.shape.highlightedCredentials,
|
|
19721
|
+
did: LCNProfileValidator.shape.did
|
|
19722
|
+
});
|
|
19723
|
+
var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
|
|
19724
|
+
email: LCNProfileValidator.shape.email
|
|
19725
|
+
});
|
|
19726
|
+
var LCNVisibleProfileValidator = external_exports.union([
|
|
19727
|
+
LCNConnectionProfileValidator.strict(),
|
|
19728
|
+
LCNAuthedProfileValidator.strict(),
|
|
19729
|
+
LCNPublicProfileValidator.strict(),
|
|
19730
|
+
LCNProfileValidator
|
|
19731
|
+
]);
|
|
19701
19732
|
var LCNProfileQueryValidator = external_exports.object({
|
|
19702
19733
|
profileId: StringQuery,
|
|
19703
19734
|
displayName: StringQuery,
|
|
@@ -19711,6 +19742,9 @@ var LCNProfileQueryValidator = external_exports.object({
|
|
|
19711
19742
|
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
19712
19743
|
records: LCNProfileValidator.array()
|
|
19713
19744
|
});
|
|
19745
|
+
var PaginatedVisibleLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
19746
|
+
records: LCNVisibleProfileValidator.array()
|
|
19747
|
+
});
|
|
19714
19748
|
var LCNProfileConnectionStatusEnum = external_exports.enum([
|
|
19715
19749
|
"CONNECTED",
|
|
19716
19750
|
"PENDING_REQUEST_SENT",
|
|
@@ -19844,7 +19878,7 @@ var PaginatedBoostsValidator = PaginationResponseValidator.extend({
|
|
|
19844
19878
|
records: BoostValidator.array()
|
|
19845
19879
|
});
|
|
19846
19880
|
var BoostRecipientValidator = external_exports.object({
|
|
19847
|
-
to:
|
|
19881
|
+
to: LCNVisibleProfileValidator,
|
|
19848
19882
|
from: external_exports.string(),
|
|
19849
19883
|
received: external_exports.string().optional(),
|
|
19850
19884
|
uri: external_exports.string().optional()
|
|
@@ -19853,7 +19887,7 @@ var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
|
|
|
19853
19887
|
records: BoostRecipientValidator.array()
|
|
19854
19888
|
});
|
|
19855
19889
|
var BoostRecipientWithChildrenValidator = external_exports.object({
|
|
19856
|
-
to:
|
|
19890
|
+
to: LCNVisibleProfileValidator,
|
|
19857
19891
|
from: external_exports.string(),
|
|
19858
19892
|
received: external_exports.string().optional(),
|
|
19859
19893
|
boostUris: external_exports.array(external_exports.string()),
|