@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.
- package/dist/FileUtils.js +14 -0
- package/dist/createRecordCommand.js +18 -2
- package/dist/deleteRecordCommand.js +45 -20
- package/dist/fingerprint.js +44 -5
- package/dist/layoutElements.js +386 -0
- package/dist/reconcileCommand.js +6 -0
- package/dist/recordFolder.js +86 -0
- package/dist/snClient.js +52 -6
- package/dist/tests/createRecordLocalPath.test.js +145 -0
- package/dist/tests/deleteRecordLocalCleanup.test.js +153 -24
- package/dist/tests/fileContextSkipReason.test.js +41 -0
- package/dist/tests/fingerprint.test.js +37 -0
- package/dist/tests/layoutElements.test.js +259 -0
- package/dist/tests/layoutElementsWriteGuards.test.js +113 -0
- package/dist/tests/pushFingerprintedField.test.js +64 -0
- package/dist/tests/recordFolder.test.js +57 -0
- package/dist/tests/snClient.fingerprint.test.js +20 -0
- package/dist/tests/snClient.layoutElements.test.js +133 -0
- package/package.json +3 -3
- package/release-manifest.json +340 -347
- package/skills/dove-delete-record.md +2 -2
|
@@ -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 (
|
|
72
|
-
3. **Manifest is updated** —
|
|
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
|