Cotton code
73 lines · 2.8 KB · JSONRaw
{"format_version":1,"id":"repo_file","setup":true,"name":"File","plural":"Files","picture":null,"builtin":true,"engine":"repos","columns":[{"key":"repo_id","name":"Repository","type":"link","link_to":"repository","readonly":true},{"key":"name","type":"text","readonly":true},{"key":"path","type":"text","readonly":true},{  "key": "kind",  "type": "choice",  "choices": [    "file",    "folder",    "symlink",    "submodule"  ],  "readonly": true,  "labels": {    "file": "File",    "folder": "Folder",    "symlink": "Symbolic link",    "submodule": "Submodule"  }},{"key":"size","name":"Size","type":"number","format":"bytes","readonly":true},{"key":"ref","name":"Branch or commit","type":"text","readonly":true},{"key":"parent","name":"Folder","type":"link","link_to":"repo_file","readonly":true},{"key":"text","name":"Text","type":"longtext","readonly":true,"markdown":true},{"key":"more_lines","name":"Not set","type":"text","readonly":true},{"key":"truncated_line","name":"Not sent","type":"text","readonly":true},{"key":"binary_line","name":"Not text","type":"text","readonly":true},{"key":"refusal","name":"Why it could not be read","type":"text","readonly":true}],"title":"name","date":null,"project":null,"order":null,"slip":{"title":"name","subtitle":null,"trailing":"size","photo":null,"toggle":null},"tile":{"face":"slip-list"},"page":[{"heading":null,"columns":["name","path","ref","refusal","binary_line"]},{"heading":"In this folder","list":{"table":"repo_file","link":"parent"}},{"heading":"Text","columns":["text","more_lines","truncated_line"]},{"heading":"Details","columns":["kind","size","repo_id"]}],"add":false,"delete":false,"empty":{"title":"Nothing at this path.","message":"The host answered a folder with no entries in it."},"instructions":"A file or folder in a repository's tree, read from the Mac that serves the repository at the moment it is opened and never kept on this device. A folder's page lists what is in it; a file's page sets its text with its lines numbered.",  "parts": {    "shape": "sheet",    "head": {      "facts": []    },    "links": [],    "lists": [      {        "table": "repo_file",        "relation": "parent",        "heading": "In this folder"      }    ],    "acts": {      "more": []    },    "cards": [      {        "column": "repo_id"      },      {        "column": "path"      },      {        "column": "kind"      },      {        "column": "size"      },      {        "column": "ref"      },      {        "column": "parent"      },      {        "column": "text",        "row": true      },      {        "column": "more_lines"      },      {        "column": "truncated_line"      },      {        "column": "binary_line"      },      {        "column": "refusal",        "row": true      }    ]  },  "tables": []}