@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.mjs CHANGED
@@ -5663,18 +5663,6 @@ var SysMetadataHistoryObject = ObjectSchema.create({
5663
5663
  readonly: true,
5664
5664
  description: "Per-organization monotonic event log cursor."
5665
5665
  }),
5666
- /**
5667
- * Parent `sys_metadata.id` at insertion time (plain text, no FK).
5668
- * Null for events whose parent row no longer exists (e.g. some
5669
- * delete records). Forensic only — joins should go through
5670
- * `(organization_id, type, name)`.
5671
- */
5672
- metadata_id: Field.text({
5673
- label: "Metadata ID",
5674
- required: false,
5675
- readonly: true,
5676
- maxLength: 64
5677
- }),
5678
5666
  /** Machine name (denormalized for easier querying) */
5679
5667
  name: Field.text({
5680
5668
  label: "Name",
@@ -5769,6 +5757,9 @@ var SysMetadataHistoryObject = ObjectSchema.create({
5769
5757
  { fields: ["organization_id", "event_seq"], unique: true },
5770
5758
  { fields: ["organization_id", "type", "name", "version"], unique: true },
5771
5759
  { fields: ["organization_id", "type", "name", "recorded_at"] },
5760
+ // ADR-0009: getByHash() lookup — execution-pinned types resolve a
5761
+ // historical body by content hash via this index.
5762
+ { fields: ["organization_id", "type", "name", "checksum"] },
5772
5763
  { fields: ["type", "name"] },
5773
5764
  { fields: ["recorded_at"] },
5774
5765
  { fields: ["operation_type"] }
@@ -9263,9 +9254,6 @@ var enObjects = {
9263
9254
  id: {
9264
9255
  label: "ID"
9265
9256
  },
9266
- metadata_id: {
9267
- label: "Metadata"
9268
- },
9269
9257
  name: {
9270
9258
  label: "Name"
9271
9259
  },
@@ -12305,9 +12293,6 @@ var zhCNObjects = {
12305
12293
  id: {
12306
12294
  label: "ID"
12307
12295
  },
12308
- metadata_id: {
12309
- label: "\u5143\u6570\u636E"
12310
- },
12311
12296
  name: {
12312
12297
  label: "\u540D\u79F0"
12313
12298
  },
@@ -15293,9 +15278,6 @@ var jaJPObjects = {
15293
15278
  id: {
15294
15279
  label: "ID"
15295
15280
  },
15296
- metadata_id: {
15297
- label: "\u30E1\u30BF\u30C7\u30FC\u30BF"
15298
- },
15299
15281
  name: {
15300
15282
  label: "\u540D\u524D"
15301
15283
  },
@@ -18281,9 +18263,6 @@ var esESObjects = {
18281
18263
  id: {
18282
18264
  label: "ID"
18283
18265
  },
18284
- metadata_id: {
18285
- label: "Metadatos"
18286
- },
18287
18266
  name: {
18288
18267
  label: "Nombre"
18289
18268
  },