Files
plainleaf/plugs/federation/federation.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

54 lines
1.1 KiB
YAML

name: federation
requiredPermissions:
- fetch
config:
schema.config.properties:
libraries:
type: array
items:
type: object
properties:
import:
type: string
format: page-ref
exclude:
type: array
items:
type: string
format: page-ref
nullable: true
required:
- import
nullable: true
functions:
readFile:
path: ./federation.ts:readFile
pageNamespace:
pattern: "^!.+"
operation: readFile
writeFile:
path: ./federation.ts:writeFile
pageNamespace:
pattern: "^!.+"
operation: writeFile
deleteFile:
path: ./federation.ts:deleteFile
pageNamespace:
pattern: "^!.+"
operation: deleteFile
getFileMeta:
path: ./federation.ts:getFileMeta
pageNamespace:
pattern: "^!.+"
operation: getFileMeta
# Library management commands
updateLibrariesCommand:
path: library.ts:updateLibrariesCommand
command:
name: "Libraries: Update"
requireMode: rw
updateLibraries:
path: library.ts:updateLibraries
env: server