type

ImportOptions

Trusted migration identity, status, and source timestamps.

Properties

PropertyTypeDescription
Actor*store.DocumentThe Actor value.
ActorCollectionschema.CollectionSlugThe ActorCollection value.
SystemboolSystem skips access rules for trusted server code; see MutationOptions.System.
IDstringSource document identity to preserve.
Statusstore.StatusSource draft or published status to preserve.
CreatedAttime.TimeSource creation timestamp to preserve.
UpdatedAttime.TimeSource modification timestamp to preserve.

How it works

LocalAPI.Import still runs access, field validation, hooks, transaction, reference, upload, and version logic. Use only for trusted migrations.

Full signature