@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
|
@@ -53519,6 +53519,19 @@ var SentCredentialInfoValidator = mod.object({
|
|
|
53519
53519
|
sent: mod.string().datetime(),
|
|
53520
53520
|
received: mod.string().datetime().optional()
|
|
53521
53521
|
});
|
|
53522
|
+
var BoostPermissionsValidator = mod.object({
|
|
53523
|
+
role: mod.string(),
|
|
53524
|
+
canEdit: mod.boolean(),
|
|
53525
|
+
canIssue: mod.boolean(),
|
|
53526
|
+
canRevoke: mod.boolean(),
|
|
53527
|
+
canManagePermissions: mod.boolean(),
|
|
53528
|
+
canIssueChildren: mod.string(),
|
|
53529
|
+
canCreateChildren: mod.string(),
|
|
53530
|
+
canEditChildren: mod.string(),
|
|
53531
|
+
canRevokeChildren: mod.string(),
|
|
53532
|
+
canManageChildrenPermissions: mod.string(),
|
|
53533
|
+
canViewAnalytics: mod.boolean()
|
|
53534
|
+
});
|
|
53522
53535
|
var LCNBoostStatus = mod.enum(["DRAFT", "LIVE"]);
|
|
53523
53536
|
var BoostValidator = mod.object({
|
|
53524
53537
|
uri: mod.string(),
|
|
@@ -53526,8 +53539,17 @@ var BoostValidator = mod.object({
|
|
|
53526
53539
|
type: mod.string().optional(),
|
|
53527
53540
|
category: mod.string().optional(),
|
|
53528
53541
|
status: LCNBoostStatus.optional(),
|
|
53529
|
-
autoConnectRecipients: mod.boolean().optional()
|
|
53542
|
+
autoConnectRecipients: mod.boolean().optional(),
|
|
53543
|
+
claimPermissions: BoostPermissionsValidator.optional()
|
|
53530
53544
|
});
|
|
53545
|
+
var BoostQueryValidator = mod.object({
|
|
53546
|
+
uri: mod.string().or(mod.object({ $in: mod.string().array() })),
|
|
53547
|
+
name: mod.string().or(mod.object({ $in: mod.string().array() })),
|
|
53548
|
+
type: mod.string().or(mod.object({ $in: mod.string().array() })),
|
|
53549
|
+
category: mod.string().or(mod.object({ $in: mod.string().array() })),
|
|
53550
|
+
status: LCNBoostStatus.or(mod.object({ $in: LCNBoostStatus.array() })),
|
|
53551
|
+
autoConnectRecipients: mod.boolean()
|
|
53552
|
+
}).partial();
|
|
53531
53553
|
var PaginatedBoostsValidator = PaginationResponseValidator.extend({
|
|
53532
53554
|
records: BoostValidator.array()
|
|
53533
53555
|
});
|
|
@@ -53548,19 +53570,6 @@ var LCNBoostClaimLinkOptionsValidator = mod.object({
|
|
|
53548
53570
|
ttlSeconds: mod.number().optional(),
|
|
53549
53571
|
totalUses: mod.number().optional()
|
|
53550
53572
|
});
|
|
53551
|
-
var BoostPermissionsValidator = mod.object({
|
|
53552
|
-
role: mod.string(),
|
|
53553
|
-
canEdit: mod.boolean(),
|
|
53554
|
-
canIssue: mod.boolean(),
|
|
53555
|
-
canRevoke: mod.boolean(),
|
|
53556
|
-
canManagePermissions: mod.boolean(),
|
|
53557
|
-
canIssueChildren: mod.string(),
|
|
53558
|
-
canCreateChildren: mod.string(),
|
|
53559
|
-
canEditChildren: mod.string(),
|
|
53560
|
-
canRevokeChildren: mod.string(),
|
|
53561
|
-
canManageChildrenPermissions: mod.string(),
|
|
53562
|
-
canViewAnalytics: mod.boolean()
|
|
53563
|
-
});
|
|
53564
53573
|
var LCNSigningAuthorityValidator = mod.object({
|
|
53565
53574
|
endpoint: mod.string()
|
|
53566
53575
|
});
|