@newhomestar/sdk 0.7.24 → 0.7.26
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/dist/next.d.ts +2 -1
- package/package.json +1 -1
package/dist/next.d.ts
CHANGED
|
@@ -124,8 +124,9 @@ export interface NovaFgaCheckDef {
|
|
|
124
124
|
* Where to resolve object_id from in the request:
|
|
125
125
|
* 'path' → Next.js route params (e.g. params.id for /communities/:id)
|
|
126
126
|
* 'query' → URL query string param
|
|
127
|
+
* 'body' → JSON request body (for POST/PATCH endpoints where the id is in the body)
|
|
127
128
|
*/
|
|
128
|
-
object_id_from: 'path' | 'query';
|
|
129
|
+
object_id_from: 'path' | 'query' | 'body';
|
|
129
130
|
/** The param name to extract object_id from (e.g. 'id', 'community_id') */
|
|
130
131
|
object_id_param: string;
|
|
131
132
|
/** Optional tenant_id param name for multi-tenant scoped checks */
|
package/package.json
CHANGED