create-twenty-app 2.41.0 → 2.43.0
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/cli.cjs +47 -33
- package/dist/cli.mjs +9534 -7246
- package/dist/constants/template/src/constants/universal-identifiers.ts +1 -0
- package/dist/constants/template/src/logic-functions/health-check.ts +11 -0
- package/dist/constants/template/src/page-layouts/main-page.page-layout.ts +7 -1
- package/dist/constants/template/yarn.lock +117 -261
- package/package.json +3 -2
|
@@ -2,6 +2,7 @@ export const APP_DISPLAY_NAME = 'DISPLAY-NAME-TO-BE-GENERATED';
|
|
|
2
2
|
export const APP_DESCRIPTION = 'DESCRIPTION-TO-BE-GENERATED';
|
|
3
3
|
export const APPLICATION_UNIVERSAL_IDENTIFIER = 'UUID-TO-BE-GENERATED';
|
|
4
4
|
export const DEFAULT_ROLE_UNIVERSAL_IDENTIFIER = 'UUID-TO-BE-GENERATED';
|
|
5
|
+
export const HEALTH_CHECK_UNIVERSAL_IDENTIFIER = 'UUID-TO-BE-GENERATED';
|
|
5
6
|
export const MAIN_PAGE_FRONT_COMPONENT_UNIVERSAL_IDENTIFIER =
|
|
6
7
|
'UUID-TO-BE-GENERATED';
|
|
7
8
|
export const MAIN_PAGE_LAYOUT_UNIVERSAL_IDENTIFIER = 'UUID-TO-BE-GENERATED';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defineHealthCheck } from 'twenty-sdk/define';
|
|
2
|
+
|
|
3
|
+
import { HEALTH_CHECK_UNIVERSAL_IDENTIFIER } from 'src/constants/universal-identifiers';
|
|
4
|
+
|
|
5
|
+
export default defineHealthCheck({
|
|
6
|
+
universalIdentifier: HEALTH_CHECK_UNIVERSAL_IDENTIFIER,
|
|
7
|
+
name: 'health-check',
|
|
8
|
+
handler: async () => {
|
|
9
|
+
return { status: 'OK' };
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
definePageLayout,
|
|
3
|
+
PageLayoutTabLayoutMode,
|
|
4
|
+
PageLayoutWidgetVerticalListHeightBehavior,
|
|
5
|
+
} from 'twenty-sdk/define';
|
|
2
6
|
|
|
3
7
|
import {
|
|
4
8
|
APP_DISPLAY_NAME,
|
|
@@ -27,6 +31,8 @@ export default definePageLayout({
|
|
|
27
31
|
position: {
|
|
28
32
|
layoutMode: PageLayoutTabLayoutMode.VERTICAL_LIST,
|
|
29
33
|
index: 0,
|
|
34
|
+
heightBehavior:
|
|
35
|
+
PageLayoutWidgetVerticalListHeightBehavior.TAB_VIEWPORT,
|
|
30
36
|
},
|
|
31
37
|
configuration: {
|
|
32
38
|
configurationType: 'FRONT_COMPONENT',
|