Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/live-previews/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@refinedev/react-hook-form": "^5.0.0",
"@refinedev/react-router": "^2.0.0",
"@refinedev/react-table": "^6.0.0",
"@refinedev/rest": "^2.1.0",
"@refinedev/simple-rest": "^6.0.0",
"@refinedev/strapi-graphql": "^6.0.4",
"@refinedev/strapi-v4": "^7.0.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/live-previews/src/scope/common.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as ReactRouter from "react-router";
import type * as RefineCoreTypes from "@refinedev/core";
import * as RefineReactRouter from "@refinedev/react-router";
import * as RefineSimpleRest from "@refinedev/simple-rest";
import * as RefineRest from "@refinedev/rest/simple-rest";
import * as RefineReactHookForm from "@refinedev/react-hook-form";
import * as RefineReactTable from "@refinedev/react-table";
import * as ReactHookForm from "react-hook-form";
Expand Down Expand Up @@ -151,6 +152,7 @@ export const RefineCommonScope = {
},
// Data
RefineSimpleRest,
RefineRest,
// Utilities
setInitialRoutes,
setRefineProps,
Expand Down
2 changes: 2 additions & 0 deletions packages/live-previews/src/scope/map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export const packageMap: Record<string, string> = {
"@refinedev/mantine": "RefineMantine",
"@refinedev/chakra-ui": "RefineChakra",
"@refinedev/simple-rest": "RefineSimpleRest",
"@refinedev/rest/simple-rest": "RefineRest",
"@refinedev/react-hook-form": "RefineReactHookForm",
"@refinedev/react-table": "RefineReactTable",
"@refinedev/inferencer/antd": "RefineAntdInferencer",
Expand Down Expand Up @@ -66,4 +67,5 @@ export const packageScopeMap: Record<string, RegExp> = {
"@mui/material": /@mui\/material\/(.*)/,
"@mui/icons-material": /@mui\/icons-material\/(.*)/,
"@mui/x-data-grid": /@mui\/x-data-grid\/(.*)/,
"@refinedev/rest/simple-rest": /@refinedev\/rest\/simple-rest\/(.*)/,
};
7 changes: 7 additions & 0 deletions packages/live-previews/src/scope/refine-rest.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import * as RefineRest from "@refinedev/rest/simple-rest";

const RefineRestScope = {
RefineRest,
};

export default RefineRestScope;
13 changes: 8 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.