Skip to content

utils/case ​

Overview ​

Memoized case-conversion utilities for deriving route parts, CRUD names, and display titles from app and model names.

Properties ​

getAppModelDotName ​

Get the app model dot name for a given app and model.

Type: any

Source: client/lib/utils/case.js:95

getAppModelViewDotName ​

Get the app model view dot name for a given app, model, and view. Keys for one model are the getAppModelDotName() key alone or followed by "-", so filter them with startsWith() on that key plus "-", not on the bare key, which also matches models with longer names.

Type: any

Source: client/lib/utils/case.js:114

getClientPkRoutePart ​

Get the primary key route part in camelCase for a given model.

Type: any

Source: client/lib/utils/case.js:61

getClientRoutePart ​

Get the client route part in snake_case for a given model.

Type: any

Source: client/lib/utils/case.js:41

getCRUDName ​

Get the CRUD name for a given model and view.

Type: any

Source: client/lib/utils/case.js:130

getLowerTitle ​

Get the lower case title for a given model.

Type: any

Source: client/lib/utils/case.js:51

getNormalizedKey ​

Get the normalized key (lowercase without spaces) for a given app, model or view identifier.

Type: any

Source: client/lib/utils/case.js:83

getPascalCaseName ​

Get the PascalCase name for a given model. This is useful for generating class names or file names in PascalCase format.

Type: any

Source: client/lib/utils/case.js:31

getPluralizedTitle ​

Get the pluralized title for a given model.

Type: any

Source: client/lib/utils/case.js:71

getServerActionName ​

Converts a dashed URL name to an underscored action name and returns it.

Type: any

Source: client/lib/utils/case.js:145

getServerRoutePart ​

Get the server route app part in snake_case for a given app. This is useful for generating server routes in snake_case format, for use in VUEDA urls.

Type: any

Source: client/lib/utils/case.js:20

memoizedSnakeCase ​

For turning various dev_strs or DevStrs or devStrs into a human-readable titles (Dev Strs).

Type: any

Source: client/lib/utils/case.js:160

memoizedStartCase ​

For turning various dev_strs or DevStrs or devStrs into a human-readable titles (Dev Strs).

Type: any

Source: client/lib/utils/case.js:153

Source ​

client/lib/utils/case.js:1