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