@carbonorm/carbonnode 1.0.0 → 1.0.2
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/api/C6.d.ts +122 -0
- package/dist/api/convertForRequestBody.d.ts +3 -0
- package/dist/api/interfaces/ormInterfaces.d.ts +27 -0
- package/dist/api/restRequest.d.ts +131 -0
- package/dist/carbonnode.cjs.js +117 -73
- package/dist/carbonnode.esm.js +117 -73
- package/dist/carbonnode.umd.js +117 -73
- package/dist/index.cjs.js +649 -0
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.esm.js +630 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.umd.js +653 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/variables/isLocal.d.ts +2 -0
- package/dist/variables/isTest.d.ts +2 -0
- package/dist/variables/isVerbose.d.ts +2 -0
- package/dist/variables/toastOptions.d.ts +3 -0
- package/package.json +8 -5
- package/src/api/C6.ts +151 -0
- package/src/api/convertForRequestBody.ts +90 -0
- package/src/api/interfaces/ormInterfaces.ts +31 -0
- package/src/api/restRequest.ts +815 -0
- package/src/index.ts +17 -0
- package/src/variables/isLocal.ts +2 -0
- package/src/variables/isTest.ts +4 -0
- package/src/variables/isVerbose.ts +4 -0
- package/src/variables/toastOptions.ts +23 -0
package/src/index.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file Automatically generated by barrelsby.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
export * from "./api/C6";
|
|
6
|
+
export { default as convertForRequestBody } from "./api/convertForRequestBody";
|
|
7
|
+
export * from "./api/convertForRequestBody";
|
|
8
|
+
export { default as restRequest } from "./api/restRequest";
|
|
9
|
+
export * from "./api/restRequest";
|
|
10
|
+
export * from "./api/interfaces/ormInterfaces";
|
|
11
|
+
export { default as isLocal } from "./variables/isLocal";
|
|
12
|
+
export * from "./variables/isLocal";
|
|
13
|
+
export { default as isTest } from "./variables/isTest";
|
|
14
|
+
export * from "./variables/isTest";
|
|
15
|
+
export { default as isVerbose } from "./variables/isVerbose";
|
|
16
|
+
export * from "./variables/isVerbose";
|
|
17
|
+
export * from "./variables/toastOptions";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {ToastOptions} from "react-toastify";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export const toastOptions = {
|
|
5
|
+
position: "bottom-left",
|
|
6
|
+
autoClose: 10000,
|
|
7
|
+
hideProgressBar: false,
|
|
8
|
+
closeOnClick: true,
|
|
9
|
+
pauseOnHover: true,
|
|
10
|
+
draggable: true,
|
|
11
|
+
theme: "dark",
|
|
12
|
+
} as ToastOptions;
|
|
13
|
+
|
|
14
|
+
export const toastOptionsDevs = {
|
|
15
|
+
position: "bottom-right",
|
|
16
|
+
autoClose: 3000,
|
|
17
|
+
hideProgressBar: false,
|
|
18
|
+
closeOnClick: true,
|
|
19
|
+
pauseOnHover: true,
|
|
20
|
+
draggable: true,
|
|
21
|
+
theme: "dark",
|
|
22
|
+
} as ToastOptions;
|
|
23
|
+
|