mirror of
https://github.com/onlyworlds/obsidian-plugin.git
synced 2026-07-22 11:00:31 +00:00
readElement returns id OUTSIDE .fields; the Phase B guards in Export and Copy
returned parsed.fields bare, so on a fully-migrated world Upload World would
silently skip EVERY element (the sweep's if-no-id-continue) while reporting
success, and Copy World would emit id-less JSON that breaks paste dedupe.
Both guards now return { id, ...fields }. Smoke step 17 strengthened to check
the uploaded count and spot-check ids in copied JSON, so this class stays dead
at the user layer too.
Gate: tsc clean, build clean, npm test 21/21 (orchestrator hands).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| CopyWorldCommand.ts | ||
| CreateCategoryFoldersCommand.ts | ||
| CreateCoreFilesCommand.ts | ||
| CreateElementCommand.ts | ||
| CreateHandlebarsCommand.ts | ||
| CreateReadmeCommand.ts | ||
| CreateSettingsCommand.ts | ||
| CreateTemplatesCommand.ts | ||
| CreateWorldCommand.ts | ||
| DeleteElementCommand.ts | ||
| DownloadWorldCommand.ts | ||
| ExportWorldCommand.ts | ||
| MigrateWorldCommand.ts | ||
| PasteWorldCommand.ts | ||
| RenameWorldCommand.ts | ||
| SaveElementCommand.ts | ||
| UpdateCategoryCountsCommand.ts | ||
| ValidateWorldCommand.ts | ||