@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
|
@@ -19668,6 +19668,8 @@ var LCNProfileDisplayValidator = external_exports.object({
|
|
|
19668
19668
|
idBackgroundColor: external_exports.string().optional(),
|
|
19669
19669
|
repeatIdBackgroundImage: external_exports.boolean().optional()
|
|
19670
19670
|
});
|
|
19671
|
+
var ProfileVisibilityEnum = external_exports.enum(["public", "connections_only", "private"]);
|
|
19672
|
+
var AllowConnectionRequestsEnum = external_exports.enum(["anyone", "invite_only"]);
|
|
19671
19673
|
var LCNProfileValidator = external_exports.object({
|
|
19672
19674
|
profileId: external_exports.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
19673
19675
|
displayName: external_exports.string().default("").describe("Human-readable display name for the profile."),
|
|
@@ -19675,6 +19677,9 @@ var LCNProfileValidator = external_exports.object({
|
|
|
19675
19677
|
bio: external_exports.string().default("").describe("Longer bio for the profile."),
|
|
19676
19678
|
did: external_exports.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
19677
19679
|
isPrivate: external_exports.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
19680
|
+
profileVisibility: ProfileVisibilityEnum.default("public").optional().describe("Profile visibility: 'public', 'connections_only', or 'private'."),
|
|
19681
|
+
showEmail: external_exports.boolean().default(false).optional().describe("Whether to show email to connections."),
|
|
19682
|
+
allowConnectionRequests: AllowConnectionRequestsEnum.default("anyone").optional().describe("Who can send connection requests: 'anyone' or 'invite_only'."),
|
|
19678
19683
|
email: external_exports.string().optional().describe("Contact email address for the profile. (deprecated)"),
|
|
19679
19684
|
image: external_exports.string().optional().describe("Profile image URL for the profile."),
|
|
19680
19685
|
heroImage: external_exports.string().optional().describe("Hero image URL for the profile."),
|
|
@@ -19689,6 +19694,32 @@ var LCNProfileValidator = external_exports.object({
|
|
|
19689
19694
|
country: external_exports.string().optional().describe("Country for the profile."),
|
|
19690
19695
|
approved: external_exports.boolean().optional().describe("Approval status for the profile.")
|
|
19691
19696
|
});
|
|
19697
|
+
var LCNPublicProfileValidator = LCNProfileValidator.pick({
|
|
19698
|
+
profileId: true,
|
|
19699
|
+
displayName: true,
|
|
19700
|
+
shortBio: true,
|
|
19701
|
+
image: true,
|
|
19702
|
+
heroImage: true,
|
|
19703
|
+
type: true,
|
|
19704
|
+
isServiceProfile: true,
|
|
19705
|
+
display: true
|
|
19706
|
+
});
|
|
19707
|
+
var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
19708
|
+
bio: LCNProfileValidator.shape.bio,
|
|
19709
|
+
websiteLink: LCNProfileValidator.shape.websiteLink,
|
|
19710
|
+
role: LCNProfileValidator.shape.role,
|
|
19711
|
+
highlightedCredentials: LCNProfileValidator.shape.highlightedCredentials,
|
|
19712
|
+
did: LCNProfileValidator.shape.did
|
|
19713
|
+
});
|
|
19714
|
+
var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
|
|
19715
|
+
email: LCNProfileValidator.shape.email
|
|
19716
|
+
});
|
|
19717
|
+
var LCNVisibleProfileValidator = external_exports.union([
|
|
19718
|
+
LCNConnectionProfileValidator.strict(),
|
|
19719
|
+
LCNAuthedProfileValidator.strict(),
|
|
19720
|
+
LCNPublicProfileValidator.strict(),
|
|
19721
|
+
LCNProfileValidator
|
|
19722
|
+
]);
|
|
19692
19723
|
var LCNProfileQueryValidator = external_exports.object({
|
|
19693
19724
|
profileId: StringQuery,
|
|
19694
19725
|
displayName: StringQuery,
|
|
@@ -19702,6 +19733,9 @@ var LCNProfileQueryValidator = external_exports.object({
|
|
|
19702
19733
|
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
19703
19734
|
records: LCNProfileValidator.array()
|
|
19704
19735
|
});
|
|
19736
|
+
var PaginatedVisibleLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
19737
|
+
records: LCNVisibleProfileValidator.array()
|
|
19738
|
+
});
|
|
19705
19739
|
var LCNProfileConnectionStatusEnum = external_exports.enum([
|
|
19706
19740
|
"CONNECTED",
|
|
19707
19741
|
"PENDING_REQUEST_SENT",
|
|
@@ -19835,7 +19869,7 @@ var PaginatedBoostsValidator = PaginationResponseValidator.extend({
|
|
|
19835
19869
|
records: BoostValidator.array()
|
|
19836
19870
|
});
|
|
19837
19871
|
var BoostRecipientValidator = external_exports.object({
|
|
19838
|
-
to:
|
|
19872
|
+
to: LCNVisibleProfileValidator,
|
|
19839
19873
|
from: external_exports.string(),
|
|
19840
19874
|
received: external_exports.string().optional(),
|
|
19841
19875
|
uri: external_exports.string().optional()
|
|
@@ -19844,7 +19878,7 @@ var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
|
|
|
19844
19878
|
records: BoostRecipientValidator.array()
|
|
19845
19879
|
});
|
|
19846
19880
|
var BoostRecipientWithChildrenValidator = external_exports.object({
|
|
19847
|
-
to:
|
|
19881
|
+
to: LCNVisibleProfileValidator,
|
|
19848
19882
|
from: external_exports.string(),
|
|
19849
19883
|
received: external_exports.string().optional(),
|
|
19850
19884
|
boostUris: external_exports.array(external_exports.string()),
|