systemprompt_models/paths/
constants.rs1pub mod dir_names {
9 pub const SYSTEMPROMPT: &str = ".systemprompt";
10 pub const PROFILES: &str = "profiles";
11 pub const DOCKER: &str = "docker";
12 pub const STORAGE: &str = "storage";
13 pub const SESSIONS: &str = "sessions";
14}
15
16pub mod file_names {
17 pub const PROFILE_CONFIG: &str = "profile.yaml";
18 pub const PROFILE_SECRETS: &str = "secrets.json";
19 pub const CREDENTIALS: &str = "credentials.json";
20 pub const TENANTS: &str = "tenants.json";
21 pub const SESSION: &str = "session.json";
22 pub const SESSIONS_INDEX: &str = "index.json";
23 pub const DOCKERFILE: &str = "Dockerfile";
24 pub const ENTRYPOINT: &str = "entrypoint.sh";
25 pub const DOCKERIGNORE: &str = "Dockerfile.dockerignore";
26 pub const COMPOSE: &str = "compose.yaml";
27}
28
29pub mod cloud_container {
30 pub const APP_ROOT: &str = "/app";
31 pub const BIN: &str = "/app/bin";
32 pub const SERVICES: &str = "/app/services";
33 pub const LOGS: &str = "/app/logs";
34 pub const STORAGE: &str = "/app/storage";
35 pub const WEB: &str = "/app/web";
36 pub const WEB_DIST: &str = "/app/web/dist";
37 pub const WEB_CONFIG: &str = "/app/services/web";
38 pub const PROFILES: &str = "/app/services/profiles";
39 pub const TEMPLATES: &str = "/app/services/web/templates";
40 pub const ASSETS: &str = "/app/services/web/assets";
41}
42
43pub mod storage {
44 pub const FILES: &str = "files";
45 pub const IMAGES: &str = "files/images";
46 pub const GENERATED: &str = "files/images/generated";
47 pub const LOGOS: &str = "files/images/logos";
48 pub const AUDIO: &str = "files/audio";
49 pub const VIDEO: &str = "files/video";
50 pub const DOCUMENTS: &str = "files/documents";
51 pub const UPLOADS: &str = "files/uploads";
52 pub const CSS: &str = "files/css";
53 pub const JS: &str = "files/js";
54}
55
56pub mod build {
57 pub const CARGO_TARGET: &str = "target";
58 pub const BINARY_NAME: &str = "systemprompt";
59}
60
61pub mod env_vars {
62 pub const CUSTOM_SECRETS: &str = "SYSTEMPROMPT_CUSTOM_SECRETS";
63}