feat: Add moer element

Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
This commit is contained in:
2023-06-27 18:30:44 +02:00
parent 4cd2a365ae
commit d76f412b82
19 changed files with 540 additions and 90 deletions

14
src/env.d.ts vendored
View File

@ -1,7 +1,8 @@
/// <reference path="../.astro/types.d.ts" />
/// <reference types="astro/client" />
/// <reference types="./libs/ResponseBuilder" />
interface ImportMetaEnv {
CONFIGS_PATH?: string
PRUSASLICER_PATH?: string
BAMBUSTUDIO_PATH?: string
MONGODB?: string
@ -12,3 +13,14 @@ interface ImportMetaEnv {
interface ImportMeta {
readonly env: ImportMetaEnv;
}
declare namespace App {
interface Locals {
/**
* authentification key is the api key or the session token
*/
authKey?: string
responseBuilder?: ResponseBuilder
}
}