@3sixty/immutable-proof-models 0.20.0-next.0 → 0.20.0-next.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"validators.js","sourceRoot":"","sources":["../../../src/compiled/validators.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,SAAS,MAAM,oCAAoC,CAAC;AAChE,MAAM,QAAQ,GAAG,CAAC,iCAAiC,EAAC,kCAAkC,EAAC,2BAA2B,EAAC,eAAe,EAAC,gBAAgB,EAAC,gBAAgB,EAAC,iBAAiB,CAAC,CAAC;AACxL,SAAS,WAAW,CAAC,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO;IACvE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,SAAS,CAAC,EAAE,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAC7H,CAAC;AACD,SAAS,SAAS,CAAC,MAAM,EAAE,KAAK;IAChC,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;QACtB,OAAO,CAAC,KAAK,CAAC,CAAC;IACf,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACnB,OAAO,MAAM,CAAC;AACd,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAuB,UAAU,CAAC;AAErE,SAAS,UAAU,CAAC,IAAI,EAAE,EAAC,YAAY,GAAC,EAAE,EAAE,UAAU,EAAE,kBAAkB,EAAE,QAAQ,GAAC,IAAI,EAAE,cAAc,GAAC,EAAE,EAAC,GAAC,EAAE;IAChH,8EAA8E,CAAA,CAAC;IAC/E,IAAI,OAAO,GAAG,IAAI,CAAC;IACnB,IAAI,MAAM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EAAC,EAAC,IAAI,EAAE,QAAQ,EAAC,EAAC,CAAC,CAAC,CAAC;QAC1E,OAAO,GAAG,SAAS,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACnC,MAAM,EAAE,CAAC;IACT,CAAC;IACD,UAAU,CAAC,MAAM,GAAG,OAAO,CAAC;IAC5B,OAAO,MAAM,KAAK,CAAC,CAAC;AACpB,CAAC;AACD,UAAU,CAAC,SAAS,GAAG,EAAC,OAAO,EAAC,EAAC,UAAU,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,EAAC,cAAc,EAAC,KAAK,EAAC,cAAc,EAAC,KAAK,EAAC,CAAC;AAExI;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAuB,UAAU,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n// This file is generated by ts-to-schema, do not edit it directly.\n// @ts-nocheck\n/* cspell:disable */\nimport type { ICompiledValidator } from \"@3sixty/data-core\";\nimport * as external0 from \"@3sixty/standards-w3c-did\";\nimport * as external1 from \"../models/immutableProofFailure.js\";\nconst MESSAGES = [\"must NOT have more than 2 items\",\"must NOT have fewer than 2 items\",\"must be equal to constant\",\"must be array\",\"must be string\",\"must be object\",\"must be boolean\"];\nfunction createError(instancePath, schemaPath, keyword, params, message) {\nreturn { instancePath, schemaPath, keyword, params, [\"message\"]: typeof message === \"number\" ? MESSAGES[message] : message };\n}\nfunction pushError(errors, error) {\nif (errors === null) {\nreturn [error];\n}\nerrors.push(error);\nreturn errors;\n}\n/**\n * Compiled validator for the ImmutableProof schema.\n */\nexport const CompiledImmutableProof: ICompiledValidator = validate52;\n\nfunction validate52(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProof\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate52.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(data && typeof data == \"object\" && !Array.isArray(data)){\nif(data.proofIntegrity === undefined){\nconst err0 = createError(instancePath,\"#/required\",\"required\",{missingProperty: \"proofIntegrity\"},\"must have required property '\"+\"proofIntegrity\"+\"'\");\nvErrors = pushError(vErrors, err0);\nerrors++;\n}\nif(data[\"@context\"] !== undefined){\nlet data0 = data[\"@context\"];\nif(Array.isArray(data0)){\nif(data0.length > 2){\nconst err1 = createError(instancePath+\"/@context\",\"#/properties/%40context/maxItems\",\"maxItems\",{limit: 2},0);\nvErrors = pushError(vErrors, err1);\nerrors++;\n}\nif(data0.length < 2){\nconst err2 = createError(instancePath+\"/@context\",\"#/properties/%40context/minItems\",\"minItems\",{limit: 2},1);\nvErrors = pushError(vErrors, err2);\nerrors++;\n}\nconst len0 = data0.length;\nif(len0 > 0){\nif(\"https://schema.3sixty.global/immutable-proof/\" !== data0[0]){\nconst err3 = createError(instancePath+\"/@context/0\",\"#/properties/%40context/prefixItems/0/const\",\"const\",{allowedValue: \"https://schema.3sixty.global/immutable-proof/\"},2);\nvErrors = pushError(vErrors, err3);\nerrors++;\n}\n}\nif(len0 > 1){\nif(\"https://schema.3sixty.global/common/\" !== data0[1]){\nconst err4 = createError(instancePath+\"/@context/1\",\"#/properties/%40context/prefixItems/1/const\",\"const\",{allowedValue: \"https://schema.3sixty.global/common/\"},2);\nvErrors = pushError(vErrors, err4);\nerrors++;\n}\n}\nconst len1 = data0.length;\nif(!(len1 <= 2)){\nconst err5 = createError(instancePath+\"/@context\",\"#/properties/%40context/items\",\"items\",{limit: 2},0);\nvErrors = pushError(vErrors, err5);\nerrors++;\n}\n}\nelse {\nconst err6 = createError(instancePath+\"/@context\",\"#/properties/%40context/type\",\"type\",{type: \"array\"},3);\nvErrors = pushError(vErrors, err6);\nerrors++;\n}\n}\nif(data.type !== undefined){\nif(\"ImmutableProof\" !== data.type){\nconst err7 = createError(instancePath+\"/type\",\"#/properties/type/const\",\"const\",{allowedValue: \"ImmutableProof\"},2);\nvErrors = pushError(vErrors, err7);\nerrors++;\n}\n}\nif(data.id !== undefined){\nif(typeof data.id !== \"string\"){\nconst err8 = createError(instancePath+\"/id\",\"#/properties/id/type\",\"type\",{type: \"string\"},4);\nvErrors = pushError(vErrors, err8);\nerrors++;\n}\n}\nif(data.proofIntegrity !== undefined){\nif(typeof data.proofIntegrity !== \"string\"){\nconst err9 = createError(instancePath+\"/proofIntegrity\",\"#/properties/proofIntegrity/type\",\"type\",{type: \"string\"},4);\nvErrors = pushError(vErrors, err9);\nerrors++;\n}\n}\n}\nelse {\nconst err10 = createError(instancePath,\"#/type\",\"type\",{type: \"object\"},5);\nvErrors = pushError(vErrors, err10);\nerrors++;\n}\nvalidate52.errors = vErrors;\nreturn errors === 0;\n}\nvalidate52.evaluated = {\"props\":{\"@context\":true,\"type\":true,\"id\":true,\"proofIntegrity\":true},\"dynamicProps\":false,\"dynamicItems\":false};\n\n/**\n * Compiled validator for the ImmutableProofCredential schema.\n */\nexport const CompiledImmutableProofCredential: ICompiledValidator = validate53;\nconst keyword0 = external0[\"CompiledDidVerifiableCredential\"];\nconst keyword1 = external0[\"CompiledProof\"];\n\nfunction validate54(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProofDataIntegrity\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate54.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(data && typeof data == \"object\" && !Array.isArray(data)){\nif(data.notarizationId !== undefined){\nif(typeof data.notarizationId !== \"string\"){\nconst err0 = createError(instancePath+\"/notarizationId\",\"#/properties/notarizationId/type\",\"type\",{type: \"string\"},4);\nvErrors = pushError(vErrors, err0);\nerrors++;\n}\n}\n}\nelse {\nconst err1 = createError(instancePath,\"#/type\",\"type\",{type: \"object\"},5);\nvErrors = pushError(vErrors, err1);\nerrors++;\n}\nvalidate54.errors = vErrors;\nreturn errors === 0;\n}\nvalidate54.evaluated = {\"props\":{\"notarizationId\":true},\"dynamicProps\":false,\"dynamicItems\":false};\n\n\nfunction validate53(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProofCredential\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate53.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(!(keyword0(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){\nvErrors = vErrors === null ? keyword0.errors : vErrors.concat(keyword0.errors);\nerrors = vErrors.length;\n}\nelse {\nvar props0 = keyword0.evaluated.props;\n}\nif(data && typeof data == \"object\" && !Array.isArray(data)){\nif(props0 !== true){\nprops0 = props0 || {};\nprops0.proof = true;\n}\nif(data.proof !== undefined){\nlet data0 = data.proof;\nif(!(keyword1(data0, {instancePath:instancePath+\"/proof\",parentData:data,parentDataProperty:\"proof\",rootData,dynamicAnchors}))){\nvErrors = vErrors === null ? keyword1.errors : vErrors.concat(keyword1.errors);\nerrors = vErrors.length;\n}\nelse {\nvar props1 = keyword1.evaluated.props;\n}\nif(!(validate54(data0, {instancePath:instancePath+\"/proof\",parentData:data,parentDataProperty:\"proof\",rootData,dynamicAnchors}))){\nvErrors = vErrors === null ? validate54.errors : vErrors.concat(validate54.errors);\nerrors = vErrors.length;\n}\nif(props1 !== true){\nprops1 = props1 || {};\nprops1.notarizationId = true;\n}\n}\n}\nelse {\nconst err0 = createError(instancePath,\"#/type\",\"type\",{type: \"object\"},5);\nvErrors = pushError(vErrors, err0);\nerrors++;\n}\nvalidate53.errors = vErrors;\nevaluated0.props = props0;\nreturn errors === 0;\n}\nvalidate53.evaluated = {\"dynamicProps\":true,\"dynamicItems\":false};\n\n/**\n * Compiled validator for the ImmutableProofDataIntegrity schema.\n */\nexport const CompiledImmutableProofDataIntegrity: ICompiledValidator = validate54;\n\n/**\n * Compiled validator for the ImmutableProofVerification schema.\n */\nexport const CompiledImmutableProofVerification: ICompiledValidator = validate56;\nconst keyword2 = Object.values(external1[\"ImmutableProofFailure\"]);\n\nfunction validate57(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProofFailure\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate57.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(!keyword2.includes(data)){\nfor(let i0 = 0; i0 < keyword2.length; i0++){\nvErrors = pushError(vErrors, createError(instancePath, \"#/anyOf\" + \"/\" + i0 + \"/const\", \"const\", { allowedValue: keyword2[i0] }, \"must be equal to constant\"));\nerrors++;\n}\nvErrors = pushError(vErrors, createError(instancePath, \"#/anyOf\", \"anyOf\", {}, \"must match a schema in anyOf\"));\nerrors++;\n}\nvalidate57.errors = vErrors;\nreturn errors === 0;\n}\nvalidate57.evaluated = {\"dynamicProps\":false,\"dynamicItems\":false};\n\n\nfunction validate56(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProofVerification\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate56.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(data && typeof data == \"object\" && !Array.isArray(data)){\nif(data[\"@context\"] === undefined){\nconst err0 = createError(instancePath,\"#/required\",\"required\",{missingProperty: \"@context\"},\"must have required property '\"+\"@context\"+\"'\");\nvErrors = pushError(vErrors, err0);\nerrors++;\n}\nif(data.type === undefined){\nconst err1 = createError(instancePath,\"#/required\",\"required\",{missingProperty: \"type\"},\"must have required property '\"+\"type\"+\"'\");\nvErrors = pushError(vErrors, err1);\nerrors++;\n}\nif(data.verified === undefined){\nconst err2 = createError(instancePath,\"#/required\",\"required\",{missingProperty: \"verified\"},\"must have required property '\"+\"verified\"+\"'\");\nvErrors = pushError(vErrors, err2);\nerrors++;\n}\nif(data[\"@context\"] !== undefined){\nif(\"https://schema.3sixty.global/immutable-proof/\" !== data[\"@context\"]){\nconst err3 = createError(instancePath+\"/@context\",\"#/properties/%40context/const\",\"const\",{allowedValue: \"https://schema.3sixty.global/immutable-proof/\"},2);\nvErrors = pushError(vErrors, err3);\nerrors++;\n}\n}\nif(data.type !== undefined){\nif(\"ImmutableProofVerification\" !== data.type){\nconst err4 = createError(instancePath+\"/type\",\"#/properties/type/const\",\"const\",{allowedValue: \"ImmutableProofVerification\"},2);\nvErrors = pushError(vErrors, err4);\nerrors++;\n}\n}\nif(data.verified !== undefined){\nif(typeof data.verified !== \"boolean\"){\nconst err5 = createError(instancePath+\"/verified\",\"#/properties/verified/type\",\"type\",{type: \"boolean\"},6);\nvErrors = pushError(vErrors, err5);\nerrors++;\n}\n}\nif(data.failure !== undefined){\nif(!(validate57(data.failure, {instancePath:instancePath+\"/failure\",parentData:data,parentDataProperty:\"failure\",rootData,dynamicAnchors}))){\nvErrors = vErrors === null ? validate57.errors : vErrors.concat(validate57.errors);\nerrors = vErrors.length;\n}\n}\n}\nelse {\nconst err6 = createError(instancePath,\"#/type\",\"type\",{type: \"object\"},5);\nvErrors = pushError(vErrors, err6);\nerrors++;\n}\nvalidate56.errors = vErrors;\nreturn errors === 0;\n}\nvalidate56.evaluated = {\"props\":{\"@context\":true,\"type\":true,\"verified\":true,\"failure\":true},\"dynamicProps\":false,\"dynamicItems\":false};\n\n/**\n * Compiled validator for the ImmutableProofFailure schema.\n */\nexport const CompiledImmutableProofFailure: ICompiledValidator = validate57;\n\n"]}
1
+ {"version":3,"file":"validators.js","sources":["../../../src/compiled/validators.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,SAAS,MAAM,2BAA2B,CAAC;AACvD,OAAO,KAAK,SAAS,MAAM,oCAAoC,CAAC;AAChE,MAAM,QAAQ,GAAG,CAAC,iCAAiC,EAAC,kCAAkC,EAAC,2BAA2B,EAAC,eAAe,EAAC,gBAAgB,EAAC,gBAAgB,EAAC,iBAAiB,CAAC,CAAC;AACxL,SAAS,WAAW,CAAC,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO;IACvE,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,SAAS,CAAC,EAAE,OAAO,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC;AAC7H,CAAC;AACD,SAAS,SAAS,CAAC,MAAM,EAAE,KAAK;IAChC,IAAI,MAAM,KAAK,IAAI,EAAE,CAAC;QACtB,OAAO,CAAC,KAAK,CAAC,CAAC;IACf,CAAC;IACD,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACnB,OAAO,MAAM,CAAC;AACd,CAAC;AACD;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAuB,UAAU,CAAC;AAErE,SAAS,UAAU,CAAC,IAAI,EAAE,EAAC,YAAY,GAAC,EAAE,EAAE,UAAU,EAAE,kBAAkB,EAAE,QAAQ,GAAC,IAAI,EAAE,cAAc,GAAC,EAAE,EAAC,GAAC,EAAE;IAChH,8EAA8E,CAAA,CAAC;IAC/E,IAAI,OAAO,GAAG,IAAI,CAAC;IACnB,IAAI,MAAM,GAAG,CAAC,CAAC;IACf,MAAM,UAAU,GAAG,UAAU,CAAC,SAAS,CAAC;IACxC,IAAG,UAAU,CAAC,YAAY,EAAC,CAAC;QA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CAAC,CAAC;QACnC,MAAM,EAAE,CAAC;IACT,CAAC;IACD,UAAU,CAAC,MAAM,GAAG,OAAO,CAAC;IAC5B,OAAO,MAAM,KAAK,CAAC,CAAC;AACpB,CAAC;AACD,UAAU,CAAC,SAAS,GAAG,EAAC,OAAO,EAAC,EAAC,UAAU,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,EAAC,cAAc,EAAC,KAAK,EAAC,cAAc,EAAC,KAAK,EAAC,CAAC;AAExI;;GAEG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAuB,UAAU,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n// This file is generated by ts-to-schema, do not edit it directly.\n// @ts-nocheck\n/* cspell:disable */\nimport type { ICompiledValidator } from \"@3sixty/data-core\";\nimport * as external0 from \"@3sixty/standards-w3c-did\";\nimport * as external1 from \"../models/immutableProofFailure.js\";\nconst MESSAGES = [\"must NOT have more than 2 items\",\"must NOT have fewer than 2 items\",\"must be equal to constant\",\"must be array\",\"must be string\",\"must be object\",\"must be boolean\"];\nfunction createError(instancePath, schemaPath, keyword, params, message) {\nreturn { instancePath, schemaPath, keyword, params, [\"message\"]: typeof message === \"number\" ? MESSAGES[message] : message };\n}\nfunction pushError(errors, error) {\nif (errors === null) {\nreturn [error];\n}\nerrors.push(error);\nreturn errors;\n}\n/**\n * Compiled validator for the ImmutableProof schema.\n */\nexport const CompiledImmutableProof: ICompiledValidator = validate52;\n\nfunction validate52(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProof\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate52.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(data && typeof data == \"object\" && !Array.isArray(data)){\nif(data.proofIntegrity === undefined){\nconst err0 = createError(instancePath,\"#/required\",\"required\",{missingProperty: \"proofIntegrity\"},\"must have required property '\"+\"proofIntegrity\"+\"'\");\nvErrors = pushError(vErrors, err0);\nerrors++;\n}\nif(data[\"@context\"] !== undefined){\nlet data0 = data[\"@context\"];\nif(Array.isArray(data0)){\nif(data0.length > 2){\nconst err1 = createError(instancePath+\"/@context\",\"#/properties/%40context/maxItems\",\"maxItems\",{limit: 2},0);\nvErrors = pushError(vErrors, err1);\nerrors++;\n}\nif(data0.length < 2){\nconst err2 = createError(instancePath+\"/@context\",\"#/properties/%40context/minItems\",\"minItems\",{limit: 2},1);\nvErrors = pushError(vErrors, err2);\nerrors++;\n}\nconst len0 = data0.length;\nif(len0 > 0){\nif(\"https://schema.3sixty.global/immutable-proof/\" !== data0[0]){\nconst err3 = createError(instancePath+\"/@context/0\",\"#/properties/%40context/prefixItems/0/const\",\"const\",{allowedValue: \"https://schema.3sixty.global/immutable-proof/\"},2);\nvErrors = pushError(vErrors, err3);\nerrors++;\n}\n}\nif(len0 > 1){\nif(\"https://schema.3sixty.global/common/\" !== data0[1]){\nconst err4 = createError(instancePath+\"/@context/1\",\"#/properties/%40context/prefixItems/1/const\",\"const\",{allowedValue: \"https://schema.3sixty.global/common/\"},2);\nvErrors = pushError(vErrors, err4);\nerrors++;\n}\n}\nconst len1 = data0.length;\nif(!(len1 <= 2)){\nconst err5 = createError(instancePath+\"/@context\",\"#/properties/%40context/items\",\"items\",{limit: 2},0);\nvErrors = pushError(vErrors, err5);\nerrors++;\n}\n}\nelse {\nconst err6 = createError(instancePath+\"/@context\",\"#/properties/%40context/type\",\"type\",{type: \"array\"},3);\nvErrors = pushError(vErrors, err6);\nerrors++;\n}\n}\nif(data.type !== undefined){\nif(\"ImmutableProof\" !== data.type){\nconst err7 = createError(instancePath+\"/type\",\"#/properties/type/const\",\"const\",{allowedValue: \"ImmutableProof\"},2);\nvErrors = pushError(vErrors, err7);\nerrors++;\n}\n}\nif(data.id !== undefined){\nif(typeof data.id !== \"string\"){\nconst err8 = createError(instancePath+\"/id\",\"#/properties/id/type\",\"type\",{type: \"string\"},4);\nvErrors = pushError(vErrors, err8);\nerrors++;\n}\n}\nif(data.proofIntegrity !== undefined){\nif(typeof data.proofIntegrity !== \"string\"){\nconst err9 = createError(instancePath+\"/proofIntegrity\",\"#/properties/proofIntegrity/type\",\"type\",{type: \"string\"},4);\nvErrors = pushError(vErrors, err9);\nerrors++;\n}\n}\n}\nelse {\nconst err10 = createError(instancePath,\"#/type\",\"type\",{type: \"object\"},5);\nvErrors = pushError(vErrors, err10);\nerrors++;\n}\nvalidate52.errors = vErrors;\nreturn errors === 0;\n}\nvalidate52.evaluated = {\"props\":{\"@context\":true,\"type\":true,\"id\":true,\"proofIntegrity\":true},\"dynamicProps\":false,\"dynamicItems\":false};\n\n/**\n * Compiled validator for the ImmutableProofCredential schema.\n */\nexport const CompiledImmutableProofCredential: ICompiledValidator = validate53;\nconst keyword0 = external0[\"CompiledDidVerifiableCredential\"];\nconst keyword1 = external0[\"CompiledProof\"];\n\nfunction validate54(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProofDataIntegrity\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate54.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(data && typeof data == \"object\" && !Array.isArray(data)){\nif(data.notarizationId !== undefined){\nif(typeof data.notarizationId !== \"string\"){\nconst err0 = createError(instancePath+\"/notarizationId\",\"#/properties/notarizationId/type\",\"type\",{type: \"string\"},4);\nvErrors = pushError(vErrors, err0);\nerrors++;\n}\n}\n}\nelse {\nconst err1 = createError(instancePath,\"#/type\",\"type\",{type: \"object\"},5);\nvErrors = pushError(vErrors, err1);\nerrors++;\n}\nvalidate54.errors = vErrors;\nreturn errors === 0;\n}\nvalidate54.evaluated = {\"props\":{\"notarizationId\":true},\"dynamicProps\":false,\"dynamicItems\":false};\n\n\nfunction validate53(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProofCredential\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate53.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(!(keyword0(data, {instancePath,parentData,parentDataProperty,rootData,dynamicAnchors}))){\nvErrors = vErrors === null ? keyword0.errors : vErrors.concat(keyword0.errors);\nerrors = vErrors.length;\n}\nelse {\nvar props0 = keyword0.evaluated.props;\n}\nif(data && typeof data == \"object\" && !Array.isArray(data)){\nif(props0 !== true){\nprops0 = props0 || {};\nprops0.proof = true;\n}\nif(data.proof !== undefined){\nlet data0 = data.proof;\nif(!(keyword1(data0, {instancePath:instancePath+\"/proof\",parentData:data,parentDataProperty:\"proof\",rootData,dynamicAnchors}))){\nvErrors = vErrors === null ? keyword1.errors : vErrors.concat(keyword1.errors);\nerrors = vErrors.length;\n}\nelse {\nvar props1 = keyword1.evaluated.props;\n}\nif(!(validate54(data0, {instancePath:instancePath+\"/proof\",parentData:data,parentDataProperty:\"proof\",rootData,dynamicAnchors}))){\nvErrors = vErrors === null ? validate54.errors : vErrors.concat(validate54.errors);\nerrors = vErrors.length;\n}\nif(props1 !== true){\nprops1 = props1 || {};\nprops1.notarizationId = true;\n}\n}\n}\nelse {\nconst err0 = createError(instancePath,\"#/type\",\"type\",{type: \"object\"},5);\nvErrors = pushError(vErrors, err0);\nerrors++;\n}\nvalidate53.errors = vErrors;\nevaluated0.props = props0;\nreturn errors === 0;\n}\nvalidate53.evaluated = {\"dynamicProps\":true,\"dynamicItems\":false};\n\n/**\n * Compiled validator for the ImmutableProofDataIntegrity schema.\n */\nexport const CompiledImmutableProofDataIntegrity: ICompiledValidator = validate54;\n\n/**\n * Compiled validator for the ImmutableProofVerification schema.\n */\nexport const CompiledImmutableProofVerification: ICompiledValidator = validate56;\nconst keyword2 = Object.values(external1[\"ImmutableProofFailure\"]);\n\nfunction validate57(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProofFailure\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate57.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(!keyword2.includes(data)){\nfor(let i0 = 0; i0 < keyword2.length; i0++){\nvErrors = pushError(vErrors, createError(instancePath, \"#/anyOf\" + \"/\" + i0 + \"/const\", \"const\", { allowedValue: keyword2[i0] }, \"must be equal to constant\"));\nerrors++;\n}\nvErrors = pushError(vErrors, createError(instancePath, \"#/anyOf\", \"anyOf\", {}, \"must match a schema in anyOf\"));\nerrors++;\n}\nvalidate57.errors = vErrors;\nreturn errors === 0;\n}\nvalidate57.evaluated = {\"dynamicProps\":false,\"dynamicItems\":false};\n\n\nfunction validate56(data, {instancePath=\"\", parentData, parentDataProperty, rootData=data, dynamicAnchors={}}={}){\n/*# sourceURL=\"https://schema.3sixty.global/immutable-proof/ImmutableProofVerification\" */;\nlet vErrors = null;\nlet errors = 0;\nconst evaluated0 = validate56.evaluated;\nif(evaluated0.dynamicProps){\nevaluated0.props = undefined;\n}\nif(evaluated0.dynamicItems){\nevaluated0.items = undefined;\n}\nif(data && typeof data == \"object\" && !Array.isArray(data)){\nif(data[\"@context\"] === undefined){\nconst err0 = createError(instancePath,\"#/required\",\"required\",{missingProperty: \"@context\"},\"must have required property '\"+\"@context\"+\"'\");\nvErrors = pushError(vErrors, err0);\nerrors++;\n}\nif(data.type === undefined){\nconst err1 = createError(instancePath,\"#/required\",\"required\",{missingProperty: \"type\"},\"must have required property '\"+\"type\"+\"'\");\nvErrors = pushError(vErrors, err1);\nerrors++;\n}\nif(data.verified === undefined){\nconst err2 = createError(instancePath,\"#/required\",\"required\",{missingProperty: \"verified\"},\"must have required property '\"+\"verified\"+\"'\");\nvErrors = pushError(vErrors, err2);\nerrors++;\n}\nif(data[\"@context\"] !== undefined){\nif(\"https://schema.3sixty.global/immutable-proof/\" !== data[\"@context\"]){\nconst err3 = createError(instancePath+\"/@context\",\"#/properties/%40context/const\",\"const\",{allowedValue: \"https://schema.3sixty.global/immutable-proof/\"},2);\nvErrors = pushError(vErrors, err3);\nerrors++;\n}\n}\nif(data.type !== undefined){\nif(\"ImmutableProofVerification\" !== data.type){\nconst err4 = createError(instancePath+\"/type\",\"#/properties/type/const\",\"const\",{allowedValue: \"ImmutableProofVerification\"},2);\nvErrors = pushError(vErrors, err4);\nerrors++;\n}\n}\nif(data.verified !== undefined){\nif(typeof data.verified !== \"boolean\"){\nconst err5 = createError(instancePath+\"/verified\",\"#/properties/verified/type\",\"type\",{type: \"boolean\"},6);\nvErrors = pushError(vErrors, err5);\nerrors++;\n}\n}\nif(data.failure !== undefined){\nif(!(validate57(data.failure, {instancePath:instancePath+\"/failure\",parentData:data,parentDataProperty:\"failure\",rootData,dynamicAnchors}))){\nvErrors = vErrors === null ? validate57.errors : vErrors.concat(validate57.errors);\nerrors = vErrors.length;\n}\n}\n}\nelse {\nconst err6 = createError(instancePath,\"#/type\",\"type\",{type: \"object\"},5);\nvErrors = pushError(vErrors, err6);\nerrors++;\n}\nvalidate56.errors = vErrors;\nreturn errors === 0;\n}\nvalidate56.evaluated = {\"props\":{\"@context\":true,\"type\":true,\"verified\":true,\"failure\":true},\"dynamicProps\":false,\"dynamicItems\":false};\n\n/**\n * Compiled validator for the ImmutableProofFailure schema.\n */\nexport const CompiledImmutableProofFailure: ICompiledValidator = validate57;\n\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"immutableProofDataTypes.js","sourceRoot":"","sources":["../../../src/data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BAAqB;gBAC/C,MAAM,EAAE,2BAA2B;gBACnC,iBAAiB,EAAE,kBAAkB,CAAC,6BAA6B;aACnE;YACD;gBACC,IAAI,EAAE,0BAA0B;gBAChC,MAAM,EAAE,8BAA8B;gBACtC,iBAAiB,EAAE,kBAAkB,CAAC,gCAAgC;aACtE;YACD;gBACC,IAAI,EAAE,6BAA6B;gBACnC,MAAM,EAAE,iCAAiC;gBACzC,iBAAiB,EAAE,kBAAkB,CAAC,mCAAmC;aACzE;SACD,CAAC;QAEF,cAAc,CAAC,aAAa,CAC3B,sBAAsB,CAAC,SAAS,EAChC,sBAAsB,CAAC,aAAa,EACpC,KAAK,CACL,CAAC;IACH,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHelper } from \"@3sixty/data-core\";\nimport { JsonLdDataTypes } from \"@3sixty/data-json-ld\";\nimport { DidDataTypes } from \"@3sixty/standards-w3c-did\";\nimport * as CompiledValidators from \"../compiled/validators.js\";\nimport { ImmutableProofContexts } from \"../models/immutableProofContexts.js\";\nimport { ImmutableProofTypes } from \"../models/immutableProofTypes.js\";\nimport ImmutableProofSchema from \"../schemas/ImmutableProof.json\" with { type: \"json\" };\nimport ImmutableProofCredentialSchema from \"../schemas/ImmutableProofCredential.json\" with { type: \"json\" };\nimport ImmutableProofDataIntegritySchema from \"../schemas/ImmutableProofDataIntegrity.json\" with { type: \"json\" };\nimport ImmutableProofFailureSchema from \"../schemas/ImmutableProofFailure.json\" with { type: \"json\" };\nimport ImmutableProofVerificationSchema from \"../schemas/ImmutableProofVerification.json\" with { type: \"json\" };\n\n/**\n * Handle all the data types for immutable proof.\n */\nexport class ImmutableProofDataTypes {\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\t// Register the types referenced by the schemas, which are only registered once.\n\t\tJsonLdDataTypes.registerTypes();\n\t\tDidDataTypes.registerTypes();\n\n\t\tconst types = [\n\t\t\t{\n\t\t\t\ttype: ImmutableProofTypes.ImmutableProof,\n\t\t\t\tschema: ImmutableProofSchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProof\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: ImmutableProofTypes.ImmutableProofVerification,\n\t\t\t\tschema: ImmutableProofVerificationSchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProofVerification\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: ImmutableProofTypes.ImmutableProofFailure,\n\t\t\t\tschema: ImmutableProofFailureSchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProofFailure\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: \"ImmutableProofCredential\",\n\t\t\t\tschema: ImmutableProofCredentialSchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProofCredential\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: \"ImmutableProofDataIntegrity\",\n\t\t\t\tschema: ImmutableProofDataIntegritySchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProofDataIntegrity\n\t\t\t}\n\t\t];\n\n\t\tDataTypeHelper.registerTypes(\n\t\t\tImmutableProofContexts.Namespace,\n\t\t\tImmutableProofContexts.JsonLdContext,\n\t\t\ttypes\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"immutableProofDataTypes.js","sources":["../../../src/dataTypes/immutableProofDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,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AS,EAChC,sBAAsB,CAAC,aAAa,EACpC,KAAK,CACL,CAAC;IACH,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { DataTypeHelper } from \"@3sixty/data-core\";\nimport { JsonLdDataTypes } from \"@3sixty/data-json-ld\";\nimport { DidDataTypes } from \"@3sixty/standards-w3c-did\";\nimport * as CompiledValidators from \"../compiled/validators.js\";\nimport { ImmutableProofContexts } from \"../models/immutableProofContexts.js\";\nimport { ImmutableProofTypes } from \"../models/immutableProofTypes.js\";\nimport ImmutableProofSchema from \"../schemas/ImmutableProof.json\" with { type: \"json\" };\nimport ImmutableProofCredentialSchema from \"../schemas/ImmutableProofCredential.json\" with { type: \"json\" };\nimport ImmutableProofDataIntegritySchema from \"../schemas/ImmutableProofDataIntegrity.json\" with { type: \"json\" };\nimport ImmutableProofFailureSchema from \"../schemas/ImmutableProofFailure.json\" with { type: \"json\" };\nimport ImmutableProofVerificationSchema from \"../schemas/ImmutableProofVerification.json\" with { type: \"json\" };\n\n/**\n * Handle all the data types for immutable proof.\n */\nexport class ImmutableProofDataTypes {\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\t// Register the types referenced by the schemas, which are only registered once.\n\t\tJsonLdDataTypes.registerTypes();\n\t\tDidDataTypes.registerTypes();\n\n\t\tconst types = [\n\t\t\t{\n\t\t\t\ttype: ImmutableProofTypes.ImmutableProof,\n\t\t\t\tschema: ImmutableProofSchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProof\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: ImmutableProofTypes.ImmutableProofVerification,\n\t\t\t\tschema: ImmutableProofVerificationSchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProofVerification\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: ImmutableProofTypes.ImmutableProofFailure,\n\t\t\t\tschema: ImmutableProofFailureSchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProofFailure\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: \"ImmutableProofCredential\",\n\t\t\t\tschema: ImmutableProofCredentialSchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProofCredential\n\t\t\t},\n\t\t\t{\n\t\t\t\ttype: \"ImmutableProofDataIntegrity\",\n\t\t\t\tschema: ImmutableProofDataIntegritySchema,\n\t\t\t\tcompiledValidator: CompiledValidators.CompiledImmutableProofDataIntegrity\n\t\t\t}\n\t\t];\n\n\t\tDataTypeHelper.registerTypes(\n\t\t\tImmutableProofContexts.Namespace,\n\t\t\tImmutableProofContexts.JsonLdContext,\n\t\t\ttypes\n\t\t);\n\t}\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0DAA0D,CAAC;AACzE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./compiled/validators.js\";\nexport * from \"./dataTypes/immutableProofDataTypes.js\";\nexport * from \"./models/api/IImmutableProofCreateRequest.js\";\nexport * from \"./models/api/IImmutableProofGetRequest.js\";\nexport * from \"./models/api/IImmutableProofGetResponse.js\";\nexport * from \"./models/api/IImmutableProofRemoveNotarizationRequest.js\";\nexport * from \"./models/api/IImmutableProofRemoveRequest.js\";\nexport * from \"./models/api/IImmutableProofVerifyRequest.js\";\nexport * from \"./models/api/IImmutableProofVerifyResponse.js\";\nexport * from \"./models/eventBus/IImmutableProofEventBusProofCreated.js\";\nexport * from \"./models/IImmutableProof.js\";\nexport * from \"./models/IImmutableProofComponent.js\";\nexport * from \"./models/IImmutableProofCredential.js\";\nexport * from \"./models/IImmutableProofDataIntegrity.js\";\nexport * from \"./models/IImmutableProofVerification.js\";\nexport * from \"./models/immutableProofContexts.js\";\nexport * from \"./models/immutableProofFailure.js\";\nexport * from \"./models/immutableProofMetricIds.js\";\nexport * from \"./models/immutableProofMetrics.js\";\nexport * from \"./models/immutableProofTopics.js\";\nexport * from \"./models/immutableProofTypes.js\";\n"]}
1
+ {"version":3,"file":"index.js","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wCAAwC,CAAC;AACvD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0DAA0D,CAAC;AACzE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,0DAA0D,CAAC;AACzE,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,yCAAyC,CAAC;AACxD,cAAc,oCAAoC,CAAC;AACnD,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./compiled/validators.js\";\nexport * from \"./dataTypes/immutableProofDataTypes.js\";\nexport * from \"./models/api/IImmutableProofCreateRequest.js\";\nexport * from \"./models/api/IImmutableProofGetRequest.js\";\nexport * from \"./models/api/IImmutableProofGetResponse.js\";\nexport * from \"./models/api/IImmutableProofRemoveNotarizationRequest.js\";\nexport * from \"./models/api/IImmutableProofRemoveRequest.js\";\nexport * from \"./models/api/IImmutableProofVerifyRequest.js\";\nexport * from \"./models/api/IImmutableProofVerifyResponse.js\";\nexport * from \"./models/eventBus/IImmutableProofEventBusProofCreated.js\";\nexport * from \"./models/IImmutableProof.js\";\nexport * from \"./models/IImmutableProofComponent.js\";\nexport * from \"./models/IImmutableProofCredential.js\";\nexport * from \"./models/IImmutableProofDataIntegrity.js\";\nexport * from \"./models/IImmutableProofVerification.js\";\nexport * from \"./models/immutableProofContexts.js\";\nexport * from \"./models/immutableProofFailure.js\";\nexport * from \"./models/immutableProofMetricIds.js\";\nexport * from \"./models/immutableProofMetrics.js\";\nexport * from \"./models/immutableProofTopics.js\";\nexport * from \"./models/immutableProofTypes.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProof.js","sourceRoot":"","sources":["../../../src/models/IImmutableProof.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ImmutableProofContexts } from \"./immutableProofContexts.js\";\nimport type { ImmutableProofTypes } from \"./immutableProofTypes.js\";\n\n/**\n * Interface describing an immutable proof state.\n */\nexport interface IImmutableProof {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\"?: [typeof ImmutableProofContexts.Context, typeof ImmutableProofContexts.ContextCommon];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype?: typeof ImmutableProofTypes.ImmutableProof;\n\n\t/**\n\t * The id of the object associated with the proof.\n\t */\n\tid?: string;\n\n\t/**\n\t * The integrity hash of the object associated with the proof.\n\t * @json-ld namespace:twin-common\n\t */\n\tproofIntegrity: string;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProof.js","sources":["../../../src/models/IImmutableProof.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ImmutableProofContexts } from \"./immutableProofContexts.js\";\nimport type { ImmutableProofTypes } from \"./immutableProofTypes.js\";\n\n/**\n * Interface describing an immutable proof state.\n */\nexport interface IImmutableProof {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\"?: [typeof ImmutableProofContexts.Context, typeof ImmutableProofContexts.ContextCommon];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype?: typeof ImmutableProofTypes.ImmutableProof;\n\n\t/**\n\t * The id of the object associated with the proof.\n\t */\n\tid?: string;\n\n\t/**\n\t * The integrity hash of the object associated with the proof.\n\t * @json-ld namespace:twin-common\n\t */\n\tproofIntegrity: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofComponent.js","sourceRoot":"","sources":["../../../src/models/IImmutableProofComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@3sixty/core\";\nimport type { IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport type { IImmutableProofCredential } from \"./IImmutableProofCredential.js\";\nimport type { IImmutableProofVerification } from \"./IImmutableProofVerification.js\";\n\n/**\n * Interface describing an immutable proof contract.\n */\nexport interface IImmutableProofComponent extends IComponent {\n\t/**\n\t * Create a new proof.\n\t * @param document The document to create the proof for.\n\t * @param options Optional settings for the proof.\n\t * @param options.deleteLock An ISO 8601 date-time string specifying when the notarization lock expires; if omitted no lock is applied.\n\t * @returns The id of the new proof.\n\t */\n\tcreate(document: IJsonLdNodeObject, options?: { deleteLock?: string }): Promise<string>;\n\n\t/**\n\t * Get a proof.\n\t * @param id The id of the proof to get.\n\t * @returns The proof.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tget(id: string): Promise<IImmutableProofCredential>;\n\n\t/**\n\t * Verify a proof.\n\t * @param id The id of the proof to verify.\n\t * @returns The result of the verification and any failures.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tverify(id: string): Promise<IImmutableProofVerification>;\n\n\t/**\n\t * Remove the proof and its notarization.\n\t * @param id The id of the proof to remove.\n\t * @returns A promise that resolves when the proof and its notarization have been removed.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tremove(id: string): Promise<void>;\n\n\t/**\n\t * Remove only the notarization for the proof, keeping the proof entity.\n\t * @param id The id of the proof to remove the notarization from.\n\t * @returns A promise that resolves when the notarization has been removed.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tremoveNotarization(id: string): Promise<void>;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofComponent.js","sources":["../../../src/models/IImmutableProofComponent.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IComponent } from \"@3sixty/core\";\nimport type { IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport type { IImmutableProofCredential } from \"./IImmutableProofCredential.js\";\nimport type { IImmutableProofVerification } from \"./IImmutableProofVerification.js\";\n\n/**\n * Interface describing an immutable proof contract.\n */\nexport interface IImmutableProofComponent extends IComponent {\n\t/**\n\t * Create a new proof.\n\t * @param document The document to create the proof for.\n\t * @param options Optional settings for the proof.\n\t * @param options.deleteLock An ISO 8601 date-time string specifying when the notarization lock expires; if omitted no lock is applied.\n\t * @returns The id of the new proof.\n\t */\n\tcreate(document: IJsonLdNodeObject, options?: { deleteLock?: string }): Promise<string>;\n\n\t/**\n\t * Get a proof.\n\t * @param id The id of the proof to get.\n\t * @returns The proof.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tget(id: string): Promise<IImmutableProofCredential>;\n\n\t/**\n\t * Verify a proof.\n\t * @param id The id of the proof to verify.\n\t * @returns The result of the verification and any failures.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tverify(id: string): Promise<IImmutableProofVerification>;\n\n\t/**\n\t * Remove the proof and its notarization.\n\t * @param id The id of the proof to remove.\n\t * @returns A promise that resolves when the proof and its notarization have been removed.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tremove(id: string): Promise<void>;\n\n\t/**\n\t * Remove only the notarization for the proof, keeping the proof entity.\n\t * @param id The id of the proof to remove the notarization from.\n\t * @returns A promise that resolves when the notarization has been removed.\n\t * @throws NotFoundError if the proof is not found.\n\t */\n\tremoveNotarization(id: string): Promise<void>;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofCredential.js","sourceRoot":"","sources":["../../../src/models/IImmutableProofCredential.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDidVerifiableCredential, IProof } from \"@3sixty/standards-w3c-did\";\nimport type { IImmutableProofDataIntegrity } from \"./IImmutableProofDataIntegrity.js\";\n\n/**\n * Interface describing an immutable proof credential.\n */\nexport interface IImmutableProofCredential extends Omit<IDidVerifiableCredential, \"proof\"> {\n\t/**\n\t * The proof of the verifiable credential, which includes the data integrity information.\n\t */\n\tproof?: IProof & IImmutableProofDataIntegrity;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofCredential.js","sources":["../../../src/models/IImmutableProofCredential.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IDidVerifiableCredential, IProof } from \"@3sixty/standards-w3c-did\";\nimport type { IImmutableProofDataIntegrity } from \"./IImmutableProofDataIntegrity.js\";\n\n/**\n * Interface describing an immutable proof credential.\n */\nexport interface IImmutableProofCredential extends Omit<IDidVerifiableCredential, \"proof\"> {\n\t/**\n\t * The proof of the verifiable credential, which includes the data integrity information.\n\t */\n\tproof?: IProof & IImmutableProofDataIntegrity;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofDataIntegrity.js","sourceRoot":"","sources":["../../../src/models/IImmutableProofDataIntegrity.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Interface describing additional data integrity fields attached.\n */\nexport interface IImmutableProofDataIntegrity {\n\t/**\n\t * The notarization id.\n\t * @json-ld id\n\t */\n\tnotarizationId?: string;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofDataIntegrity.js","sources":["../../../src/models/IImmutableProofDataIntegrity.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Interface describing additional data integrity fields attached.\n */\nexport interface IImmutableProofDataIntegrity {\n\t/**\n\t * The notarization id.\n\t * @json-ld id\n\t */\n\tnotarizationId?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofVerification.js","sourceRoot":"","sources":["../../../src/models/IImmutableProofVerification.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ImmutableProofContexts } from \"./immutableProofContexts.js\";\nimport type { ImmutableProofFailure } from \"./immutableProofFailure.js\";\nimport type { ImmutableProofTypes } from \"./immutableProofTypes.js\";\n\n/**\n * Interface describing an immutable proof verification.\n */\nexport interface IImmutableProofVerification {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": typeof ImmutableProofContexts.Context;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof ImmutableProofTypes.ImmutableProofVerification;\n\n\t/**\n\t * Was the verification successful.\n\t * @json-ld namespace:twin-common\n\t */\n\tverified: boolean;\n\n\t/**\n\t * If the verification was unsuccessful the failure reason.\n\t * @json-ld type:schema:Text\n\t */\n\tfailure?: ImmutableProofFailure;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofVerification.js","sources":["../../../src/models/IImmutableProofVerification.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { ImmutableProofContexts } from \"./immutableProofContexts.js\";\nimport type { ImmutableProofFailure } from \"./immutableProofFailure.js\";\nimport type { ImmutableProofTypes } from \"./immutableProofTypes.js\";\n\n/**\n * Interface describing an immutable proof verification.\n */\nexport interface IImmutableProofVerification {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": typeof ImmutableProofContexts.Context;\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof ImmutableProofTypes.ImmutableProofVerification;\n\n\t/**\n\t * Was the verification successful.\n\t * @json-ld namespace:twin-common\n\t */\n\tverified: boolean;\n\n\t/**\n\t * If the verification was unsuccessful the failure reason.\n\t * @json-ld type:schema:Text\n\t */\n\tfailure?: ImmutableProofFailure;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofCreateRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofCreateRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\n\n/**\n * Create a proof.\n */\nexport interface IImmutableProofCreateRequest {\n\t/**\n\t * The parameters from the body.\n\t */\n\tbody: {\n\t\t/**\n\t\t * The document to create the proof for.\n\t\t */\n\t\tdocument: IJsonLdNodeObject;\n\n\t\t/**\n\t\t * Optional settings for the proof.\n\t\t */\n\t\toptions?: {\n\t\t\t/**\n\t\t\t * An ISO 8601 date-time string specifying when the notarization lock expires.\n\t\t\t * If omitted, no deletion lock is applied.\n\t\t\t */\n\t\t\tdeleteLock?: string;\n\t\t};\n\t};\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofCreateRequest.js","sources":["../../../../src/models/api/IImmutableProofCreateRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\n\n/**\n * Create a proof.\n */\nexport interface IImmutableProofCreateRequest {\n\t/**\n\t * The parameters from the body.\n\t */\n\tbody: {\n\t\t/**\n\t\t * The document to create the proof for.\n\t\t */\n\t\tdocument: IJsonLdNodeObject;\n\n\t\t/**\n\t\t * Optional settings for the proof.\n\t\t */\n\t\toptions?: {\n\t\t\t/**\n\t\t\t * An ISO 8601 date-time string specifying when the notarization lock expires.\n\t\t\t * If omitted, no deletion lock is applied.\n\t\t\t */\n\t\t\tdeleteLock?: string;\n\t\t};\n\t};\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofGetRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofGetRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@3sixty/web\";\n\n/**\n * Get a proof.\n */\nexport interface IImmutableProofGetRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to get.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofGetRequest.js","sources":["../../../../src/models/api/IImmutableProofGetRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@3sixty/web\";\n\n/**\n * Get a proof.\n */\nexport interface IImmutableProofGetRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to get.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofGetResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@3sixty/web\";\nimport type { IImmutableProofCredential } from \"../IImmutableProofCredential.js\";\n\n/**\n * Response to getting an immutable proof.\n */\nexport interface IImmutableProofGetResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IImmutableProofCredential;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofGetResponse.js","sources":["../../../../src/models/api/IImmutableProofGetResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@3sixty/web\";\nimport type { IImmutableProofCredential } from \"../IImmutableProofCredential.js\";\n\n/**\n * Response to getting an immutable proof.\n */\nexport interface IImmutableProofGetResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IImmutableProofCredential;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofRemoveNotarizationRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofRemoveNotarizationRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Remove the notarization for a proof.\n */\nexport interface IImmutableProofRemoveNotarizationRequest {\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to remove the notarization from.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofRemoveNotarizationRequest.js","sources":["../../../../src/models/api/IImmutableProofRemoveNotarizationRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Remove the notarization for a proof.\n */\nexport interface IImmutableProofRemoveNotarizationRequest {\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to remove the notarization from.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofRemoveRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofRemoveRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Remove a proof.\n */\nexport interface IImmutableProofRemoveRequest {\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to remove.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofRemoveRequest.js","sources":["../../../../src/models/api/IImmutableProofRemoveRequest.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Remove a proof.\n */\nexport interface IImmutableProofRemoveRequest {\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to remove.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofVerifyRequest.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofVerifyRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@3sixty/web\";\n\n/**\n * Verify a proof.\n */\nexport interface IImmutableProofVerifyRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to verify.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofVerifyRequest.js","sources":["../../../../src/models/api/IImmutableProofVerifyRequest.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@3sixty/web\";\n\n/**\n * Verify a proof.\n */\nexport interface IImmutableProofVerifyRequest {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.Accept]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The parameters from the path.\n\t */\n\tpathParams: {\n\t\t/**\n\t\t * The id of the immutable proof to verify.\n\t\t */\n\t\tid: string;\n\t};\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofVerifyResponse.js","sourceRoot":"","sources":["../../../../src/models/api/IImmutableProofVerifyResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@3sixty/web\";\nimport type { IImmutableProofVerification } from \"../IImmutableProofVerification.js\";\n\n/**\n * Response to verifying an immutable proof.\n */\nexport interface IImmutableProofVerifyResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IImmutableProofVerification;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofVerifyResponse.js","sources":["../../../../src/models/api/IImmutableProofVerifyResponse.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { HeaderTypes, MimeTypes } from \"@3sixty/web\";\nimport type { IImmutableProofVerification } from \"../IImmutableProofVerification.js\";\n\n/**\n * Response to verifying an immutable proof.\n */\nexport interface IImmutableProofVerifyResponse {\n\t/**\n\t * The headers which can be used to determine the response data type.\n\t */\n\theaders?: {\n\t\t[HeaderTypes.ContentType]: typeof MimeTypes.Json | typeof MimeTypes.JsonLd;\n\t};\n\n\t/**\n\t * The response body.\n\t */\n\tbody: IImmutableProofVerification;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IImmutableProofEventBusProofCreated.js","sourceRoot":"","sources":["../../../../src/models/eventBus/IImmutableProofEventBusProofCreated.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Event bus payload for proof created.\n */\nexport interface IImmutableProofEventBusProofCreated {\n\t/**\n\t * The id of the proof created.\n\t */\n\tid: string;\n}\n"]}
1
+ {"version":3,"file":"IImmutableProofEventBusProofCreated.js","sources":["../../../../src/models/eventBus/IImmutableProofEventBusProofCreated.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Event bus payload for proof created.\n */\nexport interface IImmutableProofEventBusProofCreated {\n\t/**\n\t * The id of the proof created.\n\t */\n\tid: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"immutableProofContexts.js","sourceRoot":"","sources":["../../../src/models/immutableProofContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACrC;;OAEG;IACH,SAAS,EAAE,+CAA+C;IAE1D;;OAEG;IACH,OAAO,EAAE,+CAA+C;IAExD;;OAEG;IACH,aAAa,EAAE,2DAA2D;IAE1E;;OAEG;IACH,eAAe,EAAE,sCAAsC;IAEvD;;OAEG;IACH,aAAa,EAAE,sCAAsC;IAErD;;OAEG;IACH,mBAAmB,EAAE,kDAAkD;CAC9D,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts of immutable proof data.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofContexts = {\n\t/**\n\t * The canonical RDF namespace URI for Immutable Proof.\n\t */\n\tNamespace: \"https://schema.3sixty.global/immutable-proof/\",\n\n\t/**\n\t * The value to use in context for Immutable Proof.\n\t */\n\tContext: \"https://schema.3sixty.global/immutable-proof/\",\n\n\t/**\n\t * The JSON-LD Context URL for Immutable Proof.\n\t */\n\tJsonLdContext: \"https://schema.3sixty.global/immutable-proof/types.jsonld\",\n\n\t/**\n\t * The canonical RDF namespace URI for TWIN Common.\n\t */\n\tNamespaceCommon: \"https://schema.3sixty.global/common/\",\n\n\t/**\n\t * The value to use in JSON-LD context for TWIN Common.\n\t */\n\tContextCommon: \"https://schema.3sixty.global/common/\",\n\n\t/**\n\t * The JSON-LD Context URL for TWIN Common.\n\t */\n\tJsonLdContextCommon: \"https://schema.3sixty.global/common/types.jsonld\"\n} as const;\n\n/**\n * The contexts of immutable proof data.\n */\nexport type ImmutableProofContexts =\n\t(typeof ImmutableProofContexts)[keyof typeof ImmutableProofContexts];\n"]}
1
+ {"version":3,"file":"immutableProofContexts.js","sources":["../../../src/models/immutableProofContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACrC;;OAEG;IACH,SAAS,EAAE,+CAA+C;IAE1D;;OAEG;IACH,OAAO,EAAE,+CAA+C;IAExD;;OAEG;IACH,aAAa,EAAE,2DAA2D;IAE1E;;OAEG;IACH,eAAe,EAAE,sCAAsC;IAEvD;;OAEG;IACH,aAAa,EAAE,sCAAsC;IAErD;;OAEG;IACH,mBAAmB,EAAE,kDAAkD;CAC9D,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts of immutable proof data.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofContexts = {\n\t/**\n\t * The canonical RDF namespace URI for Immutable Proof.\n\t */\n\tNamespace: \"https://schema.3sixty.global/immutable-proof/\",\n\n\t/**\n\t * The value to use in context for Immutable Proof.\n\t */\n\tContext: \"https://schema.3sixty.global/immutable-proof/\",\n\n\t/**\n\t * The JSON-LD Context URL for Immutable Proof.\n\t */\n\tJsonLdContext: \"https://schema.3sixty.global/immutable-proof/types.jsonld\",\n\n\t/**\n\t * The canonical RDF namespace URI for TWIN Common.\n\t */\n\tNamespaceCommon: \"https://schema.3sixty.global/common/\",\n\n\t/**\n\t * The value to use in JSON-LD context for TWIN Common.\n\t */\n\tContextCommon: \"https://schema.3sixty.global/common/\",\n\n\t/**\n\t * The JSON-LD Context URL for TWIN Common.\n\t */\n\tJsonLdContextCommon: \"https://schema.3sixty.global/common/types.jsonld\"\n} as const;\n\n/**\n * The contexts of immutable proof data.\n */\nexport type ImmutableProofContexts =\n\t(typeof ImmutableProofContexts)[keyof typeof ImmutableProofContexts];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"immutableProofFailure.js","sourceRoot":"","sources":["../../../src/models/immutableProofFailure.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The failure reason of the proof.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofFailure = {\n\t/**\n\t * Proof not yet issued.\n\t */\n\tNotIssued: \"notIssued\",\n\n\t/**\n\t * Proof missing.\n\t */\n\tProofMissing: \"proofMissing\",\n\n\t/**\n\t * Verification failure.\n\t */\n\tVerificationFailure: \"verificationFailure\",\n\n\t/**\n\t * Revoked.\n\t */\n\tRevoked: \"revoked\"\n} as const;\n\n/**\n * The failure reason of the proof.\n */\nexport type ImmutableProofFailure =\n\t(typeof ImmutableProofFailure)[keyof typeof ImmutableProofFailure];\n"]}
1
+ {"version":3,"file":"immutableProofFailure.js","sources":["../../../src/models/immutableProofFailure.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC;;OAEG;IACH,SAAS,EAAE,WAAW;IAEtB;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;OAEG;IACH,OAAO,EAAE,SAAS;CACT,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The failure reason of the proof.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofFailure = {\n\t/**\n\t * Proof not yet issued.\n\t */\n\tNotIssued: \"notIssued\",\n\n\t/**\n\t * Proof missing.\n\t */\n\tProofMissing: \"proofMissing\",\n\n\t/**\n\t * Verification failure.\n\t */\n\tVerificationFailure: \"verificationFailure\",\n\n\t/**\n\t * Revoked.\n\t */\n\tRevoked: \"revoked\"\n} as const;\n\n/**\n * The failure reason of the proof.\n */\nexport type ImmutableProofFailure =\n\t(typeof ImmutableProofFailure)[keyof typeof ImmutableProofFailure];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"immutableProofMetricIds.js","sourceRoot":"","sources":["../../../src/models/immutableProofMetricIds.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACtC;;OAEG;IACH,aAAa,EAAE,mBAAmB;IAElC;;OAEG;IACH,sBAAsB,EAAE,4BAA4B;IAEpD;;OAEG;IACH,mBAAmB,EAAE,yBAAyB;IAE9C;;OAEG;IACH,aAAa,EAAE,mBAAmB;IAElC;;OAEG;IACH,oBAAoB,EAAE,0BAA0B;IAEhD;;OAEG;IACH,kBAAkB,EAAE,yBAAyB;CACpC,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Metric IDs for the immutable proof service.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofMetricIds = {\n\t/**\n\t * Number of proofs created.\n\t */\n\tProofsCreated: \"ip_proofs_created\",\n\n\t/**\n\t * Number of proof verifications succeeded.\n\t */\n\tVerificationsSucceeded: \"ip_verifications_succeeded\",\n\n\t/**\n\t * Number of proof verifications failed.\n\t */\n\tVerificationsFailed: \"ip_verifications_failed\",\n\n\t/**\n\t * Number of proofs removed.\n\t */\n\tProofsRemoved: \"ip_proofs_removed\",\n\n\t/**\n\t * Number of notarizations removed.\n\t */\n\tNotarizationsRemoved: \"ip_notarizations_removed\",\n\n\t/**\n\t * Time in milliseconds from a proof being requested to its notarization completing.\n\t */\n\tProofCompletionLag: \"ip_proof_completion_lag\"\n} as const;\n\n/**\n * Union type of all immutable proof service metric ID string values.\n */\nexport type ImmutableProofMetricIds =\n\t(typeof ImmutableProofMetricIds)[keyof typeof ImmutableProofMetricIds];\n"]}
1
+ {"version":3,"file":"immutableProofMetricIds.js","sources":["../../../src/models/immutableProofMetricIds.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACtC;;OAEG;IACH,aAAa,EAAE,mBAAmB;IAElC;;OAEG;IACH,sBAAsB,EAAE,4BAA4B;IAEpD;;OAEG;IACH,mBAAmB,EAAE,yBAAyB;IAE9C;;OAEG;IACH,aAAa,EAAE,mBAAmB;IAElC;;OAEG;IACH,oBAAoB,EAAE,0BAA0B;IAEhD;;OAEG;IACH,kBAAkB,EAAE,yBAAyB;CACpC,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Metric IDs for the immutable proof service.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofMetricIds = {\n\t/**\n\t * Number of proofs created.\n\t */\n\tProofsCreated: \"ip_proofs_created\",\n\n\t/**\n\t * Number of proof verifications succeeded.\n\t */\n\tVerificationsSucceeded: \"ip_verifications_succeeded\",\n\n\t/**\n\t * Number of proof verifications failed.\n\t */\n\tVerificationsFailed: \"ip_verifications_failed\",\n\n\t/**\n\t * Number of proofs removed.\n\t */\n\tProofsRemoved: \"ip_proofs_removed\",\n\n\t/**\n\t * Number of notarizations removed.\n\t */\n\tNotarizationsRemoved: \"ip_notarizations_removed\",\n\n\t/**\n\t * Time in milliseconds from a proof being requested to its notarization completing.\n\t */\n\tProofCompletionLag: \"ip_proof_completion_lag\"\n} as const;\n\n/**\n * Union type of all immutable proof service metric ID string values.\n */\nexport type ImmutableProofMetricIds =\n\t(typeof ImmutableProofMetricIds)[keyof typeof ImmutableProofMetricIds];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"immutableProofMetrics.js","sourceRoot":"","sources":["../../../src/models/immutableProofMetrics.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAyB,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAuB;IACxD;QACC,EAAE,EAAE,uBAAuB,CAAC,aAAa;QACzC,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,sBAAsB;QAClD,KAAK,EAAE,+BAA+B;QACtC,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,mBAAmB;QAC/C,KAAK,EAAE,4BAA4B;QACnC,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,aAAa;QACzC,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,oBAAoB;QAChD,KAAK,EAAE,uBAAuB;QAC9B,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,kBAAkB;QAC9C,KAAK,EAAE,sBAAsB;QAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;QACtB,IAAI,EAAE,IAAI;KACV;CACD,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { type ITelemetryMetric, MetricType } from \"@3sixty/telemetry-models\";\nimport { ImmutableProofMetricIds } from \"./immutableProofMetricIds.js\";\n\n/**\n * Metrics registered by the immutable proof service.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofMetrics: ITelemetryMetric[] = [\n\t{\n\t\tid: ImmutableProofMetricIds.ProofsCreated,\n\t\tlabel: \"Proofs created\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.VerificationsSucceeded,\n\t\tlabel: \"Proof verifications succeeded\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.VerificationsFailed,\n\t\tlabel: \"Proof verifications failed\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.ProofsRemoved,\n\t\tlabel: \"Proofs removed\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.NotarizationsRemoved,\n\t\tlabel: \"Notarizations removed\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.ProofCompletionLag,\n\t\tlabel: \"Proof completion lag\",\n\t\ttype: MetricType.Gauge,\n\t\tunit: \"ms\"\n\t}\n];\n"]}
1
+ {"version":3,"file":"immutableProofMetrics.js","sources":["../../../src/models/immutableProofMetrics.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAyB,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,qBAAqB,GAAuB;IACxD;QACC,EAAE,EAAE,uBAAuB,CAAC,aAAa;QACzC,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,sBAAsB;QAClD,KAAK,EAAE,+BAA+B;QACtC,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,mBAAmB;QAC/C,KAAK,EAAE,4BAA4B;QACnC,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,aAAa;QACzC,KAAK,EAAE,gBAAgB;QACvB,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,oBAAoB;QAChD,KAAK,EAAE,uBAAuB;QAC9B,IAAI,EAAE,UAAU,CAAC,OAAO;KACxB;IACD;QACC,EAAE,EAAE,uBAAuB,CAAC,kBAAkB;QAC9C,KAAK,EAAE,sBAAsB;QAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;QACtB,IAAI,EAAE,IAAI;KACV;CACD,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { type ITelemetryMetric, MetricType } from \"@3sixty/telemetry-models\";\nimport { ImmutableProofMetricIds } from \"./immutableProofMetricIds.js\";\n\n/**\n * Metrics registered by the immutable proof service.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofMetrics: ITelemetryMetric[] = [\n\t{\n\t\tid: ImmutableProofMetricIds.ProofsCreated,\n\t\tlabel: \"Proofs created\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.VerificationsSucceeded,\n\t\tlabel: \"Proof verifications succeeded\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.VerificationsFailed,\n\t\tlabel: \"Proof verifications failed\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.ProofsRemoved,\n\t\tlabel: \"Proofs removed\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.NotarizationsRemoved,\n\t\tlabel: \"Notarizations removed\",\n\t\ttype: MetricType.Counter\n\t},\n\t{\n\t\tid: ImmutableProofMetricIds.ProofCompletionLag,\n\t\tlabel: \"Proof completion lag\",\n\t\ttype: MetricType.Gauge,\n\t\tunit: \"ms\"\n\t}\n];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"immutableProofTopics.js","sourceRoot":"","sources":["../../../src/models/immutableProofTopics.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oBAAoB,GAAG;IACnC;;OAEG;IACH,YAAY,EAAE,+BAA+B;CACpC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The topics for immutable proof event bus notifications.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofTopics = {\n\t/**\n\t * A proof was created.\n\t */\n\tProofCreated: \"immutable-proof:proof-created\"\n} as const;\n\n/**\n * The topics for immutable proof event bus notifications.\n */\nexport type ImmutableProofTopics = (typeof ImmutableProofTopics)[keyof typeof ImmutableProofTopics];\n"]}
1
+ {"version":3,"file":"immutableProofTopics.js","sources":["../../../src/models/immutableProofTopics.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,oBAAoB,GAAG;IACnC;;OAEG;IACH,YAAY,EAAE,+BAA+B;CACpC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The topics for immutable proof event bus notifications.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofTopics = {\n\t/**\n\t * A proof was created.\n\t */\n\tProofCreated: \"immutable-proof:proof-created\"\n} as const;\n\n/**\n * The topics for immutable proof event bus notifications.\n */\nexport type ImmutableProofTopics = (typeof ImmutableProofTopics)[keyof typeof ImmutableProofTopics];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"immutableProofTypes.js","sourceRoot":"","sources":["../../../src/models/immutableProofTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC;;OAEG;IACH,cAAc,EAAE,gBAAgB;IAEhC;;OAEG;IACH,0BAA0B,EAAE,4BAA4B;IAExD;;OAEG;IACH,qBAAqB,EAAE,uBAAuB;CACrC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types of immutable proof data.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofTypes = {\n\t/**\n\t * Represents Immutable Proof.\n\t */\n\tImmutableProof: \"ImmutableProof\",\n\n\t/**\n\t * Represents Immutable Proof Verification.\n\t */\n\tImmutableProofVerification: \"ImmutableProofVerification\",\n\n\t/**\n\t * Represents Immutable Proof Failure.\n\t */\n\tImmutableProofFailure: \"ImmutableProofFailure\"\n} as const;\n\n/**\n * The types of immutable proof data.\n */\nexport type ImmutableProofTypes = (typeof ImmutableProofTypes)[keyof typeof ImmutableProofTypes];\n"]}
1
+ {"version":3,"file":"immutableProofTypes.js","sources":["../../../src/models/immutableProofTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC;;OAEG;IACH,cAAc,EAAE,gBAAgB;IAEhC;;OAEG;IACH,0BAA0B,EAAE,4BAA4B;IAExD;;OAEG;IACH,qBAAqB,EAAE,uBAAuB;CACrC,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types of immutable proof data.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const ImmutableProofTypes = {\n\t/**\n\t * Represents Immutable Proof.\n\t */\n\tImmutableProof: \"ImmutableProof\",\n\n\t/**\n\t * Represents Immutable Proof Verification.\n\t */\n\tImmutableProofVerification: \"ImmutableProofVerification\",\n\n\t/**\n\t * Represents Immutable Proof Failure.\n\t */\n\tImmutableProofFailure: \"ImmutableProofFailure\"\n} as const;\n\n/**\n * The types of immutable proof data.\n */\nexport type ImmutableProofTypes = (typeof ImmutableProofTypes)[keyof typeof ImmutableProofTypes];\n"]}
package/docs/changelog.md CHANGED
@@ -0,0 +1,9 @@
1
+ # Changelog
2
+
3
+ ## [0.20.0-next.1](https://github.com/3sixtyglobal/immutable-proof/compare/immutable-proof-models-v0.20.0-next.0...immutable-proof-models-v0.20.0-next.1) (2026-10-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * publish packages under the [@3sixty](https://github.com/3sixty) namespace ([427b19f](https://github.com/3sixtyglobal/immutable-proof/commit/427b19fe3bd47827cd647e907b120d57415c62a5))
9
+ * updated ts compile ([150ff76](https://github.com/3sixtyglobal/immutable-proof/commit/150ff76ff74620219cd3fae31d152144d0c79edd))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3sixty/immutable-proof-models",
3
- "version": "0.20.0-next.0",
3
+ "version": "0.20.0-next.1",
4
4
  "description": "Shared model contracts, schema types, and context constants for immutable proof workflows",
5
5
  "repository": {
6
6
  "type": "git",