@refinedev/nestjsx-crud
Advanced tools
Comparing version 5.0.6 to 5.0.7
@@ -1,4 +0,4 @@ | ||
import { DataProvider } from "@refinedev/core"; | ||
import { AxiosInstance } from "axios"; | ||
import type { DataProvider } from "@refinedev/core"; | ||
import type { AxiosInstance } from "axios"; | ||
export declare const dataProvider: (apiUrl: string, httpClient?: AxiosInstance) => Required<DataProvider>; | ||
//# sourceMappingURL=provider.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import { CrudFilters, CrudFilter } from "@refinedev/core"; | ||
import { RequestQueryBuilder, SCondition } from "@nestjsx/crud-request"; | ||
import type { CrudFilters, CrudFilter } from "@refinedev/core"; | ||
import type { RequestQueryBuilder, SCondition } from "@nestjsx/crud-request"; | ||
export declare const generateSearchFilter: (filters: CrudFilters) => SCondition; | ||
@@ -4,0 +4,0 @@ export declare const createSearchQuery: (filter: CrudFilter) => SCondition; |
@@ -1,3 +0,3 @@ | ||
import { RequestQueryBuilder, QueryJoin, QueryJoinArr } from "@nestjsx/crud-request"; | ||
import type { RequestQueryBuilder, QueryJoin, QueryJoinArr } from "@nestjsx/crud-request"; | ||
export declare const handleJoin: (query: RequestQueryBuilder, join?: QueryJoin | QueryJoinArr | (QueryJoin | QueryJoinArr)[]) => RequestQueryBuilder; | ||
//# sourceMappingURL=handleJoin.d.ts.map |
@@ -1,4 +0,4 @@ | ||
import { RequestQueryBuilder } from "@nestjsx/crud-request"; | ||
import { Pagination } from "@refinedev/core"; | ||
import type { RequestQueryBuilder } from "@nestjsx/crud-request"; | ||
import type { Pagination } from "@refinedev/core"; | ||
export declare const handlePagination: (query: RequestQueryBuilder, pagination?: Pagination) => RequestQueryBuilder; | ||
//# sourceMappingURL=handlePagination.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import { RequestQueryBuilder, QuerySort, QuerySortArr } from "@nestjsx/crud-request"; | ||
import { CrudSorting } from "@refinedev/core"; | ||
import type { RequestQueryBuilder, QuerySort, QuerySortArr } from "@nestjsx/crud-request"; | ||
import type { CrudSorting } from "@refinedev/core"; | ||
export type SortBy = QuerySort | QuerySortArr | Array<QuerySort | QuerySortArr>; | ||
@@ -4,0 +4,0 @@ export declare const generateSort: (sort?: CrudSorting) => SortBy | undefined; |
@@ -1,4 +0,4 @@ | ||
import { ComparisonOperator } from "@nestjsx/crud-request"; | ||
import { CrudOperators } from "@refinedev/core"; | ||
import { type ComparisonOperator } from "@nestjsx/crud-request"; | ||
import type { CrudOperators } from "@refinedev/core"; | ||
export declare const mapOperator: (operator: CrudOperators) => ComparisonOperator; | ||
//# sourceMappingURL=mapOperator.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import { HttpError } from "@refinedev/core"; | ||
import type { HttpError } from "@refinedev/core"; | ||
export declare const transformHttpError: (error: any) => HttpError; | ||
//# sourceMappingURL=transformHttpError.d.ts.map |
{ | ||
"name": "@refinedev/nestjsx-crud", | ||
"version": "5.0.6", | ||
"version": "5.0.7", | ||
"private": false, | ||
@@ -33,11 +33,2 @@ "description": "refine Nestjsx Crud data provider. refine is a React-based framework for building internal tools, rapidly. It ships with Ant Design System, an enterprise-level UI toolkit.", | ||
], | ||
"scripts": { | ||
"attw": "attw --pack .", | ||
"build": "tsup", | ||
"dev": "tsup --watch", | ||
"prepare": "npm run build", | ||
"publint": "publint --strict=true --level=suggestion", | ||
"test": "jest --passWithNoTests --runInBand", | ||
"types": "node ../shared/generate-declarations.js" | ||
}, | ||
"dependencies": { | ||
@@ -50,4 +41,4 @@ "@nestjsx/crud-request": "^5.0.0-alpha.3", | ||
"@esbuild-plugins/node-resolve": "^0.1.4", | ||
"@refinedev/cli": "^2.16.31", | ||
"@refinedev/core": "^4.49.2", | ||
"@refinedev/cli": "^2.16.32", | ||
"@refinedev/core": "^4.50.0", | ||
"@types/jest": "^29.2.4", | ||
@@ -59,3 +50,4 @@ "jest": "^29.3.1", | ||
"tslib": "^2.6.2", | ||
"tsup": "^6.7.0" | ||
"tsup": "^6.7.0", | ||
"typescript": "^5.4.2" | ||
}, | ||
@@ -71,3 +63,10 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "829f5a516f98c06f666d6be3e6e6099c75c07719" | ||
} | ||
"scripts": { | ||
"attw": "attw --pack .", | ||
"build": "tsup && node ../shared/generate-declarations.js", | ||
"dev": "tsup --watch", | ||
"publint": "publint --strict=true --level=suggestion", | ||
"test": "jest --passWithNoTests --runInBand", | ||
"types": "node ../shared/generate-declarations.js" | ||
} | ||
} |
import { CondOperator, RequestQueryBuilder } from "@nestjsx/crud-request"; | ||
import { DataProvider, HttpError } from "@refinedev/core"; | ||
import { AxiosInstance } from "axios"; | ||
import type { DataProvider, HttpError } from "@refinedev/core"; | ||
import type { AxiosInstance } from "axios"; | ||
import { stringify } from "query-string"; | ||
@@ -5,0 +5,0 @@ import { |
@@ -1,2 +0,2 @@ | ||
import { HttpError } from "@refinedev/core"; | ||
import type { HttpError } from "@refinedev/core"; | ||
import axios from "axios"; | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { CrudFilters, CrudFilter } from "@refinedev/core"; | ||
import { RequestQueryBuilder, SCondition } from "@nestjsx/crud-request"; | ||
import type { CrudFilters, CrudFilter } from "@refinedev/core"; | ||
import type { RequestQueryBuilder, SCondition } from "@nestjsx/crud-request"; | ||
import { mapOperator } from "./mapOperator"; | ||
@@ -4,0 +4,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { | ||
import type { | ||
RequestQueryBuilder, | ||
@@ -3,0 +3,0 @@ QueryJoin, |
@@ -1,3 +0,3 @@ | ||
import { RequestQueryBuilder } from "@nestjsx/crud-request"; | ||
import { Pagination } from "@refinedev/core"; | ||
import type { RequestQueryBuilder } from "@nestjsx/crud-request"; | ||
import type { Pagination } from "@refinedev/core"; | ||
@@ -4,0 +4,0 @@ export const handlePagination = ( |
@@ -1,2 +0,2 @@ | ||
import { | ||
import type { | ||
RequestQueryBuilder, | ||
@@ -7,3 +7,3 @@ QuerySort, | ||
} from "@nestjsx/crud-request"; | ||
import { CrudSorting } from "@refinedev/core"; | ||
import type { CrudSorting } from "@refinedev/core"; | ||
@@ -10,0 +10,0 @@ export type SortBy = QuerySort | QuerySortArr | Array<QuerySort | QuerySortArr>; |
@@ -1,3 +0,3 @@ | ||
import { ComparisonOperator, CondOperator } from "@nestjsx/crud-request"; | ||
import { CrudOperators } from "@refinedev/core"; | ||
import { type ComparisonOperator, CondOperator } from "@nestjsx/crud-request"; | ||
import type { CrudOperators } from "@refinedev/core"; | ||
@@ -4,0 +4,0 @@ export const mapOperator = (operator: CrudOperators): ComparisonOperator => { |
@@ -1,2 +0,2 @@ | ||
import { HttpError } from "@refinedev/core"; | ||
import type { HttpError } from "@refinedev/core"; | ||
@@ -3,0 +3,0 @@ import { transformErrorMessages } from "./transformErrorMessages"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
83153
11