@learncard/react 2.9.16 → 2.9.20
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/cjs/{AchievementCard-c43817f2.js → AchievementCard-98d6c7f9.js} +2 -2
- package/dist/cjs/{AchievementCard-c43817f2.js.map → AchievementCard-98d6c7f9.js.map} +1 -1
- package/dist/cjs/{BoostGenericCard-c8997410.js → BoostGenericCard-ff8a8c02.js} +3 -3
- package/dist/cjs/BoostGenericCard-ff8a8c02.js.map +1 -0
- package/dist/cjs/{CertificateDisplayCard-50bb92b7.js → CertificateDisplayCard-2c204b87.js} +4 -4
- package/dist/cjs/{CertificateDisplayCard-50bb92b7.js.map → CertificateDisplayCard-2c204b87.js.map} +1 -1
- package/dist/cjs/{CourseVerticalCard-554ff1b7.js → CourseVerticalCard-0a8ea4dc.js} +2 -2
- package/dist/cjs/{CourseVerticalCard-554ff1b7.js.map → CourseVerticalCard-0a8ea4dc.js.map} +1 -1
- package/dist/cjs/{MeritBadgeDisplayCard-12ab2f7f.js → MeritBadgeDisplayCard-675bbb30.js} +4 -4
- package/dist/cjs/{MeritBadgeDisplayCard-12ab2f7f.js.map → MeritBadgeDisplayCard-675bbb30.js.map} +1 -1
- package/dist/cjs/{MeritBadgeSkillsCount-4450c6d7.js → MeritBadgeSkillsCount-b5189c90.js} +2 -2
- package/dist/cjs/{MeritBadgeSkillsCount-4450c6d7.js.map → MeritBadgeSkillsCount-b5189c90.js.map} +1 -1
- package/dist/cjs/{VCCard-cbe3186e.js → VCCard-db48d46a.js} +3 -3
- package/dist/cjs/{VCCard-cbe3186e.js.map → VCCard-db48d46a.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-b15aba87.js → VCDisplayBackFace-91b38e36.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-b15aba87.js.map → VCDisplayBackFace-91b38e36.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-b843969e.js → VCDisplayCard-79147595.js} +3 -3
- package/dist/cjs/{VCDisplayCard-b843969e.js.map → VCDisplayCard-79147595.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-70972b92.js → VCDisplayCard2-f379b2ec.js} +6 -6
- package/dist/cjs/{VCDisplayCard2-70972b92.js.map → VCDisplayCard2-f379b2ec.js.map} +1 -1
- package/dist/cjs/{VCVerificationPill-8eea1628.js → VCVerificationPill-f3230ba8.js} +2 -2
- package/dist/cjs/{VCVerificationPill-8eea1628.js.map → VCVerificationPill-f3230ba8.js.map} +1 -1
- package/dist/cjs/{VerifierStateBadgeAndText-2f8b6c33.js → VerifierStateBadgeAndText-ffdf5618.js} +132 -22
- package/dist/cjs/VerifierStateBadgeAndText-ffdf5618.js.map +1 -0
- package/dist/cjs/{credential.helpers-b424548e.js → credential.helpers-dedfda43.js} +2 -2
- package/dist/cjs/{credential.helpers-b424548e.js.map → credential.helpers-dedfda43.js.map} +1 -1
- package/dist/cjs/index.js +14 -14
- package/dist/cjs/index10.js +1 -1
- package/dist/cjs/index13.js +14 -14
- package/dist/cjs/index2.js +1 -1
- package/dist/cjs/index21.js +5 -5
- package/dist/cjs/index3.js +3 -3
- package/dist/cjs/index38.js +10 -10
- package/dist/cjs/index39.js +4 -4
- package/dist/cjs/index40.js +5 -5
- package/dist/cjs/index41.js +6 -6
- package/dist/cjs/index42.js +1 -1
- package/dist/cjs/index45.js +2 -2
- package/dist/cjs/index6.js +4 -4
- package/dist/cjs/{types.esm-a2380ebf.js → types.esm-60cb8f18.js} +104 -10
- package/dist/cjs/types.esm-60cb8f18.js.map +1 -0
- package/dist/esm/{AchievementCard-e80836dd.js → AchievementCard-c600788a.js} +2 -2
- package/dist/esm/{AchievementCard-e80836dd.js.map → AchievementCard-c600788a.js.map} +1 -1
- package/dist/esm/{BoostGenericCard-e2f56c93.js → BoostGenericCard-e6e36d12.js} +3 -3
- package/dist/esm/BoostGenericCard-e6e36d12.js.map +1 -0
- package/dist/esm/{CertificateDisplayCard-6465ceb0.js → CertificateDisplayCard-670e7fd9.js} +4 -4
- package/dist/esm/{CertificateDisplayCard-6465ceb0.js.map → CertificateDisplayCard-670e7fd9.js.map} +1 -1
- package/dist/esm/{CourseVerticalCard-aae0c030.js → CourseVerticalCard-fe85271e.js} +2 -2
- package/dist/esm/{CourseVerticalCard-aae0c030.js.map → CourseVerticalCard-fe85271e.js.map} +1 -1
- package/dist/esm/{MeritBadgeDisplayCard-6998219f.js → MeritBadgeDisplayCard-05e01572.js} +4 -4
- package/dist/esm/{MeritBadgeDisplayCard-6998219f.js.map → MeritBadgeDisplayCard-05e01572.js.map} +1 -1
- package/dist/esm/{MeritBadgeSkillsCount-af74732f.js → MeritBadgeSkillsCount-5d384f4a.js} +2 -2
- package/dist/esm/{MeritBadgeSkillsCount-af74732f.js.map → MeritBadgeSkillsCount-5d384f4a.js.map} +1 -1
- package/dist/esm/{VCCard-d1fe7908.js → VCCard-2122743e.js} +3 -3
- package/dist/esm/{VCCard-d1fe7908.js.map → VCCard-2122743e.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-279506dc.js → VCDisplayBackFace-3176a682.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-279506dc.js.map → VCDisplayBackFace-3176a682.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-aa73b0b1.js → VCDisplayCard-7f816cb3.js} +3 -3
- package/dist/esm/{VCDisplayCard-aa73b0b1.js.map → VCDisplayCard-7f816cb3.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-b9a28b46.js → VCDisplayCard2-387763e6.js} +6 -6
- package/dist/esm/{VCDisplayCard2-b9a28b46.js.map → VCDisplayCard2-387763e6.js.map} +1 -1
- package/dist/esm/{VCVerificationPill-b78335e3.js → VCVerificationPill-e6744b58.js} +2 -2
- package/dist/esm/{VCVerificationPill-b78335e3.js.map → VCVerificationPill-e6744b58.js.map} +1 -1
- package/dist/esm/{VerifierStateBadgeAndText-884852f0.js → VerifierStateBadgeAndText-3d0f36ca.js} +132 -22
- package/dist/esm/VerifierStateBadgeAndText-3d0f36ca.js.map +1 -0
- package/dist/esm/{credential.helpers-77a093cf.js → credential.helpers-82c64c5c.js} +2 -2
- package/dist/esm/{credential.helpers-77a093cf.js.map → credential.helpers-82c64c5c.js.map} +1 -1
- package/dist/esm/index.js +14 -14
- package/dist/esm/index10.js +1 -1
- package/dist/esm/index13.js +14 -14
- package/dist/esm/index2.js +1 -1
- package/dist/esm/index21.js +5 -5
- package/dist/esm/index3.js +3 -3
- package/dist/esm/index38.js +10 -10
- package/dist/esm/index39.js +4 -4
- package/dist/esm/index40.js +5 -5
- package/dist/esm/index41.js +6 -6
- package/dist/esm/index42.js +1 -1
- package/dist/esm/index45.js +2 -2
- package/dist/esm/index6.js +4 -4
- package/dist/esm/{types.esm-a0cefe4d.js → types.esm-5fe528e7.js} +104 -10
- package/dist/esm/types.esm-5fe528e7.js.map +1 -0
- package/dist/main.css +1 -1
- package/dist/main.js +1 -1
- package/package.json +3 -3
- package/dist/cjs/BoostGenericCard-c8997410.js.map +0 -1
- package/dist/cjs/VerifierStateBadgeAndText-2f8b6c33.js.map +0 -1
- package/dist/cjs/types.esm-a2380ebf.js.map +0 -1
- package/dist/esm/BoostGenericCard-e2f56c93.js.map +0 -1
- package/dist/esm/VerifierStateBadgeAndText-884852f0.js.map +0 -1
- package/dist/esm/types.esm-a0cefe4d.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var types_esm = require('./types.esm-
|
|
4
|
+
var types_esm = require('./types.esm-60cb8f18.js');
|
|
5
5
|
var VerificationFailedIcon = require('./RedXCircle.svg');
|
|
6
6
|
var VerificationPassedIcon = require('./GreenCheckCircle.svg');
|
|
7
7
|
var VerificationWarningIcon = require('./YellowWarningCircle.svg');
|
|
@@ -57,4 +57,4 @@ const VCVerificationPill = ({
|
|
|
57
57
|
|
|
58
58
|
exports.VCVerificationPill = VCVerificationPill;
|
|
59
59
|
exports.ValidationStateIndicator = ValidationStateIndicator;
|
|
60
|
-
//# sourceMappingURL=VCVerificationPill-
|
|
60
|
+
//# sourceMappingURL=VCVerificationPill-f3230ba8.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VCVerificationPill-
|
|
1
|
+
{"version":3,"file":"VCVerificationPill-f3230ba8.js","sources":["../../src/components/VCVerificationPill/VCVerificationPill.tsx"],"sourcesContent":["import React from 'react';\nimport { VerificationStatus, VerificationStatusEnum } from '@learncard/types';\n\nimport VerificationFailedIcon from '../../assets/images/RedXCircle.svg';\nimport VerificationPassedIcon from '../../assets/images/GreenCheckCircle.svg';\nimport VerificationWarningIcon from '../../assets/images/YellowWarningCircle.svg';\n\ntype VerificationDisplayItemProps = {\n status?: VerificationStatus;\n message?: string;\n details?: string;\n};\n\ntype VerifiableStateIndicatorProps = {\n status: VerificationStatus;\n};\n\nconst StatusToBgColor = {\n [VerificationStatusEnum.Success]: 'bg-emerald-500',\n [VerificationStatusEnum.Failed]: 'bg-yellow-400',\n [VerificationStatusEnum.Error]: 'bg-rose-600',\n};\n\nconst StatusToTextColor = {\n [VerificationStatusEnum.Success]: 'text-emerald-700',\n [VerificationStatusEnum.Failed]: 'text-yellow-400',\n [VerificationStatusEnum.Error]: 'text-rose-600',\n};\n\nconst StatusToIcon = {\n [VerificationStatusEnum.Success]: VerificationPassedIcon,\n [VerificationStatusEnum.Failed]: VerificationWarningIcon,\n [VerificationStatusEnum.Error]: VerificationFailedIcon,\n};\n\nconst StatusToText = {\n [VerificationStatusEnum.Success]: 'Verification Success',\n [VerificationStatusEnum.Error]: 'Verification Error ',\n [VerificationStatusEnum.Failed]: 'Verification Failed',\n};\n\nexport const ValidationStateIndicator: React.FC<VerifiableStateIndicatorProps> = ({ status }) => {\n const bgColor = StatusToBgColor[status];\n const source = StatusToIcon[status];\n\n return (\n <div className={`relative rounded-full w-[30px] h-[30px] ${bgColor}`}>\n <div className=\"relative w-[100%] h-[100%] flex items-center justify-center rounded-[50%] bg-white rounded-full overflow-hidden\">\n <img\n className=\"h-full w-full object-contain p-1\"\n src={source ?? ''}\n alt=\"Verification Status Icon\"\n />\n </div>\n </div>\n );\n};\n\nconst VCVerificationPill: React.FC<VerificationDisplayItemProps> = ({\n message = '',\n details,\n status = VerificationStatusEnum.Success,\n}) => {\n const statusColor = StatusToTextColor[status];\n const statusInfoText = StatusToText[status];\n\n return (\n <section className=\"flex width-full bg-white p-2 px-5 my-3.5 justify-between items-center relative vc-verification-checklist-pill rounded-[22px]\">\n <div className=\"vc-pill-left\">\n <p className={`text-[10px] font-bold status-text uppercase ${statusColor}`}>\n {statusInfoText}\n </p>\n\n <p className=\"text-[12px] text-grayscale-900 vc-pill-text\">{message}</p>\n\n {details && <p className=\"text-[12px] text-gray-600\"> {details}</p>}\n </div>\n <div className=\"vc-pill-right\">\n <ValidationStateIndicator status={status} />\n </div>\n </section>\n );\n};\n\nexport default VCVerificationPill;\n"],"names":["VerificationStatusEnum","VerificationPassedIcon","VerificationWarningIcon","VerificationFailedIcon","React"],"mappings":";;;;;;;;;;;;;;;AAiBA,MAAM,eAAkB,GAAA;AAAA,EACpB,CAACA,gCAAuB,CAAA,OAAO,GAAG,gBAAA;AAAA,EAClC,CAACA,gCAAuB,CAAA,MAAM,GAAG,eAAA;AAAA,EACjC,CAACA,gCAAuB,CAAA,KAAK,GAAG,aAAA;AACpC,CAAA,CAAA;AAEA,MAAM,iBAAoB,GAAA;AAAA,EACtB,CAACA,gCAAuB,CAAA,OAAO,GAAG,kBAAA;AAAA,EAClC,CAACA,gCAAuB,CAAA,MAAM,GAAG,iBAAA;AAAA,EACjC,CAACA,gCAAuB,CAAA,KAAK,GAAG,eAAA;AACpC,CAAA,CAAA;AAEA,MAAM,YAAe,GAAA;AAAA,EACjB,CAACA,gCAAuB,CAAA,OAAO,GAAGC,0CAAA;AAAA,EAClC,CAACD,gCAAuB,CAAA,MAAM,GAAGE,2CAAA;AAAA,EACjC,CAACF,gCAAuB,CAAA,KAAK,GAAGG,0CAAA;AACpC,CAAA,CAAA;AAEA,MAAM,YAAe,GAAA;AAAA,EACjB,CAACH,gCAAuB,CAAA,OAAO,GAAG,sBAAA;AAAA,EAClC,CAACA,gCAAuB,CAAA,KAAK,GAAG,qBAAA;AAAA,EAChC,CAACA,gCAAuB,CAAA,MAAM,GAAG,qBAAA;AACrC,CAAA,CAAA;AAEO,MAAM,wBAAoE,GAAA,CAAC,EAAE,MAAA,EAAa,KAAA;AAC7F,EAAM,MAAA,OAAA,GAAU,gBAAgB,MAAM,CAAA,CAAA;AACtC,EAAM,MAAA,MAAA,GAAS,aAAa,MAAM,CAAA,CAAA;AAElC,EACI,uBAAAI,yBAAA,CAAA,aAAA,CAAC,SAAI,SAAW,EAAA,CAAA,wCAAA,EAA2C,OAAO,CAC9D,CAAA,EAAA,kBAAAA,yBAAA,CAAA,aAAA,CAAC,KAAI,EAAA,EAAA,SAAA,EAAU,iHACX,EAAA,kBAAAA,yBAAA,CAAA,aAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACG,SAAU,EAAA,kCAAA;AAAA,MACV,KAAK,MAAU,IAAA,IAAA,GAAA,MAAA,GAAA,EAAA;AAAA,MACf,GAAI,EAAA,0BAAA;AAAA,KAAA;AAAA,GAEZ,CACJ,CAAA,CAAA;AAER,EAAA;AAEA,MAAM,qBAA6D,CAAC;AAAA,EAChE,OAAU,GAAA,EAAA;AAAA,EACV,OAAA;AAAA,EACA,SAASJ,gCAAuB,CAAA,OAAA;AACpC,CAAM,KAAA;AACF,EAAM,MAAA,WAAA,GAAc,kBAAkB,MAAM,CAAA,CAAA;AAC5C,EAAM,MAAA,cAAA,GAAiB,aAAa,MAAM,CAAA,CAAA;AAE1C,EAAA,+DACK,SAAQ,EAAA,EAAA,SAAA,EAAU,8HACf,EAAA,kBAAAI,yBAAA,CAAA,aAAA,CAAC,SAAI,SAAU,EAAA,cAAA,EAAA,kBACVA,yBAAA,CAAA,aAAA,CAAA,GAAA,EAAA,EAAE,WAAW,CAA+C,4CAAA,EAAA,WAAW,MACnE,cACL,CAAA,0DAEC,GAAE,EAAA,EAAA,SAAA,EAAU,6CAA+C,EAAA,EAAA,OAAQ,GAEnE,OAAW,oBAAAA,yBAAA,CAAA,aAAA,CAAC,OAAE,SAAU,EAAA,2BAAA,EAAA,EAA4B,KAAE,OAAQ,CACnE,CACA,kBAAAA,yBAAA,CAAA,aAAA,CAAC,SAAI,SAAU,EAAA,eAAA,EAAA,0DACV,wBAAyB,EAAA,EAAA,MAAA,EAAgB,CAC9C,CACJ,CAAA,CAAA;AAER;;;;;"}
|
package/dist/cjs/{VerifierStateBadgeAndText-2f8b6c33.js → VerifierStateBadgeAndText-ffdf5618.js}
RENAMED
|
@@ -11,7 +11,7 @@ var Social = require('./social.png');
|
|
|
11
11
|
var Stem = require('./stem.png');
|
|
12
12
|
var Trade = require('./trade.png');
|
|
13
13
|
var PuzzlePiece = require('./PuzzlePiece-e64f4596.js');
|
|
14
|
-
var types_esm = require('./types.esm-
|
|
14
|
+
var types_esm = require('./types.esm-60cb8f18.js');
|
|
15
15
|
|
|
16
16
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
17
|
|
|
@@ -3371,7 +3371,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
3371
3371
|
));
|
|
3372
3372
|
var require_types_cjs_development = __commonJS({
|
|
3373
3373
|
"../learn-card-types/dist/types.cjs.development.js"(exports, module) {
|
|
3374
|
-
var _a2, _b, _c, _d, _e, _f, _g;
|
|
3374
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
3375
3375
|
var __defProp22 = Object.defineProperty;
|
|
3376
3376
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
3377
3377
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -3403,17 +3403,20 @@ var require_types_cjs_development = __commonJS({
|
|
|
3403
3403
|
AgeRatingValidator: /* @__PURE__ */ __name(() => AgeRatingValidator, "AgeRatingValidator"),
|
|
3404
3404
|
AlignmentTargetTypeValidator: /* @__PURE__ */ __name(() => AlignmentTargetTypeValidator, "AlignmentTargetTypeValidator"),
|
|
3405
3405
|
AlignmentValidator: /* @__PURE__ */ __name(() => AlignmentValidator, "AlignmentValidator"),
|
|
3406
|
+
AllowConnectionRequestsEnum: /* @__PURE__ */ __name(() => AllowConnectionRequestsEnum, "AllowConnectionRequestsEnum"),
|
|
3406
3407
|
AppBoostValidator: /* @__PURE__ */ __name(() => AppBoostValidator, "AppBoostValidator"),
|
|
3407
3408
|
AppEventInputValidator: /* @__PURE__ */ __name(() => AppEventInputValidator, "AppEventInputValidator"),
|
|
3408
3409
|
AppEventResponseValidator: /* @__PURE__ */ __name(() => AppEventResponseValidator, "AppEventResponseValidator"),
|
|
3409
3410
|
AppEventValidator: /* @__PURE__ */ __name(() => AppEventValidator, "AppEventValidator"),
|
|
3410
3411
|
AppListingStatusValidator: /* @__PURE__ */ __name(() => AppListingStatusValidator, "AppListingStatusValidator"),
|
|
3411
3412
|
AppStoreListingCreateValidator: /* @__PURE__ */ __name(() => AppStoreListingCreateValidator, "AppStoreListingCreateValidator"),
|
|
3413
|
+
AppStoreListingSubmitterValidator: /* @__PURE__ */ __name(() => AppStoreListingSubmitterValidator, "AppStoreListingSubmitterValidator"),
|
|
3412
3414
|
AppStoreListingUpdateValidator: /* @__PURE__ */ __name(() => AppStoreListingUpdateValidator, "AppStoreListingUpdateValidator"),
|
|
3413
3415
|
AppStoreListingValidator: /* @__PURE__ */ __name(() => AppStoreListingValidator, "AppStoreListingValidator"),
|
|
3414
3416
|
AuthGrantQueryValidator: /* @__PURE__ */ __name(() => AuthGrantQueryValidator, "AuthGrantQueryValidator"),
|
|
3415
3417
|
AuthGrantStatusValidator: /* @__PURE__ */ __name(() => AuthGrantStatusValidator, "AuthGrantStatusValidator"),
|
|
3416
3418
|
AuthGrantValidator: /* @__PURE__ */ __name(() => AuthGrantValidator, "AuthGrantValidator"),
|
|
3419
|
+
AuthSessionError: /* @__PURE__ */ __name(() => AuthSessionError, "AuthSessionError"),
|
|
3417
3420
|
AutoBoostConfigValidator: /* @__PURE__ */ __name(() => AutoBoostConfigValidator, "AutoBoostConfigValidator"),
|
|
3418
3421
|
BoostPermissionsQueryValidator: /* @__PURE__ */ __name(() => BoostPermissionsQueryValidator, "BoostPermissionsQueryValidator"),
|
|
3419
3422
|
BoostPermissionsValidator: /* @__PURE__ */ __name(() => BoostPermissionsValidator, "BoostPermissionsValidator"),
|
|
@@ -3421,6 +3424,8 @@ var require_types_cjs_development = __commonJS({
|
|
|
3421
3424
|
BoostRecipientValidator: /* @__PURE__ */ __name(() => BoostRecipientValidator, "BoostRecipientValidator"),
|
|
3422
3425
|
BoostRecipientWithChildrenValidator: /* @__PURE__ */ __name(() => BoostRecipientWithChildrenValidator, "BoostRecipientWithChildrenValidator"),
|
|
3423
3426
|
BoostValidator: /* @__PURE__ */ __name(() => BoostValidator, "BoostValidator"),
|
|
3427
|
+
CheckCredentialEventValidator: /* @__PURE__ */ __name(() => CheckCredentialEventValidator, "CheckCredentialEventValidator"),
|
|
3428
|
+
CheckIssuanceStatusEventValidator: /* @__PURE__ */ __name(() => CheckIssuanceStatusEventValidator, "CheckIssuanceStatusEventValidator"),
|
|
3424
3429
|
ClaimHookQueryValidator: /* @__PURE__ */ __name(() => ClaimHookQueryValidator, "ClaimHookQueryValidator"),
|
|
3425
3430
|
ClaimHookTypeValidator: /* @__PURE__ */ __name(() => ClaimHookTypeValidator, "ClaimHookTypeValidator"),
|
|
3426
3431
|
ClaimHookValidator: /* @__PURE__ */ __name(() => ClaimHookValidator, "ClaimHookValidator"),
|
|
@@ -3430,6 +3435,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
3430
3435
|
ConsentFlowContractDataValidator: /* @__PURE__ */ __name(() => ConsentFlowContractDataValidator, "ConsentFlowContractDataValidator"),
|
|
3431
3436
|
ConsentFlowContractDetailsValidator: /* @__PURE__ */ __name(() => ConsentFlowContractDetailsValidator, "ConsentFlowContractDetailsValidator"),
|
|
3432
3437
|
ConsentFlowContractQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowContractQueryValidator, "ConsentFlowContractQueryValidator"),
|
|
3438
|
+
ConsentFlowContractRequestForProfileListValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestForProfileListValidator, "ConsentFlowContractRequestForProfileListValidator"),
|
|
3439
|
+
ConsentFlowContractRequestForProfileValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestForProfileValidator, "ConsentFlowContractRequestForProfileValidator"),
|
|
3440
|
+
ConsentFlowContractRequestReadStatusValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestReadStatusValidator, "ConsentFlowContractRequestReadStatusValidator"),
|
|
3441
|
+
ConsentFlowContractRequestStatusValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestStatusValidator, "ConsentFlowContractRequestStatusValidator"),
|
|
3433
3442
|
ConsentFlowContractValidator: /* @__PURE__ */ __name(() => ConsentFlowContractValidator, "ConsentFlowContractValidator"),
|
|
3434
3443
|
ConsentFlowDataForDidQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowDataForDidQueryValidator, "ConsentFlowDataForDidQueryValidator"),
|
|
3435
3444
|
ConsentFlowDataQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowDataQueryValidator, "ConsentFlowDataQueryValidator"),
|
|
@@ -3462,6 +3471,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
3462
3471
|
CredentialActivityValidator: /* @__PURE__ */ __name(() => CredentialActivityValidator, "CredentialActivityValidator"),
|
|
3463
3472
|
CredentialActivityWithDetailsValidator: /* @__PURE__ */ __name(() => CredentialActivityWithDetailsValidator, "CredentialActivityWithDetailsValidator"),
|
|
3464
3473
|
CredentialInfoValidator: /* @__PURE__ */ __name(() => CredentialInfoValidator, "CredentialInfoValidator"),
|
|
3474
|
+
CredentialNameRefValidator: /* @__PURE__ */ __name(() => CredentialNameRefValidator, "CredentialNameRefValidator"),
|
|
3465
3475
|
CredentialRecordValidator: /* @__PURE__ */ __name(() => CredentialRecordValidator, "CredentialRecordValidator"),
|
|
3466
3476
|
CredentialSchemaValidator: /* @__PURE__ */ __name(() => CredentialSchemaValidator, "CredentialSchemaValidator"),
|
|
3467
3477
|
CredentialStatusValidator: /* @__PURE__ */ __name(() => CredentialStatusValidator, "CredentialStatusValidator"),
|
|
@@ -3483,6 +3493,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
3483
3493
|
GetFullSkillTreeResultValidator: /* @__PURE__ */ __name(() => GetFullSkillTreeResultValidator, "GetFullSkillTreeResultValidator"),
|
|
3484
3494
|
GetSkillPathInputValidator: /* @__PURE__ */ __name(() => GetSkillPathInputValidator, "GetSkillPathInputValidator"),
|
|
3485
3495
|
GetSkillPathResultValidator: /* @__PURE__ */ __name(() => GetSkillPathResultValidator, "GetSkillPathResultValidator"),
|
|
3496
|
+
GetTemplateRecipientsEventValidator: /* @__PURE__ */ __name(() => GetTemplateRecipientsEventValidator, "GetTemplateRecipientsEventValidator"),
|
|
3486
3497
|
IdentifierEntryValidator: /* @__PURE__ */ __name(() => IdentifierEntryValidator, "IdentifierEntryValidator"),
|
|
3487
3498
|
IdentifierTypeValidator: /* @__PURE__ */ __name(() => IdentifierTypeValidator, "IdentifierTypeValidator"),
|
|
3488
3499
|
IdentityObjectValidator: /* @__PURE__ */ __name(() => IdentityObjectValidator, "IdentityObjectValidator"),
|
|
@@ -3499,9 +3510,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
3499
3510
|
JWKValidator: /* @__PURE__ */ __name(() => JWKValidator, "JWKValidator"),
|
|
3500
3511
|
JWKWithPrivateKeyValidator: /* @__PURE__ */ __name(() => JWKWithPrivateKeyValidator, "JWKWithPrivateKeyValidator"),
|
|
3501
3512
|
KnownAchievementTypeValidator: /* @__PURE__ */ __name(() => KnownAchievementTypeValidator, "KnownAchievementTypeValidator"),
|
|
3513
|
+
LCNAuthedProfileValidator: /* @__PURE__ */ __name(() => LCNAuthedProfileValidator, "LCNAuthedProfileValidator"),
|
|
3502
3514
|
LCNBoostClaimLinkOptionsValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkOptionsValidator, "LCNBoostClaimLinkOptionsValidator"),
|
|
3503
3515
|
LCNBoostClaimLinkSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkSigningAuthorityValidator, "LCNBoostClaimLinkSigningAuthorityValidator"),
|
|
3504
3516
|
LCNBoostStatus: /* @__PURE__ */ __name(() => LCNBoostStatus, "LCNBoostStatus"),
|
|
3517
|
+
LCNConnectionProfileValidator: /* @__PURE__ */ __name(() => LCNConnectionProfileValidator, "LCNConnectionProfileValidator"),
|
|
3505
3518
|
LCNDomainOrOriginValidator: /* @__PURE__ */ __name(() => LCNDomainOrOriginValidator, "LCNDomainOrOriginValidator"),
|
|
3506
3519
|
LCNInboxContactMethodValidator: /* @__PURE__ */ __name(() => LCNInboxContactMethodValidator, "LCNInboxContactMethodValidator"),
|
|
3507
3520
|
LCNInboxStatusEnumValidator: /* @__PURE__ */ __name(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
|
|
@@ -3521,8 +3534,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
3521
3534
|
LCNProfileManagerValidator: /* @__PURE__ */ __name(() => LCNProfileManagerValidator, "LCNProfileManagerValidator"),
|
|
3522
3535
|
LCNProfileQueryValidator: /* @__PURE__ */ __name(() => LCNProfileQueryValidator, "LCNProfileQueryValidator"),
|
|
3523
3536
|
LCNProfileValidator: /* @__PURE__ */ __name(() => LCNProfileValidator, "LCNProfileValidator"),
|
|
3537
|
+
LCNPublicProfileValidator: /* @__PURE__ */ __name(() => LCNPublicProfileValidator, "LCNPublicProfileValidator"),
|
|
3524
3538
|
LCNSigningAuthorityForUserValidator: /* @__PURE__ */ __name(() => LCNSigningAuthorityForUserValidator, "LCNSigningAuthorityForUserValidator"),
|
|
3525
3539
|
LCNSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNSigningAuthorityValidator, "LCNSigningAuthorityValidator"),
|
|
3540
|
+
LCNVisibleProfileValidator: /* @__PURE__ */ __name(() => LCNVisibleProfileValidator, "LCNVisibleProfileValidator"),
|
|
3526
3541
|
LaunchTypeValidator: /* @__PURE__ */ __name(() => LaunchTypeValidator, "LaunchTypeValidator"),
|
|
3527
3542
|
LinkProviderFrameworkInputValidator: /* @__PURE__ */ __name(() => LinkProviderFrameworkInputValidator, "LinkProviderFrameworkInputValidator"),
|
|
3528
3543
|
PaginatedAppStoreListingsValidator: /* @__PURE__ */ __name(() => PaginatedAppStoreListingsValidator, "PaginatedAppStoreListingsValidator"),
|
|
@@ -3547,9 +3562,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
3547
3562
|
PaginatedLCNProfilesValidator: /* @__PURE__ */ __name(() => PaginatedLCNProfilesValidator, "PaginatedLCNProfilesValidator"),
|
|
3548
3563
|
PaginatedSkillFrameworksValidator: /* @__PURE__ */ __name(() => PaginatedSkillFrameworksValidator, "PaginatedSkillFrameworksValidator"),
|
|
3549
3564
|
PaginatedSkillTreeValidator: /* @__PURE__ */ __name(() => PaginatedSkillTreeValidator, "PaginatedSkillTreeValidator"),
|
|
3565
|
+
PaginatedVisibleLCNProfilesValidator: /* @__PURE__ */ __name(() => PaginatedVisibleLCNProfilesValidator, "PaginatedVisibleLCNProfilesValidator"),
|
|
3550
3566
|
PaginationOptionsValidator: /* @__PURE__ */ __name(() => PaginationOptionsValidator, "PaginationOptionsValidator"),
|
|
3551
3567
|
PaginationResponseValidator: /* @__PURE__ */ __name(() => PaginationResponseValidator, "PaginationResponseValidator"),
|
|
3552
3568
|
ProfileValidator: /* @__PURE__ */ __name(() => ProfileValidator, "ProfileValidator"),
|
|
3569
|
+
ProfileVisibilityEnum: /* @__PURE__ */ __name(() => ProfileVisibilityEnum, "ProfileVisibilityEnum"),
|
|
3553
3570
|
PromotionLevelValidator: /* @__PURE__ */ __name(() => PromotionLevelValidator, "PromotionLevelValidator"),
|
|
3554
3571
|
ProofValidator: /* @__PURE__ */ __name(() => ProofValidator, "ProofValidator"),
|
|
3555
3572
|
RefreshServiceValidator: /* @__PURE__ */ __name(() => RefreshServiceValidator, "RefreshServiceValidator"),
|
|
@@ -4830,10 +4847,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
4830
4847
|
__name(unwrapMessage, "unwrapMessage");
|
|
4831
4848
|
__name2(unwrapMessage, "unwrapMessage");
|
|
4832
4849
|
function finalizeIssue(iss, ctx, config2) {
|
|
4833
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
4850
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j, _k;
|
|
4834
4851
|
const full = __spreadProps(__spreadValues({}, iss), { path: (_a3 = iss.path) != null ? _a3 : [] });
|
|
4835
4852
|
if (!iss.message) {
|
|
4836
|
-
const message = (_k = (_j = (
|
|
4853
|
+
const message = (_k = (_j = (_h2 = (_f2 = unwrapMessage((_d2 = (_c2 = (_b2 = iss.inst) == null ? void 0 : _b2._zod.def) == null ? void 0 : _c2.error) == null ? void 0 : _d2.call(_c2, iss))) != null ? _f2 : unwrapMessage((_e2 = ctx == null ? void 0 : ctx.error) == null ? void 0 : _e2.call(ctx, iss))) != null ? _h2 : unwrapMessage((_g2 = config2.customError) == null ? void 0 : _g2.call(config2, iss))) != null ? _j : unwrapMessage((_i = config2.localeError) == null ? void 0 : _i.call(config2, iss))) != null ? _k : "Invalid input";
|
|
4837
4854
|
full.message = message;
|
|
4838
4855
|
}
|
|
4839
4856
|
delete full.inst;
|
|
@@ -10001,7 +10018,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
10001
10018
|
uppercase: { label: "\u05E7\u05DC\u05D8", gender: "m" }
|
|
10002
10019
|
};
|
|
10003
10020
|
return (issue2) => {
|
|
10004
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
10021
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
10005
10022
|
switch (issue2.code) {
|
|
10006
10023
|
case "invalid_type": {
|
|
10007
10024
|
const expectedKey = issue2.expected;
|
|
@@ -10038,7 +10055,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
10038
10055
|
return `\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${subject} ${verb} \u05DC\u05D4\u05DB\u05D9\u05DC ${comparison}`.trim();
|
|
10039
10056
|
}
|
|
10040
10057
|
const adj = issue2.inclusive ? "<=" : "<";
|
|
10041
|
-
const be = verbFor((
|
|
10058
|
+
const be = verbFor((_h2 = issue2.origin) != null ? _h2 : "value");
|
|
10042
10059
|
if (sizing == null ? void 0 : sizing.unit) {
|
|
10043
10060
|
return `${sizing.longLabel} \u05DE\u05D3\u05D9: ${subject} ${be} ${adj}${issue2.maximum.toString()} ${sizing.unit}`;
|
|
10044
10061
|
}
|
|
@@ -11278,7 +11295,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
11278
11295
|
template_literal: "\u012Fvestis"
|
|
11279
11296
|
};
|
|
11280
11297
|
return (issue2) => {
|
|
11281
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
11298
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j;
|
|
11282
11299
|
switch (issue2.code) {
|
|
11283
11300
|
case "invalid_type":
|
|
11284
11301
|
return `Gautas tipas ${parsedType6(issue2.input)}, o tik\u0117tasi - ${parsedTypeFromType(issue2.expected)}`;
|
|
@@ -11300,7 +11317,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
11300
11317
|
if (sizing == null ? void 0 : sizing.verb)
|
|
11301
11318
|
return `${capitalizeFirstCharacter((_f2 = origin != null ? origin : issue2.origin) != null ? _f2 : "reik\u0161m\u0117")} ${sizing.verb} ${issue2.minimum.toString()} ${(_g2 = sizing.unit) != null ? _g2 : "element\u0173"}`;
|
|
11302
11319
|
const adj = issue2.inclusive ? "ne ma\u017Eesnis kaip" : "didesnis kaip";
|
|
11303
|
-
return `${capitalizeFirstCharacter((
|
|
11320
|
+
return `${capitalizeFirstCharacter((_h2 = origin != null ? origin : issue2.origin) != null ? _h2 : "reik\u0161m\u0117")} turi b\u016Bti ${adj} ${issue2.minimum.toString()} ${sizing == null ? void 0 : sizing.unit}`;
|
|
11304
11321
|
}
|
|
11305
11322
|
case "invalid_format": {
|
|
11306
11323
|
const _issue = issue2;
|
|
@@ -12675,7 +12692,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
12675
12692
|
template_literal: "mall-literal"
|
|
12676
12693
|
};
|
|
12677
12694
|
return (issue2) => {
|
|
12678
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
12695
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
12679
12696
|
switch (issue2.code) {
|
|
12680
12697
|
case "invalid_type":
|
|
12681
12698
|
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${issue2.expected}, fick ${parsedType8(issue2.input)}`;
|
|
@@ -12721,7 +12738,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
12721
12738
|
case "invalid_union":
|
|
12722
12739
|
return "Ogiltig input";
|
|
12723
12740
|
case "invalid_element":
|
|
12724
|
-
return `Ogiltigt v\xE4rde i ${(
|
|
12741
|
+
return `Ogiltigt v\xE4rde i ${(_h2 = issue2.origin) != null ? _h2 : "v\xE4rdet"}`;
|
|
12725
12742
|
default:
|
|
12726
12743
|
return `Ogiltig input`;
|
|
12727
12744
|
}
|
|
@@ -15475,7 +15492,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
15475
15492
|
return _result.schema;
|
|
15476
15493
|
}
|
|
15477
15494
|
emit(schema, _params) {
|
|
15478
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
15495
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j;
|
|
15479
15496
|
const params = {
|
|
15480
15497
|
cycles: (_a3 = _params == null ? void 0 : _params.cycles) != null ? _a3 : "ref",
|
|
15481
15498
|
reused: (_b2 = _params == null ? void 0 : _params.reused) != null ? _b2 : "inline",
|
|
@@ -15603,7 +15620,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15603
15620
|
console.warn(`Invalid target: ${this.target}`);
|
|
15604
15621
|
}
|
|
15605
15622
|
if ((_g2 = params.external) == null ? void 0 : _g2.uri) {
|
|
15606
|
-
const id = (
|
|
15623
|
+
const id = (_h2 = params.external.registry.get(schema)) == null ? void 0 : _h2.id;
|
|
15607
15624
|
if (!id)
|
|
15608
15625
|
throw new Error("Schema is missing an `id` property");
|
|
15609
15626
|
result.$id = params.external.uri(id);
|
|
@@ -16200,7 +16217,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16200
16217
|
__name(hash, "hash");
|
|
16201
16218
|
__name2(hash, "hash");
|
|
16202
16219
|
var ZodNumber = /* @__PURE__ */ $constructor("ZodNumber", (inst, def) => {
|
|
16203
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
16220
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i;
|
|
16204
16221
|
$ZodNumber.init(inst, def);
|
|
16205
16222
|
ZodType.init(inst, def);
|
|
16206
16223
|
inst.gt = (value, params) => inst.check(_gt(value, params));
|
|
@@ -16221,7 +16238,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16221
16238
|
const bag = inst._zod.bag;
|
|
16222
16239
|
inst.minValue = (_c2 = Math.max((_a3 = bag.minimum) != null ? _a3 : Number.NEGATIVE_INFINITY, (_b2 = bag.exclusiveMinimum) != null ? _b2 : Number.NEGATIVE_INFINITY)) != null ? _c2 : null;
|
|
16223
16240
|
inst.maxValue = (_f2 = Math.min((_d2 = bag.maximum) != null ? _d2 : Number.POSITIVE_INFINITY, (_e2 = bag.exclusiveMaximum) != null ? _e2 : Number.POSITIVE_INFINITY)) != null ? _f2 : null;
|
|
16224
|
-
inst.isInt = ((_g2 = bag.format) != null ? _g2 : "").includes("int") || Number.isSafeInteger((
|
|
16241
|
+
inst.isInt = ((_g2 = bag.format) != null ? _g2 : "").includes("int") || Number.isSafeInteger((_h2 = bag.multipleOf) != null ? _h2 : 0.5);
|
|
16225
16242
|
inst.isFinite = true;
|
|
16226
16243
|
inst.format = (_i = bag.format) != null ? _i : null;
|
|
16227
16244
|
});
|
|
@@ -17508,6 +17525,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17508
17525
|
idBackgroundColor: external_exports.string().optional(),
|
|
17509
17526
|
repeatIdBackgroundImage: external_exports.boolean().optional()
|
|
17510
17527
|
});
|
|
17528
|
+
var ProfileVisibilityEnum = external_exports.enum(["public", "connections_only", "private"]);
|
|
17529
|
+
var AllowConnectionRequestsEnum = external_exports.enum(["anyone", "invite_only"]);
|
|
17511
17530
|
var LCNProfileValidator = external_exports.object({
|
|
17512
17531
|
profileId: external_exports.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
17513
17532
|
displayName: external_exports.string().default("").describe("Human-readable display name for the profile."),
|
|
@@ -17515,6 +17534,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17515
17534
|
bio: external_exports.string().default("").describe("Longer bio for the profile."),
|
|
17516
17535
|
did: external_exports.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
17517
17536
|
isPrivate: external_exports.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
17537
|
+
profileVisibility: ProfileVisibilityEnum.default("public").optional().describe("Profile visibility: 'public', 'connections_only', or 'private'."),
|
|
17538
|
+
showEmail: external_exports.boolean().default(false).optional().describe("Whether to show email to connections."),
|
|
17539
|
+
allowConnectionRequests: AllowConnectionRequestsEnum.default("anyone").optional().describe("Who can send connection requests: 'anyone' or 'invite_only'."),
|
|
17518
17540
|
email: external_exports.string().optional().describe("Contact email address for the profile. (deprecated)"),
|
|
17519
17541
|
image: external_exports.string().optional().describe("Profile image URL for the profile."),
|
|
17520
17542
|
heroImage: external_exports.string().optional().describe("Hero image URL for the profile."),
|
|
@@ -17529,6 +17551,32 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17529
17551
|
country: external_exports.string().optional().describe("Country for the profile."),
|
|
17530
17552
|
approved: external_exports.boolean().optional().describe("Approval status for the profile.")
|
|
17531
17553
|
});
|
|
17554
|
+
var LCNPublicProfileValidator = LCNProfileValidator.pick({
|
|
17555
|
+
profileId: true,
|
|
17556
|
+
displayName: true,
|
|
17557
|
+
shortBio: true,
|
|
17558
|
+
image: true,
|
|
17559
|
+
heroImage: true,
|
|
17560
|
+
type: true,
|
|
17561
|
+
isServiceProfile: true,
|
|
17562
|
+
display: true
|
|
17563
|
+
});
|
|
17564
|
+
var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
17565
|
+
bio: LCNProfileValidator.shape.bio,
|
|
17566
|
+
websiteLink: LCNProfileValidator.shape.websiteLink,
|
|
17567
|
+
role: LCNProfileValidator.shape.role,
|
|
17568
|
+
highlightedCredentials: LCNProfileValidator.shape.highlightedCredentials,
|
|
17569
|
+
did: LCNProfileValidator.shape.did
|
|
17570
|
+
});
|
|
17571
|
+
var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
|
|
17572
|
+
email: LCNProfileValidator.shape.email
|
|
17573
|
+
});
|
|
17574
|
+
var LCNVisibleProfileValidator = external_exports.union([
|
|
17575
|
+
LCNConnectionProfileValidator.strict(),
|
|
17576
|
+
LCNAuthedProfileValidator.strict(),
|
|
17577
|
+
LCNPublicProfileValidator.strict(),
|
|
17578
|
+
LCNProfileValidator
|
|
17579
|
+
]);
|
|
17532
17580
|
var LCNProfileQueryValidator = external_exports.object({
|
|
17533
17581
|
profileId: StringQuery,
|
|
17534
17582
|
displayName: StringQuery,
|
|
@@ -17542,6 +17590,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17542
17590
|
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
17543
17591
|
records: LCNProfileValidator.array()
|
|
17544
17592
|
});
|
|
17593
|
+
var PaginatedVisibleLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
17594
|
+
records: LCNVisibleProfileValidator.array()
|
|
17595
|
+
});
|
|
17545
17596
|
var LCNProfileConnectionStatusEnum = external_exports.enum([
|
|
17546
17597
|
"CONNECTED",
|
|
17547
17598
|
"PENDING_REQUEST_SENT",
|
|
@@ -17675,7 +17726,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17675
17726
|
records: BoostValidator.array()
|
|
17676
17727
|
});
|
|
17677
17728
|
var BoostRecipientValidator = external_exports.object({
|
|
17678
|
-
to:
|
|
17729
|
+
to: LCNVisibleProfileValidator,
|
|
17679
17730
|
from: external_exports.string(),
|
|
17680
17731
|
received: external_exports.string().optional(),
|
|
17681
17732
|
uri: external_exports.string().optional()
|
|
@@ -17684,7 +17735,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17684
17735
|
records: BoostRecipientValidator.array()
|
|
17685
17736
|
});
|
|
17686
17737
|
var BoostRecipientWithChildrenValidator = external_exports.object({
|
|
17687
|
-
to:
|
|
17738
|
+
to: LCNVisibleProfileValidator,
|
|
17688
17739
|
from: external_exports.string(),
|
|
17689
17740
|
received: external_exports.string().optional(),
|
|
17690
17741
|
boostUris: external_exports.array(external_exports.string()),
|
|
@@ -17828,6 +17879,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17828
17879
|
autoBoosts: external_exports.string().array().optional(),
|
|
17829
17880
|
writers: external_exports.array(LCNProfileValidator).optional()
|
|
17830
17881
|
});
|
|
17882
|
+
var ConsentFlowContractRequestStatusValidator = external_exports.enum(["pending", "accepted", "denied"]).nullable();
|
|
17883
|
+
var ConsentFlowContractRequestReadStatusValidator = external_exports.enum(["unseen", "seen"]).nullable();
|
|
17884
|
+
var ConsentFlowContractRequestForProfileValidator = external_exports.object({
|
|
17885
|
+
profile: LCNProfileValidator,
|
|
17886
|
+
status: ConsentFlowContractRequestStatusValidator,
|
|
17887
|
+
readStatus: ConsentFlowContractRequestReadStatusValidator.optional()
|
|
17888
|
+
});
|
|
17889
|
+
var ConsentFlowContractRequestForProfileListValidator = external_exports.array(
|
|
17890
|
+
ConsentFlowContractRequestForProfileValidator
|
|
17891
|
+
);
|
|
17831
17892
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
17832
17893
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
17833
17894
|
});
|
|
@@ -17988,7 +18049,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17988
18049
|
"PROFILE_PARENT_APPROVED",
|
|
17989
18050
|
"APP_LISTING_SUBMITTED",
|
|
17990
18051
|
"APP_LISTING_APPROVED",
|
|
17991
|
-
"APP_LISTING_REJECTED"
|
|
18052
|
+
"APP_LISTING_REJECTED",
|
|
18053
|
+
"APP_LISTING_WITHDRAWN",
|
|
18054
|
+
"DEVICE_LINK_REQUEST"
|
|
17992
18055
|
]);
|
|
17993
18056
|
var LCNNotificationMessageValidator = external_exports.object({
|
|
17994
18057
|
title: external_exports.string().optional(),
|
|
@@ -18127,6 +18190,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18127
18190
|
webhookUrl: external_exports.string().optional(),
|
|
18128
18191
|
boostUri: external_exports.string().optional(),
|
|
18129
18192
|
activityId: external_exports.string().optional(),
|
|
18193
|
+
integrationId: external_exports.string().optional(),
|
|
18130
18194
|
signingAuthority: external_exports.object({
|
|
18131
18195
|
endpoint: external_exports.string().optional(),
|
|
18132
18196
|
name: external_exports.string().optional()
|
|
@@ -18228,8 +18292,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18228
18292
|
claimUrl: external_exports.string().url().optional(),
|
|
18229
18293
|
recipientDid: external_exports.string().optional()
|
|
18230
18294
|
});
|
|
18295
|
+
var CredentialNameRefValidator = external_exports.object({ name: external_exports.string() }).passthrough();
|
|
18231
18296
|
var ClaimInboxCredentialValidator = external_exports.object({
|
|
18232
|
-
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).describe("The credential to issue."),
|
|
18297
|
+
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).or(CredentialNameRefValidator).describe("The credential to issue, or a { name } reference to resolve a boost template."),
|
|
18233
18298
|
configuration: external_exports.object({
|
|
18234
18299
|
publishableKey: external_exports.string(),
|
|
18235
18300
|
signingAuthorityName: external_exports.string().optional(),
|
|
@@ -18513,6 +18578,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18513
18578
|
"DEMOTED"
|
|
18514
18579
|
]);
|
|
18515
18580
|
var AgeRatingValidator = external_exports.enum(["4+", "9+", "12+", "17+"]);
|
|
18581
|
+
var AppStoreListingSubmitterValidator = external_exports.object({
|
|
18582
|
+
profileId: external_exports.string(),
|
|
18583
|
+
displayName: external_exports.string(),
|
|
18584
|
+
email: external_exports.string().optional()
|
|
18585
|
+
});
|
|
18516
18586
|
var AppStoreListingValidator = external_exports.object({
|
|
18517
18587
|
listing_id: external_exports.string(),
|
|
18518
18588
|
slug: external_exports.string().optional(),
|
|
@@ -18534,7 +18604,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18534
18604
|
screenshots: external_exports.array(external_exports.string()).optional(),
|
|
18535
18605
|
hero_background_color: external_exports.string().optional(),
|
|
18536
18606
|
min_age: external_exports.number().int().min(0).max(18).optional(),
|
|
18537
|
-
age_rating: AgeRatingValidator.optional()
|
|
18607
|
+
age_rating: AgeRatingValidator.optional(),
|
|
18608
|
+
submitted_at: external_exports.string().optional(),
|
|
18609
|
+
submitter: AppStoreListingSubmitterValidator.optional(),
|
|
18610
|
+
contact_email: external_exports.string().email().optional()
|
|
18538
18611
|
});
|
|
18539
18612
|
var AppStoreListingCreateValidator = AppStoreListingValidator.omit({
|
|
18540
18613
|
listing_id: true,
|
|
@@ -18562,9 +18635,39 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18562
18635
|
var SendCredentialEventValidator = external_exports.object({
|
|
18563
18636
|
type: external_exports.literal("send-credential"),
|
|
18564
18637
|
templateAlias: external_exports.string(),
|
|
18565
|
-
templateData: external_exports.record(external_exports.string(), external_exports.unknown()).optional()
|
|
18638
|
+
templateData: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
|
|
18639
|
+
preventDuplicateClaim: external_exports.boolean().optional()
|
|
18640
|
+
});
|
|
18641
|
+
var CheckCredentialEventValidator = external_exports.object({
|
|
18642
|
+
type: external_exports.literal("check-credential"),
|
|
18643
|
+
templateAlias: external_exports.string().optional(),
|
|
18644
|
+
boostUri: external_exports.string().optional()
|
|
18645
|
+
}).refine((input) => Boolean(input.templateAlias) !== Boolean(input.boostUri), {
|
|
18646
|
+
message: "Exactly one of templateAlias or boostUri is required"
|
|
18647
|
+
});
|
|
18648
|
+
var CheckIssuanceStatusEventValidator = external_exports.object({
|
|
18649
|
+
type: external_exports.literal("check-issuance-status"),
|
|
18650
|
+
templateAlias: external_exports.string().optional(),
|
|
18651
|
+
boostUri: external_exports.string().optional(),
|
|
18652
|
+
recipient: external_exports.string()
|
|
18653
|
+
}).refine((input) => Boolean(input.templateAlias) !== Boolean(input.boostUri), {
|
|
18654
|
+
message: "Exactly one of templateAlias or boostUri is required"
|
|
18566
18655
|
});
|
|
18567
|
-
var
|
|
18656
|
+
var GetTemplateRecipientsEventValidator = external_exports.object({
|
|
18657
|
+
type: external_exports.literal("get-template-recipients"),
|
|
18658
|
+
templateAlias: external_exports.string().optional(),
|
|
18659
|
+
boostUri: external_exports.string().optional(),
|
|
18660
|
+
limit: external_exports.number().optional(),
|
|
18661
|
+
cursor: external_exports.string().optional()
|
|
18662
|
+
}).refine((input) => Boolean(input.templateAlias) !== Boolean(input.boostUri), {
|
|
18663
|
+
message: "Exactly one of templateAlias or boostUri is required"
|
|
18664
|
+
});
|
|
18665
|
+
var AppEventValidator = external_exports.discriminatedUnion("type", [
|
|
18666
|
+
SendCredentialEventValidator,
|
|
18667
|
+
CheckCredentialEventValidator,
|
|
18668
|
+
CheckIssuanceStatusEventValidator,
|
|
18669
|
+
GetTemplateRecipientsEventValidator
|
|
18670
|
+
]);
|
|
18568
18671
|
var AppEventInputValidator = external_exports.object({
|
|
18569
18672
|
listingId: external_exports.string(),
|
|
18570
18673
|
event: AppEventValidator
|
|
@@ -18627,6 +18730,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18627
18730
|
failed: external_exports.number(),
|
|
18628
18731
|
claimRate: external_exports.number()
|
|
18629
18732
|
});
|
|
18733
|
+
var AuthSessionError = (_h = class extends Error {
|
|
18734
|
+
constructor(message, reason) {
|
|
18735
|
+
super(message);
|
|
18736
|
+
this.reason = reason;
|
|
18737
|
+
this.name = "AuthSessionError";
|
|
18738
|
+
}
|
|
18739
|
+
}, __name(_h, "AuthSessionError"), __name2(_h, "AuthSessionError"), _h);
|
|
18630
18740
|
}
|
|
18631
18741
|
});
|
|
18632
18742
|
var require_dist = __commonJS({
|
|
@@ -19370,4 +19480,4 @@ exports.getBaseUrl = getBaseUrl;
|
|
|
19370
19480
|
exports.isAppDidWeb = isAppDidWeb;
|
|
19371
19481
|
exports.prettyBytes = prettyBytes;
|
|
19372
19482
|
exports.truncateWithEllipsis = truncateWithEllipsis;
|
|
19373
|
-
//# sourceMappingURL=VerifierStateBadgeAndText-
|
|
19483
|
+
//# sourceMappingURL=VerifierStateBadgeAndText-ffdf5618.js.map
|