@3sixty/auditable-item-graph-service 0.20.0-next.0 → 0.20.0-next.2

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":"auditableItemGraphAlias.js","sourceRoot":"","sources":["../../../src/entities/auditableItemGraphAlias.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAElD;;GAEG;AAEI,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IACnC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAEI,YAAY,CAAU;IAE7B;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAEI,gBAAgB,CAAqB;IAE5C;;OAEG;IAEI,MAAM,CAAW;CACxB,CAAA;AArCO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;;mDAC1B;AAMZ;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACjC;AAMrB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;;4DACtB;AAMrB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACrC;AAMtB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACtC;AAMrB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;iEACtC;AAMrC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDACtB;AAzCZ,uBAAuB;IADnC,MAAM,EAAE;GACI,uBAAuB,CA0CnC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph alias.\n */\n@entity()\nexport class AuditableItemGraphAlias {\n\t/**\n\t * The alternative alias for the vertex.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The format of the alias for the vertex.\n\t */\n\t@property({ type: \"string\", maxLength: 128, optional: true })\n\tpublic aliasFormat?: string;\n\n\t/**\n\t * The date/time of when the alias was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\" })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the alias was last modified.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateModified?: string;\n\n\t/**\n\t * The timestamp of when the alias was deleted, as we never actually remove items.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateDeleted?: string;\n\n\t/**\n\t * Object to associate with the alias as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Whether the alias should be unique across the graph, meaning that no other vertex can have the same alias. Defaults to false.\n\t */\n\t@property({ type: \"boolean\", optional: true })\n\tpublic unique?: boolean;\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphAlias.js","sources":["../../../src/entities/auditableIt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E,CAAC;;uDACtB;AAzCZ,uBAAuB;IADnC,MAAM,EAAE;GACI,uBAAuB,CA0CnC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph alias.\n */\n@entity()\nexport class AuditableItemGraphAlias {\n\t/**\n\t * The alternative alias for the vertex.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The format of the alias for the vertex.\n\t */\n\t@property({ type: \"string\", maxLength: 128, optional: true })\n\tpublic aliasFormat?: string;\n\n\t/**\n\t * The date/time of when the alias was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\" })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the alias was last modified.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateModified?: string;\n\n\t/**\n\t * The timestamp of when the alias was deleted, as we never actually remove items.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateDeleted?: string;\n\n\t/**\n\t * Object to associate with the alias as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Whether the alias should be unique across the graph, meaning that no other vertex can have the same alias. Defaults to false.\n\t */\n\t@property({ type: \"boolean\", optional: true })\n\tpublic unique?: boolean;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphChangeset.js","sourceRoot":"","sources":["../../../src/entities/auditableItemGraphChangeset.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAGjE;;GAEG;AAEI,IAAM,2BAA2B,GAAjC,MAAM,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E,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;;4DACzC;AAnDZ,2BAA2B;IADvC,MAAM,EAAE;GACI,2BAA2B,CAoDvC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\nimport type { AuditableItemGraphPatch } from \"./auditableItemGraphPatch.js\";\n\n/**\n * Class describing a set of updates to the vertex.\n */\n@entity()\nexport class AuditableItemGraphChangeset {\n\t/**\n\t * The id of the changeset.\n\t */\n\t@property({ type: \"string\", isPrimary: true, maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The vertex the changeset belongs to.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tmaxLength: 255,\n\t\tisSecondary: true,\n\t\tindexGroup: [{ name: \"vertexDate\", direction: SortDirection.Ascending, index: 0 }]\n\t})\n\tpublic vertexId!: string;\n\n\t/**\n\t * The date/time of when the changeset was created.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\tindexGroup: [{ name: \"vertexDate\", direction: SortDirection.Ascending, index: 1 }]\n\t})\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The identity of the user who made the changeset.\n\t */\n\t@property({ type: \"string\", maxLength: 255, optional: true })\n\tpublic userIdentity?: string;\n\n\t/**\n\t * The patches in the changeset.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphPatch\" })\n\tpublic patches!: AuditableItemGraphPatch[];\n\n\t/**\n\t * The immutable proof id which contains the signature for this changeset.\n\t */\n\t@property({ type: \"string\", maxLength: 255, optional: true })\n\tpublic proofId?: string;\n\n\t/**\n\t * The version number of the vertex after this changeset was applied.\n\t */\n\t@property({ type: \"integer\", optional: true, isSecondary: true })\n\tpublic version?: number;\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphChangeset.js","sources":["../../../src/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yBAAyB,EAAE,CAAC;;4DACzB;AAMpC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACrC;AAMjB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;;4DACzC;AAnDZ,2BAA2B;IADvC,MAAM,EAAE;GACI,2BAA2B,CAoDvC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\nimport type { AuditableItemGraphPatch } from \"./auditableItemGraphPatch.js\";\n\n/**\n * Class describing a set of updates to the vertex.\n */\n@entity()\nexport class AuditableItemGraphChangeset {\n\t/**\n\t * The id of the changeset.\n\t */\n\t@property({ type: \"string\", isPrimary: true, maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The vertex the changeset belongs to.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tmaxLength: 255,\n\t\tisSecondary: true,\n\t\tindexGroup: [{ name: \"vertexDate\", direction: SortDirection.Ascending, index: 0 }]\n\t})\n\tpublic vertexId!: string;\n\n\t/**\n\t * The date/time of when the changeset was created.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\tindexGroup: [{ name: \"vertexDate\", direction: SortDirection.Ascending, index: 1 }]\n\t})\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The identity of the user who made the changeset.\n\t */\n\t@property({ type: \"string\", maxLength: 255, optional: true })\n\tpublic userIdentity?: string;\n\n\t/**\n\t * The patches in the changeset.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphPatch\" })\n\tpublic patches!: AuditableItemGraphPatch[];\n\n\t/**\n\t * The immutable proof id which contains the signature for this changeset.\n\t */\n\t@property({ type: \"string\", maxLength: 255, optional: true })\n\tpublic proofId?: string;\n\n\t/**\n\t * The version number of the vertex after this changeset was applied.\n\t */\n\t@property({ type: \"integer\", optional: true, isSecondary: true })\n\tpublic version?: number;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphEdge.js","sourceRoot":"","sources":["../../../src/entities/auditableItemGraphEdge.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAElD;;GAEG;AAEI,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAClC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAEI,YAAY,CAAU;IAE7B;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAEI,QAAQ,CAAU;IAEzB;;OAEG;IAEI,iBAAiB,CAAY;IAEpC;;OAEG;IAEI,gBAAgB,CAAqB;CAC5C,CAAA;AArCO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;;kDAC1B;AAMZ;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;;2DACtB;AAMrB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4DACrC;AAMtB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACtC;AAMrB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;;wDACpB;AAMlB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;;iEACQ;AAM7B;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACtC;AAzChC,sBAAsB;IADlC,MAAM,EAAE;GACI,sBAAsB,CA0ClC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph edge.\n */\n@entity()\nexport class AuditableItemGraphEdge {\n\t/**\n\t * The id of the edge.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The date/time of when the edge was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\" })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the edge was last modified.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateModified?: string;\n\n\t/**\n\t * The timestamp of when the edge was deleted, as we never actually remove items.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateDeleted?: string;\n\n\t/**\n\t * The target id of the edge.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic targetId!: string;\n\n\t/**\n\t * The relationships between the two vertices.\n\t */\n\t@property({ type: \"array\" })\n\tpublic edgeRelationships!: string[];\n\n\t/**\n\t * Object to associate with the edge as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphEdge.js","sources":["../../../src/entities/auditableItemGraphEdge.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,WAAW,EAA0B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\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph edge.\n */\n@entity()\nexport class AuditableItemGraphEdge {\n\t/**\n\t * The id of the edge.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The date/time of when the edge was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\" })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the edge was last modified.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateModified?: string;\n\n\t/**\n\t * The timestamp of when the edge was deleted, as we never actually remove items.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateDeleted?: string;\n\n\t/**\n\t * The target id of the edge.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic targetId!: string;\n\n\t/**\n\t * The relationships between the two vertices.\n\t */\n\t@property({ type: \"array\" })\n\tpublic edgeRelationships!: string[];\n\n\t/**\n\t * Object to associate with the edge as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphPatch.js","sourceRoot":"","sources":["../../../src/entities/auditableItemGraphPatch.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAElD;;GAEG;AAEI,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IACnC;;OAEG;IAEI,EAAE,CAA2D;IAEpE;;OAEG;IAEI,IAAI,CAAU;IAErB;;OAEG;IAEI,IAAI,CAAU;IAErB;;OAEG;IAEI,KAAK,CAAW;CACvB,CAAA;AAnBO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;;mDACwB;AAM7D;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;qDACzB;AAMd;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACzC;AAMd;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACtB;AAvBX,uBAAuB;IADnC,MAAM,EAAE;GACI,uBAAuB,CAwBnC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { entity, property } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph patches.\n */\n@entity()\nexport class AuditableItemGraphPatch {\n\t/**\n\t * The operation for the patch.\n\t */\n\t@property({ type: \"string\", maxLength: 10 })\n\tpublic op!: \"add\" | \"remove\" | \"replace\" | \"move\" | \"copy\" | \"test\";\n\n\t/**\n\t * The path for the patch.\n\t */\n\t@property({ type: \"string\", maxLength: 1024 })\n\tpublic path!: string;\n\n\t/**\n\t * The from for the patch.\n\t */\n\t@property({ type: \"string\", maxLength: 1024, optional: true })\n\tpublic from?: string;\n\n\t/**\n\t * The value for the patch.\n\t */\n\t@property({ type: \"object\", optional: true })\n\tpublic value?: unknown;\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphPatch.js","sources":["../../../src/entities/auditableItemGraphPatch.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAElD;;GAEG;AAEI,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;IACnC;;OAEG;IAEI,EAAE,CAA2D;IAEpE;;OAEG;IAEI,IAAI,CAAU;IAErB;;OAEG;IAEI,IAAI,CAAU;IAErB;;OAEG;IAEI,KAAK,CAAW;CACvB,CAAA;AAnBO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;;mDACwB;AAM7D;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;qDACzB;AAMd;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACzC;AAMd;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACtB;AAvBX,uBAAuB;IADnC,MAAM,EAAE;GACI,uBAAuB,CAwBnC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { entity, property } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph patches.\n */\n@entity()\nexport class AuditableItemGraphPatch {\n\t/**\n\t * The operation for the patch.\n\t */\n\t@property({ type: \"string\", maxLength: 10 })\n\tpublic op!: \"add\" | \"remove\" | \"replace\" | \"move\" | \"copy\" | \"test\";\n\n\t/**\n\t * The path for the patch.\n\t */\n\t@property({ type: \"string\", maxLength: 1024 })\n\tpublic path!: string;\n\n\t/**\n\t * The from for the patch.\n\t */\n\t@property({ type: \"string\", maxLength: 1024, optional: true })\n\tpublic from?: string;\n\n\t/**\n\t * The value for the patch.\n\t */\n\t@property({ type: \"object\", optional: true })\n\tpublic value?: unknown;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphResource.js","sourceRoot":"","sources":["../../../src/entities/auditableItemGraphResource.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAElD;;GAEG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACtC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAEI,YAAY,CAAU;IAE7B;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAEI,cAAc,CAAqB;CAC1C,CAAA;AAzBO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC1C;AAMZ;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;;+DACtB;AAMrB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACrC;AAMtB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACtC;AAMrB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACxC;AA7B9B,0BAA0B;IADtC,MAAM,EAAE;GACI,0BAA0B,CA8BtC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph vertex resource.\n */\n@entity()\nexport class AuditableItemGraphResource {\n\t/**\n\t * The id of the resource.\n\t */\n\t@property({ type: \"string\", maxLength: 255, optional: true })\n\tpublic id?: string;\n\n\t/**\n\t * The date/time of when the resource was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\" })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the resource was last modified.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateModified?: string;\n\n\t/**\n\t * The timestamp of when the resource was deleted, as we never actually remove items.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateDeleted?: string;\n\n\t/**\n\t * Object to associate with the resource as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic resourceObject?: IJsonLdNodeObject;\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphResource.js","sources":["../../../src/entities/auditableItemGraphResource.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAElD;;GAEG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACtC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAEI,YAAY,CAAU;IAE7B;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAEI,cAAc,CAAqB;CAC1C,CAAA;AAzBO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDAC1C;AAMZ;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;;+DACtB;AAMrB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACrC;AAMtB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACtC;AAMrB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kEACxC;AA7B9B,0BAA0B;IADtC,MAAM,EAAE;GACI,0BAA0B,CA8BtC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph vertex resource.\n */\n@entity()\nexport class AuditableItemGraphResource {\n\t/**\n\t * The id of the resource.\n\t */\n\t@property({ type: \"string\", maxLength: 255, optional: true })\n\tpublic id?: string;\n\n\t/**\n\t * The date/time of when the resource was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\" })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the resource was last modified.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateModified?: string;\n\n\t/**\n\t * The timestamp of when the resource was deleted, as we never actually remove items.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", optional: true })\n\tpublic dateDeleted?: string;\n\n\t/**\n\t * Object to associate with the resource as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic resourceObject?: IJsonLdNodeObject;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphVertex.js","sourceRoot":"","sources":["../../../src/entities/auditableItemGraphVertex.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKjE;;GAEG;AAEI,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACpC;;OAEG;IAEI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AAI,EAAE,OAAO,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACvC;AAMzC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;uDAC3C;AAMjC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACtB;AAhEZ,wBAAwB;IADpC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;GACV,wBAAwB,CAiEpC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { AuditableItemGraphAuditMode } from \"@3sixty/auditable-item-graph-models\";\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\nimport type { AuditableItemGraphAlias } from \"./auditableItemGraphAlias.js\";\nimport type { AuditableItemGraphEdge } from \"./auditableItemGraphEdge.js\";\nimport type { AuditableItemGraphResource } from \"./auditableItemGraphResource.js\";\n\n/**\n * Class describing the auditable item graph vertex.\n */\n@entity({ version: 2 })\nexport class AuditableItemGraphVertex {\n\t/**\n\t * The id of the vertex.\n\t */\n\t@property({ type: \"string\", isPrimary: true, maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The identity of the organization which controls the vertex.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic organizationIdentity!: string;\n\n\t/**\n\t * The date/time of when the vertex was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", sortDirection: SortDirection.Descending })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the vertex was last modified.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\toptional: true\n\t})\n\tpublic dateModified?: string;\n\n\t/**\n\t * How the mutations of the vertex are recorded, when absent the vertex behaves as audited.\n\t */\n\t@property({ type: \"string\", maxLength: 10, optional: true })\n\tpublic auditMode?: AuditableItemGraphAuditMode;\n\n\t/**\n\t * Object to associate with the vertex as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Alternative aliases that can be used to identify the vertex.\n\t */\n\t@property({ type: \"array\", itemType: \"string\", optional: true })\n\tpublic aliases?: AuditableItemGraphAlias[];\n\n\t/**\n\t * The resources attached to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphResource\", optional: true })\n\tpublic resources?: AuditableItemGraphResource[];\n\n\t/**\n\t * Edges connected to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphEdge\", optional: true })\n\tpublic edges?: AuditableItemGraphEdge[];\n\n\t/**\n\t * The current version of the vertex, incremented on each changeset.\n\t */\n\t@property({ type: \"integer\", optional: true })\n\tpublic version?: number;\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphVertex.js","sources":["../../../src/entities/auditableItemGraphVertex.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKjE;;GAEG;AAEI,IAAM,wBAAwB,GAA9B,MAAM,wBAAwB;IACpC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,oBAAoB,CAAU;IAErC;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAOI,YAAY,CAAU;IAE7B;;OAEG;IAEI,SAAS,CAA+B;IAE/C;;OAEG;IAEI,gBAAgB,CAAqB;IAE5C;;OAEG;IAEI,OAAO,CAA6B;IAE3C;;OAEG;IAEI,SAAS,CAAgC;IAEhD;;OAEG;IA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,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDACtB;AAhEZ,wBAAwB;IADpC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;GACV,wBAAwB,CAiEpC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { AuditableItemGraphAuditMode } from \"@3sixty/auditable-item-graph-models\";\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\nimport type { AuditableItemGraphAlias } from \"./auditableItemGraphAlias.js\";\nimport type { AuditableItemGraphEdge } from \"./auditableItemGraphEdge.js\";\nimport type { AuditableItemGraphResource } from \"./auditableItemGraphResource.js\";\n\n/**\n * Class describing the auditable item graph vertex.\n */\n@entity({ version: 2 })\nexport class AuditableItemGraphVertex {\n\t/**\n\t * The id of the vertex.\n\t */\n\t@property({ type: \"string\", isPrimary: true, maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The identity of the organization which controls the vertex.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic organizationIdentity!: string;\n\n\t/**\n\t * The date/time of when the vertex was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", sortDirection: SortDirection.Descending })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the vertex was last modified.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\toptional: true\n\t})\n\tpublic dateModified?: string;\n\n\t/**\n\t * How the mutations of the vertex are recorded, when absent the vertex behaves as audited.\n\t */\n\t@property({ type: \"string\", maxLength: 10, optional: true })\n\tpublic auditMode?: AuditableItemGraphAuditMode;\n\n\t/**\n\t * Object to associate with the vertex as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Alternative aliases that can be used to identify the vertex.\n\t */\n\t@property({ type: \"array\", itemType: \"string\", optional: true })\n\tpublic aliases?: AuditableItemGraphAlias[];\n\n\t/**\n\t * The resources attached to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphResource\", optional: true })\n\tpublic resources?: AuditableItemGraphResource[];\n\n\t/**\n\t * Edges connected to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphEdge\", optional: true })\n\tpublic edges?: AuditableItemGraphEdge[];\n\n\t/**\n\t * The current version of the vertex, incremented on each changeset.\n\t */\n\t@property({ type: \"integer\", optional: true })\n\tpublic version?: number;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphVertexIndex.js","sourceRoot":"","sources":["../../../src/entities/auditableItemGraphVertexIndex.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEjE;;;;;;GAMG;AAEI,IAAM,6BAA6B,GAAnC,MAAM,6BAA6B;IACzC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,QAAQ,CAAU;IAEzB;;OAEG;IAOI,IAAI,CAAU;IAErB;;OAEG;IAEI,KAAK,CAAU;IAEtB;;OAEG;IAOI,SAAS,CAAU;IAE1B;;;OAGG;IAOI,WAAW,CAAU;IAE5B;;;OAGG;IAOI,YAAY,CAAU;CAC7B,CAAA;AA3DO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;;yDAC3C;AAMZ;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;;+DACvC;AAWlB;IANN,QAAQ,CAAC;QACT,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,EAAE;QACb,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;KACjF,CAAC;;2DACmB;AAMd;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC;;4DACvB;AAWf;IANN,QAAQ,CAAC;QACT,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,EAAE;QACb,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,CAAC,SAAS,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;KACjF,CAAC;;gEACwB;AAYnB;IANN,QAAQ,CAAC;QACT,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,aAAa,CAAC,UAAU;QACvC,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;KAClF,CAAC;;kEAC0B;AAYrB;IANN,QAAQ,CAAC;QACT,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,aAAa,CAAC,UAAU;QACvC,QAAQ,EAAE,IAAI;KACd,CAAC;;mEAC2B;AA/DjB,6BAA6B;IADzC,MAAM,EAAE;GACI,6BAA6B,CAgEzC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph vertex index.\n *\n * The composite index is built on a fixed length hash of the value rather than the value itself,\n * so its key stays within the size limit some databases place on an index key however long the\n * value is.\n */\n@entity()\nexport class AuditableItemGraphVertexIndex {\n\t/**\n\t * The id of the index.\n\t */\n\t@property({ type: \"string\", isPrimary: true, maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The id of the vertex this index refers to.\n\t */\n\t@property({ type: \"string\", maxLength: 255, isSecondary: true })\n\tpublic vertexId!: string;\n\n\t/**\n\t * Index type.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tmaxLength: 32,\n\t\tisSecondary: true,\n\t\tindexGroup: [{ name: \"typeValue\", direction: SortDirection.Ascending, index: 0 }]\n\t})\n\tpublic type!: string;\n\n\t/**\n\t * Index value, case folded so lookups do not depend on the column collation.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic value!: string;\n\n\t/**\n\t * The hash of the value, used for exact lookups.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tmaxLength: 27,\n\t\tisSecondary: true,\n\t\tindexGroup: [{ name: \"typeValue\", direction: SortDirection.Ascending, index: 1 }]\n\t})\n\tpublic valueHash!: string;\n\n\t/**\n\t * The date/time of when the vertex was created, copied so the index can order and page its\n\t * own matches without reading the vertex.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\tindexGroup: [{ name: \"typeValue\", direction: SortDirection.Descending, index: 2 }]\n\t})\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the vertex was last modified, copied so a query ordered by the\n\t * modified date can also be paged from the index.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\toptional: true\n\t})\n\tpublic dateModified?: string;\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphVertexIndex.js","sources":["../../../src/entities/auditableItemGraphVertexIndex.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEjE;;;;;;GAMG;AAEI,IAAM,6BAA6B,GAAnC,MAAM,6B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CAAC,UAAU,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;KAClF,CAAC;;kEAC0B;AAYrB;IANN,QAAQ,CAAC;QACT,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,aAAa,CAAC,UAAU;QACvC,QAAQ,EAAE,IAAI;KACd,CAAC;;mEAC2B;AA/DjB,6BAA6B;IADzC,MAAM,EAAE;GACI,6BAA6B,CAgEzC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\n\n/**\n * Class describing the auditable item graph vertex index.\n *\n * The composite index is built on a fixed length hash of the value rather than the value itself,\n * so its key stays within the size limit some databases place on an index key however long the\n * value is.\n */\n@entity()\nexport class AuditableItemGraphVertexIndex {\n\t/**\n\t * The id of the index.\n\t */\n\t@property({ type: \"string\", isPrimary: true, maxLength: 255 })\n\tpublic id!: string;\n\n\t/**\n\t * The id of the vertex this index refers to.\n\t */\n\t@property({ type: \"string\", maxLength: 255, isSecondary: true })\n\tpublic vertexId!: string;\n\n\t/**\n\t * Index type.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tmaxLength: 32,\n\t\tisSecondary: true,\n\t\tindexGroup: [{ name: \"typeValue\", direction: SortDirection.Ascending, index: 0 }]\n\t})\n\tpublic type!: string;\n\n\t/**\n\t * Index value, case folded so lookups do not depend on the column collation.\n\t */\n\t@property({ type: \"string\", maxLength: 255 })\n\tpublic value!: string;\n\n\t/**\n\t * The hash of the value, used for exact lookups.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tmaxLength: 27,\n\t\tisSecondary: true,\n\t\tindexGroup: [{ name: \"typeValue\", direction: SortDirection.Ascending, index: 1 }]\n\t})\n\tpublic valueHash!: string;\n\n\t/**\n\t * The date/time of when the vertex was created, copied so the index can order and page its\n\t * own matches without reading the vertex.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\tindexGroup: [{ name: \"typeValue\", direction: SortDirection.Descending, index: 2 }]\n\t})\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the vertex was last modified, copied so a query ordered by the\n\t * modified date can also be paged from the index.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\toptional: true\n\t})\n\tpublic dateModified?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphVertexV0.js","sourceRoot":"","sources":["../../../src/entities/auditableItemGraphVertexV0.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKjE;;GAEG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACtC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,oBAAoB,CAAU;IAErC;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAOI,YAAY,CAAU;IAE7B;;OAEG;IAEI,UAAU,CAAU;IAE3B;;OAEG;IAEI,iBAAiB,CAAU;IAElC;;OAEG;IAEI,gBAAgB,CAAqB;IAE5C;;OAEG;IAEI,OAAO,CAA6B;IAE3C;;OAEG;IAEI,SAAS,CAAgC;IAEhD;;OAEG;IAEI,KAAK,CAA4B;IAExC;;OAEG;IAEI,OAAO,CAAU;CACxB,CAAA;AAlEO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;sDAC3B;AAMZ;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;wEACQ;AAM9B;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,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odeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\nimport type { AuditableItemGraphAlias } from \"./auditableItemGraphAlias.js\";\nimport type { AuditableItemGraphEdge } from \"./auditableItemGraphEdge.js\";\nimport type { AuditableItemGraphResource } from \"./auditableItemGraphResource.js\";\n\n/**\n * Class describing the auditable item graph vertex, version 0.\n */\n@entity({ version: 0 })\nexport class AuditableItemGraphVertexV0 {\n\t/**\n\t * The id of the vertex.\n\t */\n\t@property({ type: \"string\", isPrimary: true })\n\tpublic id!: string;\n\n\t/**\n\t * The identity of the organization which controls the vertex.\n\t */\n\t@property({ type: \"string\" })\n\tpublic organizationIdentity!: string;\n\n\t/**\n\t * The date/time of when the vertex was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", sortDirection: SortDirection.Descending })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the vertex was last modified.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\toptional: true\n\t})\n\tpublic dateModified?: string;\n\n\t/**\n\t * Combined alias index for the vertex used for querying.\n\t */\n\t@property({ type: \"string\", isSecondary: true, optional: true })\n\tpublic aliasIndex?: string;\n\n\t/**\n\t * Combined resource type index for the vertex used for querying.\n\t */\n\t@property({ type: \"string\", isSecondary: true, optional: true })\n\tpublic resourceTypeIndex?: string;\n\n\t/**\n\t * Object to associate with the vertex as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Alternative aliases that can be used to identify the vertex.\n\t */\n\t@property({ type: \"array\", itemType: \"string\", optional: true })\n\tpublic aliases?: AuditableItemGraphAlias[];\n\n\t/**\n\t * The resources attached to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphResource\", optional: true })\n\tpublic resources?: AuditableItemGraphResource[];\n\n\t/**\n\t * Edges connected to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphEdge\", optional: true })\n\tpublic edges?: AuditableItemGraphEdge[];\n\n\t/**\n\t * The current version of the vertex, incremented on each changeset.\n\t */\n\t@property({ type: \"integer\", optional: true })\n\tpublic version?: number;\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphVertexV0.js","sources":["../../../src/entities/auditableItemGraphVertexV0.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKjE;;GAEG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACtC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,oBAAoB,CAAU;IAErC;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAOI,YAAY,CAAU;IAE7B;;OAEG;IAEI,UAAU,CAAU;IAE3B;;OAEG;IAEI,iBAAiB,CAAU;IAElC;;OAEG;IAEI,gBAAgB,CAAqB;IAE5C;;OAEG;IAEI,OAAO,CAA6B;IAE3C;;OAEG;IAEI,SAAS,CAAgC;IAEhD;;OAEG;IAEI,KAAK,CAA4B;IAExC;;OAEG;IAEI,OAAO,CAAU;CACxB,CAAA;AAlEO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;sDAC3B;AAMZ;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;wEACQ;AAM9B;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,CAAC,UAAU,EAAE,CAAC;;+DAC/D;AAWrB;IANN,QAAQ,CAAC;QACT,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,aAAa,CAAC,UAAU;QACvC,QAAQ,EAAE,IAAI;KACd,CAAC;;gEAC2B;AAMtB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACrC;AAMpB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEAC9B;AAM3B;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACtC;AAMrC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACrB;AAMpC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACvC;AAMzC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDAC3C;AAMjC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACtB;AAtEZ,0BAA0B;IADtC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;GACV,0BAA0B,CAuEtC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\nimport type { AuditableItemGraphAlias } from \"./auditableItemGraphAlias.js\";\nimport type { AuditableItemGraphEdge } from \"./auditableItemGraphEdge.js\";\nimport type { AuditableItemGraphResource } from \"./auditableItemGraphResource.js\";\n\n/**\n * Class describing the auditable item graph vertex, version 0.\n */\n@entity({ version: 0 })\nexport class AuditableItemGraphVertexV0 {\n\t/**\n\t * The id of the vertex.\n\t */\n\t@property({ type: \"string\", isPrimary: true })\n\tpublic id!: string;\n\n\t/**\n\t * The identity of the organization which controls the vertex.\n\t */\n\t@property({ type: \"string\" })\n\tpublic organizationIdentity!: string;\n\n\t/**\n\t * The date/time of when the vertex was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", sortDirection: SortDirection.Descending })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the vertex was last modified.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\toptional: true\n\t})\n\tpublic dateModified?: string;\n\n\t/**\n\t * Combined alias index for the vertex used for querying.\n\t */\n\t@property({ type: \"string\", isSecondary: true, optional: true })\n\tpublic aliasIndex?: string;\n\n\t/**\n\t * Combined resource type index for the vertex used for querying.\n\t */\n\t@property({ type: \"string\", isSecondary: true, optional: true })\n\tpublic resourceTypeIndex?: string;\n\n\t/**\n\t * Object to associate with the vertex as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Alternative aliases that can be used to identify the vertex.\n\t */\n\t@property({ type: \"array\", itemType: \"string\", optional: true })\n\tpublic aliases?: AuditableItemGraphAlias[];\n\n\t/**\n\t * The resources attached to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphResource\", optional: true })\n\tpublic resources?: AuditableItemGraphResource[];\n\n\t/**\n\t * Edges connected to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphEdge\", optional: true })\n\tpublic edges?: AuditableItemGraphEdge[];\n\n\t/**\n\t * The current version of the vertex, incremented on each changeset.\n\t */\n\t@property({ type: \"integer\", optional: true })\n\tpublic version?: number;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphVertexV1.js","sourceRoot":"","sources":["../../../src/entities/auditableItemGraphVertexV1.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKjE;;GAEG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACtC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,oBAAoB,CAAU;IAErC;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAOI,YAAY,CAAU;IAE7B;;OAEG;IAEI,SAAS,CAA+B;IAE/C;;OAEG;IAEI,UAAU,CAAU;IAE3B;;OAEG;IAEI,iBAAiB,CAAU;IAElC;;OAEG;IAEI,gBAAgB,CAAqB;IAE5C;;OAEG;IAEI,OAAO,CAA6B;IAE3C;;OAEG;IAEI,SAAS,CAAgC;IAEhD;;OAEG;IAEI,KAAK,CAA4B;IAExC;;OAEG;IAEI,OAAO,CAAU;CACxB,CAAA;AAxEO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;sDAC3B;AAMZ;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;wEACQ;AAM9B;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,CAAC,UAAU,EAAE,CAAC;;+DAC/D;AAWrB;IANN,QAAQ,CAAC;QACT,IAAI,EAAE,QAAQ;QACd,MAAM,EAAE,WAAW;QACnB,aAAa,EAAE,aAAa,CAAC,UAAU;QACvC,QAAQ,EAAE,IAAI;KACd,CAAC;;gEAC2B;AAMtB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACE;AAMxC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;8DACrC;AAMpB;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qEAC9B;AAM3B;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,CAAC,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACtC;AAMrC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACrB;AAMpC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,4BAA4B,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;6DACvC;AAMzC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;yDAC3C;AAMjC;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2DACtB;AA5EZ,0BAA0B;IADtC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;GACV,0BAA0B,CA6EtC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { AuditableItemGraphAuditMode } from \"@3sixty/auditable-item-graph-models\";\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\nimport type { AuditableItemGraphAlias } from \"./auditableItemGraphAlias.js\";\nimport type { AuditableItemGraphEdge } from \"./auditableItemGraphEdge.js\";\nimport type { AuditableItemGraphResource } from \"./auditableItemGraphResource.js\";\n\n/**\n * Class describing the auditable item graph vertex.\n */\n@entity({ version: 1 })\nexport class AuditableItemGraphVertexV1 {\n\t/**\n\t * The id of the vertex.\n\t */\n\t@property({ type: \"string\", isPrimary: true })\n\tpublic id!: string;\n\n\t/**\n\t * The identity of the organization which controls the vertex.\n\t */\n\t@property({ type: \"string\" })\n\tpublic organizationIdentity!: string;\n\n\t/**\n\t * The date/time of when the vertex was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", sortDirection: SortDirection.Descending })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the vertex was last modified.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\toptional: true\n\t})\n\tpublic dateModified?: string;\n\n\t/**\n\t * How the mutations of the vertex are recorded, when absent the vertex behaves as audited.\n\t */\n\t@property({ type: \"string\", optional: true })\n\tpublic auditMode?: AuditableItemGraphAuditMode;\n\n\t/**\n\t * Combined alias index for the vertex used for querying.\n\t */\n\t@property({ type: \"string\", isSecondary: true, optional: true })\n\tpublic aliasIndex?: string;\n\n\t/**\n\t * Combined resource type index for the vertex used for querying.\n\t */\n\t@property({ type: \"string\", isSecondary: true, optional: true })\n\tpublic resourceTypeIndex?: string;\n\n\t/**\n\t * Object to associate with the vertex as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Alternative aliases that can be used to identify the vertex.\n\t */\n\t@property({ type: \"array\", itemType: \"string\", optional: true })\n\tpublic aliases?: AuditableItemGraphAlias[];\n\n\t/**\n\t * The resources attached to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphResource\", optional: true })\n\tpublic resources?: AuditableItemGraphResource[];\n\n\t/**\n\t * Edges connected to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphEdge\", optional: true })\n\tpublic edges?: AuditableItemGraphEdge[];\n\n\t/**\n\t * The current version of the vertex, incremented on each changeset.\n\t */\n\t@property({ type: \"integer\", optional: true })\n\tpublic version?: number;\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphVertexV1.js","sources":["../../../src/entities/auditableItemGraphVertexV1.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAA0B,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAKjE;;GAEG;AAEI,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACtC;;OAEG;IAEI,EAAE,CAAU;IAEnB;;OAEG;IAEI,oBAAoB,CAAU;IAErC;;OAEG;IAEI,WAAW,CAAU;IAE5B;;OAEG;IAOI,YAAY,CAAU;IAE7B;;OAEG;IAEI,SAAS,CAA+B;IAE/C;;OAEG;IAEI,UAAU,CAAU;IAE3B;;OAEG;IAEI,iBAAiB,CAAU;IAElC;;OAEG;IAEI,gBAAgB,CAAqB;IAE5C;;OAEG;IAEI,OAAO,CAA6B;IAE3C;;OAEG;IAEI,SAAS,CAAgC;IAEhD;;OAEG;IAEI,KAAK,CAA4B;IAExC;;OAEG;IAEI,OAAO,CAAU;CACxB,CAAA;AAxEO;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;sDAC3B;AAMZ;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC;;wEACQ;AAM9B;IADN,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,aAAa,CAAC,UAAU,EAAE,CAAC;;+D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: Apache-2.0.\nimport type { AuditableItemGraphAuditMode } from \"@3sixty/auditable-item-graph-models\";\nimport { JsonLdTypes, type IJsonLdNodeObject } from \"@3sixty/data-json-ld\";\nimport { entity, property, SortDirection } from \"@3sixty/entity\";\nimport type { AuditableItemGraphAlias } from \"./auditableItemGraphAlias.js\";\nimport type { AuditableItemGraphEdge } from \"./auditableItemGraphEdge.js\";\nimport type { AuditableItemGraphResource } from \"./auditableItemGraphResource.js\";\n\n/**\n * Class describing the auditable item graph vertex.\n */\n@entity({ version: 1 })\nexport class AuditableItemGraphVertexV1 {\n\t/**\n\t * The id of the vertex.\n\t */\n\t@property({ type: \"string\", isPrimary: true })\n\tpublic id!: string;\n\n\t/**\n\t * The identity of the organization which controls the vertex.\n\t */\n\t@property({ type: \"string\" })\n\tpublic organizationIdentity!: string;\n\n\t/**\n\t * The date/time of when the vertex was created.\n\t */\n\t@property({ type: \"string\", format: \"date-time\", sortDirection: SortDirection.Descending })\n\tpublic dateCreated!: string;\n\n\t/**\n\t * The date/time of when the vertex was last modified.\n\t */\n\t@property({\n\t\ttype: \"string\",\n\t\tformat: \"date-time\",\n\t\tsortDirection: SortDirection.Descending,\n\t\toptional: true\n\t})\n\tpublic dateModified?: string;\n\n\t/**\n\t * How the mutations of the vertex are recorded, when absent the vertex behaves as audited.\n\t */\n\t@property({ type: \"string\", optional: true })\n\tpublic auditMode?: AuditableItemGraphAuditMode;\n\n\t/**\n\t * Combined alias index for the vertex used for querying.\n\t */\n\t@property({ type: \"string\", isSecondary: true, optional: true })\n\tpublic aliasIndex?: string;\n\n\t/**\n\t * Combined resource type index for the vertex used for querying.\n\t */\n\t@property({ type: \"string\", isSecondary: true, optional: true })\n\tpublic resourceTypeIndex?: string;\n\n\t/**\n\t * Object to associate with the vertex as JSON-LD.\n\t */\n\t@property({ type: \"object\", itemTypeRef: JsonLdTypes.NodeObject, optional: true })\n\tpublic annotationObject?: IJsonLdNodeObject;\n\n\t/**\n\t * Alternative aliases that can be used to identify the vertex.\n\t */\n\t@property({ type: \"array\", itemType: \"string\", optional: true })\n\tpublic aliases?: AuditableItemGraphAlias[];\n\n\t/**\n\t * The resources attached to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphResource\", optional: true })\n\tpublic resources?: AuditableItemGraphResource[];\n\n\t/**\n\t * Edges connected to the vertex.\n\t */\n\t@property({ type: \"array\", itemTypeRef: \"AuditableItemGraphEdge\", optional: true })\n\tpublic edges?: AuditableItemGraphEdge[];\n\n\t/**\n\t * The current version of the vertex, incremented on each changeset.\n\t */\n\t@property({ type: \"integer\", optional: true })\n\tpublic version?: number;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0DAA0D,CAAC;AACzE,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,gDAAgD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./auditableItemGraphRoutes.js\";\nexport * from \"./auditableItemGraphService.js\";\nexport * from \"./entities/auditableItemGraphAlias.js\";\nexport * from \"./entities/auditableItemGraphChangeset.js\";\nexport * from \"./entities/auditableItemGraphEdge.js\";\nexport * from \"./entities/auditableItemGraphPatch.js\";\nexport * from \"./entities/auditableItemGraphResource.js\";\nexport * from \"./entities/auditableItemGraphVertex.js\";\nexport * from \"./entities/auditableItemGraphVertexIndex.js\";\nexport * from \"./entities/auditableItemGraphVertexV0.js\";\nexport * from \"./entities/auditableItemGraphVertexV1.js\";\nexport * from \"./models/IAuditableItemGraphServiceConfig.js\";\nexport * from \"./models/IAuditableItemGraphServiceConstructorOptions.js\";\nexport * from \"./restEntryPoints.js\";\nexport * from \"./schema.js\";\nexport * from \"./utils/auditableItemGraphVertexIndexHelper.js\";\n"]}
1
+ {"version":3,"file":"index.js","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,0DAA0D,CAAC;AACzE,cAAc,sBAAsB,CAAC;AACrC,cAAc,aAAa,CAAC;AAC5B,cAAc,gDAAgD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./auditableItemGraphRoutes.js\";\nexport * from \"./auditableItemGraphService.js\";\nexport * from \"./entities/auditableItemGraphAlias.js\";\nexport * from \"./entities/auditableItemGraphChangeset.js\";\nexport * from \"./entities/auditableItemGraphEdge.js\";\nexport * from \"./entities/auditableItemGraphPatch.js\";\nexport * from \"./entities/auditableItemGraphResource.js\";\nexport * from \"./entities/auditableItemGraphVertex.js\";\nexport * from \"./entities/auditableItemGraphVertexIndex.js\";\nexport * from \"./entities/auditableItemGraphVertexV0.js\";\nexport * from \"./entities/auditableItemGraphVertexV1.js\";\nexport * from \"./models/IAuditableItemGraphServiceConfig.js\";\nexport * from \"./models/IAuditableItemGraphServiceConstructorOptions.js\";\nexport * from \"./restEntryPoints.js\";\nexport * from \"./schema.js\";\nexport * from \"./utils/auditableItemGraphVertexIndexHelper.js\";\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphServiceConfig.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphServiceConfig.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Configuration for the auditable item graph service.\n */\nexport interface IAuditableItemGraphServiceConfig {\n\t/**\n\t * Timeout in milliseconds for acquiring a mutex lock.\n\t */\n\tmutexTimeoutMs?: number;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphServiceConfig.js","sources":["../../../src/models/IAuditableItemGraphServiceConfig.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Configuration for the auditable item graph service.\n */\nexport interface IAuditableItemGraphServiceConfig {\n\t/**\n\t * Timeout in milliseconds for acquiring a mutex lock.\n\t */\n\tmutexTimeoutMs?: number;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphServiceConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphServiceConstructorOptions.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAuditableItemGraphServiceConfig } from \"./IAuditableItemGraphServiceConfig.js\";\n\n/**\n * Options for the constructor of the auditable item graph service.\n */\nexport interface IAuditableItemGraphServiceConstructorOptions {\n\t/**\n\t * The immutable proof component type.\n\t * @default immutable-proof\n\t */\n\timmutableProofComponentType?: string;\n\n\t/**\n\t * The entity storage for vertices.\n\t * @default auditable-item-graph-vertex\n\t */\n\tvertexEntityStorageType?: string;\n\n\t/**\n\t * The entity storage for vertex indices.\n\t * @default auditable-item-graph-vertex-index\n\t */\n\tvertexIndexEntityStorageType?: string;\n\n\t/**\n\t * The entity storage for changesets.\n\t * @default auditable-item-graph-changeset\n\t */\n\tchangesetEntityStorageType?: string;\n\n\t/**\n\t * The event bus component type, defaults to no event bus.\n\t */\n\teventBusComponentType?: string;\n\n\t/**\n\t * The component type for the optional telemetry component used for event metrics, defaults to no telemetry.\n\t */\n\ttelemetryComponentType?: string;\n\n\t/**\n\t * The configuration for the service.\n\t */\n\tconfig?: IAuditableItemGraphServiceConfig;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphServiceConstructorOptions.js","sources":["../../../src/models/IAuditableItemGraphServiceConstructorOptions.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAuditableItemGraphServiceConfig } from \"./IAuditableItemGraphServiceConfig.js\";\n\n/**\n * Options for the constructor of the auditable item graph service.\n */\nexport interface IAuditableItemGraphServiceConstructorOptions {\n\t/**\n\t * The immutable proof component type.\n\t * @default immutable-proof\n\t */\n\timmutableProofComponentType?: string;\n\n\t/**\n\t * The entity storage for vertices.\n\t * @default auditable-item-graph-vertex\n\t */\n\tvertexEntityStorageType?: string;\n\n\t/**\n\t * The entity storage for vertex indices.\n\t * @default auditable-item-graph-vertex-index\n\t */\n\tvertexIndexEntityStorageType?: string;\n\n\t/**\n\t * The entity storage for changesets.\n\t * @default auditable-item-graph-changeset\n\t */\n\tchangesetEntityStorageType?: string;\n\n\t/**\n\t * The event bus component type, defaults to no event bus.\n\t */\n\teventBusComponentType?: string;\n\n\t/**\n\t * The component type for the optional telemetry component used for event metrics, defaults to no telemetry.\n\t */\n\ttelemetryComponentType?: string;\n\n\t/**\n\t * The configuration for the service.\n\t */\n\tconfig?: IAuditableItemGraphServiceConfig;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAuditableItemGraphServiceContext.js","sourceRoot":"","sources":["../../../src/models/IAuditableItemGraphServiceContext.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Context for the auditable item graph service.\n */\nexport interface IAuditableItemGraphServiceContext {\n\t/**\n\t * The current date/time.\n\t */\n\tnow: string;\n\n\t/**\n\t * The organization identity for the operation.\n\t */\n\torganizationIdentity: string;\n\n\t/**\n\t * The user identity for the operation.\n\t */\n\tuserIdentity?: string;\n}\n"]}
1
+ {"version":3,"file":"IAuditableItemGraphServiceContext.js","sources":["../../../src/models/IAuditableItemGraphServiceContext.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Context for the auditable item graph service.\n */\nexport interface IAuditableItemGraphServiceContext {\n\t/**\n\t * The current date/time.\n\t */\n\tnow: string;\n\n\t/**\n\t * The organization identity for the operation.\n\t */\n\torganizationIdentity: string;\n\n\t/**\n\t * The user identity for the operation.\n\t */\n\tuserIdentity?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"restEntryPoints.js","sourceRoot":"","sources":["../../src/restEntryPoints.ts"],"names":[],"mappings":"AAGA,OAAO,EACN,oCAAoC,EACpC,sBAAsB,EACtB,MAAM,+BAA+B,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAA2B;IACtD;QACC,IAAI,EAAE,sBAAsB;QAC5B,gBAAgB,EAAE,sBAAsB;QACxC,IAAI,EAAE,sBAAsB;QAC5B,cAAc,EAAE,oCAAoC;KACpD;CACD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IRestRouteEntryPoint } from \"@3sixty/api-models\";\nimport {\n\tgenerateRestRoutesAuditableItemGraph,\n\ttagsAuditableItemGraph\n} from \"./auditableItemGraphRoutes.js\";\n\n/**\n * The REST entry points for the auditable item graph service.\n */\nexport const restEntryPoints: IRestRouteEntryPoint[] = [\n\t{\n\t\tname: \"auditable-item-graph\",\n\t\tdefaultBaseRoute: \"auditable-item-graph\",\n\t\ttags: tagsAuditableItemGraph,\n\t\tgenerateRoutes: generateRestRoutesAuditableItemGraph\n\t}\n];\n"]}
1
+ {"version":3,"file":"restEntryPoints.js","sources":["../../src/restEntryPoints.ts"],"names":[],"mappings":"AAGA,OAAO,EACN,oCAAoC,EACpC,sBAAsB,EACtB,MAAM,+BAA+B,CAAC;AAEvC;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAA2B;IACtD;QACC,IAAI,EAAE,sBAAsB;QAC5B,gBAAgB,EAAE,sBAAsB;QACxC,IAAI,EAAE,sBAAsB;QAC5B,cAAc,EAAE,oCAAoC;KACpD;CACD,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IRestRouteEntryPoint } from \"@3sixty/api-models\";\nimport {\n\tgenerateRestRoutesAuditableItemGraph,\n\ttagsAuditableItemGraph\n} from \"./auditableItemGraphRoutes.js\";\n\n/**\n * The REST entry points for the auditable item graph service.\n */\nexport const restEntryPoints: IRestRouteEntryPoint[] = [\n\t{\n\t\tname: \"auditable-item-graph\",\n\t\tdefaultBaseRoute: \"auditable-item-graph\",\n\t\ttags: tagsAuditableItemGraph,\n\t\tgenerateRoutes: generateRestRoutesAuditableItemGraph\n\t}\n];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"schema.js","sourceRoot":"","sources":["../../src/schema.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE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EAAE,CACxE,kBAAkB,CAAC,SAAS,CAAC,2BAA2B,CAAC,CACzD,CAAC;IACF,mBAAmB,CAAC,QAAQ,4BAAoC,GAAG,EAAE,CACpE,kBAAkB,CAAC,SAAS,CAAC,uBAAuB,CAAC,CACrD,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { EntitySchemaFactory, EntitySchemaHelper } from \"@3sixty/entity\";\nimport { nameof } from \"@3sixty/nameof\";\nimport { AuditableItemGraphAlias } from \"./entities/auditableItemGraphAlias.js\";\nimport { AuditableItemGraphChangeset } from \"./entities/auditableItemGraphChangeset.js\";\nimport { AuditableItemGraphEdge } from \"./entities/auditableItemGraphEdge.js\";\nimport { AuditableItemGraphPatch } from \"./entities/auditableItemGraphPatch.js\";\nimport { AuditableItemGraphResource } from \"./entities/auditableItemGraphResource.js\";\nimport { AuditableItemGraphVertex } from \"./entities/auditableItemGraphVertex.js\";\nimport { AuditableItemGraphVertexIndex } from \"./entities/auditableItemGraphVertexIndex.js\";\nimport { AuditableItemGraphVertexV0 } from \"./entities/auditableItemGraphVertexV0.js\";\nimport { AuditableItemGraphVertexV1 } from \"./entities/auditableItemGraphVertexV1.js\";\n\n/**\n * Initialize the schema for the auditable item graph entity storage connector.\n */\nexport function initSchema(): void {\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphVertex>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphVertex)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphVertexV0>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphVertexV0)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphVertexV1>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphVertexV1)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphVertexIndex>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphVertexIndex)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphAlias>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphAlias)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphResource>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphResource)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphEdge>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphEdge)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphChangeset>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphChangeset)\n\t);\n\tEntitySchemaFactory.register(nameof<AuditableItemGraphPatch>(), () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphPatch)\n\t);\n}\n"]}
1
+ {"version":3,"file":"schema.js","sources":["../../src/schema.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzE,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAChF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,6BAA6B,EAAE,MAAM,6CAA6C,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AAEtF;;GAEG;AACH,MAAM,UAAU,UAAU;IACzB,mBAAmB,CAAC,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE,CAC7D,kBAAkB,CAAC,SAAS,CAAC,wBAAwB,CAAC,CACtD,CAAC;IACF,mBAAmB,CAAC,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE,CAC/D,kBAAkB,CAAC,SAAS,CAAC,0BAA0B,CAAC,CACxD,CAAC;IACF,mBAAmB,CAAC,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE,CAC/D,kBAAkB,CAAC,SAAS,CAAC,0BAA0B,CAAC,CACxD,CAAC;IACF,mBAAmB,CAAC,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE,CAClE,kBAAkB,CAAC,SAAS,CAAC,6BAA6B,CAAC,CAC3D,CAAC;IACF,mBAAmB,CAAC,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE,CAC5D,kBAAkB,CAAC,SAAS,CAAC,uBAAuB,CAAC,CACrD,CAAC;IACF,mBAAmB,CAAC,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE,CAC/D,kBAAkB,CAAC,SAAS,CAAC,0BAA0B,CAAC,CACxD,CAAC;IACF,mBAAmB,CAAC,QAAQ,CAAC,wBAAwB,EAAE,GAAG,EAAE,CAC3D,kBAAkB,CAAC,SAAS,CAAC,sBAAsB,CAAC,CACpD,CAAC;IACF,mBAAmB,CAAC,QAAQ,CAAC,6BAA6B,EAAE,GAAG,EAAE,CAChE,kBAAkB,CAAC,SAAS,CAAC,2BAA2B,CAAC,CACzD,CAAC;IACF,mBAAmB,CAAC,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE,CAC5D,kBAAkB,CAAC,SAAS,CAAC,uBAAuB,CAAC,CACrD,CAAC;AACH,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { EntitySchemaFactory, EntitySchemaHelper } from \"@3sixty/entity\";\n\nimport { AuditableItemGraphAlias } from \"./entities/auditableItemGraphAlias.js\";\nimport { AuditableItemGraphChangeset } from \"./entities/auditableItemGraphChangeset.js\";\nimport { AuditableItemGraphEdge } from \"./entities/auditableItemGraphEdge.js\";\nimport { AuditableItemGraphPatch } from \"./entities/auditableItemGraphPatch.js\";\nimport { AuditableItemGraphResource } from \"./entities/auditableItemGraphResource.js\";\nimport { AuditableItemGraphVertex } from \"./entities/auditableItemGraphVertex.js\";\nimport { AuditableItemGraphVertexIndex } from \"./entities/auditableItemGraphVertexIndex.js\";\nimport { AuditableItemGraphVertexV0 } from \"./entities/auditableItemGraphVertexV0.js\";\nimport { AuditableItemGraphVertexV1 } from \"./entities/auditableItemGraphVertexV1.js\";\n\n/**\n * Initialize the schema for the auditable item graph entity storage connector.\n */\nexport function initSchema(): void {\n\tEntitySchemaFactory.register(\"AuditableItemGraphVertex\", () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphVertex)\n\t);\n\tEntitySchemaFactory.register(\"AuditableItemGraphVertexV0\", () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphVertexV0)\n\t);\n\tEntitySchemaFactory.register(\"AuditableItemGraphVertexV1\", () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphVertexV1)\n\t);\n\tEntitySchemaFactory.register(\"AuditableItemGraphVertexIndex\", () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphVertexIndex)\n\t);\n\tEntitySchemaFactory.register(\"AuditableItemGraphAlias\", () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphAlias)\n\t);\n\tEntitySchemaFactory.register(\"AuditableItemGraphResource\", () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphResource)\n\t);\n\tEntitySchemaFactory.register(\"AuditableItemGraphEdge\", () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphEdge)\n\t);\n\tEntitySchemaFactory.register(\"AuditableItemGraphChangeset\", () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphChangeset)\n\t);\n\tEntitySchemaFactory.register(\"AuditableItemGraphPatch\", () =>\n\t\tEntitySchemaHelper.getSchema(AuditableItemGraphPatch)\n\t);\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"auditableItemGraphVertexIndexHelper.js","sourceRoot":"","sources":["../../../src/utils/auditableItemGraphVertexIndexHelper.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,MAAM,OAAO,mCAAmC;IAC/C;;;;;;;;;;OAUG;IACI,MAAM,CAAC,gBAAgB,CAC7B,QAAgB,EAChB,IAAY,EACZ,KAAa,EACb,WAAmB,EACnB,YAAqB;QAErB,MAAM,WAAW,GAAG,mCAAmC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAEzE,MAAM,KAAK,GAA+D;YACzE,QAAQ;YACR,IAAI;YACJ,KAAK,EAAE,WAAW,IAAI,KAAK;YAC3B,SAAS,EAAE,mCAAmC,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE;YAC3E,WAAW;SACX,CAAC;QAEF,OAAO;YACN,EAAE,EAAE,SAAS,CAAC,UAAU,CACvB,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CACpE;YACD,GAAG,KAAK;YACR,YAAY;SACZ,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,SAAS,CAAC,KAAc;QACrC,MAAM,MAAM,GAAG,mCAAmC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACpE,OAAO,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC;YAC5B,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;YAC3E,CAAC,CAAC,SAAS,CAAC;IACd,CAAC;IAED;;;;;OAKG;IACK,MAAM,CAAC,SAAS,CAAC,KAAc;QACtC,OAAO,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;IAChE,CAAC;CACD","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { Converter, Is, JsonHelper, ObjectHelper } from \"@3sixty/core\";\nimport { Blake2b } from \"@3sixty/crypto\";\nimport type { AuditableItemGraphVertexIndex } from \"../entities/auditableItemGraphVertexIndex.js\";\n\n/**\n * Helper methods for building auditable item graph vertex index entries.\n */\nexport class AuditableItemGraphVertexIndexHelper {\n\t/**\n\t * Create the index entry for one type and value of a vertex. The value is case folded and\n\t * hashed, and the id is derived from the content so the same entry always produces the same id.\n\t * The modification date is excluded from the id as it is optional and changes over time.\n\t * @param vertexId The id of the vertex the entry refers to.\n\t * @param type The index type.\n\t * @param value The index value.\n\t * @param dateCreated The creation date of the vertex.\n\t * @param dateModified The modification date of the vertex.\n\t * @returns The index entry.\n\t */\n\tpublic static createIndexEntry(\n\t\tvertexId: string,\n\t\ttype: string,\n\t\tvalue: string,\n\t\tdateCreated: string,\n\t\tdateModified?: string\n\t): AuditableItemGraphVertexIndex {\n\t\tconst foldedValue = AuditableItemGraphVertexIndexHelper.foldValue(value);\n\n\t\tconst entry: Omit<AuditableItemGraphVertexIndex, \"id\" | \"dateModified\"> = {\n\t\t\tvertexId,\n\t\t\ttype,\n\t\t\tvalue: foldedValue ?? value,\n\t\t\tvalueHash: AuditableItemGraphVertexIndexHelper.hashValue(foldedValue) ?? \"\",\n\t\t\tdateCreated\n\t\t};\n\n\t\treturn {\n\t\t\tid: Converter.bytesToHex(\n\t\t\t\tBlake2b.sum256(ObjectHelper.toBytes(JsonHelper.canonicalize(entry)))\n\t\t\t),\n\t\t\t...entry,\n\t\t\tdateModified\n\t\t};\n\t}\n\n\t/**\n\t * Hash an index value so the composite index key has a fixed size whatever the value length.\n\t * The value is case folded first so lookups are case insensitive.\n\t * @param value The value to hash.\n\t * @returns The base64 url encoded Blake2b-160 hash, or undefined when there is no value.\n\t */\n\tpublic static hashValue(value?: string): string | undefined {\n\t\tconst folded = AuditableItemGraphVertexIndexHelper.foldValue(value);\n\t\treturn Is.stringValue(folded)\n\t\t\t? Converter.bytesToBase64Url(Blake2b.sum160(Converter.utf8ToBytes(folded)))\n\t\t\t: undefined;\n\t}\n\n\t/**\n\t * Case fold an index value.\n\t * @param value The value to fold.\n\t * @returns The lower cased value, or undefined when there is no value.\n\t * @internal\n\t */\n\tprivate static foldValue(value?: string): string | undefined {\n\t\treturn Is.stringValue(value) ? value.toLowerCase() : undefined;\n\t}\n}\n"]}
1
+ {"version":3,"file":"auditableItemGraphVertexIndexHelper.js","sources":["../../../src/utils/auditableItemGraphVertexIndexHelper.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,MAAM,OAAO,mCAAmC;IAC/C;;;;;;;;;;OAUG;IACI,MAAM,CAAC,gBAAgB,CAC7B,QAAgB,EAChB,IAAY,EACZ,KAAa,EACb,WAAmB,EACnB,YAAqB;QAErB,MAAM,WAAW,GAAG,mCAAmC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAEzE,MAAM,KAAK,GAA+D;YACzE,QAAQ;YACR,IAAI;YACJ,KAAK,EAAE,WAAW,IAAI,KAAK;YAC3B,SAAS,EAAE,mCAAmC,CAAC,SAAS,CAAC,WAAW,CAAC,IAAI,EAAE;YAC3E,WAAW;SACX,CAAC;QAEF,OAAO;YACN,EAAE,EAAE,SAAS,CAAC,UAAU,CACvB,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CACpE;YACD,GAAG,KAAK;YACR,YAAY;SACZ,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,SAAS,CAAC,KAAc;QACrC,MAAM,MAAM,GAAG,mCAAmC,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QACpE,OAAO,EAAE,CAAC,WAAW,CAAC,MAAM,CAAC;YAC5B,CAAC,CAAC,SAAS,CAAC,gBAAgB,CAAC,OAAO,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;YAC3E,CAAC,CAAC,SAAS,CAAC;IACd,CAAC;IAED;;;;;OAKG;IACK,MAAM,CAAC,SAAS,CAAC,KAAc;QACtC,OAAO,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;IAChE,CAAC;CACD","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { Converter, Is, JsonHelper, ObjectHelper } from \"@3sixty/core\";\nimport { Blake2b } from \"@3sixty/crypto\";\nimport type { AuditableItemGraphVertexIndex } from \"../entities/auditableItemGraphVertexIndex.js\";\n\n/**\n * Helper methods for building auditable item graph vertex index entries.\n */\nexport class AuditableItemGraphVertexIndexHelper {\n\t/**\n\t * Create the index entry for one type and value of a vertex. The value is case folded and\n\t * hashed, and the id is derived from the content so the same entry always produces the same id.\n\t * The modification date is excluded from the id as it is optional and changes over time.\n\t * @param vertexId The id of the vertex the entry refers to.\n\t * @param type The index type.\n\t * @param value The index value.\n\t * @param dateCreated The creation date of the vertex.\n\t * @param dateModified The modification date of the vertex.\n\t * @returns The index entry.\n\t */\n\tpublic static createIndexEntry(\n\t\tvertexId: string,\n\t\ttype: string,\n\t\tvalue: string,\n\t\tdateCreated: string,\n\t\tdateModified?: string\n\t): AuditableItemGraphVertexIndex {\n\t\tconst foldedValue = AuditableItemGraphVertexIndexHelper.foldValue(value);\n\n\t\tconst entry: Omit<AuditableItemGraphVertexIndex, \"id\" | \"dateModified\"> = {\n\t\t\tvertexId,\n\t\t\ttype,\n\t\t\tvalue: foldedValue ?? value,\n\t\t\tvalueHash: AuditableItemGraphVertexIndexHelper.hashValue(foldedValue) ?? \"\",\n\t\t\tdateCreated\n\t\t};\n\n\t\treturn {\n\t\t\tid: Converter.bytesToHex(\n\t\t\t\tBlake2b.sum256(ObjectHelper.toBytes(JsonHelper.canonicalize(entry)))\n\t\t\t),\n\t\t\t...entry,\n\t\t\tdateModified\n\t\t};\n\t}\n\n\t/**\n\t * Hash an index value so the composite index key has a fixed size whatever the value length.\n\t * The value is case folded first so lookups are case insensitive.\n\t * @param value The value to hash.\n\t * @returns The base64 url encoded Blake2b-160 hash, or undefined when there is no value.\n\t */\n\tpublic static hashValue(value?: string): string | undefined {\n\t\tconst folded = AuditableItemGraphVertexIndexHelper.foldValue(value);\n\t\treturn Is.stringValue(folded)\n\t\t\t? Converter.bytesToBase64Url(Blake2b.sum160(Converter.utf8ToBytes(folded)))\n\t\t\t: undefined;\n\t}\n\n\t/**\n\t * Case fold an index value.\n\t * @param value The value to fold.\n\t * @returns The lower cased value, or undefined when there is no value.\n\t * @internal\n\t */\n\tprivate static foldValue(value?: string): string | undefined {\n\t\treturn Is.stringValue(value) ? value.toLowerCase() : undefined;\n\t}\n}\n"]}
package/docs/changelog.md CHANGED
@@ -0,0 +1,30 @@
1
+ # Changelog
2
+
3
+ ## [0.20.0-next.2](https://github.com/3sixtyglobal/auditable-item-graph/compare/auditable-item-graph-service-v0.20.0-next.1...auditable-item-graph-service-v0.20.0-next.2) (2026-10-26)
4
+
5
+
6
+ ### Features
7
+
8
+ * release to next [skip ci] ([#23](https://github.com/3sixtyglobal/auditable-item-graph/issues/23)) ([2f4d2ca](https://github.com/3sixtyglobal/auditable-item-graph/commit/2f4d2ca2416c532c927e57df638df99a6d6f4c69))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @3sixty/auditable-item-graph-models bumped from 0.20.0-next.1 to 0.20.0-next.2
16
+
17
+ ## [0.20.0-next.1](https://github.com/3sixtyglobal/auditable-item-graph/compare/auditable-item-graph-service-v0.20.0-next.0...auditable-item-graph-service-v0.20.0-next.1) (2026-10-23)
18
+
19
+
20
+ ### Features
21
+
22
+ * publish packages under the [@3sixty](https://github.com/3sixty) namespace ([69a615e](https://github.com/3sixtyglobal/auditable-item-graph/commit/69a615ed9a59cc91795d1f8fd65cc778cea7e783))
23
+ * updated ts compile ([5631c11](https://github.com/3sixtyglobal/auditable-item-graph/commit/5631c11fa969a8917e68253c50bf962c10e75814))
24
+
25
+
26
+ ### Dependencies
27
+
28
+ * The following workspace dependencies were updated
29
+ * dependencies
30
+ * @3sixty/auditable-item-graph-models bumped from 0.20.0-next.0 to 0.20.0-next.1
@@ -511,7 +511,7 @@ The direction for the order, defaults to desc.
511
511
 
512
512
  ##### properties?
513
513
 
514
- keyof `IAuditableItemGraphVertex`[]
514
+ (keyof `IAuditableItemGraphVertex`)[]
515
515
 
516
516
  The properties to return, if not provided defaults to id, created, aliases and object.
517
517
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3sixty/auditable-item-graph-service",
3
- "version": "0.20.0-next.0",
3
+ "version": "0.20.0-next.2",
4
4
  "description": "Implements graph lifecycle operations and audited change tracking with API route definitions.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,11 +11,12 @@
11
11
  "license": "Apache-2.0",
12
12
  "type": "module",
13
13
  "engines": {
14
- "node": ">=24.0.0"
14
+ "node": ">=24.0.0",
15
+ "bun": ">=1.4.4"
15
16
  },
16
17
  "dependencies": {
17
18
  "@3sixty/api-models": "next",
18
- "@3sixty/auditable-item-graph-models": "0.20.0-next.0",
19
+ "@3sixty/auditable-item-graph-models": "0.20.0-next.2",
19
20
  "@3sixty/context": "next",
20
21
  "@3sixty/core": "next",
21
22
  "@3sixty/crypto": "next",
@@ -27,7 +28,6 @@
27
28
  "@3sixty/immutable-proof-models": "next",
28
29
  "@3sixty/nameof": "next",
29
30
  "@3sixty/standards-schema-org": "next",
30
- "@3sixty/standards-w3c-did": "next",
31
31
  "@3sixty/telemetry-models": "next",
32
32
  "@3sixty/web": "next"
33
33
  },