├── .babelrc ├── .flowconfig ├── .gitignore ├── .sonarcloud.properties ├── LICENSE ├── README.md ├── docs └── demo-code.png ├── examples └── basic │ ├── .babelrc │ ├── .flowconfig │ ├── README.md │ ├── package.json │ └── src │ ├── client │ ├── PostClient.js │ └── index.js │ ├── index.js │ └── type │ └── PostType.js ├── package.json └── src ├── decorator ├── client.js ├── del.js ├── get.js ├── index.js ├── patch.js ├── post.js └── put.js ├── generator ├── decoratorGenerator.js ├── index.js └── requestGenerator.js ├── index.d.ts ├── index.js ├── libDef.js ├── type ├── MethodOptions.js ├── Request.js └── index.js └── util ├── ClientConfigurator.js ├── ClientLogger.js ├── index.js └── replaceParams.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/.babelrc -------------------------------------------------------------------------------- /.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/.flowconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | dist/ 3 | node_modules 4 | package-lock.json 5 | .idea -------------------------------------------------------------------------------- /.sonarcloud.properties: -------------------------------------------------------------------------------- 1 | sonar.exclusions=**/dist/** -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/README.md -------------------------------------------------------------------------------- /docs/demo-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/docs/demo-code.png -------------------------------------------------------------------------------- /examples/basic/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/examples/basic/.babelrc -------------------------------------------------------------------------------- /examples/basic/.flowconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/examples/basic/.flowconfig -------------------------------------------------------------------------------- /examples/basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/examples/basic/README.md -------------------------------------------------------------------------------- /examples/basic/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/examples/basic/package.json -------------------------------------------------------------------------------- /examples/basic/src/client/PostClient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/examples/basic/src/client/PostClient.js -------------------------------------------------------------------------------- /examples/basic/src/client/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/examples/basic/src/client/index.js -------------------------------------------------------------------------------- /examples/basic/src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/examples/basic/src/index.js -------------------------------------------------------------------------------- /examples/basic/src/type/PostType.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/examples/basic/src/type/PostType.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/package.json -------------------------------------------------------------------------------- /src/decorator/client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/decorator/client.js -------------------------------------------------------------------------------- /src/decorator/del.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/decorator/del.js -------------------------------------------------------------------------------- /src/decorator/get.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/decorator/get.js -------------------------------------------------------------------------------- /src/decorator/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/decorator/index.js -------------------------------------------------------------------------------- /src/decorator/patch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/decorator/patch.js -------------------------------------------------------------------------------- /src/decorator/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/decorator/post.js -------------------------------------------------------------------------------- /src/decorator/put.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/decorator/put.js -------------------------------------------------------------------------------- /src/generator/decoratorGenerator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/generator/decoratorGenerator.js -------------------------------------------------------------------------------- /src/generator/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/generator/index.js -------------------------------------------------------------------------------- /src/generator/requestGenerator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/generator/requestGenerator.js -------------------------------------------------------------------------------- /src/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/index.d.ts -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/index.js -------------------------------------------------------------------------------- /src/libDef.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/libDef.js -------------------------------------------------------------------------------- /src/type/MethodOptions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/type/MethodOptions.js -------------------------------------------------------------------------------- /src/type/Request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/type/Request.js -------------------------------------------------------------------------------- /src/type/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/type/index.js -------------------------------------------------------------------------------- /src/util/ClientConfigurator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/util/ClientConfigurator.js -------------------------------------------------------------------------------- /src/util/ClientLogger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/util/ClientLogger.js -------------------------------------------------------------------------------- /src/util/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/util/index.js -------------------------------------------------------------------------------- /src/util/replaceParams.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FriendsOfReact/axios-decorators/HEAD/src/util/replaceParams.js --------------------------------------------------------------------------------