Created
July 31, 2025 17:13
-
-
Save xavier-lc/005cf2cf3e37197e28b6514e1865f551 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/packages/core-data/src/tryit.ts b/packages/core-data/src/tryit.ts | |
new file mode 100644 | |
index 0000000000..e858f6791f | |
--- /dev/null | |
+++ b/packages/core-data/src/tryit.ts | |
@@ -0,0 +1,10 @@ | |
+/** | |
+ * Internal dependencies | |
+ */ | |
+import type { UseEntityRecordsWithPermissionsType } from './hooks'; | |
+import { unlock } from './lock-unlock'; | |
+import { privateApis } from './private-apis'; | |
+ | |
+const { useEntityRecordsWithPermissions } = unlock< { | |
+ useEntityRecordsWithPermissions: UseEntityRecordsWithPermissionsType; | |
+} >( privateApis ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment