Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/Library asset reference

Storage Record List Encode

Encode storage record list with named typed sockets.

23 Oct 2026 · 2 min read
Markdown ↗JSON ↗

Storage Record List Encode#

Constructs the Storage Record List contract.

Inputs: rest (storage.type.record-list, required), item (storage.type.record-list-entry, optional), index (number, optional), count (number, optional).

Outputs: value (storage.type.record-list, required).

Decode selects config.index (default 0), returning optional item, the remaining list, selected index and original count. Empty lists use index 0 and omit item. Encode inserts an optional item at index into rest and validates an optional count.

Pure 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.

Catalog identity#

FieldValue
Source keyapp.storage.storage.codec.record-list.encode
Kindnode
Familyapp-storage
PackSee library discovery

Integration guide · Browse the catalog

Inputs#

Socket IDLabelTypeRequiredMeaning
restReststorage.type.record-list v1Yes
itemItemstorage.type.record-list-entry v1No
indexIndexnumberNo
countCountnumberNo

Outputs#

Socket IDLabelTypeRequiredMeaning
valueValuestorage.type.record-list v1Yes

Configuration schema#

json
{}

Source and installed versions#

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See versioning, connections and integration setup.

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • ../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
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗