matter-history
Version:
Matterbridge history module
78 lines • 2.83 kB
TypeScript
/**
* This file contains the class MatterHistory.
*
* @file eveHistoryBehavior.ts
* @author Luca Liguori
* @date 2025-12-14
* @version 1.1.0
*
* Copyright 2023, 2024, 2025 Luca Liguori.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License. *
*/
import { ClusterBehavior, Endpoint, Val, ValueSupervisor } from 'matterbridge/matter';
import { EveHistory } from './eveHistoryCluster.js';
import { MatterHistory } from './matterHistory.js';
export declare namespace EveHistoryInterface {
interface Base {
}
}
export interface EveHistoryInterface {
components: [{
flags: {};
methods: EveHistoryInterface.Base;
}];
}
export declare const EveHistoryBehavior: ClusterBehavior.Type<EveHistory.Cluster, ClusterBehavior.Type<import("matterbridge/matter/types").ClusterType.Of<{
readonly id: 0;
readonly revision: 0;
readonly name: "Unknown";
readonly attributes: {};
readonly commands: {};
readonly events: {};
}>, typeof ClusterBehavior, EveHistoryInterface>, EveHistoryInterface>;
type EveHistoryBehaviorType = InstanceType<typeof EveHistoryBehavior>;
export interface EveHistoryBehavior extends EveHistoryBehaviorType {
}
type StateType = InstanceType<typeof EveHistoryBehavior.State>;
export declare namespace EveHistoryBehavior {
interface State extends StateType {
}
}
export declare class EveHistoryServer extends EveHistoryBehavior {
protected internal: EveHistoryServer.Internal;
state: EveHistoryServer.State;
}
export declare namespace EveHistoryServer {
class Internal {
history?: MatterHistory;
historyType?: string;
}
class State extends EveHistoryBehavior.State {
history?: MatterHistory;
historyType?: string;
[Val.properties](endpoint: Endpoint, session: ValueSupervisor.Session): {
readonly configDataGet: Uint8Array<ArrayBufferLike>;
configDataSet: Uint8Array;
readonly historyStatus: Uint8Array<ArrayBufferLike>;
readonly historyEntries: Uint8Array<ArrayBufferLike>;
historyRequest: Uint8Array;
historySetTime: Uint8Array;
readonly timesOpened: number;
readonly lastEvent: number;
resetTotal: number;
};
}
}
export {};
//# sourceMappingURL=eveHistoryBehavior.d.ts.map