{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-app-storage-storage-codec-history-message-decode",
  "title": "Storage History Message Decode",
  "section": "Library asset reference",
  "description": "Decode storage history message with named typed sockets.",
  "kind": "node",
  "url": "/wiki/reference-app-storage-storage-codec-history-message-decode/",
  "markdown": "/wiki/reference-app-storage-storage-codec-history-message-decode/index.md",
  "json": "/wiki/reference-app-storage-storage-codec-history-message-decode/index.json",
  "headings": [
    {
      "id": "storage-history-message-decode",
      "title": "Storage History Message Decode",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "app-storage",
  "contract": {
    "key": "app.storage.storage.codec.history-message.decode",
    "slug": "app-storage-storage-codec-history-message-decode",
    "name": "Storage History Message Decode",
    "kind": "node",
    "family": "app-storage",
    "packId": null,
    "category": "Storage codecs",
    "description": "Decode storage history message with named typed sockets.",
    "inputs": [
      {
        "id": "value",
        "name": "Value",
        "type": "storage.type.history-message",
        "typeName": "Storage History Message",
        "typeKey": "app.storage.storage.type.history-message",
        "typeVersion": 1,
        "required": true
      }
    ],
    "outputs": [
      {
        "id": "id",
        "name": "Id",
        "type": "string",
        "typeName": "Text",
        "required": true
      },
      {
        "id": "role",
        "name": "Role",
        "type": "string",
        "typeName": "Text",
        "required": true
      },
      {
        "id": "content",
        "name": "Content",
        "type": "string",
        "typeName": "Text",
        "required": true
      },
      {
        "id": "createdAt",
        "name": "Created At",
        "type": "string",
        "typeName": "Text",
        "required": true
      }
    ],
    "configSchema": {},
    "documentation": "## Storage History Message Decode\n\nExtracts the Storage History Message contract.\n\nInputs: `value` (storage.type.history-message, required).\n\nOutputs: `id` (string, required), `role` (string, required), `content` (string, required), `createdAt` (string, required).\n\nPure transformation: no network calls, storage writes, namespace selection or persistent side effects. Codecs preserve explicitly present null values. A missing optional output stays absent; connecting that output to a dependent node can skip the dependent node. Invalid socket values fail schema validation.",
    "tags": [
      "builtin",
      "codec"
    ],
    "source": "app-builtin-catalog"
  }
}
