@camstack/types 1.2.281 → 1.2.283

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.
@@ -11,7 +11,7 @@
11
11
  *
12
12
  * Pure: no clock, no I/O.
13
13
  */
14
- import type { NcDelivery, NcRuleActions, NcSchedule, NcSystemEventCondition, NcSystemEventDelivery } from '../capabilities/notification-rules.cap.js';
14
+ import type { NcDelivery, NcRuleActions, NcSchedule, NcSystemEventCondition, NcStateSummarySplit, NcSystemEventDelivery } from '../capabilities/notification-rules.cap.js';
15
15
  import { type NcSystemEventFamily } from './system-event-families.js';
16
16
  /** The families a rule may summarise. The alarm is not one of them. */
17
17
  export declare const NC_SYSTEM_EVENT_SUMMARY_FAMILIES: readonly NcSystemEventFamily[];
@@ -43,6 +43,12 @@ export type NcSystemEventDeliveryProblem = {
43
43
  };
44
44
  /** The summary's schedule, or `null` for any rule that is not a summary system rule. */
45
45
  export declare function systemEventSummaryScheduleOf(rule: Pick<NcSystemEventDeliverySubject, 'delivery' | 'systemEventDelivery'>): NcSchedule | null;
46
+ /**
47
+ * How a summary rule's window is sent (D698): `section` = one notification per
48
+ * section; absent (every rule before D698) and any non-summary rule = `rule`.
49
+ * The ONE reader — the scheduler, the rule test, the preview and both editors.
50
+ */
51
+ export declare function systemEventSummarySplitOf(rule: Pick<NcSystemEventDeliverySubject, 'systemEventDelivery'>): NcStateSummarySplit;
46
52
  /** Absent and `instant` are the same answer: a notification per event. */
47
53
  export declare function isSystemEventSummaryRule(rule: Pick<NcSystemEventDeliverySubject, 'delivery' | 'systemEventDelivery'>): boolean;
48
54
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/types",
3
- "version": "1.2.281",
3
+ "version": "1.2.283",
4
4
  "description": "Shared types, interfaces, and model catalogs for the CamStack detection ecosystem",
5
5
  "keywords": [
6
6
  "camstack",
@@ -57,7 +57,7 @@
57
57
  "scripts": {
58
58
  "build": "vite build && tsc -p tsconfig.json --emitDeclarationOnly",
59
59
  "dev": "tsup --watch",
60
- "typecheck": "tsc --noEmit",
60
+ "typecheck": "tsc --noEmit -p tsconfig.spec.json",
61
61
  "test": "vitest run",
62
62
  "test:watch": "vitest",
63
63
  "publish:npm": "npm publish --access public"