home chevron_right
Sitepack Spec chevron_right
Registry chevron_right
Transform Kinds

Transform Kind Registrylink

rewrite.linkslink

Rewrite links inside content and assets.

Example params:

{
  "fromHost": "old.example.com",
  "toHost": "new.example.com",
  "rewriteRelative": true
}

entity.maplink

Map entity types or attributes.

Example params:

{
  "typeMap": {
    "content.post": "content.article"
  },
  "attributeMap": {
    "content.title": "title"
  }
}

recordset.maplink

Transform recordsets (rename fields, filters).

Example params:

{
  "recordset": "example_table",
  "rename": {
    "old_field": "new_field"
  }
}

config.maplink

Transform configuration entries.

Example params:

{
  "namespace": "public",
  "keyMap": {
    "site.title": "app.title"
  }
}

snapshot.emitFileslink

Emit snapshot files (HTML/JSON).

Example params:

{
  "outputDir": "snapshot/",
  "emitAssets": true
}