@ph-cms/client-sdk 0.1.15 → 0.1.16
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/bin/cli.js +6 -0
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -59,6 +59,12 @@ const { data: terms } = useChannelTerms();
|
|
|
59
59
|
const { mutate: agree } = useAgreeTerms();
|
|
60
60
|
\`\`\`
|
|
61
61
|
|
|
62
|
+
## 📚 Detailed Documentation
|
|
63
|
+
For the complete API reference, advanced configuration, and comprehensive examples, always refer to the full documentation:
|
|
64
|
+
- **Location**: \`node_modules/@ph-cms/client-sdk/README.md\`
|
|
65
|
+
|
|
66
|
+
If you need specific details about a module (e.g., \`ContentModule\`, \`AuthModule\`), read that file to ensure correct parameter usage.
|
|
67
|
+
|
|
62
68
|
## ⚠️ Common Pitfalls
|
|
63
69
|
- **Manual channelUid passing**: Avoid \`useContentList({ channelUid: '...', ... })\` unless necessary. Rely on the provider.
|
|
64
70
|
- **Hook-less API calls**: When using \`client.content.list()\` directly, you MUST provide \`channelUid\` in the params as there is no context available.
|