@v1ct0rbr/minivault-web 0.4.2 → 0.5.0
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/README.md +74 -74
- package/dist/api/MinivaultApi.d.ts +2 -1
- package/dist/components/DatabaseBanner.d.ts +3 -1
- package/dist/components/DiagnosticsTab.d.ts +1 -0
- package/dist/hooks/useBackups.d.ts +2 -0
- package/dist/index.d.ts +3 -2
- package/dist/minivault-web.js +388 -163
- package/dist/types/minivault.d.ts +9 -0
- package/package.json +72 -72
|
@@ -19,6 +19,15 @@ export interface VerifyResult {
|
|
|
19
19
|
dumpReadable: boolean;
|
|
20
20
|
message: string;
|
|
21
21
|
}
|
|
22
|
+
export interface ConnectionCheck {
|
|
23
|
+
name: string;
|
|
24
|
+
label: string;
|
|
25
|
+
type: string;
|
|
26
|
+
configured: boolean;
|
|
27
|
+
ok: boolean;
|
|
28
|
+
message: string;
|
|
29
|
+
latencyMs: number;
|
|
30
|
+
}
|
|
22
31
|
export interface PageResponse<T> {
|
|
23
32
|
content: T[];
|
|
24
33
|
page: number;
|
package/package.json
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@v1ct0rbr/minivault-web",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Módulo independente de gerenciamento de backups (minivault). Consumível como pacote npm em qualquer app React. Cliente do minivault REST API (acesso tipicamente via proxy autenticado).",
|
|
5
|
-
"author": "Victor Queiroga (https://www.linkedin.com/in/victor-queiroga)",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"publishConfig": {
|
|
9
|
-
"access": "public",
|
|
10
|
-
"registry": "https://registry.npmjs.org/"
|
|
11
|
-
},
|
|
12
|
-
"files": [
|
|
13
|
-
"dist",
|
|
14
|
-
"README.md"
|
|
15
|
-
],
|
|
16
|
-
"keywords": [
|
|
17
|
-
"backup",
|
|
18
|
-
"minivault",
|
|
19
|
-
"der",
|
|
20
|
-
"react",
|
|
21
|
-
"bootstrap",
|
|
22
|
-
"postgresql"
|
|
23
|
-
],
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "https://github.com/v1ct0rbr/minivault-web.git"
|
|
27
|
-
},
|
|
28
|
-
"main": "./dist/minivault-web.js",
|
|
29
|
-
"module": "./dist/minivault-web.js",
|
|
30
|
-
"types": "./dist/index.d.ts",
|
|
31
|
-
"exports": {
|
|
32
|
-
".": {
|
|
33
|
-
"types": "./dist/index.d.ts",
|
|
34
|
-
"import": "./dist/minivault-web.js"
|
|
35
|
-
},
|
|
36
|
-
"./style.css": "./dist/minivault-web.css"
|
|
37
|
-
},
|
|
38
|
-
"scripts": {
|
|
39
|
-
"dev": "vite --port 5176",
|
|
40
|
-
"build": "vite build && tsc --noEmit",
|
|
41
|
-
"build:lib": "vite build --config vite.lib.config.ts && tsc --noEmit",
|
|
42
|
-
"prepublishOnly": "npm run build:lib && npm test",
|
|
43
|
-
"prepack": "npm run build:lib",
|
|
44
|
-
"preview": "vite preview",
|
|
45
|
-
"test": "vitest run",
|
|
46
|
-
"test:watch": "vitest",
|
|
47
|
-
"typecheck": "tsc --noEmit",
|
|
48
|
-
"lint": "eslint ."
|
|
49
|
-
},
|
|
50
|
-
"dependencies": {
|
|
51
|
-
"bootstrap": "^5.3.3",
|
|
52
|
-
"bootstrap-icons": "^1.11.3"
|
|
53
|
-
},
|
|
54
|
-
"peerDependencies": {
|
|
55
|
-
"@tanstack/react-query": "^5.0.0",
|
|
56
|
-
"react": "^19.0.0",
|
|
57
|
-
"react-dom": "^19.0.0"
|
|
58
|
-
},
|
|
59
|
-
"devDependencies": {
|
|
60
|
-
"@tanstack/react-query": "^5.66.5",
|
|
61
|
-
"@types/node": "^22.10.2",
|
|
62
|
-
"@types/react": "^19.2.0",
|
|
63
|
-
"@types/react-dom": "^19.2.0",
|
|
64
|
-
"@vitejs/plugin-react": "^5.0.4",
|
|
65
|
-
"postcss-prefix-selector": "^2.1.1",
|
|
66
|
-
"react": "^19.2.0",
|
|
67
|
-
"react-dom": "^19.2.0",
|
|
68
|
-
"typescript": "^5.7.2",
|
|
69
|
-
"vite": "^8.0.16",
|
|
70
|
-
"vite-plugin-dts": "^4.5.0",
|
|
71
|
-
"vitest": "^4.1.8"
|
|
72
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@v1ct0rbr/minivault-web",
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Módulo independente de gerenciamento de backups (minivault). Consumível como pacote npm em qualquer app React. Cliente do minivault REST API (acesso tipicamente via proxy autenticado).",
|
|
5
|
+
"author": "Victor Queiroga (https://www.linkedin.com/in/victor-queiroga)",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public",
|
|
10
|
+
"registry": "https://registry.npmjs.org/"
|
|
11
|
+
},
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
"README.md"
|
|
15
|
+
],
|
|
16
|
+
"keywords": [
|
|
17
|
+
"backup",
|
|
18
|
+
"minivault",
|
|
19
|
+
"der",
|
|
20
|
+
"react",
|
|
21
|
+
"bootstrap",
|
|
22
|
+
"postgresql"
|
|
23
|
+
],
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/v1ct0rbr/minivault-web.git"
|
|
27
|
+
},
|
|
28
|
+
"main": "./dist/minivault-web.js",
|
|
29
|
+
"module": "./dist/minivault-web.js",
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"exports": {
|
|
32
|
+
".": {
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"import": "./dist/minivault-web.js"
|
|
35
|
+
},
|
|
36
|
+
"./style.css": "./dist/minivault-web.css"
|
|
37
|
+
},
|
|
38
|
+
"scripts": {
|
|
39
|
+
"dev": "vite --port 5176",
|
|
40
|
+
"build": "vite build && tsc --noEmit",
|
|
41
|
+
"build:lib": "vite build --config vite.lib.config.ts && tsc --noEmit",
|
|
42
|
+
"prepublishOnly": "npm run build:lib && npm test",
|
|
43
|
+
"prepack": "npm run build:lib",
|
|
44
|
+
"preview": "vite preview",
|
|
45
|
+
"test": "vitest run",
|
|
46
|
+
"test:watch": "vitest",
|
|
47
|
+
"typecheck": "tsc --noEmit",
|
|
48
|
+
"lint": "eslint ."
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"bootstrap": "^5.3.3",
|
|
52
|
+
"bootstrap-icons": "^1.11.3"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@tanstack/react-query": "^5.0.0",
|
|
56
|
+
"react": "^19.0.0",
|
|
57
|
+
"react-dom": "^19.0.0"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@tanstack/react-query": "^5.66.5",
|
|
61
|
+
"@types/node": "^22.10.2",
|
|
62
|
+
"@types/react": "^19.2.0",
|
|
63
|
+
"@types/react-dom": "^19.2.0",
|
|
64
|
+
"@vitejs/plugin-react": "^5.0.4",
|
|
65
|
+
"postcss-prefix-selector": "^2.1.1",
|
|
66
|
+
"react": "^19.2.0",
|
|
67
|
+
"react-dom": "^19.2.0",
|
|
68
|
+
"typescript": "^5.7.2",
|
|
69
|
+
"vite": "^8.0.16",
|
|
70
|
+
"vite-plugin-dts": "^4.5.0",
|
|
71
|
+
"vitest": "^4.1.8"
|
|
72
|
+
}
|
|
73
73
|
}
|