This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// smb.conf | |
[global] | |
server string = File Server | |
workgroup = WORKGROUP | |
client min protocol = NT1 | |
security = user | |
map to guest = Bad User | |
name resolve order = bcast host | |
include = /etc/samba/shares.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { z } from "zod"; | |
import { createTRPCRouter, publicProcedure } from "~/server/api/trpc"; | |
import { env } from "../../../env.mjs"; | |
import { TRPCError } from "@trpc/server"; | |
const Sub = z.object({ | |
id: z.string(), | |
}); | |
export const SubscriptionRouter = createTRPCRouter({ |