Rename Money/Url to Currency/Link and remove snake_case from composite fields (#2536)

* Rename Money/Url to Currency/Link

* regenerate front types

* renaming money/url field types

* fix double text

* fix tests

* fix server tests

* fix generate-target-column-map

* fix currency convert

* fix: tests

---------

Co-authored-by: Jérémy Magrin <jeremy.magrin@gmail.com>
This commit is contained in:
Weiko
2023-11-17 10:31:17 +01:00
committed by GitHub
parent 31e439681c
commit bc579d64a6
56 changed files with 579 additions and 512 deletions

View File

@ -221,7 +221,7 @@ export type CreateRelationInput = {
toObjectMetadataId: Scalars['String']['input'];
};
export enum Currency {
export enum CurrencyCode {
Aed = 'AED',
Afn = 'AFN',
All = 'ALL',
@ -457,16 +457,16 @@ export type FieldDeleteResponse = {
/** Type of the field */
export enum FieldMetadataType {
Boolean = 'BOOLEAN',
Currency = 'CURRENCY',
Date = 'DATE',
Email = 'EMAIL',
Enum = 'ENUM',
Money = 'MONEY',
Link = 'LINK',
Number = 'NUMBER',
Phone = 'PHONE',
Probability = 'PROBABILITY',
Relation = 'RELATION',
Text = 'TEXT',
Url = 'URL',
Uuid = 'UUID'
}
@ -608,7 +608,7 @@ export type Person = {
export type Pipeline = {
__typename?: 'Pipeline';
createdAt: Scalars['DateTime']['output'];
currency: Currency;
currency: CurrencyCode;
icon: Scalars['String']['output'];
id: Scalars['ID']['output'];
name: Scalars['String']['output'];