Skip to content

docs(guides): add moving items to another type - #623

Merged
aicayzer merged 4 commits into
mainfrom
feat/type-move
Oct 24, 2026
Merged

aicayzer merged 4 commits into
mainfrom
feat/type-move

Conversation

@aicayzer

@aicayzer aicayzer commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds a guide to moving every item of one type to another with marfa types move and POST /types/{id}/move, and makes "Define a type" and "Sync a folder" agree with it. Follows withmarfa/marfa#2395, which adds the move and makes a type delete refuse while folders, views or webhooks name the type.

Changes

  • New guide, "Move items to another type": the dry run, the move, the property patch, what happens to items it can't move, what remains once the job ends (remaining, remaining_hidden, the first 100 refusals in errors and every one counted in errored), the settings it rewrites and only once no item of the old type remains, the reasons a move is blocked (including a stored filter that doesn't parse or would grow too long), settings your key can't read named without an ID, what the key needs, key and app grants, and deleting the old type.
  • "Define a type": a type's identifier never changes, and a rename is a move. The delete section says a plain delete refuses while items or settings name the type, what details holds (without the ID of a setting your key can't read), and that force=true leaves both as they are.
  • "Sync a folder": a move changes a folder's settings too.

Testing

Not tested: the full site build.

Notes for reviewers

Checklist

  • The title is a scoped Conventional Commit.
  • New behavior has a test that was seen failing first, or no test was needed and the reason is above. No test: a docs page, held by the content lint and the command check.
  • Docs, comments and the contract still say what is true after this change.

@aicayzer aicayzer left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: checks only

@aicayzer
aicayzer marked this pull request as ready for review October 24, 2026 23:42
@aicayzer
aicayzer merged commit 94fbed7 into main Oct 24, 2026
7 checks passed
@aicayzer
aicayzer deleted the feat/type-move branch October 24, 2026 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant