Move capitalize into twenty-shared (#9414)
capitalize had been moved into twenty-shared. Let's remove the duplicates in server and front !
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type CreateManyOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type CreateOneOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type DeleteManyOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type DeleteOneOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type DestroyManyOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type DestroyOneOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type FindManyOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type FindOneOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type UpdateManyOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import gql from 'graphql-tag';
|
||||
|
||||
import { capitalize } from 'src/utils/capitalize';
|
||||
import { capitalize } from 'twenty-shared';
|
||||
|
||||
type UpdateOneOperationFactoryParams = {
|
||||
objectMetadataSingularName: string;
|
||||
|
||||
Reference in New Issue
Block a user