@moluoxixi/ajax-package 0.0.11

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.
@@ -0,0 +1,12 @@
1
+ import { BaseApiConfig, vueAxiosPluginType, vueHttpServiceType } from './_types/index';
2
+ import { default as BaseApi } from './class';
3
+ declare global {
4
+ interface Window {
5
+ $http?: vueHttpServiceType;
6
+ }
7
+ }
8
+ declare function createHttpService(options?: BaseApiConfig): BaseApi;
9
+ declare const VueAxiosPlugin: vueAxiosPluginType;
10
+ declare function getHttpService(options?: BaseApiConfig): BaseApi;
11
+ export default VueAxiosPlugin;
12
+ export { createHttpService, getHttpService };
package/package.json ADDED
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "@moluoxixi/ajax-package",
3
+ "version": "0.0.11",
4
+ "description": "AjaxPackage 组件",
5
+ "sideEffects": [
6
+ "*.css",
7
+ "*.scss"
8
+ ],
9
+ "peerDependencies": {
10
+ "vue": "3.5.19"
11
+ },
12
+ "dependencies": {},
13
+ "publishConfig": {
14
+ "access": "public"
15
+ },
16
+ "license": "MIT",
17
+ "module": "es/index.mjs",
18
+ "types": "es/index.d.ts",
19
+ "exports": {
20
+ "./es": {
21
+ "import": {
22
+ "types": "./es/index.d.ts",
23
+ "default": "./es/index.mjs"
24
+ }
25
+ },
26
+ ".": {
27
+ "import": {
28
+ "types": "./es/index.d.ts",
29
+ "default": "./es/index.mjs"
30
+ }
31
+ }
32
+ }
33
+ }