Skip to content

Commit 2051948

Browse files
authored
fix(jsdoc): currentUser: Update link and remove unusual whitespace (#140)
* Link to cedarjs.com instead of redwoodjs.com * Use a regular space instead of unicode character U+A0 This is what it looked like before ![image](https://github.com/user-attachments/assets/21cfd1ff-18df-44fc-a7f9-f6d6163d2524)
1 parent 44a44f1 commit 2051948

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/internal/src/generate/templates/all-currentUser.d.ts.template

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ export type InferredCurrentUser = Awaited<ReturnType<typeof getCurrentUser>>
77

88
type UndefinedRoles = {
99
/**
10-
* ⚠️ Heads-Up: This is undefined unless roles key is returned from {@link getCurrentUser()}
10+
* ⚠️ Heads-Up: This is undefined unless a roles key is returned from
11+
* {@link getCurrentUser()}
1112
*
12-
* You may take a look at https://redwoodjs.com/docs/tutorial/chapter7/rbac for a tutorial on
13-
* how to add fully-fledged RBAC (Role-based Access Control) to your database model.
13+
* You may take a look at https://cedarjs.com/docs/tutorial/chapter7/rbac for
14+
* a tutorial on how to add fully-fledged RBAC (Role-based Access Control) to
15+
* your database model.
1416
*/
1517
roles?: unknown | unknown[]
1618
}

0 commit comments

Comments
 (0)