type
ImportOptions
Trusted migration identity, status, and source timestamps.
Properties
| Property | Type | Description |
|---|---|---|
Actor | *store.Document | The Actor value. |
ActorCollection | schema.CollectionSlug | The ActorCollection value. |
System | bool | System skips access rules for trusted server code; see MutationOptions.System. |
ID | string | Source document identity to preserve. |
Status | store.Status | Source draft or published status to preserve. |
CreatedAt | time.Time | Source creation timestamp to preserve. |
UpdatedAt | time.Time | Source 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.