From 636537870e71d0fe8d2d5489dac598fa07b287e8 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 20 Dec 2020 06:58:59 -0600 Subject: [PATCH] chore: default config --- app/latus.default.yml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/app/latus.default.yml b/app/latus.default.yml index 617bce1..c900e2c 100644 --- a/app/latus.default.yml +++ b/app/latus.default.yml @@ -2,18 +2,24 @@ up: [ '@latus/db', '@latus/redis', + '@latus/user/session', + '@latus/user/passport', + '@latus/user/local', '@latus/http', '@latus/repl', ], } '@latus/db': { + models.decorate: [ + '@latus/user/local', + ], docker: 'cached', } +'@latus/governor': {} '@latus/http': { - plugins: [ - '@latus/core', - '@latus/socket', - '@latus/react', + client.up: [ + '@latus/socket/client', + '@latus/react/client', ], request: [ '@latus/user/session', @@ -27,10 +33,18 @@ '@latus/redis/session': {} '@latus/repl': {} '@latus/socket': { - middleware: [ + authenticate: [ '@latus/user/session', '@latus/user/passport', ], + connect: [ + '@latus/socket', + ], + packets.decorate: [ + '@latus/governor', + ] } +'@latus/user/local': {} +'@latus/user/models': {} '@latus/user/passport': {} '@latus/user/session': {}