@learncard/idx-plugin 1.0.20 → 1.0.22
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/idx-plugin.cjs.development.js +84 -2
- package/dist/idx-plugin.cjs.development.js.map +3 -3
- package/dist/idx-plugin.cjs.production.min.js +68 -68
- package/dist/idx-plugin.cjs.production.min.js.map +3 -3
- package/dist/idx-plugin.esm.js +84 -2
- package/dist/idx-plugin.esm.js.map +3 -3
- package/package.json +4 -4
|
@@ -11346,6 +11346,19 @@ var RegExpValidator = mod.instanceof(RegExp).or(
|
|
|
11346
11346
|
})
|
|
11347
11347
|
);
|
|
11348
11348
|
var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
|
|
11349
|
+
var LCNProfileDisplayValidator = mod.object({
|
|
11350
|
+
backgroundColor: mod.string().optional(),
|
|
11351
|
+
backgroundImage: mod.string().optional(),
|
|
11352
|
+
fadeBackgroundImage: mod.boolean().optional(),
|
|
11353
|
+
repeatBackgroundImage: mod.boolean().optional(),
|
|
11354
|
+
fontColor: mod.string().optional(),
|
|
11355
|
+
accentColor: mod.string().optional(),
|
|
11356
|
+
accentFontColor: mod.string().optional(),
|
|
11357
|
+
idBackgroundImage: mod.string().optional(),
|
|
11358
|
+
fadeIdBackgroundImage: mod.boolean().optional(),
|
|
11359
|
+
idBackgroundColor: mod.string().optional(),
|
|
11360
|
+
repeatIdBackgroundImage: mod.boolean().optional()
|
|
11361
|
+
});
|
|
11349
11362
|
var LCNProfileValidator = mod.object({
|
|
11350
11363
|
profileId: mod.string().min(3).max(40),
|
|
11351
11364
|
displayName: mod.string().default(""),
|
|
@@ -11358,7 +11371,8 @@ var LCNProfileValidator = mod.object({
|
|
|
11358
11371
|
websiteLink: mod.string().optional(),
|
|
11359
11372
|
isServiceProfile: mod.boolean().default(false).optional(),
|
|
11360
11373
|
type: mod.string().optional(),
|
|
11361
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional()
|
|
11374
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
11375
|
+
display: LCNProfileDisplayValidator.optional()
|
|
11362
11376
|
});
|
|
11363
11377
|
var LCNProfileQueryValidator = mod.object({
|
|
11364
11378
|
profileId: StringQuery,
|
|
@@ -11379,6 +11393,32 @@ var LCNProfileConnectionStatusEnum = mod.enum([
|
|
|
11379
11393
|
"PENDING_REQUEST_RECEIVED",
|
|
11380
11394
|
"NOT_CONNECTED"
|
|
11381
11395
|
]);
|
|
11396
|
+
var LCNProfileManagerValidator = mod.object({
|
|
11397
|
+
id: mod.string(),
|
|
11398
|
+
created: mod.string(),
|
|
11399
|
+
displayName: mod.string().default("").optional(),
|
|
11400
|
+
shortBio: mod.string().default("").optional(),
|
|
11401
|
+
bio: mod.string().default("").optional(),
|
|
11402
|
+
email: mod.string().optional(),
|
|
11403
|
+
image: mod.string().optional(),
|
|
11404
|
+
heroImage: mod.string().optional()
|
|
11405
|
+
});
|
|
11406
|
+
var PaginatedLCNProfileManagersValidator = PaginationResponseValidator.extend({
|
|
11407
|
+
records: LCNProfileManagerValidator.extend({ did: mod.string() }).array()
|
|
11408
|
+
});
|
|
11409
|
+
var LCNProfileManagerQueryValidator = mod.object({
|
|
11410
|
+
id: StringQuery,
|
|
11411
|
+
displayName: StringQuery,
|
|
11412
|
+
shortBio: StringQuery,
|
|
11413
|
+
bio: StringQuery,
|
|
11414
|
+
email: StringQuery
|
|
11415
|
+
}).partial();
|
|
11416
|
+
var PaginatedLCNProfilesAndManagersValidator = PaginationResponseValidator.extend({
|
|
11417
|
+
records: mod.object({
|
|
11418
|
+
profile: LCNProfileValidator,
|
|
11419
|
+
manager: LCNProfileManagerValidator.extend({ did: mod.string() }).optional()
|
|
11420
|
+
}).array()
|
|
11421
|
+
});
|
|
11382
11422
|
var SentCredentialInfoValidator = mod.object({
|
|
11383
11423
|
uri: mod.string(),
|
|
11384
11424
|
to: mod.string(),
|
|
@@ -11397,6 +11437,7 @@ var BoostPermissionsValidator = mod.object({
|
|
|
11397
11437
|
canEditChildren: mod.string(),
|
|
11398
11438
|
canRevokeChildren: mod.string(),
|
|
11399
11439
|
canManageChildrenPermissions: mod.string(),
|
|
11440
|
+
canManageChildrenProfiles: mod.boolean().default(false).optional(),
|
|
11400
11441
|
canViewAnalytics: mod.boolean()
|
|
11401
11442
|
});
|
|
11402
11443
|
var LCNBoostStatus = mod.enum(["DRAFT", "LIVE"]);
|
|
@@ -66104,6 +66145,19 @@ var RegExpValidator2 = mod2.instanceof(RegExp).or(
|
|
|
66104
66145
|
})
|
|
66105
66146
|
);
|
|
66106
66147
|
var StringQuery2 = mod2.string().or(mod2.object({ $in: mod2.string().array() })).or(mod2.object({ $regex: RegExpValidator2 }));
|
|
66148
|
+
var LCNProfileDisplayValidator2 = mod2.object({
|
|
66149
|
+
backgroundColor: mod2.string().optional(),
|
|
66150
|
+
backgroundImage: mod2.string().optional(),
|
|
66151
|
+
fadeBackgroundImage: mod2.boolean().optional(),
|
|
66152
|
+
repeatBackgroundImage: mod2.boolean().optional(),
|
|
66153
|
+
fontColor: mod2.string().optional(),
|
|
66154
|
+
accentColor: mod2.string().optional(),
|
|
66155
|
+
accentFontColor: mod2.string().optional(),
|
|
66156
|
+
idBackgroundImage: mod2.string().optional(),
|
|
66157
|
+
fadeIdBackgroundImage: mod2.boolean().optional(),
|
|
66158
|
+
idBackgroundColor: mod2.string().optional(),
|
|
66159
|
+
repeatIdBackgroundImage: mod2.boolean().optional()
|
|
66160
|
+
});
|
|
66107
66161
|
var LCNProfileValidator2 = mod2.object({
|
|
66108
66162
|
profileId: mod2.string().min(3).max(40),
|
|
66109
66163
|
displayName: mod2.string().default(""),
|
|
@@ -66116,7 +66170,8 @@ var LCNProfileValidator2 = mod2.object({
|
|
|
66116
66170
|
websiteLink: mod2.string().optional(),
|
|
66117
66171
|
isServiceProfile: mod2.boolean().default(false).optional(),
|
|
66118
66172
|
type: mod2.string().optional(),
|
|
66119
|
-
notificationsWebhook: mod2.string().url().startsWith("http").optional()
|
|
66173
|
+
notificationsWebhook: mod2.string().url().startsWith("http").optional(),
|
|
66174
|
+
display: LCNProfileDisplayValidator2.optional()
|
|
66120
66175
|
});
|
|
66121
66176
|
var LCNProfileQueryValidator2 = mod2.object({
|
|
66122
66177
|
profileId: StringQuery2,
|
|
@@ -66137,6 +66192,32 @@ var LCNProfileConnectionStatusEnum2 = mod2.enum([
|
|
|
66137
66192
|
"PENDING_REQUEST_RECEIVED",
|
|
66138
66193
|
"NOT_CONNECTED"
|
|
66139
66194
|
]);
|
|
66195
|
+
var LCNProfileManagerValidator2 = mod2.object({
|
|
66196
|
+
id: mod2.string(),
|
|
66197
|
+
created: mod2.string(),
|
|
66198
|
+
displayName: mod2.string().default("").optional(),
|
|
66199
|
+
shortBio: mod2.string().default("").optional(),
|
|
66200
|
+
bio: mod2.string().default("").optional(),
|
|
66201
|
+
email: mod2.string().optional(),
|
|
66202
|
+
image: mod2.string().optional(),
|
|
66203
|
+
heroImage: mod2.string().optional()
|
|
66204
|
+
});
|
|
66205
|
+
var PaginatedLCNProfileManagersValidator2 = PaginationResponseValidator2.extend({
|
|
66206
|
+
records: LCNProfileManagerValidator2.extend({ did: mod2.string() }).array()
|
|
66207
|
+
});
|
|
66208
|
+
var LCNProfileManagerQueryValidator2 = mod2.object({
|
|
66209
|
+
id: StringQuery2,
|
|
66210
|
+
displayName: StringQuery2,
|
|
66211
|
+
shortBio: StringQuery2,
|
|
66212
|
+
bio: StringQuery2,
|
|
66213
|
+
email: StringQuery2
|
|
66214
|
+
}).partial();
|
|
66215
|
+
var PaginatedLCNProfilesAndManagersValidator2 = PaginationResponseValidator2.extend({
|
|
66216
|
+
records: mod2.object({
|
|
66217
|
+
profile: LCNProfileValidator2,
|
|
66218
|
+
manager: LCNProfileManagerValidator2.extend({ did: mod2.string() }).optional()
|
|
66219
|
+
}).array()
|
|
66220
|
+
});
|
|
66140
66221
|
var SentCredentialInfoValidator2 = mod2.object({
|
|
66141
66222
|
uri: mod2.string(),
|
|
66142
66223
|
to: mod2.string(),
|
|
@@ -66155,6 +66236,7 @@ var BoostPermissionsValidator2 = mod2.object({
|
|
|
66155
66236
|
canEditChildren: mod2.string(),
|
|
66156
66237
|
canRevokeChildren: mod2.string(),
|
|
66157
66238
|
canManageChildrenPermissions: mod2.string(),
|
|
66239
|
+
canManageChildrenProfiles: mod2.boolean().default(false).optional(),
|
|
66158
66240
|
canViewAnalytics: mod2.boolean()
|
|
66159
66241
|
});
|
|
66160
66242
|
var LCNBoostStatus2 = mod2.enum(["DRAFT", "LIVE"]);
|