CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/packages/util/db-schema/defaults.ts
Views: 687
1
/*
2
* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
3
* License: MS-RSL – see LICENSE.md for details
4
*/
5
6
export const DEFAULT_FONT_SIZE = 14;
7
8
export type NewFilenameTypes =
9
| "iso"
10
| "heroku"
11
| "pet"
12
| "ymd_heroku"
13
| "ymd_pet"
14
| "semantic"
15
| "ymd_semantic";
16
17
// key for new filenames algorithm in account/other_settings and associated default value
18
export const NEW_FILENAMES = "new_filenames";
19
export const DEFAULT_NEW_FILENAMES: NewFilenameTypes = "ymd_semantic";
20
21
// This is used on cocalc.com, and the storage server has images named "default", "ubuntu2004" and "ubuntu2204"
22
// For on-prem, you have to configure the "software environment" configuration, which includes a default image name.
23
export const DEFAULT_COMPUTE_IMAGE = "ubuntu2204";
24
25
// this is the fallback value to use for the compute image, in case it isn't set
26
// in particular, for projects and public_path shares!
27
// historical note: we used "default" to refer to ubuntu 18.04, but once
28
// we switch over to 20.04, we will keep older projects on 18.04 (explicit upgrade)
29
export const FALLBACK_COMPUTE_IMAGE = "default";
30
31
export const OTHER_SETTINGS_USERDEFINED_LLM = "userdefined_llm";
32
33