@learncard/helpers 1.2.11 → 1.2.13
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.
|
@@ -66,12 +66,14 @@ var require_types_cjs_development = __commonJS({
|
|
|
66
66
|
AgeRatingValidator: /* @__PURE__ */ __name(() => AgeRatingValidator, "AgeRatingValidator"),
|
|
67
67
|
AlignmentTargetTypeValidator: /* @__PURE__ */ __name(() => AlignmentTargetTypeValidator, "AlignmentTargetTypeValidator"),
|
|
68
68
|
AlignmentValidator: /* @__PURE__ */ __name(() => AlignmentValidator, "AlignmentValidator"),
|
|
69
|
+
AllowConnectionRequestsEnum: /* @__PURE__ */ __name(() => AllowConnectionRequestsEnum, "AllowConnectionRequestsEnum"),
|
|
69
70
|
AppBoostValidator: /* @__PURE__ */ __name(() => AppBoostValidator, "AppBoostValidator"),
|
|
70
71
|
AppEventInputValidator: /* @__PURE__ */ __name(() => AppEventInputValidator, "AppEventInputValidator"),
|
|
71
72
|
AppEventResponseValidator: /* @__PURE__ */ __name(() => AppEventResponseValidator, "AppEventResponseValidator"),
|
|
72
73
|
AppEventValidator: /* @__PURE__ */ __name(() => AppEventValidator, "AppEventValidator"),
|
|
73
74
|
AppListingStatusValidator: /* @__PURE__ */ __name(() => AppListingStatusValidator, "AppListingStatusValidator"),
|
|
74
75
|
AppStoreListingCreateValidator: /* @__PURE__ */ __name(() => AppStoreListingCreateValidator, "AppStoreListingCreateValidator"),
|
|
76
|
+
AppStoreListingSubmitterValidator: /* @__PURE__ */ __name(() => AppStoreListingSubmitterValidator, "AppStoreListingSubmitterValidator"),
|
|
75
77
|
AppStoreListingUpdateValidator: /* @__PURE__ */ __name(() => AppStoreListingUpdateValidator, "AppStoreListingUpdateValidator"),
|
|
76
78
|
AppStoreListingValidator: /* @__PURE__ */ __name(() => AppStoreListingValidator, "AppStoreListingValidator"),
|
|
77
79
|
AuthGrantQueryValidator: /* @__PURE__ */ __name(() => AuthGrantQueryValidator, "AuthGrantQueryValidator"),
|
|
@@ -96,6 +98,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
96
98
|
ConsentFlowContractDataValidator: /* @__PURE__ */ __name(() => ConsentFlowContractDataValidator, "ConsentFlowContractDataValidator"),
|
|
97
99
|
ConsentFlowContractDetailsValidator: /* @__PURE__ */ __name(() => ConsentFlowContractDetailsValidator, "ConsentFlowContractDetailsValidator"),
|
|
98
100
|
ConsentFlowContractQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowContractQueryValidator, "ConsentFlowContractQueryValidator"),
|
|
101
|
+
ConsentFlowContractRequestForProfileListValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestForProfileListValidator, "ConsentFlowContractRequestForProfileListValidator"),
|
|
102
|
+
ConsentFlowContractRequestForProfileValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestForProfileValidator, "ConsentFlowContractRequestForProfileValidator"),
|
|
103
|
+
ConsentFlowContractRequestReadStatusValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestReadStatusValidator, "ConsentFlowContractRequestReadStatusValidator"),
|
|
104
|
+
ConsentFlowContractRequestStatusValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestStatusValidator, "ConsentFlowContractRequestStatusValidator"),
|
|
99
105
|
ConsentFlowContractValidator: /* @__PURE__ */ __name(() => ConsentFlowContractValidator, "ConsentFlowContractValidator"),
|
|
100
106
|
ConsentFlowDataForDidQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowDataForDidQueryValidator, "ConsentFlowDataForDidQueryValidator"),
|
|
101
107
|
ConsentFlowDataQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowDataQueryValidator, "ConsentFlowDataQueryValidator"),
|
|
@@ -167,9 +173,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
167
173
|
JWKValidator: /* @__PURE__ */ __name(() => JWKValidator, "JWKValidator"),
|
|
168
174
|
JWKWithPrivateKeyValidator: /* @__PURE__ */ __name(() => JWKWithPrivateKeyValidator, "JWKWithPrivateKeyValidator"),
|
|
169
175
|
KnownAchievementTypeValidator: /* @__PURE__ */ __name(() => KnownAchievementTypeValidator, "KnownAchievementTypeValidator"),
|
|
176
|
+
LCNAuthedProfileValidator: /* @__PURE__ */ __name(() => LCNAuthedProfileValidator, "LCNAuthedProfileValidator"),
|
|
170
177
|
LCNBoostClaimLinkOptionsValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkOptionsValidator, "LCNBoostClaimLinkOptionsValidator"),
|
|
171
178
|
LCNBoostClaimLinkSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkSigningAuthorityValidator, "LCNBoostClaimLinkSigningAuthorityValidator"),
|
|
172
179
|
LCNBoostStatus: /* @__PURE__ */ __name(() => LCNBoostStatus, "LCNBoostStatus"),
|
|
180
|
+
LCNConnectionProfileValidator: /* @__PURE__ */ __name(() => LCNConnectionProfileValidator, "LCNConnectionProfileValidator"),
|
|
173
181
|
LCNDomainOrOriginValidator: /* @__PURE__ */ __name(() => LCNDomainOrOriginValidator, "LCNDomainOrOriginValidator"),
|
|
174
182
|
LCNInboxContactMethodValidator: /* @__PURE__ */ __name(() => LCNInboxContactMethodValidator, "LCNInboxContactMethodValidator"),
|
|
175
183
|
LCNInboxStatusEnumValidator: /* @__PURE__ */ __name(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
|
|
@@ -189,8 +197,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
189
197
|
LCNProfileManagerValidator: /* @__PURE__ */ __name(() => LCNProfileManagerValidator, "LCNProfileManagerValidator"),
|
|
190
198
|
LCNProfileQueryValidator: /* @__PURE__ */ __name(() => LCNProfileQueryValidator, "LCNProfileQueryValidator"),
|
|
191
199
|
LCNProfileValidator: /* @__PURE__ */ __name(() => LCNProfileValidator, "LCNProfileValidator"),
|
|
200
|
+
LCNPublicProfileValidator: /* @__PURE__ */ __name(() => LCNPublicProfileValidator, "LCNPublicProfileValidator"),
|
|
192
201
|
LCNSigningAuthorityForUserValidator: /* @__PURE__ */ __name(() => LCNSigningAuthorityForUserValidator, "LCNSigningAuthorityForUserValidator"),
|
|
193
202
|
LCNSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNSigningAuthorityValidator, "LCNSigningAuthorityValidator"),
|
|
203
|
+
LCNVisibleProfileValidator: /* @__PURE__ */ __name(() => LCNVisibleProfileValidator, "LCNVisibleProfileValidator"),
|
|
194
204
|
LaunchTypeValidator: /* @__PURE__ */ __name(() => LaunchTypeValidator, "LaunchTypeValidator"),
|
|
195
205
|
LinkProviderFrameworkInputValidator: /* @__PURE__ */ __name(() => LinkProviderFrameworkInputValidator, "LinkProviderFrameworkInputValidator"),
|
|
196
206
|
PaginatedAppStoreListingsValidator: /* @__PURE__ */ __name(() => PaginatedAppStoreListingsValidator, "PaginatedAppStoreListingsValidator"),
|
|
@@ -215,9 +225,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
215
225
|
PaginatedLCNProfilesValidator: /* @__PURE__ */ __name(() => PaginatedLCNProfilesValidator, "PaginatedLCNProfilesValidator"),
|
|
216
226
|
PaginatedSkillFrameworksValidator: /* @__PURE__ */ __name(() => PaginatedSkillFrameworksValidator, "PaginatedSkillFrameworksValidator"),
|
|
217
227
|
PaginatedSkillTreeValidator: /* @__PURE__ */ __name(() => PaginatedSkillTreeValidator, "PaginatedSkillTreeValidator"),
|
|
228
|
+
PaginatedVisibleLCNProfilesValidator: /* @__PURE__ */ __name(() => PaginatedVisibleLCNProfilesValidator, "PaginatedVisibleLCNProfilesValidator"),
|
|
218
229
|
PaginationOptionsValidator: /* @__PURE__ */ __name(() => PaginationOptionsValidator, "PaginationOptionsValidator"),
|
|
219
230
|
PaginationResponseValidator: /* @__PURE__ */ __name(() => PaginationResponseValidator, "PaginationResponseValidator"),
|
|
220
231
|
ProfileValidator: /* @__PURE__ */ __name(() => ProfileValidator, "ProfileValidator"),
|
|
232
|
+
ProfileVisibilityEnum: /* @__PURE__ */ __name(() => ProfileVisibilityEnum, "ProfileVisibilityEnum"),
|
|
221
233
|
PromotionLevelValidator: /* @__PURE__ */ __name(() => PromotionLevelValidator, "PromotionLevelValidator"),
|
|
222
234
|
ProofValidator: /* @__PURE__ */ __name(() => ProofValidator, "ProofValidator"),
|
|
223
235
|
RefreshServiceValidator: /* @__PURE__ */ __name(() => RefreshServiceValidator, "RefreshServiceValidator"),
|
|
@@ -14118,6 +14130,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14118
14130
|
idBackgroundColor: external_exports.string().optional(),
|
|
14119
14131
|
repeatIdBackgroundImage: external_exports.boolean().optional()
|
|
14120
14132
|
});
|
|
14133
|
+
var ProfileVisibilityEnum = external_exports.enum(["public", "connections_only", "private"]);
|
|
14134
|
+
var AllowConnectionRequestsEnum = external_exports.enum(["anyone", "invite_only"]);
|
|
14121
14135
|
var LCNProfileValidator = external_exports.object({
|
|
14122
14136
|
profileId: external_exports.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
14123
14137
|
displayName: external_exports.string().default("").describe("Human-readable display name for the profile."),
|
|
@@ -14125,6 +14139,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14125
14139
|
bio: external_exports.string().default("").describe("Longer bio for the profile."),
|
|
14126
14140
|
did: external_exports.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
14127
14141
|
isPrivate: external_exports.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
14142
|
+
profileVisibility: ProfileVisibilityEnum.default("public").optional().describe("Profile visibility: 'public', 'connections_only', or 'private'."),
|
|
14143
|
+
showEmail: external_exports.boolean().default(false).optional().describe("Whether to show email to connections."),
|
|
14144
|
+
allowConnectionRequests: AllowConnectionRequestsEnum.default("anyone").optional().describe("Who can send connection requests: 'anyone' or 'invite_only'."),
|
|
14128
14145
|
email: external_exports.string().optional().describe("Contact email address for the profile. (deprecated)"),
|
|
14129
14146
|
image: external_exports.string().optional().describe("Profile image URL for the profile."),
|
|
14130
14147
|
heroImage: external_exports.string().optional().describe("Hero image URL for the profile."),
|
|
@@ -14139,6 +14156,32 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14139
14156
|
country: external_exports.string().optional().describe("Country for the profile."),
|
|
14140
14157
|
approved: external_exports.boolean().optional().describe("Approval status for the profile.")
|
|
14141
14158
|
});
|
|
14159
|
+
var LCNPublicProfileValidator = LCNProfileValidator.pick({
|
|
14160
|
+
profileId: true,
|
|
14161
|
+
displayName: true,
|
|
14162
|
+
shortBio: true,
|
|
14163
|
+
image: true,
|
|
14164
|
+
heroImage: true,
|
|
14165
|
+
type: true,
|
|
14166
|
+
isServiceProfile: true,
|
|
14167
|
+
display: true
|
|
14168
|
+
});
|
|
14169
|
+
var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
14170
|
+
bio: LCNProfileValidator.shape.bio,
|
|
14171
|
+
websiteLink: LCNProfileValidator.shape.websiteLink,
|
|
14172
|
+
role: LCNProfileValidator.shape.role,
|
|
14173
|
+
highlightedCredentials: LCNProfileValidator.shape.highlightedCredentials,
|
|
14174
|
+
did: LCNProfileValidator.shape.did
|
|
14175
|
+
});
|
|
14176
|
+
var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
|
|
14177
|
+
email: LCNProfileValidator.shape.email
|
|
14178
|
+
});
|
|
14179
|
+
var LCNVisibleProfileValidator = external_exports.union([
|
|
14180
|
+
LCNConnectionProfileValidator.strict(),
|
|
14181
|
+
LCNAuthedProfileValidator.strict(),
|
|
14182
|
+
LCNPublicProfileValidator.strict(),
|
|
14183
|
+
LCNProfileValidator
|
|
14184
|
+
]);
|
|
14142
14185
|
var LCNProfileQueryValidator = external_exports.object({
|
|
14143
14186
|
profileId: StringQuery,
|
|
14144
14187
|
displayName: StringQuery,
|
|
@@ -14152,6 +14195,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14152
14195
|
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
14153
14196
|
records: LCNProfileValidator.array()
|
|
14154
14197
|
});
|
|
14198
|
+
var PaginatedVisibleLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
14199
|
+
records: LCNVisibleProfileValidator.array()
|
|
14200
|
+
});
|
|
14155
14201
|
var LCNProfileConnectionStatusEnum = external_exports.enum([
|
|
14156
14202
|
"CONNECTED",
|
|
14157
14203
|
"PENDING_REQUEST_SENT",
|
|
@@ -14285,7 +14331,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14285
14331
|
records: BoostValidator.array()
|
|
14286
14332
|
});
|
|
14287
14333
|
var BoostRecipientValidator = external_exports.object({
|
|
14288
|
-
to:
|
|
14334
|
+
to: LCNVisibleProfileValidator,
|
|
14289
14335
|
from: external_exports.string(),
|
|
14290
14336
|
received: external_exports.string().optional(),
|
|
14291
14337
|
uri: external_exports.string().optional()
|
|
@@ -14294,7 +14340,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14294
14340
|
records: BoostRecipientValidator.array()
|
|
14295
14341
|
});
|
|
14296
14342
|
var BoostRecipientWithChildrenValidator = external_exports.object({
|
|
14297
|
-
to:
|
|
14343
|
+
to: LCNVisibleProfileValidator,
|
|
14298
14344
|
from: external_exports.string(),
|
|
14299
14345
|
received: external_exports.string().optional(),
|
|
14300
14346
|
boostUris: external_exports.array(external_exports.string()),
|
|
@@ -14438,6 +14484,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14438
14484
|
autoBoosts: external_exports.string().array().optional(),
|
|
14439
14485
|
writers: external_exports.array(LCNProfileValidator).optional()
|
|
14440
14486
|
});
|
|
14487
|
+
var ConsentFlowContractRequestStatusValidator = external_exports.enum(["pending", "accepted", "denied"]).nullable();
|
|
14488
|
+
var ConsentFlowContractRequestReadStatusValidator = external_exports.enum(["unseen", "seen"]).nullable();
|
|
14489
|
+
var ConsentFlowContractRequestForProfileValidator = external_exports.object({
|
|
14490
|
+
profile: LCNProfileValidator,
|
|
14491
|
+
status: ConsentFlowContractRequestStatusValidator,
|
|
14492
|
+
readStatus: ConsentFlowContractRequestReadStatusValidator.optional()
|
|
14493
|
+
});
|
|
14494
|
+
var ConsentFlowContractRequestForProfileListValidator = external_exports.array(
|
|
14495
|
+
ConsentFlowContractRequestForProfileValidator
|
|
14496
|
+
);
|
|
14441
14497
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
14442
14498
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
14443
14499
|
});
|
|
@@ -15127,6 +15183,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15127
15183
|
"DEMOTED"
|
|
15128
15184
|
]);
|
|
15129
15185
|
var AgeRatingValidator = external_exports.enum(["4+", "9+", "12+", "17+"]);
|
|
15186
|
+
var AppStoreListingSubmitterValidator = external_exports.object({
|
|
15187
|
+
profileId: external_exports.string(),
|
|
15188
|
+
displayName: external_exports.string(),
|
|
15189
|
+
email: external_exports.string().optional()
|
|
15190
|
+
});
|
|
15130
15191
|
var AppStoreListingValidator = external_exports.object({
|
|
15131
15192
|
listing_id: external_exports.string(),
|
|
15132
15193
|
slug: external_exports.string().optional(),
|
|
@@ -15148,7 +15209,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15148
15209
|
screenshots: external_exports.array(external_exports.string()).optional(),
|
|
15149
15210
|
hero_background_color: external_exports.string().optional(),
|
|
15150
15211
|
min_age: external_exports.number().int().min(0).max(18).optional(),
|
|
15151
|
-
age_rating: AgeRatingValidator.optional()
|
|
15212
|
+
age_rating: AgeRatingValidator.optional(),
|
|
15213
|
+
submitted_at: external_exports.string().optional(),
|
|
15214
|
+
submitter: AppStoreListingSubmitterValidator.optional(),
|
|
15215
|
+
contact_email: external_exports.string().email().optional()
|
|
15152
15216
|
});
|
|
15153
15217
|
var AppStoreListingCreateValidator = AppStoreListingValidator.omit({
|
|
15154
15218
|
listing_id: true,
|