corebasic 1.0.256 → 1.0.257

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/libs/features.ts +1 -0
  2. package/package.json +1 -1
package/libs/features.ts CHANGED
@@ -121,6 +121,7 @@ type ExpressApplication = { [Method in HttpMethod]: (path: string, handler: Expr
121
121
 
122
122
  declare global {
123
123
  type Handler<I, O, T extends keyof Schema> = (input: FeatureMessage<I, T>, req?: Req, res?: Res) => Promise<O>
124
+ type ListData<T> = { items: T[] }
124
125
 
125
126
  interface FeatureTypes {
126
127
  // "privileges.query.check": Handler<{feature: string}, {data: {granted: boolean} }>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.256",
4
+ "version": "1.0.257",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
7
7
  "types": "./index.ts",