constant.d.ts 351 B

12345678910111213141516
  1. export declare enum errorCode {
  2. generic = "ERR_GENERIC_CLIENT",
  3. connect = "ERR_NOT_CONNECTED",
  4. badPath = "ERR_BAD_PATH",
  5. permission = "EACCES",
  6. notexist = "ENOENT",
  7. notdir = "ENOTDIR"
  8. }
  9. export declare enum targetType {
  10. writeFile = 1,
  11. readFile = 2,
  12. writeDir = 3,
  13. readDir = 4,
  14. readObj = 5,
  15. writeObj = 6
  16. }