adminforth 1.3.26 → 1.3.27
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/auth.ts +0 -1
- package/modules/operationalResource.ts +1 -2
- package/modules/restApi.ts +0 -2
- package/package.json +1 -1
- package/types/AdminForthConfig.ts +0 -1
package/auth.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IAdminForthFilter, IAdminForthSort, IOperationalResource, IAdminForthDataSourceConnectorBase, AdminForthResource, IAdminForth } from '../types/AdminForthConfig.js';
|
|
1
|
+
import { IAdminForthFilter, IAdminForthSort, IOperationalResource, IAdminForthDataSourceConnectorBase, AdminForthResource } from '../types/AdminForthConfig.js';
|
|
3
2
|
|
|
4
3
|
|
|
5
4
|
function filtersIfFilter(filter: IAdminForthFilter | IAdminForthFilter[] | undefined): IAdminForthFilter[] {
|
package/modules/restApi.ts
CHANGED
|
@@ -362,8 +362,6 @@ export default class AdminForthRestAPI {
|
|
|
362
362
|
}
|
|
363
363
|
const { limit, offset, filters, sort } = body;
|
|
364
364
|
|
|
365
|
-
|
|
366
|
-
|
|
367
365
|
for (const filter of (filters || [])) {
|
|
368
366
|
if (!Object.values(AdminForthFilterOperators).includes(filter.operator)) {
|
|
369
367
|
throw new Error(`Operator '${filter.operator}' is not allowed`);
|
package/package.json
CHANGED