Files
plainleaf/plugs/core/core.plug.yaml
T
Zef HemelandGitHub 80f9c14b96 Change how attribute indexing and completion works (#1061)
* Creation of separate aspring-page objects for pages linked to, but not created
* Show "No results" instead of broken markdown table for no query results
* Show schema validation errors
* Deno upgrade
* Adds config support to plugs (see examples)
* Moves all builtin schemas to plug config
* Adds core plug just for builtin schemas
* Changes how attributes are indexed and completed, now attempts to derive a JSON schema for ad hoc attributes
2024-08-24 12:35:09 +02:00

109 lines
2.1 KiB
YAML

name: core
config:
# Built-in schemas
schema.tag:
syscall:
type: object
properties:
ref:
type: string
readOnly: true
tag:
type: string
readOnly: true
name:
type: string
argCount:
type: number
requiredPermissions:
type: array
items:
type: string
command:
type: object
properties:
ref:
type: string
readOnly: true
tag:
type: string
readOnly: true
name:
type: string
priority:
type: number
key:
type: string
nullable: true
mac:
type: string
nullable: true
hide:
type: boolean
nullable: true
requireMode:
type: string
enum: ["ro", "rw"]
nullable: true
space-config:
type: object
properties:
ref:
type: string
readOnly: true
tag:
type: string
readOnly: true
key:
type: string
value:
type:
- number
- string
- boolean
- object
- array
- null
space-style:
type: object
properties:
ref:
type: string
readOnly: true
tag:
type: string
readOnly: true
style:
type: string
origin:
type: string
space-script:
type: object
properties:
ref:
type: string
readOnly: true
tag:
type: string
readOnly: true
script:
type: string
# Built-in configuration schemas
schema.config.properties:
indexPage:
type: string
format: page-ref
maximumAttachmentSize:
type: number
nullable: true
objectDecorators:
type: array
items:
type: object
required:
- where
- attributes
nullable: true
spaceIgnore:
type: string
nullable: true