@rainte/js 0.0.19 → 0.0.21
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,9 @@
|
|
|
1
|
+
export * as date from '../src/date';
|
|
2
|
+
export * as db from '../src/db';
|
|
3
|
+
export * as fast from '../src/fast';
|
|
4
|
+
export * as file from '../src/file';
|
|
5
|
+
export * as hash from '../src/hash';
|
|
6
|
+
export * as http from '../src/http';
|
|
7
|
+
export * as json from '../src/json';
|
|
8
|
+
export * as storage from '../src/storage';
|
|
9
|
+
export * as url from '../src/url';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
export * from './axios';
|
|
3
|
-
export declare const get: (url: string, params?:
|
|
4
|
-
export declare const post: (url: string, data?:
|
|
3
|
+
export declare const get: (url: string, params?: ObjectProps) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
4
|
+
export declare const post: (url: string, data?: ObjectProps) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
5
5
|
export declare const download: (config: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
6
6
|
export declare const request: (config: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
7
7
|
declare const _default: {
|
|
8
|
-
get: (url: string, params?:
|
|
9
|
-
post: (url: string, data?:
|
|
8
|
+
get: (url: string, params?: ObjectProps) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
9
|
+
post: (url: string, data?: ObjectProps) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
10
10
|
download: (config: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
11
11
|
request: (config: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
12
12
|
};
|
package/package.json
CHANGED
package/dist/types/lib/main.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * as date from '@/date';
|
|
2
|
-
export * as db from '@/db';
|
|
3
|
-
export * as fast from '@/fast';
|
|
4
|
-
export * as file from '@/file';
|
|
5
|
-
export * as hash from '@/hash';
|
|
6
|
-
export * as http from '@/http';
|
|
7
|
-
export * as json from '@/json';
|
|
8
|
-
export * as storage from '@/storage';
|
|
9
|
-
export * as url from '@/url';
|