lemmy-js-client 0.17.0-rc.3 → 0.17.0-rc.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/http.d.ts +156 -4
 - package/dist/http.js +255 -80
 - package/dist/index.d.ts +1 -0
 - package/dist/index.js +6 -1
 - package/dist/interfaces/api/comment.d.ts +46 -38
 - package/dist/interfaces/api/comment.js +326 -0
 - package/dist/interfaces/api/community.d.ts +57 -55
 - package/dist/interfaces/api/community.js +433 -0
 - package/dist/interfaces/api/index.js +5 -1
 - package/dist/interfaces/api/person.d.ts +121 -100
 - package/dist/interfaces/api/person.js +894 -0
 - package/dist/interfaces/api/post.d.ts +68 -51
 - package/dist/interfaces/api/post.js +434 -0
 - package/dist/interfaces/api/site.d.ts +100 -90
 - package/dist/interfaces/api/site.js +893 -0
 - package/dist/interfaces/index.js +5 -1
 - package/dist/interfaces/others.d.ts +62 -92
 - package/dist/interfaces/others.js +118 -55
 - package/dist/interfaces/source.d.ts +79 -76
 - package/dist/interfaces/source.js +746 -0
 - package/dist/interfaces/views.d.ts +37 -37
 - package/dist/interfaces/views.js +522 -0
 - package/dist/utils.d.ts +9 -0
 - package/dist/utils.js +18 -0
 - package/dist/websocket.d.ts +13 -2
 - package/dist/websocket.js +23 -5
 - package/package.json +14 -11
 
    
        package/package.json
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
2 
     | 
    
         
             
              "name": "lemmy-js-client",
         
     | 
| 
       3 
3 
     | 
    
         
             
              "description": "A javascript / typescript client for Lemmy",
         
     | 
| 
       4 
     | 
    
         
            -
              "version": "0.17.0-rc. 
     | 
| 
      
 4 
     | 
    
         
            +
              "version": "0.17.0-rc.30",
         
     | 
| 
       5 
5 
     | 
    
         
             
              "author": "Dessalines <tyhou13@gmx.com>",
         
     | 
| 
       6 
6 
     | 
    
         
             
              "license": "AGPL-3.0",
         
     | 
| 
       7 
7 
     | 
    
         
             
              "main": "./dist/index.js",
         
     | 
| 
         @@ -16,23 +16,26 @@ 
     | 
|
| 
       16 
16 
     | 
    
         
             
              },
         
     | 
| 
       17 
17 
     | 
    
         
             
              "repository": "https://github.com/LemmyNet/lemmy-js-client",
         
     | 
| 
       18 
18 
     | 
    
         
             
              "devDependencies": {
         
     | 
| 
       19 
     | 
    
         
            -
                "@ 
     | 
| 
      
 19 
     | 
    
         
            +
                "@sniptt/monads": "^0.5.10",
         
     | 
| 
      
 20 
     | 
    
         
            +
                "@types/node": "^17.0.33",
         
     | 
| 
       20 
21 
     | 
    
         
             
                "@types/node-fetch": "^3.0.3",
         
     | 
| 
       21 
     | 
    
         
            -
                "@typescript-eslint/eslint-plugin": "^5. 
     | 
| 
       22 
     | 
    
         
            -
                "@typescript-eslint/parser": "^5. 
     | 
| 
       23 
     | 
    
         
            -
                " 
     | 
| 
      
 22 
     | 
    
         
            +
                "@typescript-eslint/eslint-plugin": "^5.23.0",
         
     | 
| 
      
 23 
     | 
    
         
            +
                "@typescript-eslint/parser": "^5.23.0",
         
     | 
| 
      
 24 
     | 
    
         
            +
                "class-transformer": "^0.5.1",
         
     | 
| 
      
 25 
     | 
    
         
            +
                "eslint": "^8.15.0",
         
     | 
| 
       24 
26 
     | 
    
         
             
                "eslint-plugin-prettier": "^4.0.0",
         
     | 
| 
       25 
     | 
    
         
            -
                "husky": "^ 
     | 
| 
       26 
     | 
    
         
            -
                "lint-staged": "^12. 
     | 
| 
       27 
     | 
    
         
            -
                "node-fetch": "^3. 
     | 
| 
       28 
     | 
    
         
            -
                "prettier": "^2. 
     | 
| 
      
 27 
     | 
    
         
            +
                "husky": "^8.0.1",
         
     | 
| 
      
 28 
     | 
    
         
            +
                "lint-staged": "^12.4.1",
         
     | 
| 
      
 29 
     | 
    
         
            +
                "node-fetch": "^3.2.4",
         
     | 
| 
      
 30 
     | 
    
         
            +
                "prettier": "^2.6.2",
         
     | 
| 
       29 
31 
     | 
    
         
             
                "prettier-plugin-import-sort": "^0.0.7",
         
     | 
| 
       30 
32 
     | 
    
         
             
                "prettier-plugin-organize-imports": "^2.3.4",
         
     | 
| 
       31 
     | 
    
         
            -
                "prettier-plugin-packagejson": "^2.2. 
     | 
| 
      
 33 
     | 
    
         
            +
                "prettier-plugin-packagejson": "^2.2.18",
         
     | 
| 
      
 34 
     | 
    
         
            +
                "reflect-metadata": "^0.1.13",
         
     | 
| 
       32 
35 
     | 
    
         
             
                "sortpack": "^2.2.0",
         
     | 
| 
       33 
36 
     | 
    
         
             
                "typedoc": "^0.21.6",
         
     | 
| 
       34 
37 
     | 
    
         
             
                "typedoc-plugin-sourcefile-url": "^1.0.6",
         
     | 
| 
       35 
     | 
    
         
            -
                "typescript": "^4. 
     | 
| 
      
 38 
     | 
    
         
            +
                "typescript": "^4.6.4"
         
     | 
| 
       36 
39 
     | 
    
         
             
              },
         
     | 
| 
       37 
40 
     | 
    
         
             
              "types": "./dist/index.d.ts",
         
     | 
| 
       38 
41 
     | 
    
         
             
              "lint-staged": {
         
     |