name: federation
requiredPermissions:
  - fetch
functions:
  listFiles:
   path: ./federation.ts:listFiles
   env: server
   pageNamespace:
     pattern: "!.+"
     operation: listFiles
  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
  importLibraryCommand:
    path: library.ts:importLibraryCommand
    command:
      name: "Library: Import"
      requireMode: rw
