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, IsString } from "class-validator";
//#region .svelte-kit/adapter-bun/entries/pages/actions/project/library/_page.server.ts.js
var _page_server_ts_exports = /* @__PURE__ */ __exportAll({ actions: () => actions });
var InstallLibraryBody = class {
	libraryName;
};
__decorate([
	Expose(),
	IsString(),
	IsNotEmpty()
], InstallLibraryBody.prototype, "libraryName", void 0);
var actions = { install: useActionHandler(async ({ body, project }) => {
	return await project.client.library.installLibrary(body.libraryName);
}, { body: InstallLibraryBody }) };
//#endregion
//#region .svelte-kit/adapter-bun/nodes/5.js
const index = 5;
const server_id = "src/routes/actions/project/library/+page.server.ts";
const imports = [];
const stylesheets = [];
const fonts = [];
//#endregion
export { fonts, imports, index, _page_server_ts_exports as server, server_id, stylesheets };

//# sourceMappingURL=5-610NKQc3.js.map