UNPKG

pinusmod

Version:

[![Build Status](https://travis-ci.org/node-pinus/pinus.svg?branch=master)](https://travis-ci.org/node-pinus/pinus)

14 lines (13 loc) 565 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BackendSessionComponent = void 0; const backendSessionService_1 = require("../common/service/backendSessionService"); class BackendSessionComponent extends backendSessionService_1.BackendSessionService { constructor(app) { super(app); this.name = '__backendSession__'; // export backend session service to the application context. app.set('backendSessionService', this, true); } } exports.BackendSessionComponent = BackendSessionComponent;