@@ -176,7 +176,7 @@ export function applyRelativeLinkReplacements(contents) {
176176function getCatchAllReplacements ( ) {
177177 return [
178178 {
179- pattern : / (?< ! [ ` [ \] ] ) \b C l e r k A P I R e s p o n s e E r r o r \b (? ! [ \] \( ] ) / g,
179+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? C l e r k A P I R e s p o n s e E r r o r ` ? (? ! [ \] \w ` ] ) / g,
180180 replace : '[ClerkAPIResponseError](/docs/reference/types/clerk-api-response-error)' ,
181181 } ,
182182 {
@@ -204,7 +204,7 @@ function getCatchAllReplacements() {
204204 replace : '[ExternalAccountResource](/docs/reference/types/external-account)' ,
205205 } ,
206206 {
207- pattern : / (?< ! [ # ] ) ` L o a d e d C l e r k ` / g,
207+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? L o a d e d C l e r k ` ? (? ! [ \] \w ` ] ) / g,
208208 replace : '[Clerk](/docs/reference/objects/clerk)' ,
209209 } ,
210210 {
@@ -230,7 +230,7 @@ function getCatchAllReplacements() {
230230 replace : '[SessionStatusClaim](/docs/reference/types/session-status)' ,
231231 } ,
232232 {
233- pattern : / (?< ! [ ` # [ \] ] ) \b S e t A c t i v e P a r a m s \b (? ! [ \] \( ] ) / g,
233+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? S e t A c t i v e P a r a m s ` ? (? ! [ \] \w ` ] ) / g,
234234 replace : '[SetActiveParams](/docs/reference/types/set-active-params)' ,
235235 } ,
236236 {
@@ -258,11 +258,11 @@ function getCatchAllReplacements() {
258258 replace : '[SignedInSessionResource](/docs/reference/objects/session)' ,
259259 } ,
260260 {
261- pattern : / (?< ! [ # ] ) ` S i g n I n R e d i r e c t O p t i o n s ` / g,
261+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? S i g n I n R e d i r e c t O p t i o n s ` ? (? ! [ \] \w ` ] ) / g,
262262 replace : '[SignInRedirectOptions](/docs/reference/types/sign-in-redirect-options)' ,
263263 } ,
264264 {
265- pattern : / (?< ! [ # ] ) ` S i g n U p R e d i r e c t O p t i o n s ` / g,
265+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? S i g n U p R e d i r e c t O p t i o n s ` ? (? ! [ \] \w ` ] ) / g,
266266 replace : '[SignUpRedirectOptions](/docs/reference/types/sign-up-redirect-options)' ,
267267 } ,
268268 {
@@ -274,15 +274,15 @@ function getCatchAllReplacements() {
274274 replace : '[SignUpVerificationResource](/docs/reference/types/sign-up-verification-resource)' ,
275275 } ,
276276 {
277- pattern : / (?< ! [ # ] ) ` S i g n U p U n s a f e M e t a d a t a ` / g,
277+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? S i g n U p U n s a f e M e t a d a t a ` ? (? ! [ \] \w ` ] ) / g,
278278 replace : '[SignUpUnsafeMetadata](/docs/reference/types/metadata#sign-up-unsafe-metadata)' ,
279279 } ,
280280 {
281281 pattern : / (?< ! [ \[ \w ` # ] ) ` ? S i g n U p F u t u r e R e s o u r c e ` ? (? ! [ \] \w ` ] ) / g,
282282 replace : '[SignUpFutureResource](/docs/reference/objects/sign-up-future)' ,
283283 } ,
284284 {
285- pattern : / (?< ! [ # ] ) ` T a s k s R e d i r e c t O p t i o n s ` / g,
285+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? T a s k s R e d i r e c t O p t i o n s ` ? (? ! [ \] \w ` ] ) / g,
286286 replace : '[TasksRedirectOptions](/docs/reference/types/redirect-options)' ,
287287 } ,
288288 {
@@ -294,30 +294,30 @@ function getCatchAllReplacements() {
294294 replace : '[OrganizationResource](/docs/reference/objects/organization)' ,
295295 } ,
296296 {
297- pattern : / (?< ! [ # ] ) ` O r g a n i z a t i o n P r i v a t e M e t a d a t a ` / g,
297+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? O r g a n i z a t i o n P r i v a t e M e t a d a t a ` ? (? ! [ \] \w ` ] ) / g,
298298 replace : '[OrganizationPrivateMetadata](/docs/reference/types/metadata#organization-private-metadata)' ,
299299 } ,
300300 {
301- pattern : / (?< ! [ # ] ) ` O r g a n i z a t i o n P u b l i c M e t a d a t a ` / g,
301+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? O r g a n i z a t i o n P u b l i c M e t a d a t a ` ? (? ! [ \] \w ` ] ) / g,
302302 replace : '[OrganizationPublicMetadata](/docs/reference/types/metadata#organization-public-metadata)' ,
303303 } ,
304304 {
305- pattern : / (?< ! [ # ] ) ` O r g a n i z a t i o n I n v i t a t i o n P r i v a t e M e t a d a t a ` / g,
305+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? O r g a n i z a t i o n I n v i t a t i o n P r i v a t e M e t a d a t a ` ? (? ! [ \] \w ` ] ) / g,
306306 replace :
307307 '[OrganizationInvitationPrivateMetadata](/docs/reference/types/metadata#organization-invitation-private-metadata)' ,
308308 } ,
309309 {
310- pattern : / (?< ! [ # ] ) ` O r g a n i z a t i o n I n v i t a t i o n P u b l i c M e t a d a t a ` / g,
310+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? O r g a n i z a t i o n I n v i t a t i o n P u b l i c M e t a d a t a ` ? (? ! [ \] \w ` ] ) / g,
311311 replace :
312312 '[OrganizationInvitationPublicMetadata](/docs/reference/types/metadata#organization-invitation-public-metadata)' ,
313313 } ,
314314 {
315- pattern : / (?< ! [ # ] ) ` O r g a n i z a t i o n M e m b e r s h i p P r i v a t e M e t a d a t a ` / g,
315+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? O r g a n i z a t i o n M e m b e r s h i p P r i v a t e M e t a d a t a ` ? (? ! [ \] \w ` ] ) / g,
316316 replace :
317317 '[OrganizationMembershipPrivateMetadata](/docs/reference/types/metadata#organization-membership-private-metadata)' ,
318318 } ,
319319 {
320- pattern : / (?< ! [ # ] ) ` O r g a n i z a t i o n M e m b e r s h i p P u b l i c M e t a d a t a ` / g,
320+ pattern : / (?< ! [ \[ \w ` # ] ) ` ? O r g a n i z a t i o n M e m b e r s h i p P u b l i c M e t a d a t a ` ? (? ! [ \] \w ` ] ) / g,
321321 replace :
322322 '[OrganizationMembershipPublicMetadata](/docs/reference/types/metadata#organization-membership-public-metadata)' ,
323323 } ,
@@ -335,7 +335,7 @@ function getCatchAllReplacements() {
335335 } ,
336336 {
337337 pattern : / (?< ! [ \[ \w ` # ] ) ` ? U s e r R e s o u r c e ` ? (? ! [ \] \w ` ] ) / g,
338- replace : '[` UserResource` ](/docs/reference/objects/user)' ,
338+ replace : '[UserResource](/docs/reference/objects/user)' ,
339339 } ,
340340 {
341341 pattern : / (?< ! [ \[ \w ` # ] ) ` ? L a s t A u t h e n t i c a t i o n S t r a t e g y ` ? (? ! [ \] \w ` ] ) / g,
0 commit comments