@proveanything/smartlinks 1.9.8 → 1.9.9
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/docs/API_SUMMARY.md
CHANGED
package/dist/docs/app-objects.md
CHANGED
|
@@ -576,8 +576,7 @@ const usageStats = await app.records.aggregate(collectionId, appId, {
|
|
|
576
576
|
|
|
577
577
|
## Public Create Policies
|
|
578
578
|
|
|
579
|
-
Control who can create objects on **public endpoints**
|
|
580
|
-
`sites/{collectionId}/apps/{appId}.publicCreate`
|
|
579
|
+
Control who can create objects on **public endpoints** by setting a `publicCreate` policy on your app's config. This is a `publicCreate` field inside your app config object (identified by `appId` within your collection).
|
|
581
580
|
|
|
582
581
|
### Policy Structure
|
|
583
582
|
|
|
@@ -901,7 +900,7 @@ For high-volume queries, consider:
|
|
|
901
900
|
- Filter by `status`, `recordType`, or `category` to reduce result sets
|
|
902
901
|
- Use `limit` and `offset` for pagination (max 500 per page)
|
|
903
902
|
- Use aggregations instead of fetching all records and counting client-side
|
|
904
|
-
- Index commonly filtered fields
|
|
903
|
+
- Index commonly filtered fields if you add custom indexes
|
|
905
904
|
|
|
906
905
|
### Status Conventions
|
|
907
906
|
|
package/docs/API_SUMMARY.md
CHANGED
package/docs/app-objects.md
CHANGED
|
@@ -576,8 +576,7 @@ const usageStats = await app.records.aggregate(collectionId, appId, {
|
|
|
576
576
|
|
|
577
577
|
## Public Create Policies
|
|
578
578
|
|
|
579
|
-
Control who can create objects on **public endpoints**
|
|
580
|
-
`sites/{collectionId}/apps/{appId}.publicCreate`
|
|
579
|
+
Control who can create objects on **public endpoints** by setting a `publicCreate` policy on your app's config. This is a `publicCreate` field inside your app config object (identified by `appId` within your collection).
|
|
581
580
|
|
|
582
581
|
### Policy Structure
|
|
583
582
|
|
|
@@ -901,7 +900,7 @@ For high-volume queries, consider:
|
|
|
901
900
|
- Filter by `status`, `recordType`, or `category` to reduce result sets
|
|
902
901
|
- Use `limit` and `offset` for pagination (max 500 per page)
|
|
903
902
|
- Use aggregations instead of fetching all records and counting client-side
|
|
904
|
-
- Index commonly filtered fields
|
|
903
|
+
- Index commonly filtered fields if you add custom indexes
|
|
905
904
|
|
|
906
905
|
### Status Conventions
|
|
907
906
|
|