* chore: Make app compatible with Fluid Compute * Removed isCold from me api endpoint * chore: Remove handler caching for Fluid Compute compatibility (#20692) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: keith@cal.com <keith@cal.com> * fix client_id issue * chore: Remove UNSTABLE_HANDLER_CACHE for Fluid Compute compatibility (#20694) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: keith@cal.com <keith@cal.com> * Fixing types * Fixing type issues * chore: Remove importHandler references for Fluid Compute compatibility Co-Authored-By: keith@cal.com <keith@cal.com> * chore: Remove importHandler references from attributes router for Fluid Compute compatibility Co-Authored-By: keith@cal.com <keith@cal.com> --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: keith@cal.com <keith@cal.com>
27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
import authedOrgAdminProcedure from "../../../procedures/authedProcedure";
|
|
import { router } from "../../../trpc";
|
|
import { ZCreateInputSchema } from "./create.schema";
|
|
import { ZDeleteInputSchema } from "./delete.schema";
|
|
import { ZGetInputSchema } from "./get.schema";
|
|
import { teamGroupMappingRouter } from "./teamGroupMapping/_router";
|
|
|
|
export const dsyncRouter = router({
|
|
// Create directory sync connection
|
|
create: authedOrgAdminProcedure.input(ZCreateInputSchema).mutation(async (opts) => {
|
|
const { default: handler } = await import("./create.handler");
|
|
return handler(opts);
|
|
}),
|
|
// Get directory sync connection
|
|
get: authedOrgAdminProcedure.input(ZGetInputSchema).query(async (opts) => {
|
|
const { default: handler } = await import("./get.handler");
|
|
return handler(opts);
|
|
}),
|
|
// Delete directory sync connection
|
|
delete: authedOrgAdminProcedure.input(ZDeleteInputSchema).mutation(async (opts) => {
|
|
const { default: handler } = await import("./delete.handler");
|
|
return handler(opts);
|
|
}),
|
|
|
|
teamGroupMapping: teamGroupMappingRouter,
|
|
});
|