@project-chip/matter.js
Version:
Matter protocol in pure js
17 lines (14 loc) • 448 B
text/typescript
/**
* @license
* Copyright 2022-2025 Matter.js Authors
* SPDX-License-Identifier: Apache-2.0
*/
import { SupportedStorageTypes } from "#general";
import { Fabric, OccurrenceManager } from "#protocol";
export interface ClusterDatasource {
readonly version: number;
readonly eventHandler?: OccurrenceManager;
readonly fabrics: Fabric[];
increaseVersion(): number;
changed(key: string, value: SupportedStorageTypes): void;
}