@adminforth/list-in-place-edit 1.0.18 → 1.0.20

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
@@ -7,5 +7,5 @@ custom/
7
7
  custom/InPlaceEdit.vue
8
8
  custom/tsconfig.json
9
9
 
10
- sent 5,347 bytes received 58 bytes 10,810.00 bytes/sec
10
+ sent 5,344 bytes received 58 bytes 10,804.00 bytes/sec
11
11
  total size is 5,132 speedup is 0.95
@@ -0,0 +1,11 @@
1
+ import { AdminForthPlugin } from "adminforth";
2
+ import type { IAdminForth, IHttpServer, AdminForthResource } from "adminforth";
3
+ import type { PluginOptions } from './types.js';
4
+ export default class ListInPlaceEditPlugin 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
+ setupEndpoints(server: IHttpServer): void;
11
+ }
@@ -0,0 +1,4 @@
1
+ import { type PluginsCommonOptions } from "adminforth";
2
+ export interface PluginOptions extends PluginsCommonOptions {
3
+ columns: string[];
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/list-in-place-edit",
3
- "version": "1.0.18",
3
+ "version": "1.0.20",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  "description": "AdminForth List In Place Edit Plugin",
20
20
  "devDependencies": {
21
21
  "@types/node": "^22.10.7",
22
- "adminforth": "2.71.1",
22
+ "adminforth": "3.0.1",
23
23
  "semantic-release": "^24.2.1",
24
24
  "semantic-release-slack-bot": "^4.0.2",
25
25
  "typescript": "^5.7.3"
@@ -32,7 +32,7 @@
32
32
  "vue-i18n": "^11.1.3"
33
33
  },
34
34
  "peerDependencies": {
35
- "adminforth": "2.71.1"
35
+ "adminforth": "3.0.1"
36
36
  },
37
37
  "release": {
38
38
  "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. */