Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
314 changes: 0 additions & 314 deletions apps/app/src/actions/framework/select-frameworks-action.ts

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
"use server";

import type {
TransformedCategory,
} from "@/types/framework";
import type { TransformedCategory } from "@/types/framework";
import { db } from "@bubba/db";
import { z } from "zod";
import { authActionClient } from "../safe-action";
import { authActionClient } from "@/actions/safe-action";

const getCategoriesSchema = z.object({
frameworkId: z.string(),
Expand Down Expand Up @@ -61,7 +59,7 @@ export const getFrameworkCategoriesAction = authActionClient
requiredArtifactTypes:
control.requirements?.map((req) => req.type) || [],
})),
}),
})
);

return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"use server";

import { db } from "@bubba/db";
import { authActionClient } from "../safe-action";
import { authActionClient } from "@/actions/safe-action";
import type {
Framework,
OrganizationControl,
OrganizationFramework,
} from "@bubba/db";
import { z } from "zod";
import type { ActionData } from "../types";
import type { ActionData } from "@/actions/types";

type FrameworkWithControls = OrganizationFramework & {
organizationControl: OrganizationControl[];
Expand Down
Loading