@itrocks/list 0.0.8 → 0.0.10

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.
Files changed (2) hide show
  1. package/cjs/list.d.ts +3 -3
  2. package/package.json +2 -3
package/cjs/list.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Action } from '@itrocks/action';
2
2
  import { Request } from '@itrocks/action-request';
3
- export declare class List extends Action {
4
- html(request: Request): Promise<import("@itrocks/core-responses").HtmlResponse>;
5
- json(request: Request): Promise<import("@itrocks/core-responses").JsonResponse>;
3
+ export declare class List<T extends object = object> extends Action<T> {
4
+ html(request: Request<T>): Promise<import("@itrocks/core-responses").HtmlResponse>;
5
+ json(request: Request<T>): Promise<import("@itrocks/core-responses").JsonResponse>;
6
6
  }
package/package.json CHANGED
@@ -60,9 +60,8 @@
60
60
  "build": "npm run build:cjs && npm run build:css && npm run build:front",
61
61
  "build:cjs": "tsc -p tsconfig.cjs.json && cp src/*.html cjs/",
62
62
  "build:css": "sass --no-source-map src/list.scss:list.css",
63
- "build:front": "tsc -p esm/tsconfig.json && npm run prepare",
64
- "prepare": "prepare-module esm"
63
+ "build:front": "tsc -p esm/tsconfig.json && ../prepare-module/prepare-module.js esm"
65
64
  },
66
65
  "types": "./cjs/list.d.ts",
67
- "version": "0.0.8"
66
+ "version": "0.0.10"
68
67
  }