zinkee 0.1.51 → 0.1.53

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/README.md CHANGED
@@ -328,7 +328,10 @@ Option values are written as numbers (`--set status=1`) but returned as strings
328
328
 
329
329
  `records clear` removes every record from the schema's table. Heritage rules
330
330
  (`CASCADE` / `SET NULL`) propagate to child schemas asynchronously through the
331
- CDC pipeline, so related tables converge eventually. Blocked by `--read-only`.
331
+ CDC pipeline, so related tables converge eventually. A `RESTRICT` reference that
332
+ holds any child record refuses the clear (409 `data_dependency_conflict`), as it
333
+ refuses `records delete` of a record it points at; nothing is deleted. Blocked by
334
+ `--read-only`.
332
335
 
333
336
  ---
334
337
 
@@ -716,7 +719,7 @@ Valid action types: `create_record`, `update_record`, `search_records`, `send_me
716
719
  - `--map field=value` → `{"rawValue":"value","source":null}` (literal)
717
720
  - `--map-json field='{"rawValue":null,"source":{"type":"TRIGGER","id":"<field-uuid>"}}'` (from trigger)
718
721
  - `source.type` values: `TRIGGER`, `PREVIOUS_ACTION`
719
- - `source.id` is a field UUID or a named output of the preceding action; slugs are not resolved here. Use `source.actionId` to select the preceding action explicitly.
722
+ - `source.id` is a field UUID or a named output of the preceding action; slugs are not resolved here. Use `source.actionId` to select the preceding action explicitly; `"actionId": null`, as `automations get` returns it, counts as absent and is not sent.
720
723
 
721
724
  ### Native invoicing
722
725
 
@@ -2609,7 +2609,7 @@ var specificExamples = {
2609
2609
  ],
2610
2610
  "records clear": [
2611
2611
  {
2612
- description: "Delete every record from a schema's table. Heritage rules (CASCADE / SET NULL) propagate to child schemas asynchronously via the CDC pipeline.",
2612
+ description: "Delete every record from a schema's table. Heritage rules (CASCADE / SET NULL) propagate to child schemas asynchronously via the CDC pipeline. A RESTRICT reference holding any child record refuses the clear (409 data_dependency_conflict) and nothing is deleted.",
2613
2613
  command: "zinkee --json records clear contacts",
2614
2614
  response: `{
2615
2615
  "schemaId": "2eb8bdcf-6d9c-4fbb-9018-7fa8180f4c5e",
@@ -4414,4 +4414,4 @@ function withResponseEnvelope(example, commandName) {
4414
4414
  export {
4415
4415
  getCommandExamples
4416
4416
  };
4417
- //# sourceMappingURL=examples-V3PR2VTY.js.map
4417
+ //# sourceMappingURL=examples-SKT3O7KD.js.map