import { createContext } from "react";

import { AssetModel, AlarmScopeModel } from "@/contracts/client.schemas";

import { AlarmDialogContextType } from "../model/AlarmDialogContextType";

export const AlarmDialogContext = createContext<AlarmDialogContextType>({
	asset: {} as AssetModel,

	alarms: [],

	scope: {} as AlarmScopeModel,
	scopeStatus: "Unknown",

	step: "accept",
	next: async () => {},

	events: [],

	responsiblePersons: [],

	areas: [],

	zones: [],

	cameras: [],

	responsibleComment: "",
	setResponsibleComment: () => {},

	allScopes: [],
	switchToScope: () => {},
});
