@venizia/ardor-admin 0.1.1-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/LICENSE.md +97 -0
- package/README.md +39 -0
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/index.js +3 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/locales/en.d.ts +207 -0
- package/dist/common/locales/en.d.ts.map +1 -0
- package/dist/common/locales/en.js +207 -0
- package/dist/common/locales/en.js.map +1 -0
- package/dist/common/locales/index.d.ts +3 -0
- package/dist/common/locales/index.d.ts.map +1 -0
- package/dist/common/locales/index.js +3 -0
- package/dist/common/locales/index.js.map +1 -0
- package/dist/common/locales/vi.d.ts +3 -0
- package/dist/common/locales/vi.d.ts.map +1 -0
- package/dist/common/locales/vi.js +207 -0
- package/dist/common/locales/vi.js.map +1 -0
- package/dist/common/types.d.ts +55 -0
- package/dist/common/types.d.ts.map +1 -0
- package/dist/common/types.js +2 -0
- package/dist/common/types.js.map +1 -0
- package/dist/components/application.d.ts +4 -0
- package/dist/components/application.d.ts.map +1 -0
- package/dist/components/application.js +36 -0
- package/dist/components/application.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -0
- package/dist/hooks/index.d.ts +5 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +5 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/use-notify-error.d.ts +6 -0
- package/dist/hooks/use-notify-error.d.ts.map +1 -0
- package/dist/hooks/use-notify-error.js +13 -0
- package/dist/hooks/use-notify-error.js.map +1 -0
- package/dist/hooks/use-refresh-token.d.ts +4 -0
- package/dist/hooks/use-refresh-token.d.ts.map +1 -0
- package/dist/hooks/use-refresh-token.js +22 -0
- package/dist/hooks/use-refresh-token.js.map +1 -0
- package/dist/hooks/use-request-header-locale.d.ts +4 -0
- package/dist/hooks/use-request-header-locale.d.ts.map +1 -0
- package/dist/hooks/use-request-header-locale.js +16 -0
- package/dist/hooks/use-request-header-locale.js.map +1 -0
- package/dist/hooks/use-translate.d.ts +9 -0
- package/dist/hooks/use-translate.d.ts.map +1 -0
- package/dist/hooks/use-translate.js +11 -0
- package/dist/hooks/use-translate.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -0
- package/dist/providers/auth.d.ts +19 -0
- package/dist/providers/auth.d.ts.map +1 -0
- package/dist/providers/auth.js +117 -0
- package/dist/providers/auth.js.map +1 -0
- package/dist/providers/count-rest-data.d.ts +20 -0
- package/dist/providers/count-rest-data.d.ts.map +1 -0
- package/dist/providers/count-rest-data.js +30 -0
- package/dist/providers/count-rest-data.js.map +1 -0
- package/dist/providers/i18n.d.ts +10 -0
- package/dist/providers/i18n.d.ts.map +1 -0
- package/dist/providers/i18n.js +41 -0
- package/dist/providers/i18n.js.map +1 -0
- package/dist/providers/index.d.ts +5 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/providers/index.js +5 -0
- package/dist/providers/index.js.map +1 -0
- package/dist/providers/rest-data.d.ts +72 -0
- package/dist/providers/rest-data.d.ts.map +1 -0
- package/dist/providers/rest-data.js +441 -0
- package/dist/providers/rest-data.js.map +1 -0
- package/dist/services/crud.d.ts +34 -0
- package/dist/services/crud.d.ts.map +1 -0
- package/dist/services/crud.js +153 -0
- package/dist/services/crud.js.map +1 -0
- package/dist/services/index.d.ts +2 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +2 -0
- package/dist/services/index.js.map +1 -0
- package/package.json +142 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@venizia/ardor-admin",
|
|
3
|
+
"version": "0.1.1-0",
|
|
4
|
+
"description": "ARDOR react-admin adapter - the REST data provider, auth provider and i18n provider wired through IGNIS inversion, the ArdorApplication root component, the translate and notify hooks, and the English and Vietnamese message bundles.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"admin",
|
|
7
|
+
"ardor",
|
|
8
|
+
"ardor-admin",
|
|
9
|
+
"auth-provider",
|
|
10
|
+
"data-provider",
|
|
11
|
+
"i18n",
|
|
12
|
+
"ignis",
|
|
13
|
+
"ra-core",
|
|
14
|
+
"react",
|
|
15
|
+
"react-admin",
|
|
16
|
+
"rest",
|
|
17
|
+
"typescript",
|
|
18
|
+
"venizia"
|
|
19
|
+
],
|
|
20
|
+
"homepage": "https://ardor.venizia.ai",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/VENIZIA-AI/ardor.git",
|
|
24
|
+
"directory": "packages/admin"
|
|
25
|
+
},
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/VENIZIA-AI/ardor/issues"
|
|
28
|
+
},
|
|
29
|
+
"author": {
|
|
30
|
+
"name": "VENIZIA AI Developer",
|
|
31
|
+
"email": "developer@venizia.ai",
|
|
32
|
+
"url": "https://venizia.ai"
|
|
33
|
+
},
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"engines": {
|
|
36
|
+
"bun": ">=1.3"
|
|
37
|
+
},
|
|
38
|
+
"type": "module",
|
|
39
|
+
"main": "./dist/index.js",
|
|
40
|
+
"module": "./dist/index.js",
|
|
41
|
+
"types": "./dist/index.d.ts",
|
|
42
|
+
"exports": {
|
|
43
|
+
".": {
|
|
44
|
+
"types": "./dist/index.d.ts",
|
|
45
|
+
"import": "./dist/index.js",
|
|
46
|
+
"default": "./dist/index.js"
|
|
47
|
+
},
|
|
48
|
+
"./package.json": "./package.json"
|
|
49
|
+
},
|
|
50
|
+
"sideEffects": false,
|
|
51
|
+
"files": [
|
|
52
|
+
"README.md",
|
|
53
|
+
"LICENSE.md",
|
|
54
|
+
"dist",
|
|
55
|
+
"!/**/__tests__",
|
|
56
|
+
"!**/*.tsbuildinfo"
|
|
57
|
+
],
|
|
58
|
+
"publishConfig": {
|
|
59
|
+
"access": "public"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"force-update": "sh ./scripts/force-update.sh",
|
|
63
|
+
"build": "sh ./scripts/build.sh",
|
|
64
|
+
"typecheck": "tsc --noEmit -p tsconfig.test.json",
|
|
65
|
+
"clean": "sh ./scripts/clean.sh",
|
|
66
|
+
"eslint": "eslint --report-unused-disable-directives .",
|
|
67
|
+
"lint": "bun run eslint && bun run prettier:cli",
|
|
68
|
+
"lint:fix": "bun run eslint --fix && bun run prettier:fix",
|
|
69
|
+
"prettier:cli": "prettier \"**/*.{js,ts,tsx}\" -l",
|
|
70
|
+
"prettier:fix": "bun run prettier:cli --write",
|
|
71
|
+
"rebuild": "sh ./scripts/rebuild.sh no-version",
|
|
72
|
+
"prepublishOnly": "bun run rebuild",
|
|
73
|
+
"test": "NODE_ENV=test bun test --env-file=.env.test",
|
|
74
|
+
"test:watch": "NODE_ENV=test bun test --watch --env-file=.env.test",
|
|
75
|
+
"size": "size-limit"
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"@venizia/ardor-kernel": "^0.1.1-0",
|
|
79
|
+
"@venizia/ardor-react": "^0.1.1-0",
|
|
80
|
+
"lodash": "catalog:",
|
|
81
|
+
"ra-i18n-polyglot": "catalog:"
|
|
82
|
+
},
|
|
83
|
+
"peerDependencies": {
|
|
84
|
+
"@reduxjs/toolkit": ">=2.12.0",
|
|
85
|
+
"@tanstack/react-query": ">=5.101.2",
|
|
86
|
+
"@venizia/ignis-filter": "^0.2.0-7",
|
|
87
|
+
"@venizia/ignis-inversion": "^0.2.0-7",
|
|
88
|
+
"ra-core": ">=5.15.0",
|
|
89
|
+
"react": ">=18.0",
|
|
90
|
+
"react-dom": ">=18.0",
|
|
91
|
+
"react-redux": ">=9.3.0",
|
|
92
|
+
"react-router-dom": ">=7.9.4"
|
|
93
|
+
},
|
|
94
|
+
"devDependencies": {
|
|
95
|
+
"@happy-dom/global-registrator": "catalog:",
|
|
96
|
+
"@reduxjs/toolkit": "catalog:",
|
|
97
|
+
"@size-limit/preset-small-lib": "catalog:",
|
|
98
|
+
"@tanstack/react-query": "catalog:",
|
|
99
|
+
"@testing-library/dom": "catalog:",
|
|
100
|
+
"@testing-library/react": "catalog:",
|
|
101
|
+
"@types/bun": "catalog:",
|
|
102
|
+
"@types/lodash": "catalog:",
|
|
103
|
+
"@types/react": "catalog:",
|
|
104
|
+
"@types/react-dom": "catalog:",
|
|
105
|
+
"@venizia/dev-configs": "catalog:",
|
|
106
|
+
"@venizia/ignis-filter": "^0.2.0-7",
|
|
107
|
+
"@venizia/ignis-inversion": "^0.2.0-7",
|
|
108
|
+
"eslint": "catalog:",
|
|
109
|
+
"prettier": "catalog:",
|
|
110
|
+
"ra-core": "catalog:",
|
|
111
|
+
"react": "catalog:",
|
|
112
|
+
"react-dom": "catalog:",
|
|
113
|
+
"react-redux": "catalog:",
|
|
114
|
+
"react-router-dom": "catalog:",
|
|
115
|
+
"reflect-metadata": "catalog:",
|
|
116
|
+
"size-limit": "catalog:",
|
|
117
|
+
"tsc-alias": "catalog:",
|
|
118
|
+
"typescript": "catalog:"
|
|
119
|
+
},
|
|
120
|
+
"size-limit": [
|
|
121
|
+
{
|
|
122
|
+
"path": "dist/index.js",
|
|
123
|
+
"import": "*",
|
|
124
|
+
"ignore": [
|
|
125
|
+
"@reduxjs/toolkit",
|
|
126
|
+
"@tanstack/react-query",
|
|
127
|
+
"@venizia/ardor-kernel",
|
|
128
|
+
"@venizia/ardor-react",
|
|
129
|
+
"@venizia/ignis-filter",
|
|
130
|
+
"@venizia/ignis-inversion",
|
|
131
|
+
"lodash",
|
|
132
|
+
"ra-core",
|
|
133
|
+
"ra-i18n-polyglot",
|
|
134
|
+
"react",
|
|
135
|
+
"react-dom",
|
|
136
|
+
"react-redux",
|
|
137
|
+
"react-router-dom"
|
|
138
|
+
],
|
|
139
|
+
"limit": "9.7 KB"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|