repzo 1.0.5 → 1.0.8
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/changelog.md +21 -19
- package/lib/index.d.ts +580 -215
- package/lib/index.js +1319 -599
- package/lib/types/index.d.ts +4208 -3662
- package/lib/types/index.js +1 -1
- package/package.json +36 -34
- package/src/index.ts +1797 -1426
- package/src/types/index.ts +4156 -3753
- package/test.ts +8 -8
- package/tsconfig.json +17 -17
package/test.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Repzo from "./src/index.js";
|
|
2
|
-
let repzo = new Repzo("");
|
|
3
|
-
let clients = repzo.client.find({ search: "Mecca" });
|
|
4
|
-
console.log(clients);
|
|
5
|
-
repzo.client.create({ name: "kf" });
|
|
6
|
-
repzo.headers["ho"] = "faf";
|
|
7
|
-
repzo.client.update("", {});
|
|
8
|
-
// repzo.
|
|
1
|
+
import Repzo from "./src/index.js";
|
|
2
|
+
let repzo = new Repzo("");
|
|
3
|
+
let clients = repzo.client.find({ search: "Mecca" });
|
|
4
|
+
console.log(clients);
|
|
5
|
+
repzo.client.create({ name: "kf" });
|
|
6
|
+
repzo.headers["ho"] = "faf";
|
|
7
|
+
repzo.client.update("", {});
|
|
8
|
+
// repzo.
|
package/tsconfig.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"outDir": "./lib",
|
|
4
|
-
"allowJs": true,
|
|
5
|
-
"target": "ES2020",
|
|
6
|
-
"module": "ES2020",
|
|
7
|
-
"esModuleInterop": true,
|
|
8
|
-
"moduleResolution": "Node",
|
|
9
|
-
"resolveJsonModule": true,
|
|
10
|
-
"noImplicitThis": false,
|
|
11
|
-
"strict": true,
|
|
12
|
-
"declaration": true
|
|
13
|
-
},
|
|
14
|
-
"ts-node": { "esm": true },
|
|
15
|
-
"include": ["src/**/*"],
|
|
16
|
-
"exclude": ["node_modules", "test/**/*", "**/*.spec.ts"]
|
|
17
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"outDir": "./lib",
|
|
4
|
+
"allowJs": true,
|
|
5
|
+
"target": "ES2020",
|
|
6
|
+
"module": "ES2020",
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"moduleResolution": "Node",
|
|
9
|
+
"resolveJsonModule": true,
|
|
10
|
+
"noImplicitThis": false,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"declaration": true
|
|
13
|
+
},
|
|
14
|
+
"ts-node": { "esm": true },
|
|
15
|
+
"include": ["src/**/*"],
|
|
16
|
+
"exclude": ["node_modules", "test/**/*", "**/*.spec.ts"]
|
|
17
|
+
}
|