@objectstack/platform-objects 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5665,18 +5665,6 @@ var SysMetadataHistoryObject = data.ObjectSchema.create({
5665
5665
  readonly: true,
5666
5666
  description: "Per-organization monotonic event log cursor."
5667
5667
  }),
5668
- /**
5669
- * Parent `sys_metadata.id` at insertion time (plain text, no FK).
5670
- * Null for events whose parent row no longer exists (e.g. some
5671
- * delete records). Forensic only — joins should go through
5672
- * `(organization_id, type, name)`.
5673
- */
5674
- metadata_id: data.Field.text({
5675
- label: "Metadata ID",
5676
- required: false,
5677
- readonly: true,
5678
- maxLength: 64
5679
- }),
5680
5668
  /** Machine name (denormalized for easier querying) */
5681
5669
  name: data.Field.text({
5682
5670
  label: "Name",
@@ -5771,6 +5759,9 @@ var SysMetadataHistoryObject = data.ObjectSchema.create({
5771
5759
  { fields: ["organization_id", "event_seq"], unique: true },
5772
5760
  { fields: ["organization_id", "type", "name", "version"], unique: true },
5773
5761
  { fields: ["organization_id", "type", "name", "recorded_at"] },
5762
+ // ADR-0009: getByHash() lookup — execution-pinned types resolve a
5763
+ // historical body by content hash via this index.
5764
+ { fields: ["organization_id", "type", "name", "checksum"] },
5774
5765
  { fields: ["type", "name"] },
5775
5766
  { fields: ["recorded_at"] },
5776
5767
  { fields: ["operation_type"] }
@@ -9265,9 +9256,6 @@ var enObjects = {
9265
9256
  id: {
9266
9257
  label: "ID"
9267
9258
  },
9268
- metadata_id: {
9269
- label: "Metadata"
9270
- },
9271
9259
  name: {
9272
9260
  label: "Name"
9273
9261
  },
@@ -12307,9 +12295,6 @@ var zhCNObjects = {
12307
12295
  id: {
12308
12296
  label: "ID"
12309
12297
  },
12310
- metadata_id: {
12311
- label: "\u5143\u6570\u636E"
12312
- },
12313
12298
  name: {
12314
12299
  label: "\u540D\u79F0"
12315
12300
  },
@@ -15295,9 +15280,6 @@ var jaJPObjects = {
15295
15280
  id: {
15296
15281
  label: "ID"
15297
15282
  },
15298
- metadata_id: {
15299
- label: "\u30E1\u30BF\u30C7\u30FC\u30BF"
15300
- },
15301
15283
  name: {
15302
15284
  label: "\u540D\u524D"
15303
15285
  },
@@ -18283,9 +18265,6 @@ var esESObjects = {
18283
18265
  id: {
18284
18266
  label: "ID"
18285
18267
  },
18286
- metadata_id: {
18287
- label: "Metadatos"
18288
- },
18289
18268
  name: {
18290
18269
  label: "Nombre"
18291
18270
  },