@ghentcdh/crouton-api 0.0.1-alpha.60 → 0.0.1-alpha.61

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/index.cjs CHANGED
@@ -773,7 +773,7 @@ var FieldInputSchema = import_zod9.z.object({
773
773
  * Supports dynamic default tokens evaluated at form-open time:
774
774
  * - `"$now"` — current datetime ISO string
775
775
  * - `"$today"` — current date ISO string (date only, e.g. `"2025-03-14"`)
776
- * - `"$user.id"` — current user id (requires `user` on `CroutonPlugin` config)
776
+ * - `"$user"` — current user object (requires `defaults: { '$user': ... }` on `CroutonPlugin` config, or `useCrouton().setDefault('$user', ...)`)
777
777
  */
778
778
  defaultValue: import_zod9.z.unknown().optional(),
779
779
  options: import_zod9.z.union([