Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/src/packages/util/db-schema/compute-images.ts
Views: 687
/*1* This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.2* License: MS-RSL – see LICENSE.md for details3*/45import { Table } from "./types";67/*8What software environments there are available.9*/10Table({11name: "compute_images",12rules: {13primary_key: ["id"],14anonymous: true,15user_query: {16get: {17throttle_changes: 30000,18pg_where: [],19fields: {20id: null,21src: null,22type: null,23display: null,24url: null,25desc: null,26path: null,27disabled: null,28},29},30},31},32fields: {33id: {34type: "string",35desc: "docker image 'name:tag', where tag defaults to 'latest'",36},37src: {38type: "string",39desc: "source of the image (likely https://github [...] .git)",40},41type: {42type: "string",43desc: "for now, this is either 'legacy' or 'custom'",44},45display: {46type: "string",47desc: "(optional) user-visible name (defaults to id)",48},49url: {50type: "string",51desc: "(optional) where the user can learn more about it",52},53desc: {54type: "string",55desc: "(optional) markdown text to talk more about this",56},57path: {58type: "string",59desc:60"(optional) point user to either a filename like index.ipynb or a directory/",61},62disabled: {63type: "boolean",64desc: "(optional) if set and true, do not offer as a selection",65},66},67});686970