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.
- package/libs/features.ts +1 -0
- 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} }>
|