@remit/data-ports 0.0.22 → 0.0.23

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +7 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/data-ports",
3
- "version": "0.0.22",
3
+ "version": "0.0.23",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
package/src/types.ts CHANGED
@@ -494,6 +494,7 @@ export type CreateFilterInput = Omit<
494
494
  | "state"
495
495
  | "hasAnchor"
496
496
  | "ruleChangedAt"
497
+ | "actionChangedAt"
497
498
  | "matchOperator"
498
499
  | "literalClauses"
499
500
  | "actionLabelId"
@@ -510,10 +511,12 @@ export type CreateFilterInput = Omit<
510
511
  // ruleChangedAt is never client-supplied: FilterService derives it, bumping
511
512
  // only when the predicate, the action, scope, or expiresAt is present in the
512
513
  // update (RFC 034 Decision 3.2, reader #266) — a cosmetic `name` rename must
513
- // not move it. `scope` is updatable here (reader #266): the handler resolves
514
- // the merged scope/expiresAt/ttl/state before calling through to the repo, so
515
- // this type must carry `scope` as a valid key, unlike the API-facing
516
- // `UpdateFilterInput` for that same reason.
514
+ // not move it. actionChangedAt is likewise server-derived, bumping only for
515
+ // the narrower predicate/action subset (reader #384) that selectMoveWinner
516
+ // reads for exclusive-move precedence. `scope` is updatable here (reader
517
+ // #266): the handler resolves the merged scope/expiresAt/ttl/state before
518
+ // calling through to the repo, so this type must carry `scope` as a valid
519
+ // key, unlike the API-facing `UpdateFilterInput` for that same reason.
517
520
  export type UpdateFilterInput = Partial<
518
521
  Omit<CreateFilterInput, "accountConfigId">
519
522
  >;