From c13eb65b5a424968d3a4b3960278fab8f28ebb72 Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Mon, 22 Jul 2024 12:58:14 -0600 Subject: [PATCH] refactor: format --- templates/jellyfin/index.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/templates/jellyfin/index.ts b/templates/jellyfin/index.ts index 61bd0f08..dc33b121 100644 --- a/templates/jellyfin/index.ts +++ b/templates/jellyfin/index.ts @@ -1,22 +1,22 @@ // EXAMPLE import { - generateHash, - generateRandomDomain, - type Template, - type Schema, + type Schema, + type Template, + generateHash, + generateRandomDomain, } from "../utils"; export function generate(schema: Schema): Template { - const mainServiceHash = generateHash(schema.projectName); - const randomDomain = generateRandomDomain(schema); - const port = 8096; - const envs = [ - `JELLYFIN_HOST=${randomDomain}`, - `HASH=${mainServiceHash}`, - `JELLYFIN_PORT=${port}` - ]; + const mainServiceHash = generateHash(schema.projectName); + const randomDomain = generateRandomDomain(schema); + const port = 8096; + const envs = [ + `JELLYFIN_HOST=${randomDomain}`, + `HASH=${mainServiceHash}`, + `JELLYFIN_PORT=${port}`, + ]; - return { - envs, - }; + return { + envs, + }; }