import { F as object, P as literal, a as BaseDocumentStateSchema, i as BaseDocumentHeaderSchema, o as baseActions } from "./dist-COZZnek9.js";
import { Q as VetraCloudEnvironmentStateSchema, r as creators_exports } from "./creators-BQ2MyC7h.js";
import { d as creators_exports$3, m as creators_exports$1, t as creators_exports$2 } from "./creators-CzQZ4iKy.js";
//#region document-models/vetra-cloud-environment/v1/actions.ts
/**
* WARNING: DO NOT EDIT
* This file is auto-generated and updated by codegen
*/
/** Actions for the VetraCloudEnvironment document model */
const actions = {
	...baseActions,
	...creators_exports$1,
	...creators_exports$2,
	...creators_exports$3,
	...creators_exports
};
//#endregion
//#region document-models/vetra-cloud-environment/v1/gen/document-type.ts
/**
* WARNING: DO NOT EDIT
* This file is auto-generated and updated by codegen
*/
const vetraCloudEnvironmentDocumentType = "powerhouse/vetra-cloud-environment";
//#endregion
//#region document-models/vetra-cloud-environment/v1/gen/document-schema.ts
/**
* WARNING: DO NOT EDIT
* This file is auto-generated and updated by codegen
*/
/** Schema for validating the header object of a VetraCloudEnvironment document */
const VetraCloudEnvironmentDocumentHeaderSchema = BaseDocumentHeaderSchema.extend({ documentType: literal(vetraCloudEnvironmentDocumentType) });
/** Schema for validating the state object of a VetraCloudEnvironment document */
const VetraCloudEnvironmentPHStateSchema = BaseDocumentStateSchema.extend({ global: VetraCloudEnvironmentStateSchema() });
const VetraCloudEnvironmentDocumentSchema = object({
	header: VetraCloudEnvironmentDocumentHeaderSchema,
	state: VetraCloudEnvironmentPHStateSchema,
	initialState: VetraCloudEnvironmentPHStateSchema
});
/** Simple helper function to check if a state object is a VetraCloudEnvironment document state object */
function isVetraCloudEnvironmentState(state) {
	return VetraCloudEnvironmentPHStateSchema.safeParse(state).success;
}
/** Simple helper function to assert that a document state object is a VetraCloudEnvironment document state object */
function assertIsVetraCloudEnvironmentState(state) {
	VetraCloudEnvironmentPHStateSchema.parse(state);
}
/** Simple helper function to check if a document is a VetraCloudEnvironment document */
function isVetraCloudEnvironmentDocument(document) {
	return VetraCloudEnvironmentDocumentSchema.safeParse(document).success;
}
/** Simple helper function to assert that a document is a VetraCloudEnvironment document */
function assertIsVetraCloudEnvironmentDocument(document) {
	VetraCloudEnvironmentDocumentSchema.parse(document);
}
//#endregion
export { assertIsVetraCloudEnvironmentState as a, vetraCloudEnvironmentDocumentType as c, assertIsVetraCloudEnvironmentDocument as i, actions as l, VetraCloudEnvironmentDocumentSchema as n, isVetraCloudEnvironmentDocument as o, VetraCloudEnvironmentPHStateSchema as r, isVetraCloudEnvironmentState as s, VetraCloudEnvironmentDocumentHeaderSchema as t };

//# sourceMappingURL=document-schema-BcBDZOJ1.js.map