adminforth 1.3.57-next.13 → 1.3.57-next.15
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/basePlugin.d.ts +1 -1
- package/dist/basePlugin.d.ts.map +1 -1
- package/dist/dataConnectors/baseConnector.d.ts +2 -1
- package/dist/dataConnectors/baseConnector.d.ts.map +1 -1
- package/dist/dataConnectors/baseConnector.js +1 -1
- package/dist/dataConnectors/baseConnector.js.map +1 -1
- package/dist/dataConnectors/clickhouse.d.ts +2 -1
- package/dist/dataConnectors/clickhouse.d.ts.map +1 -1
- package/dist/dataConnectors/clickhouse.js +1 -1
- package/dist/dataConnectors/clickhouse.js.map +1 -1
- package/dist/dataConnectors/mongo.d.ts +2 -1
- package/dist/dataConnectors/mongo.d.ts.map +1 -1
- package/dist/dataConnectors/mongo.js +1 -1
- package/dist/dataConnectors/mongo.js.map +1 -1
- package/dist/dataConnectors/postgres.d.ts +2 -1
- package/dist/dataConnectors/postgres.d.ts.map +1 -1
- package/dist/dataConnectors/postgres.js +1 -1
- package/dist/dataConnectors/postgres.js.map +1 -1
- package/dist/dataConnectors/sqlite.d.ts +1 -1
- package/dist/dataConnectors/sqlite.d.ts.map +1 -1
- package/dist/dataConnectors/sqlite.js +1 -1
- package/dist/dataConnectors/sqlite.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/modules/codeInjector.d.ts +1 -1
- package/dist/modules/codeInjector.d.ts.map +1 -1
- package/dist/modules/configValidator.d.ts +2 -1
- package/dist/modules/configValidator.d.ts.map +1 -1
- package/dist/modules/configValidator.js +1 -2
- package/dist/modules/configValidator.js.map +1 -1
- package/dist/modules/operationalResource.d.ts +1 -1
- package/dist/modules/operationalResource.d.ts.map +1 -1
- package/dist/modules/restApi.d.ts +2 -1
- package/dist/modules/restApi.d.ts.map +1 -1
- package/dist/modules/restApi.js +1 -1
- package/dist/modules/restApi.js.map +1 -1
- package/dist/servers/express.d.ts +1 -1
- package/dist/servers/express.d.ts.map +1 -1
- package/dist/spa/src/composables/useStores.ts +2 -3
- package/dist/spa/src/types/Back.ts +1181 -0
- package/dist/spa/src/types/Common.ts +702 -0
- package/dist/spa/src/types/Commons.ts +702 -0
- package/dist/spa/src/types/FrontAndBack.ts +698 -0
- package/dist/spa/src/types/FrontendAPI.ts +3 -3
- package/dist/spa/src/views/ListView.vue +11 -11
- package/dist/types/Back.d.ts +1083 -0
- package/dist/types/Back.d.ts.map +1 -0
- package/dist/types/Back.js +86 -0
- package/dist/types/Back.js.map +1 -0
- package/dist/types/Common.d.ts +616 -0
- package/dist/types/Common.d.ts.map +1 -0
- package/dist/types/Common.js +65 -0
- package/dist/types/Common.js.map +1 -0
- package/dist/types/Commons.d.ts +616 -0
- package/dist/types/Commons.d.ts.map +1 -0
- package/dist/types/Commons.js +65 -0
- package/dist/types/Commons.js.map +1 -0
- package/dist/types/FrontAndBack.d.ts +613 -0
- package/dist/types/FrontAndBack.d.ts.map +1 -0
- package/dist/types/FrontAndBack.js +62 -0
- package/dist/types/FrontAndBack.js.map +1 -0
- package/dist/types/FrontendAPI.d.ts +9 -0
- package/dist/types/FrontendAPI.d.ts.map +1 -1
- package/package.json +5 -3
|
@@ -35,14 +35,23 @@ export interface FrontendAPIInterface {
|
|
|
35
35
|
/**
|
|
36
36
|
* Full refresh the list. Loader will be shown during fetching data. Will fully reload table data from the server. If new data available, it will be shown in the list.
|
|
37
37
|
*/
|
|
38
|
+
refresh(): Promise<{
|
|
39
|
+
error?: string;
|
|
40
|
+
}>;
|
|
38
41
|
/**
|
|
39
42
|
* Silently Refresh existing rows in the list (without loader).
|
|
40
43
|
* Should be called when table data already loaded, otherwise method will return an error.
|
|
41
44
|
* If new data available, it will not appear in the list.
|
|
42
45
|
*/
|
|
46
|
+
silentRefresh(): Promise<{
|
|
47
|
+
error?: string;
|
|
48
|
+
}>;
|
|
43
49
|
/**
|
|
44
50
|
* Refresh a specific row in the list without loader, row should be already shown in the list, otherwise method will return an error
|
|
45
51
|
*/
|
|
52
|
+
silentRefreshRow(pk: any): Promise<{
|
|
53
|
+
error?: string;
|
|
54
|
+
}>;
|
|
46
55
|
/**
|
|
47
56
|
* Close the three dots dropdown
|
|
48
57
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FrontendAPI.d.ts","sourceRoot":"","sources":["../../types/FrontendAPI.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,oBAAoB;IAEjC;;;;;;;;;;;;;;;;OAgBG;IACH,OAAO,CAAC,MAAM,EAAC,aAAa,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,MAAM,EAAC,WAAW,GAAG,IAAI,CAAC;IAGhC,IAAI,EAAE;QAEF;;WAEG;
|
|
1
|
+
{"version":3,"file":"FrontendAPI.d.ts","sourceRoot":"","sources":["../../types/FrontendAPI.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,oBAAoB;IAEjC;;;;;;;;;;;;;;;;OAgBG;IACH,OAAO,CAAC,MAAM,EAAC,aAAa,GAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE9C;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,MAAM,EAAC,WAAW,GAAG,IAAI,CAAC;IAGhC,IAAI,EAAE;QAEF;;WAEG;QACH,OAAO,IAAI,OAAO,CAAC;YAAE,KAAK,CAAC,EAAG,MAAM,CAAA;SAAE,CAAC,CAAC;QAExC;;;;WAIG;QACH,aAAa,IAAI,OAAO,CAAC;YAAE,KAAK,CAAC,EAAG,MAAM,CAAA;SAAE,CAAC,CAAC;QAE9C;;WAEG;QACH,gBAAgB,CAAE,EAAE,EAAE,GAAG,GAAG,OAAO,CAAC;YAAE,KAAK,CAAC,EAAG,MAAM,CAAA;SAAE,CAAC,CAAC;QAEzD;;WAEG;QACH,sBAAsB,IAAI,IAAI,CAAC;QAE/B;;WAEG;QACH,qBAAqB,IAAI,IAAI,CAAC;QAE9B;;;;;;;;;;;;WAYG;QACH,SAAS,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI,CAAC;QAE7B;;;;;;;;;;WAUG;QACH,YAAY,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI,CAAC;QAEhC;;WAEG;QACH,YAAY,IAAI,IAAI,CAAC;KACxB,CAAA;CACJ;AAED,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CAEf,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,MAAM,OAAO,YAAY,CAAC;IAEnD;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;CAElC,CAAA;AAID,oBAAY,YAAY;IACpB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "adminforth",
|
|
3
|
-
"version": "1.3.57-next.
|
|
3
|
+
"version": "1.3.57-next.15",
|
|
4
4
|
"description": "OpenSource Vue3 powered forth-generation admin panel",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -11,14 +11,15 @@
|
|
|
11
11
|
"scripts": {
|
|
12
12
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
13
13
|
"build": "npm run prepareDist && tsc",
|
|
14
|
-
"--comment": "to
|
|
14
|
+
"--comment": "to supply the spa without symlinks which allows to not include source code in the package",
|
|
15
15
|
"prepareDist": "cp -rL spa dist/",
|
|
16
16
|
"put-git-tag": "git tag v$(node -p \"require('./package.json').version\") && git push --tags",
|
|
17
17
|
"rollout": "npm run build && npm version patch && npm publish && npm run rollout-doc && npm run put-git-tag",
|
|
18
18
|
"rollout-next": "npm run build && npm version prerelease --preid=next && npm publish --tag next && npm run put-git-tag",
|
|
19
19
|
"rollout-doc": "cd documentation && npm run build && npm run deploy",
|
|
20
20
|
"docs": "typedoc",
|
|
21
|
-
"
|
|
21
|
+
"--comment_pi": "postinstall executed after package installed in other project package",
|
|
22
|
+
"postinstall": "cd ./dist/spa/src/ && test ! -d ./types && ln -sf ../../types ./types || echo 'types linked'"
|
|
22
23
|
},
|
|
23
24
|
"exports": {
|
|
24
25
|
".": {
|
|
@@ -32,6 +33,7 @@
|
|
|
32
33
|
"dependencies": {
|
|
33
34
|
"@clickhouse/client": "^1.4.0",
|
|
34
35
|
"@faker-js/faker": "^9.0.3",
|
|
36
|
+
"@types/express": "^5.0.0",
|
|
35
37
|
"better-sqlite3": "^10.0.0",
|
|
36
38
|
"dayjs": "^1.11.11",
|
|
37
39
|
"express": "^4.21.0",
|