Path: blob/master/src/packages/util/db-schema/defaults.ts
1447 views
/*1* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45export const DEFAULT_FONT_SIZE = 14;67export type NewFilenameTypes =8| "iso"9| "heroku"10| "pet"11| "ymd_heroku"12| "ymd_pet"13| "semantic"14| "ymd_semantic";1516// key for new filenames algorithm in account/other_settings and associated default value17export const NEW_FILENAMES = "new_filenames";18export const DEFAULT_NEW_FILENAMES: NewFilenameTypes = "ymd_semantic";1920// This is used on cocalc.com, and the storage server has images named "default", "ubuntu2004" and "ubuntu2204"21// For on-prem, you have to configure the "software environment" configuration, which includes a default image name.22export const DEFAULT_COMPUTE_IMAGE = "ubuntu2404";2324// this is the fallback value to use for the compute image, in case it isn't set25// in particular, for projects and public_path shares!26// historical note: we used "default" to refer to ubuntu 18.04, but once27// we switch over to 20.04, we will keep older projects on 18.04 (explicit upgrade)28export const FALLBACK_COMPUTE_IMAGE = "default";2930export const OTHER_SETTINGS_USERDEFINED_LLM = "userdefined_llm";313233