@adminforth/clone-row 1.2.10 → 1.2.12
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/index.d.ts +10 -0
- package/dist/types.d.ts +4 -0
- package/package.json +3 -3
- package/tsconfig.json +1 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AdminForthPlugin } from "adminforth";
|
|
2
|
+
import type { IAdminForth, AdminForthResource } from "adminforth";
|
|
3
|
+
import type { PluginOptions } from './types.js';
|
|
4
|
+
export default class extends AdminForthPlugin {
|
|
5
|
+
options: PluginOptions;
|
|
6
|
+
constructor(options: PluginOptions);
|
|
7
|
+
modifyResourceConfig(adminforth: IAdminForth, resourceConfig: AdminForthResource): Promise<void>;
|
|
8
|
+
validateConfigAfterDiscover(adminforth: IAdminForth, resourceConfig: AdminForthResource): void;
|
|
9
|
+
instanceUniqueRepresentation(pluginOptions: any): string;
|
|
10
|
+
}
|
package/dist/types.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adminforth/clone-row",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
"description": "Record cloning plugin for AdminForth with one-click row duplication",
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "latest",
|
|
27
|
-
"adminforth": "
|
|
27
|
+
"adminforth": "3.0.1",
|
|
28
28
|
"semantic-release": "^24.2.1",
|
|
29
29
|
"semantic-release-slack-bot": "^4.0.2",
|
|
30
30
|
"typescript": "^5.7.3"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"adminforth": "
|
|
33
|
+
"adminforth": "3.0.1"
|
|
34
34
|
},
|
|
35
35
|
"release": {
|
|
36
36
|
"plugins": [
|
package/tsconfig.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include*/
|
|
4
4
|
"module": "node16", /* Specify what module code is generated. */
|
|
5
|
+
"declaration": true,
|
|
5
6
|
"outDir": "./dist", /* Specify an output folder for all emitted files. */
|
|
6
7
|
"esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. */
|
|
7
8
|
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|