import { t as __exportAll } from "./chunk-D7D4PA-g.js";
import { r as useActionHandler } from "./request-handler-guINVc1G.js";
import { t as __decorate } from "./decorate-CQ_JIwqD.js";
import { Expose } from "class-transformer";
import { IsNotEmpty, IsObject } from "class-validator";
//#region .svelte-kit/adapter-bun/entries/pages/actions/project/save/_page.server.ts.js
var _page_server_ts_exports = /* @__PURE__ */ __exportAll({ actions: () => actions });
var getSaveAction = useActionHandler(async ({ project }) => {
	return project.client.save.getSave();
});
var SetSaveBody = class {
	save;
};
__decorate([
	Expose(),
	IsObject(),
	IsNotEmpty()
], SetSaveBody.prototype, "save", void 0);
var actions = {
	get: getSaveAction,
	set: useActionHandler(async ({ project, body }) => {
		return project.client.save.updateSave(body.save);
	}, { body: SetSaveBody })
};
//#endregion
//#region .svelte-kit/adapter-bun/nodes/8.js
const index = 8;
const server_id = "src/routes/actions/project/save/+page.server.ts";
const imports = [];
const stylesheets = [];
const fonts = [];
//#endregion
export { fonts, imports, index, _page_server_ts_exports as server, server_id, stylesheets };

//# sourceMappingURL=8-s07Rj2Zo.js.map