68d509e98d
## Summary - Refresh the settings application visuals with new light/dark PNG covers for the data model card - Replace the custom and standard application carousel assets with the new provided illustrations - Align app chips, type tags, and application detail previews with the updated icon and description treatment - Keep the data model cover container and overlay button behavior intact while swapping the underlying imagery ## Testing - Not run (not requested) - Existing frontend typecheck and formatting checks were exercised during implementation --------- Co-authored-by: Charles Bochet <charles@twenty.com>
14 lines
463 B
TypeScript
14 lines
463 B
TypeScript
import { TWENTY_STANDARD_APPLICATION_UNIVERSAL_IDENTIFIER } from 'twenty-shared/application';
|
|
import { isDefined } from 'twenty-shared/utils';
|
|
|
|
type ApplicationLike = {
|
|
universalIdentifier?: string | null;
|
|
};
|
|
|
|
export const isTwentyStandardApplication = (
|
|
application: ApplicationLike | null | undefined,
|
|
): boolean =>
|
|
isDefined(application?.universalIdentifier) &&
|
|
application.universalIdentifier ===
|
|
TWENTY_STANDARD_APPLICATION_UNIVERSAL_IDENTIFIER;
|