@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,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { V as VerificationStatusEnum } from './types.esm-
|
|
2
|
+
import { V as VerificationStatusEnum } from './types.esm-5fe528e7.js';
|
|
3
3
|
import VerificationFailedIcon from './RedXCircle.svg';
|
|
4
4
|
import VerificationPassedIcon from './GreenCheckCircle.svg';
|
|
5
5
|
import VerificationWarningIcon from './YellowWarningCircle.svg';
|
|
@@ -47,4 +47,4 @@ const VCVerificationPill = ({
|
|
|
47
47
|
};
|
|
48
48
|
|
|
49
49
|
export { ValidationStateIndicator as V, VCVerificationPill as a };
|
|
50
|
-
//# sourceMappingURL=VCVerificationPill-
|
|
50
|
+
//# sourceMappingURL=VCVerificationPill-e6744b58.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VCVerificationPill-
|
|
1
|
+
{"version":3,"file":"VCVerificationPill-e6744b58.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":[],"mappings":";;;;;;AAiBA,MAAM,eAAkB,GAAA;AAAA,EACpB,CAAC,sBAAuB,CAAA,OAAO,GAAG,gBAAA;AAAA,EAClC,CAAC,sBAAuB,CAAA,MAAM,GAAG,eAAA;AAAA,EACjC,CAAC,sBAAuB,CAAA,KAAK,GAAG,aAAA;AACpC,CAAA,CAAA;AAEA,MAAM,iBAAoB,GAAA;AAAA,EACtB,CAAC,sBAAuB,CAAA,OAAO,GAAG,kBAAA;AAAA,EAClC,CAAC,sBAAuB,CAAA,MAAM,GAAG,iBAAA;AAAA,EACjC,CAAC,sBAAuB,CAAA,KAAK,GAAG,eAAA;AACpC,CAAA,CAAA;AAEA,MAAM,YAAe,GAAA;AAAA,EACjB,CAAC,sBAAuB,CAAA,OAAO,GAAG,sBAAA;AAAA,EAClC,CAAC,sBAAuB,CAAA,MAAM,GAAG,uBAAA;AAAA,EACjC,CAAC,sBAAuB,CAAA,KAAK,GAAG,sBAAA;AACpC,CAAA,CAAA;AAEA,MAAM,YAAe,GAAA;AAAA,EACjB,CAAC,sBAAuB,CAAA,OAAO,GAAG,sBAAA;AAAA,EAClC,CAAC,sBAAuB,CAAA,KAAK,GAAG,qBAAA;AAAA,EAChC,CAAC,sBAAuB,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,uBAAA,KAAA,CAAA,aAAA,CAAC,SAAI,SAAW,EAAA,CAAA,wCAAA,EAA2C,OAAO,CAC9D,CAAA,EAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,KAAI,EAAA,EAAA,SAAA,EAAU,iHACX,EAAA,kBAAA,KAAA,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,SAAS,sBAAuB,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,2CACK,SAAQ,EAAA,EAAA,SAAA,EAAU,8HACf,EAAA,kBAAA,KAAA,CAAA,aAAA,CAAC,SAAI,SAAU,EAAA,cAAA,EAAA,kBACV,KAAA,CAAA,aAAA,CAAA,GAAA,EAAA,EAAE,WAAW,CAA+C,4CAAA,EAAA,WAAW,MACnE,cACL,CAAA,sCAEC,GAAE,EAAA,EAAA,SAAA,EAAU,6CAA+C,EAAA,EAAA,OAAQ,GAEnE,OAAW,oBAAA,KAAA,CAAA,aAAA,CAAC,OAAE,SAAU,EAAA,2BAAA,EAAA,EAA4B,KAAE,OAAQ,CACnE,CACA,kBAAA,KAAA,CAAA,aAAA,CAAC,SAAI,SAAU,EAAA,eAAA,EAAA,sCACV,wBAAyB,EAAA,EAAA,MAAA,EAAgB,CAC9C,CACJ,CAAA,CAAA;AAER;;;;"}
|
package/dist/esm/{VerifierStateBadgeAndText-884852f0.js → VerifierStateBadgeAndText-3d0f36ca.js}
RENAMED
|
@@ -9,7 +9,7 @@ import Social from './social.png';
|
|
|
9
9
|
import Stem from './stem.png';
|
|
10
10
|
import Trade from './trade.png';
|
|
11
11
|
import { P as PuzzlePiece } from './PuzzlePiece-a3d9cc62.js';
|
|
12
|
-
import { o as object, l as literal, n as number, s as string, u as union } from './types.esm-
|
|
12
|
+
import { o as object, l as literal, n as number, s as string, u as union } from './types.esm-5fe528e7.js';
|
|
13
13
|
|
|
14
14
|
const AcuteCheckmark = ({ className = "" }) => {
|
|
15
15
|
return /* @__PURE__ */ React.createElement(
|
|
@@ -3356,7 +3356,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
3356
3356
|
));
|
|
3357
3357
|
var require_types_cjs_development = __commonJS({
|
|
3358
3358
|
"../learn-card-types/dist/types.cjs.development.js"(exports, module) {
|
|
3359
|
-
var _a2, _b, _c, _d, _e, _f, _g;
|
|
3359
|
+
var _a2, _b, _c, _d, _e, _f, _g, _h;
|
|
3360
3360
|
var __defProp22 = Object.defineProperty;
|
|
3361
3361
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
3362
3362
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -3388,17 +3388,20 @@ var require_types_cjs_development = __commonJS({
|
|
|
3388
3388
|
AgeRatingValidator: /* @__PURE__ */ __name(() => AgeRatingValidator, "AgeRatingValidator"),
|
|
3389
3389
|
AlignmentTargetTypeValidator: /* @__PURE__ */ __name(() => AlignmentTargetTypeValidator, "AlignmentTargetTypeValidator"),
|
|
3390
3390
|
AlignmentValidator: /* @__PURE__ */ __name(() => AlignmentValidator, "AlignmentValidator"),
|
|
3391
|
+
AllowConnectionRequestsEnum: /* @__PURE__ */ __name(() => AllowConnectionRequestsEnum, "AllowConnectionRequestsEnum"),
|
|
3391
3392
|
AppBoostValidator: /* @__PURE__ */ __name(() => AppBoostValidator, "AppBoostValidator"),
|
|
3392
3393
|
AppEventInputValidator: /* @__PURE__ */ __name(() => AppEventInputValidator, "AppEventInputValidator"),
|
|
3393
3394
|
AppEventResponseValidator: /* @__PURE__ */ __name(() => AppEventResponseValidator, "AppEventResponseValidator"),
|
|
3394
3395
|
AppEventValidator: /* @__PURE__ */ __name(() => AppEventValidator, "AppEventValidator"),
|
|
3395
3396
|
AppListingStatusValidator: /* @__PURE__ */ __name(() => AppListingStatusValidator, "AppListingStatusValidator"),
|
|
3396
3397
|
AppStoreListingCreateValidator: /* @__PURE__ */ __name(() => AppStoreListingCreateValidator, "AppStoreListingCreateValidator"),
|
|
3398
|
+
AppStoreListingSubmitterValidator: /* @__PURE__ */ __name(() => AppStoreListingSubmitterValidator, "AppStoreListingSubmitterValidator"),
|
|
3397
3399
|
AppStoreListingUpdateValidator: /* @__PURE__ */ __name(() => AppStoreListingUpdateValidator, "AppStoreListingUpdateValidator"),
|
|
3398
3400
|
AppStoreListingValidator: /* @__PURE__ */ __name(() => AppStoreListingValidator, "AppStoreListingValidator"),
|
|
3399
3401
|
AuthGrantQueryValidator: /* @__PURE__ */ __name(() => AuthGrantQueryValidator, "AuthGrantQueryValidator"),
|
|
3400
3402
|
AuthGrantStatusValidator: /* @__PURE__ */ __name(() => AuthGrantStatusValidator, "AuthGrantStatusValidator"),
|
|
3401
3403
|
AuthGrantValidator: /* @__PURE__ */ __name(() => AuthGrantValidator, "AuthGrantValidator"),
|
|
3404
|
+
AuthSessionError: /* @__PURE__ */ __name(() => AuthSessionError, "AuthSessionError"),
|
|
3402
3405
|
AutoBoostConfigValidator: /* @__PURE__ */ __name(() => AutoBoostConfigValidator, "AutoBoostConfigValidator"),
|
|
3403
3406
|
BoostPermissionsQueryValidator: /* @__PURE__ */ __name(() => BoostPermissionsQueryValidator, "BoostPermissionsQueryValidator"),
|
|
3404
3407
|
BoostPermissionsValidator: /* @__PURE__ */ __name(() => BoostPermissionsValidator, "BoostPermissionsValidator"),
|
|
@@ -3406,6 +3409,8 @@ var require_types_cjs_development = __commonJS({
|
|
|
3406
3409
|
BoostRecipientValidator: /* @__PURE__ */ __name(() => BoostRecipientValidator, "BoostRecipientValidator"),
|
|
3407
3410
|
BoostRecipientWithChildrenValidator: /* @__PURE__ */ __name(() => BoostRecipientWithChildrenValidator, "BoostRecipientWithChildrenValidator"),
|
|
3408
3411
|
BoostValidator: /* @__PURE__ */ __name(() => BoostValidator, "BoostValidator"),
|
|
3412
|
+
CheckCredentialEventValidator: /* @__PURE__ */ __name(() => CheckCredentialEventValidator, "CheckCredentialEventValidator"),
|
|
3413
|
+
CheckIssuanceStatusEventValidator: /* @__PURE__ */ __name(() => CheckIssuanceStatusEventValidator, "CheckIssuanceStatusEventValidator"),
|
|
3409
3414
|
ClaimHookQueryValidator: /* @__PURE__ */ __name(() => ClaimHookQueryValidator, "ClaimHookQueryValidator"),
|
|
3410
3415
|
ClaimHookTypeValidator: /* @__PURE__ */ __name(() => ClaimHookTypeValidator, "ClaimHookTypeValidator"),
|
|
3411
3416
|
ClaimHookValidator: /* @__PURE__ */ __name(() => ClaimHookValidator, "ClaimHookValidator"),
|
|
@@ -3415,6 +3420,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
3415
3420
|
ConsentFlowContractDataValidator: /* @__PURE__ */ __name(() => ConsentFlowContractDataValidator, "ConsentFlowContractDataValidator"),
|
|
3416
3421
|
ConsentFlowContractDetailsValidator: /* @__PURE__ */ __name(() => ConsentFlowContractDetailsValidator, "ConsentFlowContractDetailsValidator"),
|
|
3417
3422
|
ConsentFlowContractQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowContractQueryValidator, "ConsentFlowContractQueryValidator"),
|
|
3423
|
+
ConsentFlowContractRequestForProfileListValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestForProfileListValidator, "ConsentFlowContractRequestForProfileListValidator"),
|
|
3424
|
+
ConsentFlowContractRequestForProfileValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestForProfileValidator, "ConsentFlowContractRequestForProfileValidator"),
|
|
3425
|
+
ConsentFlowContractRequestReadStatusValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestReadStatusValidator, "ConsentFlowContractRequestReadStatusValidator"),
|
|
3426
|
+
ConsentFlowContractRequestStatusValidator: /* @__PURE__ */ __name(() => ConsentFlowContractRequestStatusValidator, "ConsentFlowContractRequestStatusValidator"),
|
|
3418
3427
|
ConsentFlowContractValidator: /* @__PURE__ */ __name(() => ConsentFlowContractValidator, "ConsentFlowContractValidator"),
|
|
3419
3428
|
ConsentFlowDataForDidQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowDataForDidQueryValidator, "ConsentFlowDataForDidQueryValidator"),
|
|
3420
3429
|
ConsentFlowDataQueryValidator: /* @__PURE__ */ __name(() => ConsentFlowDataQueryValidator, "ConsentFlowDataQueryValidator"),
|
|
@@ -3447,6 +3456,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
3447
3456
|
CredentialActivityValidator: /* @__PURE__ */ __name(() => CredentialActivityValidator, "CredentialActivityValidator"),
|
|
3448
3457
|
CredentialActivityWithDetailsValidator: /* @__PURE__ */ __name(() => CredentialActivityWithDetailsValidator, "CredentialActivityWithDetailsValidator"),
|
|
3449
3458
|
CredentialInfoValidator: /* @__PURE__ */ __name(() => CredentialInfoValidator, "CredentialInfoValidator"),
|
|
3459
|
+
CredentialNameRefValidator: /* @__PURE__ */ __name(() => CredentialNameRefValidator, "CredentialNameRefValidator"),
|
|
3450
3460
|
CredentialRecordValidator: /* @__PURE__ */ __name(() => CredentialRecordValidator, "CredentialRecordValidator"),
|
|
3451
3461
|
CredentialSchemaValidator: /* @__PURE__ */ __name(() => CredentialSchemaValidator, "CredentialSchemaValidator"),
|
|
3452
3462
|
CredentialStatusValidator: /* @__PURE__ */ __name(() => CredentialStatusValidator, "CredentialStatusValidator"),
|
|
@@ -3468,6 +3478,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
3468
3478
|
GetFullSkillTreeResultValidator: /* @__PURE__ */ __name(() => GetFullSkillTreeResultValidator, "GetFullSkillTreeResultValidator"),
|
|
3469
3479
|
GetSkillPathInputValidator: /* @__PURE__ */ __name(() => GetSkillPathInputValidator, "GetSkillPathInputValidator"),
|
|
3470
3480
|
GetSkillPathResultValidator: /* @__PURE__ */ __name(() => GetSkillPathResultValidator, "GetSkillPathResultValidator"),
|
|
3481
|
+
GetTemplateRecipientsEventValidator: /* @__PURE__ */ __name(() => GetTemplateRecipientsEventValidator, "GetTemplateRecipientsEventValidator"),
|
|
3471
3482
|
IdentifierEntryValidator: /* @__PURE__ */ __name(() => IdentifierEntryValidator, "IdentifierEntryValidator"),
|
|
3472
3483
|
IdentifierTypeValidator: /* @__PURE__ */ __name(() => IdentifierTypeValidator, "IdentifierTypeValidator"),
|
|
3473
3484
|
IdentityObjectValidator: /* @__PURE__ */ __name(() => IdentityObjectValidator, "IdentityObjectValidator"),
|
|
@@ -3484,9 +3495,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
3484
3495
|
JWKValidator: /* @__PURE__ */ __name(() => JWKValidator, "JWKValidator"),
|
|
3485
3496
|
JWKWithPrivateKeyValidator: /* @__PURE__ */ __name(() => JWKWithPrivateKeyValidator, "JWKWithPrivateKeyValidator"),
|
|
3486
3497
|
KnownAchievementTypeValidator: /* @__PURE__ */ __name(() => KnownAchievementTypeValidator, "KnownAchievementTypeValidator"),
|
|
3498
|
+
LCNAuthedProfileValidator: /* @__PURE__ */ __name(() => LCNAuthedProfileValidator, "LCNAuthedProfileValidator"),
|
|
3487
3499
|
LCNBoostClaimLinkOptionsValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkOptionsValidator, "LCNBoostClaimLinkOptionsValidator"),
|
|
3488
3500
|
LCNBoostClaimLinkSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNBoostClaimLinkSigningAuthorityValidator, "LCNBoostClaimLinkSigningAuthorityValidator"),
|
|
3489
3501
|
LCNBoostStatus: /* @__PURE__ */ __name(() => LCNBoostStatus, "LCNBoostStatus"),
|
|
3502
|
+
LCNConnectionProfileValidator: /* @__PURE__ */ __name(() => LCNConnectionProfileValidator, "LCNConnectionProfileValidator"),
|
|
3490
3503
|
LCNDomainOrOriginValidator: /* @__PURE__ */ __name(() => LCNDomainOrOriginValidator, "LCNDomainOrOriginValidator"),
|
|
3491
3504
|
LCNInboxContactMethodValidator: /* @__PURE__ */ __name(() => LCNInboxContactMethodValidator, "LCNInboxContactMethodValidator"),
|
|
3492
3505
|
LCNInboxStatusEnumValidator: /* @__PURE__ */ __name(() => LCNInboxStatusEnumValidator, "LCNInboxStatusEnumValidator"),
|
|
@@ -3506,8 +3519,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
3506
3519
|
LCNProfileManagerValidator: /* @__PURE__ */ __name(() => LCNProfileManagerValidator, "LCNProfileManagerValidator"),
|
|
3507
3520
|
LCNProfileQueryValidator: /* @__PURE__ */ __name(() => LCNProfileQueryValidator, "LCNProfileQueryValidator"),
|
|
3508
3521
|
LCNProfileValidator: /* @__PURE__ */ __name(() => LCNProfileValidator, "LCNProfileValidator"),
|
|
3522
|
+
LCNPublicProfileValidator: /* @__PURE__ */ __name(() => LCNPublicProfileValidator, "LCNPublicProfileValidator"),
|
|
3509
3523
|
LCNSigningAuthorityForUserValidator: /* @__PURE__ */ __name(() => LCNSigningAuthorityForUserValidator, "LCNSigningAuthorityForUserValidator"),
|
|
3510
3524
|
LCNSigningAuthorityValidator: /* @__PURE__ */ __name(() => LCNSigningAuthorityValidator, "LCNSigningAuthorityValidator"),
|
|
3525
|
+
LCNVisibleProfileValidator: /* @__PURE__ */ __name(() => LCNVisibleProfileValidator, "LCNVisibleProfileValidator"),
|
|
3511
3526
|
LaunchTypeValidator: /* @__PURE__ */ __name(() => LaunchTypeValidator, "LaunchTypeValidator"),
|
|
3512
3527
|
LinkProviderFrameworkInputValidator: /* @__PURE__ */ __name(() => LinkProviderFrameworkInputValidator, "LinkProviderFrameworkInputValidator"),
|
|
3513
3528
|
PaginatedAppStoreListingsValidator: /* @__PURE__ */ __name(() => PaginatedAppStoreListingsValidator, "PaginatedAppStoreListingsValidator"),
|
|
@@ -3532,9 +3547,11 @@ var require_types_cjs_development = __commonJS({
|
|
|
3532
3547
|
PaginatedLCNProfilesValidator: /* @__PURE__ */ __name(() => PaginatedLCNProfilesValidator, "PaginatedLCNProfilesValidator"),
|
|
3533
3548
|
PaginatedSkillFrameworksValidator: /* @__PURE__ */ __name(() => PaginatedSkillFrameworksValidator, "PaginatedSkillFrameworksValidator"),
|
|
3534
3549
|
PaginatedSkillTreeValidator: /* @__PURE__ */ __name(() => PaginatedSkillTreeValidator, "PaginatedSkillTreeValidator"),
|
|
3550
|
+
PaginatedVisibleLCNProfilesValidator: /* @__PURE__ */ __name(() => PaginatedVisibleLCNProfilesValidator, "PaginatedVisibleLCNProfilesValidator"),
|
|
3535
3551
|
PaginationOptionsValidator: /* @__PURE__ */ __name(() => PaginationOptionsValidator, "PaginationOptionsValidator"),
|
|
3536
3552
|
PaginationResponseValidator: /* @__PURE__ */ __name(() => PaginationResponseValidator, "PaginationResponseValidator"),
|
|
3537
3553
|
ProfileValidator: /* @__PURE__ */ __name(() => ProfileValidator, "ProfileValidator"),
|
|
3554
|
+
ProfileVisibilityEnum: /* @__PURE__ */ __name(() => ProfileVisibilityEnum, "ProfileVisibilityEnum"),
|
|
3538
3555
|
PromotionLevelValidator: /* @__PURE__ */ __name(() => PromotionLevelValidator, "PromotionLevelValidator"),
|
|
3539
3556
|
ProofValidator: /* @__PURE__ */ __name(() => ProofValidator, "ProofValidator"),
|
|
3540
3557
|
RefreshServiceValidator: /* @__PURE__ */ __name(() => RefreshServiceValidator, "RefreshServiceValidator"),
|
|
@@ -4815,10 +4832,10 @@ var require_types_cjs_development = __commonJS({
|
|
|
4815
4832
|
__name(unwrapMessage, "unwrapMessage");
|
|
4816
4833
|
__name2(unwrapMessage, "unwrapMessage");
|
|
4817
4834
|
function finalizeIssue(iss, ctx, config2) {
|
|
4818
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
4835
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j, _k;
|
|
4819
4836
|
const full = __spreadProps(__spreadValues({}, iss), { path: (_a3 = iss.path) != null ? _a3 : [] });
|
|
4820
4837
|
if (!iss.message) {
|
|
4821
|
-
const message = (_k = (_j = (
|
|
4838
|
+
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";
|
|
4822
4839
|
full.message = message;
|
|
4823
4840
|
}
|
|
4824
4841
|
delete full.inst;
|
|
@@ -9986,7 +10003,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
9986
10003
|
uppercase: { label: "\u05E7\u05DC\u05D8", gender: "m" }
|
|
9987
10004
|
};
|
|
9988
10005
|
return (issue2) => {
|
|
9989
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
10006
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
9990
10007
|
switch (issue2.code) {
|
|
9991
10008
|
case "invalid_type": {
|
|
9992
10009
|
const expectedKey = issue2.expected;
|
|
@@ -10023,7 +10040,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
10023
10040
|
return `\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${subject} ${verb} \u05DC\u05D4\u05DB\u05D9\u05DC ${comparison}`.trim();
|
|
10024
10041
|
}
|
|
10025
10042
|
const adj = issue2.inclusive ? "<=" : "<";
|
|
10026
|
-
const be = verbFor((
|
|
10043
|
+
const be = verbFor((_h2 = issue2.origin) != null ? _h2 : "value");
|
|
10027
10044
|
if (sizing == null ? void 0 : sizing.unit) {
|
|
10028
10045
|
return `${sizing.longLabel} \u05DE\u05D3\u05D9: ${subject} ${be} ${adj}${issue2.maximum.toString()} ${sizing.unit}`;
|
|
10029
10046
|
}
|
|
@@ -11263,7 +11280,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
11263
11280
|
template_literal: "\u012Fvestis"
|
|
11264
11281
|
};
|
|
11265
11282
|
return (issue2) => {
|
|
11266
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
11283
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j;
|
|
11267
11284
|
switch (issue2.code) {
|
|
11268
11285
|
case "invalid_type":
|
|
11269
11286
|
return `Gautas tipas ${parsedType6(issue2.input)}, o tik\u0117tasi - ${parsedTypeFromType(issue2.expected)}`;
|
|
@@ -11285,7 +11302,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
11285
11302
|
if (sizing == null ? void 0 : sizing.verb)
|
|
11286
11303
|
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"}`;
|
|
11287
11304
|
const adj = issue2.inclusive ? "ne ma\u017Eesnis kaip" : "didesnis kaip";
|
|
11288
|
-
return `${capitalizeFirstCharacter((
|
|
11305
|
+
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}`;
|
|
11289
11306
|
}
|
|
11290
11307
|
case "invalid_format": {
|
|
11291
11308
|
const _issue = issue2;
|
|
@@ -12660,7 +12677,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
12660
12677
|
template_literal: "mall-literal"
|
|
12661
12678
|
};
|
|
12662
12679
|
return (issue2) => {
|
|
12663
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
12680
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2;
|
|
12664
12681
|
switch (issue2.code) {
|
|
12665
12682
|
case "invalid_type":
|
|
12666
12683
|
return `Ogiltig inmatning: f\xF6rv\xE4ntat ${issue2.expected}, fick ${parsedType8(issue2.input)}`;
|
|
@@ -12706,7 +12723,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
12706
12723
|
case "invalid_union":
|
|
12707
12724
|
return "Ogiltig input";
|
|
12708
12725
|
case "invalid_element":
|
|
12709
|
-
return `Ogiltigt v\xE4rde i ${(
|
|
12726
|
+
return `Ogiltigt v\xE4rde i ${(_h2 = issue2.origin) != null ? _h2 : "v\xE4rdet"}`;
|
|
12710
12727
|
default:
|
|
12711
12728
|
return `Ogiltig input`;
|
|
12712
12729
|
}
|
|
@@ -15460,7 +15477,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
15460
15477
|
return _result.schema;
|
|
15461
15478
|
}
|
|
15462
15479
|
emit(schema, _params) {
|
|
15463
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
15480
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i, _j;
|
|
15464
15481
|
const params = {
|
|
15465
15482
|
cycles: (_a3 = _params == null ? void 0 : _params.cycles) != null ? _a3 : "ref",
|
|
15466
15483
|
reused: (_b2 = _params == null ? void 0 : _params.reused) != null ? _b2 : "inline",
|
|
@@ -15588,7 +15605,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15588
15605
|
console.warn(`Invalid target: ${this.target}`);
|
|
15589
15606
|
}
|
|
15590
15607
|
if ((_g2 = params.external) == null ? void 0 : _g2.uri) {
|
|
15591
|
-
const id = (
|
|
15608
|
+
const id = (_h2 = params.external.registry.get(schema)) == null ? void 0 : _h2.id;
|
|
15592
15609
|
if (!id)
|
|
15593
15610
|
throw new Error("Schema is missing an `id` property");
|
|
15594
15611
|
result.$id = params.external.uri(id);
|
|
@@ -16185,7 +16202,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16185
16202
|
__name(hash, "hash");
|
|
16186
16203
|
__name2(hash, "hash");
|
|
16187
16204
|
var ZodNumber = /* @__PURE__ */ $constructor("ZodNumber", (inst, def) => {
|
|
16188
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2,
|
|
16205
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i;
|
|
16189
16206
|
$ZodNumber.init(inst, def);
|
|
16190
16207
|
ZodType.init(inst, def);
|
|
16191
16208
|
inst.gt = (value, params) => inst.check(_gt(value, params));
|
|
@@ -16206,7 +16223,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
16206
16223
|
const bag = inst._zod.bag;
|
|
16207
16224
|
inst.minValue = (_c2 = Math.max((_a3 = bag.minimum) != null ? _a3 : Number.NEGATIVE_INFINITY, (_b2 = bag.exclusiveMinimum) != null ? _b2 : Number.NEGATIVE_INFINITY)) != null ? _c2 : null;
|
|
16208
16225
|
inst.maxValue = (_f2 = Math.min((_d2 = bag.maximum) != null ? _d2 : Number.POSITIVE_INFINITY, (_e2 = bag.exclusiveMaximum) != null ? _e2 : Number.POSITIVE_INFINITY)) != null ? _f2 : null;
|
|
16209
|
-
inst.isInt = ((_g2 = bag.format) != null ? _g2 : "").includes("int") || Number.isSafeInteger((
|
|
16226
|
+
inst.isInt = ((_g2 = bag.format) != null ? _g2 : "").includes("int") || Number.isSafeInteger((_h2 = bag.multipleOf) != null ? _h2 : 0.5);
|
|
16210
16227
|
inst.isFinite = true;
|
|
16211
16228
|
inst.format = (_i = bag.format) != null ? _i : null;
|
|
16212
16229
|
});
|
|
@@ -17493,6 +17510,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17493
17510
|
idBackgroundColor: external_exports.string().optional(),
|
|
17494
17511
|
repeatIdBackgroundImage: external_exports.boolean().optional()
|
|
17495
17512
|
});
|
|
17513
|
+
var ProfileVisibilityEnum = external_exports.enum(["public", "connections_only", "private"]);
|
|
17514
|
+
var AllowConnectionRequestsEnum = external_exports.enum(["anyone", "invite_only"]);
|
|
17496
17515
|
var LCNProfileValidator = external_exports.object({
|
|
17497
17516
|
profileId: external_exports.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
17498
17517
|
displayName: external_exports.string().default("").describe("Human-readable display name for the profile."),
|
|
@@ -17500,6 +17519,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17500
17519
|
bio: external_exports.string().default("").describe("Longer bio for the profile."),
|
|
17501
17520
|
did: external_exports.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
17502
17521
|
isPrivate: external_exports.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
17522
|
+
profileVisibility: ProfileVisibilityEnum.default("public").optional().describe("Profile visibility: 'public', 'connections_only', or 'private'."),
|
|
17523
|
+
showEmail: external_exports.boolean().default(false).optional().describe("Whether to show email to connections."),
|
|
17524
|
+
allowConnectionRequests: AllowConnectionRequestsEnum.default("anyone").optional().describe("Who can send connection requests: 'anyone' or 'invite_only'."),
|
|
17503
17525
|
email: external_exports.string().optional().describe("Contact email address for the profile. (deprecated)"),
|
|
17504
17526
|
image: external_exports.string().optional().describe("Profile image URL for the profile."),
|
|
17505
17527
|
heroImage: external_exports.string().optional().describe("Hero image URL for the profile."),
|
|
@@ -17514,6 +17536,32 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17514
17536
|
country: external_exports.string().optional().describe("Country for the profile."),
|
|
17515
17537
|
approved: external_exports.boolean().optional().describe("Approval status for the profile.")
|
|
17516
17538
|
});
|
|
17539
|
+
var LCNPublicProfileValidator = LCNProfileValidator.pick({
|
|
17540
|
+
profileId: true,
|
|
17541
|
+
displayName: true,
|
|
17542
|
+
shortBio: true,
|
|
17543
|
+
image: true,
|
|
17544
|
+
heroImage: true,
|
|
17545
|
+
type: true,
|
|
17546
|
+
isServiceProfile: true,
|
|
17547
|
+
display: true
|
|
17548
|
+
});
|
|
17549
|
+
var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
17550
|
+
bio: LCNProfileValidator.shape.bio,
|
|
17551
|
+
websiteLink: LCNProfileValidator.shape.websiteLink,
|
|
17552
|
+
role: LCNProfileValidator.shape.role,
|
|
17553
|
+
highlightedCredentials: LCNProfileValidator.shape.highlightedCredentials,
|
|
17554
|
+
did: LCNProfileValidator.shape.did
|
|
17555
|
+
});
|
|
17556
|
+
var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
|
|
17557
|
+
email: LCNProfileValidator.shape.email
|
|
17558
|
+
});
|
|
17559
|
+
var LCNVisibleProfileValidator = external_exports.union([
|
|
17560
|
+
LCNConnectionProfileValidator.strict(),
|
|
17561
|
+
LCNAuthedProfileValidator.strict(),
|
|
17562
|
+
LCNPublicProfileValidator.strict(),
|
|
17563
|
+
LCNProfileValidator
|
|
17564
|
+
]);
|
|
17517
17565
|
var LCNProfileQueryValidator = external_exports.object({
|
|
17518
17566
|
profileId: StringQuery,
|
|
17519
17567
|
displayName: StringQuery,
|
|
@@ -17527,6 +17575,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17527
17575
|
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
17528
17576
|
records: LCNProfileValidator.array()
|
|
17529
17577
|
});
|
|
17578
|
+
var PaginatedVisibleLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
17579
|
+
records: LCNVisibleProfileValidator.array()
|
|
17580
|
+
});
|
|
17530
17581
|
var LCNProfileConnectionStatusEnum = external_exports.enum([
|
|
17531
17582
|
"CONNECTED",
|
|
17532
17583
|
"PENDING_REQUEST_SENT",
|
|
@@ -17660,7 +17711,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17660
17711
|
records: BoostValidator.array()
|
|
17661
17712
|
});
|
|
17662
17713
|
var BoostRecipientValidator = external_exports.object({
|
|
17663
|
-
to:
|
|
17714
|
+
to: LCNVisibleProfileValidator,
|
|
17664
17715
|
from: external_exports.string(),
|
|
17665
17716
|
received: external_exports.string().optional(),
|
|
17666
17717
|
uri: external_exports.string().optional()
|
|
@@ -17669,7 +17720,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17669
17720
|
records: BoostRecipientValidator.array()
|
|
17670
17721
|
});
|
|
17671
17722
|
var BoostRecipientWithChildrenValidator = external_exports.object({
|
|
17672
|
-
to:
|
|
17723
|
+
to: LCNVisibleProfileValidator,
|
|
17673
17724
|
from: external_exports.string(),
|
|
17674
17725
|
received: external_exports.string().optional(),
|
|
17675
17726
|
boostUris: external_exports.array(external_exports.string()),
|
|
@@ -17813,6 +17864,16 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17813
17864
|
autoBoosts: external_exports.string().array().optional(),
|
|
17814
17865
|
writers: external_exports.array(LCNProfileValidator).optional()
|
|
17815
17866
|
});
|
|
17867
|
+
var ConsentFlowContractRequestStatusValidator = external_exports.enum(["pending", "accepted", "denied"]).nullable();
|
|
17868
|
+
var ConsentFlowContractRequestReadStatusValidator = external_exports.enum(["unseen", "seen"]).nullable();
|
|
17869
|
+
var ConsentFlowContractRequestForProfileValidator = external_exports.object({
|
|
17870
|
+
profile: LCNProfileValidator,
|
|
17871
|
+
status: ConsentFlowContractRequestStatusValidator,
|
|
17872
|
+
readStatus: ConsentFlowContractRequestReadStatusValidator.optional()
|
|
17873
|
+
});
|
|
17874
|
+
var ConsentFlowContractRequestForProfileListValidator = external_exports.array(
|
|
17875
|
+
ConsentFlowContractRequestForProfileValidator
|
|
17876
|
+
);
|
|
17816
17877
|
var PaginatedConsentFlowContractsValidator = PaginationResponseValidator.extend({
|
|
17817
17878
|
records: ConsentFlowContractDetailsValidator.omit({ owner: true }).array()
|
|
17818
17879
|
});
|
|
@@ -17973,7 +18034,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
17973
18034
|
"PROFILE_PARENT_APPROVED",
|
|
17974
18035
|
"APP_LISTING_SUBMITTED",
|
|
17975
18036
|
"APP_LISTING_APPROVED",
|
|
17976
|
-
"APP_LISTING_REJECTED"
|
|
18037
|
+
"APP_LISTING_REJECTED",
|
|
18038
|
+
"APP_LISTING_WITHDRAWN",
|
|
18039
|
+
"DEVICE_LINK_REQUEST"
|
|
17977
18040
|
]);
|
|
17978
18041
|
var LCNNotificationMessageValidator = external_exports.object({
|
|
17979
18042
|
title: external_exports.string().optional(),
|
|
@@ -18112,6 +18175,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18112
18175
|
webhookUrl: external_exports.string().optional(),
|
|
18113
18176
|
boostUri: external_exports.string().optional(),
|
|
18114
18177
|
activityId: external_exports.string().optional(),
|
|
18178
|
+
integrationId: external_exports.string().optional(),
|
|
18115
18179
|
signingAuthority: external_exports.object({
|
|
18116
18180
|
endpoint: external_exports.string().optional(),
|
|
18117
18181
|
name: external_exports.string().optional()
|
|
@@ -18213,8 +18277,9 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18213
18277
|
claimUrl: external_exports.string().url().optional(),
|
|
18214
18278
|
recipientDid: external_exports.string().optional()
|
|
18215
18279
|
});
|
|
18280
|
+
var CredentialNameRefValidator = external_exports.object({ name: external_exports.string() }).passthrough();
|
|
18216
18281
|
var ClaimInboxCredentialValidator = external_exports.object({
|
|
18217
|
-
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).describe("The credential to issue."),
|
|
18282
|
+
credential: VCValidator.or(VPValidator).or(UnsignedVCValidator).or(CredentialNameRefValidator).describe("The credential to issue, or a { name } reference to resolve a boost template."),
|
|
18218
18283
|
configuration: external_exports.object({
|
|
18219
18284
|
publishableKey: external_exports.string(),
|
|
18220
18285
|
signingAuthorityName: external_exports.string().optional(),
|
|
@@ -18498,6 +18563,11 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18498
18563
|
"DEMOTED"
|
|
18499
18564
|
]);
|
|
18500
18565
|
var AgeRatingValidator = external_exports.enum(["4+", "9+", "12+", "17+"]);
|
|
18566
|
+
var AppStoreListingSubmitterValidator = external_exports.object({
|
|
18567
|
+
profileId: external_exports.string(),
|
|
18568
|
+
displayName: external_exports.string(),
|
|
18569
|
+
email: external_exports.string().optional()
|
|
18570
|
+
});
|
|
18501
18571
|
var AppStoreListingValidator = external_exports.object({
|
|
18502
18572
|
listing_id: external_exports.string(),
|
|
18503
18573
|
slug: external_exports.string().optional(),
|
|
@@ -18519,7 +18589,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18519
18589
|
screenshots: external_exports.array(external_exports.string()).optional(),
|
|
18520
18590
|
hero_background_color: external_exports.string().optional(),
|
|
18521
18591
|
min_age: external_exports.number().int().min(0).max(18).optional(),
|
|
18522
|
-
age_rating: AgeRatingValidator.optional()
|
|
18592
|
+
age_rating: AgeRatingValidator.optional(),
|
|
18593
|
+
submitted_at: external_exports.string().optional(),
|
|
18594
|
+
submitter: AppStoreListingSubmitterValidator.optional(),
|
|
18595
|
+
contact_email: external_exports.string().email().optional()
|
|
18523
18596
|
});
|
|
18524
18597
|
var AppStoreListingCreateValidator = AppStoreListingValidator.omit({
|
|
18525
18598
|
listing_id: true,
|
|
@@ -18547,9 +18620,39 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18547
18620
|
var SendCredentialEventValidator = external_exports.object({
|
|
18548
18621
|
type: external_exports.literal("send-credential"),
|
|
18549
18622
|
templateAlias: external_exports.string(),
|
|
18550
|
-
templateData: external_exports.record(external_exports.string(), external_exports.unknown()).optional()
|
|
18623
|
+
templateData: external_exports.record(external_exports.string(), external_exports.unknown()).optional(),
|
|
18624
|
+
preventDuplicateClaim: external_exports.boolean().optional()
|
|
18625
|
+
});
|
|
18626
|
+
var CheckCredentialEventValidator = external_exports.object({
|
|
18627
|
+
type: external_exports.literal("check-credential"),
|
|
18628
|
+
templateAlias: external_exports.string().optional(),
|
|
18629
|
+
boostUri: external_exports.string().optional()
|
|
18630
|
+
}).refine((input) => Boolean(input.templateAlias) !== Boolean(input.boostUri), {
|
|
18631
|
+
message: "Exactly one of templateAlias or boostUri is required"
|
|
18632
|
+
});
|
|
18633
|
+
var CheckIssuanceStatusEventValidator = external_exports.object({
|
|
18634
|
+
type: external_exports.literal("check-issuance-status"),
|
|
18635
|
+
templateAlias: external_exports.string().optional(),
|
|
18636
|
+
boostUri: external_exports.string().optional(),
|
|
18637
|
+
recipient: external_exports.string()
|
|
18638
|
+
}).refine((input) => Boolean(input.templateAlias) !== Boolean(input.boostUri), {
|
|
18639
|
+
message: "Exactly one of templateAlias or boostUri is required"
|
|
18551
18640
|
});
|
|
18552
|
-
var
|
|
18641
|
+
var GetTemplateRecipientsEventValidator = external_exports.object({
|
|
18642
|
+
type: external_exports.literal("get-template-recipients"),
|
|
18643
|
+
templateAlias: external_exports.string().optional(),
|
|
18644
|
+
boostUri: external_exports.string().optional(),
|
|
18645
|
+
limit: external_exports.number().optional(),
|
|
18646
|
+
cursor: external_exports.string().optional()
|
|
18647
|
+
}).refine((input) => Boolean(input.templateAlias) !== Boolean(input.boostUri), {
|
|
18648
|
+
message: "Exactly one of templateAlias or boostUri is required"
|
|
18649
|
+
});
|
|
18650
|
+
var AppEventValidator = external_exports.discriminatedUnion("type", [
|
|
18651
|
+
SendCredentialEventValidator,
|
|
18652
|
+
CheckCredentialEventValidator,
|
|
18653
|
+
CheckIssuanceStatusEventValidator,
|
|
18654
|
+
GetTemplateRecipientsEventValidator
|
|
18655
|
+
]);
|
|
18553
18656
|
var AppEventInputValidator = external_exports.object({
|
|
18554
18657
|
listingId: external_exports.string(),
|
|
18555
18658
|
event: AppEventValidator
|
|
@@ -18612,6 +18715,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
18612
18715
|
failed: external_exports.number(),
|
|
18613
18716
|
claimRate: external_exports.number()
|
|
18614
18717
|
});
|
|
18718
|
+
var AuthSessionError = (_h = class extends Error {
|
|
18719
|
+
constructor(message, reason) {
|
|
18720
|
+
super(message);
|
|
18721
|
+
this.reason = reason;
|
|
18722
|
+
this.name = "AuthSessionError";
|
|
18723
|
+
}
|
|
18724
|
+
}, __name(_h, "AuthSessionError"), __name2(_h, "AuthSessionError"), _h);
|
|
18615
18725
|
}
|
|
18616
18726
|
});
|
|
18617
18727
|
var require_dist = __commonJS({
|
|
@@ -19331,4 +19441,4 @@ const VerifierStateBadgeAndText = ({
|
|
|
19331
19441
|
};
|
|
19332
19442
|
|
|
19333
19443
|
export { AcuteCheckmark as A, Camera as C, ExclamationPoint as E, FatArrow as F, GenericDocumentIcon as G, InfoIcon as I, LinkIcon as L, PersonBadge as P, RoundedCorner as R, SelectedSkills as S, UnknownVerifierBadge as U, VERIFIER_STATES as V, VerifierStateBadgeAndText as a, VideoIcon as b, capitalize as c, LeftArrow as d, SkillsBox as e, IssuerSeal as f, getBaseUrl as g, Line as h, isAppDidWeb as i, VerifiedBadge as j, RedFlag as k, prettyBytes as p, truncateWithEllipsis as t };
|
|
19334
|
-
//# sourceMappingURL=VerifierStateBadgeAndText-
|
|
19444
|
+
//# sourceMappingURL=VerifierStateBadgeAndText-3d0f36ca.js.map
|