@andrewcaires/api 5.7.1 → 5.7.2
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/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @andrewcaires/api v5.7.
|
|
2
|
+
* @andrewcaires/api v5.7.2
|
|
3
3
|
* Simple api for small applications using express, jsonwebtoken, sequelize and websocket
|
|
4
4
|
* (c) 2026 Andrew Caires
|
|
5
5
|
* @license: MIT
|
|
@@ -619,8 +619,8 @@ declare class AuditsController extends ModelController<AuditModel> {
|
|
|
619
619
|
protected readonly model: typeof AuditModel;
|
|
620
620
|
protected readonly permissions: string[];
|
|
621
621
|
protected all(ctx: Context): Promise<void>;
|
|
622
|
-
protected record(ctx: Context,
|
|
623
|
-
protected get(ctx: Context): Promise<void>;
|
|
622
|
+
protected record(ctx: Context, record: string): Promise<void>;
|
|
623
|
+
protected get(ctx: Context, id: string, read: boolean): Promise<void>;
|
|
624
624
|
private ensurePermission;
|
|
625
625
|
}
|
|
626
626
|
|