@learncard/ceramic-plugin 1.0.15 → 1.0.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/ceramic-plugin.cjs.development.js +23 -14
- package/dist/ceramic-plugin.cjs.development.js.map +2 -2
- package/dist/ceramic-plugin.cjs.production.min.js +35 -35
- package/dist/ceramic-plugin.cjs.production.min.js.map +3 -3
- package/dist/ceramic-plugin.esm.js +23 -14
- package/dist/ceramic-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -53515,6 +53515,19 @@ var SentCredentialInfoValidator = mod.object({
|
|
|
53515
53515
|
sent: mod.string().datetime(),
|
|
53516
53516
|
received: mod.string().datetime().optional()
|
|
53517
53517
|
});
|
|
53518
|
+
var BoostPermissionsValidator = mod.object({
|
|
53519
|
+
role: mod.string(),
|
|
53520
|
+
canEdit: mod.boolean(),
|
|
53521
|
+
canIssue: mod.boolean(),
|
|
53522
|
+
canRevoke: mod.boolean(),
|
|
53523
|
+
canManagePermissions: mod.boolean(),
|
|
53524
|
+
canIssueChildren: mod.string(),
|
|
53525
|
+
canCreateChildren: mod.string(),
|
|
53526
|
+
canEditChildren: mod.string(),
|
|
53527
|
+
canRevokeChildren: mod.string(),
|
|
53528
|
+
canManageChildrenPermissions: mod.string(),
|
|
53529
|
+
canViewAnalytics: mod.boolean()
|
|
53530
|
+
});
|
|
53518
53531
|
var LCNBoostStatus = mod.enum(["DRAFT", "LIVE"]);
|
|
53519
53532
|
var BoostValidator = mod.object({
|
|
53520
53533
|
uri: mod.string(),
|
|
@@ -53522,8 +53535,17 @@ var BoostValidator = mod.object({
|
|
|
53522
53535
|
type: mod.string().optional(),
|
|
53523
53536
|
category: mod.string().optional(),
|
|
53524
53537
|
status: LCNBoostStatus.optional(),
|
|
53525
|
-
autoConnectRecipients: mod.boolean().optional()
|
|
53538
|
+
autoConnectRecipients: mod.boolean().optional(),
|
|
53539
|
+
claimPermissions: BoostPermissionsValidator.optional()
|
|
53526
53540
|
});
|
|
53541
|
+
var BoostQueryValidator = mod.object({
|
|
53542
|
+
uri: mod.string().or(mod.object({ $in: mod.string().array() })),
|
|
53543
|
+
name: mod.string().or(mod.object({ $in: mod.string().array() })),
|
|
53544
|
+
type: mod.string().or(mod.object({ $in: mod.string().array() })),
|
|
53545
|
+
category: mod.string().or(mod.object({ $in: mod.string().array() })),
|
|
53546
|
+
status: LCNBoostStatus.or(mod.object({ $in: LCNBoostStatus.array() })),
|
|
53547
|
+
autoConnectRecipients: mod.boolean()
|
|
53548
|
+
}).partial();
|
|
53527
53549
|
var PaginatedBoostsValidator = PaginationResponseValidator.extend({
|
|
53528
53550
|
records: BoostValidator.array()
|
|
53529
53551
|
});
|
|
@@ -53544,19 +53566,6 @@ var LCNBoostClaimLinkOptionsValidator = mod.object({
|
|
|
53544
53566
|
ttlSeconds: mod.number().optional(),
|
|
53545
53567
|
totalUses: mod.number().optional()
|
|
53546
53568
|
});
|
|
53547
|
-
var BoostPermissionsValidator = mod.object({
|
|
53548
|
-
role: mod.string(),
|
|
53549
|
-
canEdit: mod.boolean(),
|
|
53550
|
-
canIssue: mod.boolean(),
|
|
53551
|
-
canRevoke: mod.boolean(),
|
|
53552
|
-
canManagePermissions: mod.boolean(),
|
|
53553
|
-
canIssueChildren: mod.string(),
|
|
53554
|
-
canCreateChildren: mod.string(),
|
|
53555
|
-
canEditChildren: mod.string(),
|
|
53556
|
-
canRevokeChildren: mod.string(),
|
|
53557
|
-
canManageChildrenPermissions: mod.string(),
|
|
53558
|
-
canViewAnalytics: mod.boolean()
|
|
53559
|
-
});
|
|
53560
53569
|
var LCNSigningAuthorityValidator = mod.object({
|
|
53561
53570
|
endpoint: mod.string()
|
|
53562
53571
|
});
|