Sync built files (#17379)

as title, upload built files to local storage

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
martmull
2026-01-23 13:43:53 +01:00
committed by GitHub
parent 30620c79fd
commit 0091ef5f6c
134 changed files with 1051 additions and 416 deletions
@@ -1,4 +1,4 @@
import { convertToLabel } from '@/cli/utilities/entity/utils/entity-label';
import { convertToLabel } from '@/cli/utilities/entity/entity-label';
describe('convertToLabel', () => {
it('should convert to label', () => {
@@ -1,4 +1,4 @@
import { getFrontComponentBaseFile } from '@/cli/utilities/entity/utils/entity-front-component-template';
import { getFrontComponentBaseFile } from '@/cli/utilities/entity/entity-front-component-template';
describe('getFrontComponentBaseFile', () => {
it('should render proper file using defineFrontComponent', () => {
@@ -1,4 +1,4 @@
import { getFunctionBaseFile } from '@/cli/utilities/entity/utils/entity-function-template';
import { getFunctionBaseFile } from '@/cli/utilities/entity/entity-function-template';
describe('getFunctionBaseFile', () => {
it('should render proper file using defineFunction', () => {
@@ -1,4 +1,4 @@
import { getNewObjectFileContent } from '@/cli/utilities/entity/utils/entity-object-template';
import { getNewObjectFileContent } from '@/cli/utilities/entity/entity-object-template';
describe('getNewObjectFileContent', () => {
it('should return proper object file using defineObject', () => {
@@ -1,4 +1,4 @@
import { getRoleBaseFile } from '@/cli/utilities/entity/utils/entity-role-template';
import { getRoleBaseFile } from '@/cli/utilities/entity/entity-role-template';
describe('getRoleBaseFile', () => {
it('should render proper file using defineRole', () => {
@@ -11,11 +11,9 @@ describe('getRoleBaseFile', () => {
expect(result).toContain('export default defineRole({');
expect(result).toContain(
"universalIdentifier: MY_ROLE_ROLE_UNIVERSAL_IDENTIFIER",
);
expect(result).toContain(
"'71e45a58-41da-4ae4-8b73-a543c0a9d3d4'",
'universalIdentifier: MY_ROLE_ROLE_UNIVERSAL_IDENTIFIER',
);
expect(result).toContain("'71e45a58-41da-4ae4-8b73-a543c0a9d3d4'");
expect(result).toContain("label: 'my-role'");
expect(result).toContain("description: 'Add a description for your role'");
@@ -48,7 +46,9 @@ describe('getRoleBaseFile', () => {
name: 'admin-access',
});
expect(result).toContain('export const ADMIN_ACCESS_ROLE_UNIVERSAL_IDENTIFIER');
expect(result).toContain(
'export const ADMIN_ACCESS_ROLE_UNIVERSAL_IDENTIFIER',
);
expect(result).toContain(
'universalIdentifier: ADMIN_ACCESS_ROLE_UNIVERSAL_IDENTIFIER',
);