@adminforth/clone-row 1.2.9 → 1.2.11

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/build.log CHANGED
@@ -8,5 +8,5 @@ custom/CloneRowButton.vue
8
8
  custom/CloneRowThreeDots.vue
9
9
  custom/tsconfig.json
10
10
 
11
- sent 3,612 bytes received 77 bytes 7,378.00 bytes/sec
11
+ sent 3,616 bytes received 77 bytes 7,386.00 bytes/sec
12
12
  total size is 3,322 speedup is 0.90
@@ -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
+ }
@@ -0,0 +1,4 @@
1
+ import { type PluginsCommonOptions } from "adminforth";
2
+ export interface PluginOptions extends PluginsCommonOptions {
3
+ makeCloneButtonAsQuickAction?: boolean;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/clone-row",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
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": "2.70.0",
27
+ "adminforth": "2.71.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": "^2.70.0"
33
+ "adminforth": "2.71.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. */