@tenonhq/dovetail-core 0.0.133 → 0.0.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,8 +68,8 @@ npx dove delete sys_script_include MyOldUtil --scope x_cadso_core --ci
68
68
  ### What Happens After Delete
69
69
 
70
70
  1. **Record is deleted** from the ServiceNow instance via `api/cadso/dovetail/deleteRecord`
71
- 2. **Local files are removed** — the entire record directory (`src/<scope>/<table>/<name>/`) is deleted
72
- 3. **Manifest is updated** — the record entry is removed from `dove.manifest.<scope>.json`
71
+ 2. **Local files are removed** — the record's folder is found in `dove.manifest.<scope>.json` by sys_id (the manifest key is the folder name, e.g. `Foo (1a2b3c4d)` for a namesake), and the entire record directory (`<scope dir>/<table>/<folder>/`) is deleted. The display name is never used to pick the folder. If the manifest does not list the sys_id (the record was never refreshed), nothing local is removed and a warning says so. A folder that is not directly under `<scope dir>/<table>/` is refused.
72
+ 3. **Manifest is updated** — that record's entry is removed from `dove.manifest.<scope>.json`
73
73
  4. If the table has no remaining records, the table entry is also removed from the manifest
74
74
 
75
75
  ### How sys_id Resolution Works