@openbox/shared-types 0.1.9 → 0.1.10

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/index.ts ADDED
@@ -0,0 +1,9 @@
1
+ export interface MyCustomInterface {
2
+ name: string;
3
+ age: number;
4
+ }
5
+
6
+ export interface AnotherCustomInterface {
7
+ email: string;
8
+ phone: string;
9
+ }
package/package.json CHANGED
@@ -1,18 +1,10 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
- "types": "index.d.ts",
6
- "main": "index.d.ts",
5
+ "main": "index.ts",
7
6
  "author": "Openbox Developer Team",
8
7
  "license": "ISC",
9
8
  "dependencies": {},
10
- "devDependencies": {
11
- "@typescript-eslint/eslint-plugin": "^5.4.0",
12
- "@typescript-eslint/parser": "^5.4.0",
13
- "eslint": "^8.2.0",
14
- "eslint-config-prettier": "^8.3.0",
15
- "eslint-plugin-prettier": "^4.0.0",
16
- "prettier": "^2.4.1"
17
- }
9
+ "devDependencies": {}
18
10
  }
package/.eslintrc.js DELETED
@@ -1,28 +0,0 @@
1
- module.exports = {
2
- parser: '@typescript-eslint/parser',
3
- parserOptions: {
4
- project: 'tsconfig.json',
5
- sourceType: 'module',
6
- },
7
- plugins: ['@typescript-eslint/eslint-plugin'],
8
- extends: [
9
- 'plugin:@typescript-eslint/recommended',
10
- 'plugin:prettier/recommended',
11
- ],
12
- root: true,
13
- env: {
14
- node: true,
15
- jest: true,
16
- },
17
- ignorePatterns: ['.eslintrc.js'],
18
- rules: {
19
- "prettier/prettier": [
20
- "error",
21
- { "printWidth": 120 }
22
- ],
23
- '@typescript-eslint/interface-name-prefix': 'off',
24
- '@typescript-eslint/explicit-function-return-type': 'off',
25
- '@typescript-eslint/explicit-module-boundary-types': 'off',
26
- '@typescript-eslint/no-explicit-any': 'off',
27
- },
28
- };
package/.prettierrc DELETED
@@ -1,5 +0,0 @@
1
- {
2
- "singleQuote": true,
3
- "trailingComma": "none",
4
- "printWidth": 120
5
- }
@@ -1,7 +0,0 @@
1
- class IManyServices {
2
- ids: string[];
3
- }
4
-
5
- export default {
6
- IManyServices
7
- }
package/Services/index.ts DELETED
@@ -1,5 +0,0 @@
1
- import GetMany from "./GetMany";
2
-
3
- export default{
4
- GetMany
5
- }
package/index.d.ts DELETED
@@ -1,3 +0,0 @@
1
- export interface ServicesGetMany {
2
- id: string
3
- }
package/index.js DELETED
@@ -1 +0,0 @@
1
- module.exports = {};