chore: update codegen config for enum naming convention (#9751)
Co-authored-by: etiennejouan <jouan.etienne@gmail.com>
This commit is contained in:
@ -117,8 +117,8 @@ export type Billing = {
|
||||
|
||||
/** The different billing plans available */
|
||||
export enum BillingPlanKey {
|
||||
Enterprise = 'ENTERPRISE',
|
||||
Pro = 'PRO'
|
||||
ENTERPRISE = 'ENTERPRISE',
|
||||
PRO = 'PRO'
|
||||
}
|
||||
|
||||
export type BillingSubscription = {
|
||||
@ -141,7 +141,7 @@ export type BillingSubscriptionSort = {
|
||||
};
|
||||
|
||||
export enum BillingSubscriptionSortFields {
|
||||
Id = 'id'
|
||||
id = 'id'
|
||||
}
|
||||
|
||||
export type BooleanFieldComparison = {
|
||||
@ -150,8 +150,8 @@ export type BooleanFieldComparison = {
|
||||
};
|
||||
|
||||
export enum CalendarChannelVisibility {
|
||||
Metadata = 'METADATA',
|
||||
ShareEverything = 'SHARE_EVERYTHING'
|
||||
METADATA = 'METADATA',
|
||||
SHARE_EVERYTHING = 'SHARE_EVERYTHING'
|
||||
}
|
||||
|
||||
export type Captcha = {
|
||||
@ -272,10 +272,10 @@ export type DeleteWorkflowVersionStepInput = {
|
||||
|
||||
/** Schema update on a table */
|
||||
export enum DistantTableUpdate {
|
||||
ColumnsAdded = 'COLUMNS_ADDED',
|
||||
ColumnsDeleted = 'COLUMNS_DELETED',
|
||||
ColumnsTypeChanged = 'COLUMNS_TYPE_CHANGED',
|
||||
TableDeleted = 'TABLE_DELETED'
|
||||
COLUMNS_ADDED = 'COLUMNS_ADDED',
|
||||
COLUMNS_DELETED = 'COLUMNS_DELETED',
|
||||
COLUMNS_TYPE_CHANGED = 'COLUMNS_TYPE_CHANGED',
|
||||
TABLE_DELETED = 'TABLE_DELETED'
|
||||
}
|
||||
|
||||
export type EditSsoInput = {
|
||||
@ -328,7 +328,7 @@ export enum FeatureFlagKey {
|
||||
IsJsonFilterEnabled = 'IsJsonFilterEnabled',
|
||||
IsLocalizationEnabled = 'IsLocalizationEnabled',
|
||||
IsMicrosoftSyncEnabled = 'IsMicrosoftSyncEnabled',
|
||||
IsPostgreSqlIntegrationEnabled = 'IsPostgreSQLIntegrationEnabled',
|
||||
IsPostgreSQLIntegrationEnabled = 'IsPostgreSQLIntegrationEnabled',
|
||||
IsStripeIntegrationEnabled = 'IsStripeIntegrationEnabled',
|
||||
IsUniqueIndexesEnabled = 'IsUniqueIndexesEnabled',
|
||||
IsWorkflowEnabled = 'IsWorkflowEnabled'
|
||||
@ -344,29 +344,29 @@ export type FieldConnection = {
|
||||
|
||||
/** Type of the field */
|
||||
export enum FieldMetadataType {
|
||||
Actor = 'ACTOR',
|
||||
Address = 'ADDRESS',
|
||||
Array = 'ARRAY',
|
||||
Boolean = 'BOOLEAN',
|
||||
Currency = 'CURRENCY',
|
||||
Date = 'DATE',
|
||||
DateTime = 'DATE_TIME',
|
||||
Emails = 'EMAILS',
|
||||
FullName = 'FULL_NAME',
|
||||
Links = 'LINKS',
|
||||
MultiSelect = 'MULTI_SELECT',
|
||||
Number = 'NUMBER',
|
||||
Numeric = 'NUMERIC',
|
||||
Phones = 'PHONES',
|
||||
Position = 'POSITION',
|
||||
Rating = 'RATING',
|
||||
RawJson = 'RAW_JSON',
|
||||
Relation = 'RELATION',
|
||||
RichText = 'RICH_TEXT',
|
||||
Select = 'SELECT',
|
||||
Text = 'TEXT',
|
||||
TsVector = 'TS_VECTOR',
|
||||
Uuid = 'UUID'
|
||||
ACTOR = 'ACTOR',
|
||||
ADDRESS = 'ADDRESS',
|
||||
ARRAY = 'ARRAY',
|
||||
BOOLEAN = 'BOOLEAN',
|
||||
CURRENCY = 'CURRENCY',
|
||||
DATE = 'DATE',
|
||||
DATE_TIME = 'DATE_TIME',
|
||||
EMAILS = 'EMAILS',
|
||||
FULL_NAME = 'FULL_NAME',
|
||||
LINKS = 'LINKS',
|
||||
MULTI_SELECT = 'MULTI_SELECT',
|
||||
NUMBER = 'NUMBER',
|
||||
NUMERIC = 'NUMERIC',
|
||||
PHONES = 'PHONES',
|
||||
POSITION = 'POSITION',
|
||||
RATING = 'RATING',
|
||||
RAW_JSON = 'RAW_JSON',
|
||||
RELATION = 'RELATION',
|
||||
RICH_TEXT = 'RICH_TEXT',
|
||||
SELECT = 'SELECT',
|
||||
TEXT = 'TEXT',
|
||||
TS_VECTOR = 'TS_VECTOR',
|
||||
UUID = 'UUID'
|
||||
}
|
||||
|
||||
export enum FileFolder {
|
||||
@ -412,8 +412,8 @@ export type GetServerlessFunctionSourceCodeInput = {
|
||||
};
|
||||
|
||||
export enum IdentityProviderType {
|
||||
Oidc = 'OIDC',
|
||||
Saml = 'SAML'
|
||||
OIDC = 'OIDC',
|
||||
SAML = 'SAML'
|
||||
}
|
||||
|
||||
export type ImpersonateOutput = {
|
||||
@ -448,8 +448,8 @@ export type IndexObjectMetadataConnection = {
|
||||
|
||||
/** Type of the index */
|
||||
export enum IndexType {
|
||||
Btree = 'BTREE',
|
||||
Gin = 'GIN'
|
||||
BTREE = 'BTREE',
|
||||
GIN = 'GIN'
|
||||
}
|
||||
|
||||
export type InvalidatePassword = {
|
||||
@ -477,9 +477,9 @@ export type LoginToken = {
|
||||
};
|
||||
|
||||
export enum MessageChannelVisibility {
|
||||
Metadata = 'METADATA',
|
||||
ShareEverything = 'SHARE_EVERYTHING',
|
||||
Subject = 'SUBJECT'
|
||||
METADATA = 'METADATA',
|
||||
SHARE_EVERYTHING = 'SHARE_EVERYTHING',
|
||||
SUBJECT = 'SUBJECT'
|
||||
}
|
||||
|
||||
export type Mutation = {
|
||||
@ -842,12 +842,12 @@ export type ObjectIndexMetadatasConnection = {
|
||||
|
||||
/** Onboarding status */
|
||||
export enum OnboardingStatus {
|
||||
Completed = 'COMPLETED',
|
||||
InviteTeam = 'INVITE_TEAM',
|
||||
PlanRequired = 'PLAN_REQUIRED',
|
||||
ProfileCreation = 'PROFILE_CREATION',
|
||||
SyncEmail = 'SYNC_EMAIL',
|
||||
WorkspaceActivation = 'WORKSPACE_ACTIVATION'
|
||||
COMPLETED = 'COMPLETED',
|
||||
INVITE_TEAM = 'INVITE_TEAM',
|
||||
PLAN_REQUIRED = 'PLAN_REQUIRED',
|
||||
PROFILE_CREATION = 'PROFILE_CREATION',
|
||||
SYNC_EMAIL = 'SYNC_EMAIL',
|
||||
WORKSPACE_ACTIVATION = 'WORKSPACE_ACTIVATION'
|
||||
}
|
||||
|
||||
export type OnboardingStepSuccess = {
|
||||
@ -1035,18 +1035,18 @@ export type RelationDefinition = {
|
||||
|
||||
/** Relation definition type */
|
||||
export enum RelationDefinitionType {
|
||||
ManyToMany = 'MANY_TO_MANY',
|
||||
ManyToOne = 'MANY_TO_ONE',
|
||||
OneToMany = 'ONE_TO_MANY',
|
||||
OneToOne = 'ONE_TO_ONE'
|
||||
MANY_TO_MANY = 'MANY_TO_MANY',
|
||||
MANY_TO_ONE = 'MANY_TO_ONE',
|
||||
ONE_TO_MANY = 'ONE_TO_MANY',
|
||||
ONE_TO_ONE = 'ONE_TO_ONE'
|
||||
}
|
||||
|
||||
/** Type of the relation */
|
||||
export enum RelationMetadataType {
|
||||
ManyToMany = 'MANY_TO_MANY',
|
||||
ManyToOne = 'MANY_TO_ONE',
|
||||
OneToMany = 'ONE_TO_MANY',
|
||||
OneToOne = 'ONE_TO_ONE'
|
||||
MANY_TO_MANY = 'MANY_TO_MANY',
|
||||
MANY_TO_ONE = 'MANY_TO_ONE',
|
||||
ONE_TO_MANY = 'ONE_TO_MANY',
|
||||
ONE_TO_ONE = 'ONE_TO_ONE'
|
||||
}
|
||||
|
||||
export type RemoteServer = {
|
||||
@ -1073,8 +1073,8 @@ export type RemoteTable = {
|
||||
|
||||
/** Status of the table */
|
||||
export enum RemoteTableStatus {
|
||||
NotSynced = 'NOT_SYNCED',
|
||||
Synced = 'SYNCED'
|
||||
NOT_SYNCED = 'NOT_SYNCED',
|
||||
SYNCED = 'SYNCED'
|
||||
}
|
||||
|
||||
export type ResendEmailVerificationTokenOutput = {
|
||||
@ -1157,8 +1157,8 @@ export type ServerlessFunctionExecutionResult = {
|
||||
|
||||
/** Status of the serverless function execution */
|
||||
export enum ServerlessFunctionExecutionStatus {
|
||||
Error = 'ERROR',
|
||||
Success = 'SUCCESS'
|
||||
ERROR = 'ERROR',
|
||||
SUCCESS = 'SUCCESS'
|
||||
}
|
||||
|
||||
export type ServerlessFunctionIdInput = {
|
||||
@ -1168,8 +1168,8 @@ export type ServerlessFunctionIdInput = {
|
||||
|
||||
/** SyncStatus of the serverlessFunction */
|
||||
export enum ServerlessFunctionSyncStatus {
|
||||
NotReady = 'NOT_READY',
|
||||
Ready = 'READY'
|
||||
NOT_READY = 'NOT_READY',
|
||||
READY = 'READY'
|
||||
}
|
||||
|
||||
export type SessionEntity = {
|
||||
@ -1210,14 +1210,14 @@ export type SignUpOutput = {
|
||||
|
||||
/** Sort Directions */
|
||||
export enum SortDirection {
|
||||
Asc = 'ASC',
|
||||
Desc = 'DESC'
|
||||
ASC = 'ASC',
|
||||
DESC = 'DESC'
|
||||
}
|
||||
|
||||
/** Sort Nulls Options */
|
||||
export enum SortNulls {
|
||||
NullsFirst = 'NULLS_FIRST',
|
||||
NullsLast = 'NULLS_LAST'
|
||||
NULLS_FIRST = 'NULLS_FIRST',
|
||||
NULLS_LAST = 'NULLS_LAST'
|
||||
}
|
||||
|
||||
export enum SubscriptionInterval {
|
||||
@ -1611,17 +1611,17 @@ export type WorkspaceMember = {
|
||||
|
||||
/** Date format as Month first, Day first, Year first or system as default */
|
||||
export enum WorkspaceMemberDateFormatEnum {
|
||||
DayFirst = 'DAY_FIRST',
|
||||
MonthFirst = 'MONTH_FIRST',
|
||||
System = 'SYSTEM',
|
||||
YearFirst = 'YEAR_FIRST'
|
||||
DAY_FIRST = 'DAY_FIRST',
|
||||
MONTH_FIRST = 'MONTH_FIRST',
|
||||
SYSTEM = 'SYSTEM',
|
||||
YEAR_FIRST = 'YEAR_FIRST'
|
||||
}
|
||||
|
||||
/** Time time as Military, Standard or system as default */
|
||||
export enum WorkspaceMemberTimeFormatEnum {
|
||||
Hour_12 = 'HOUR_12',
|
||||
Hour_24 = 'HOUR_24',
|
||||
System = 'SYSTEM'
|
||||
HOUR_12 = 'HOUR_12',
|
||||
HOUR_24 = 'HOUR_24',
|
||||
SYSTEM = 'SYSTEM'
|
||||
}
|
||||
|
||||
export type WorkspaceNameAndId = {
|
||||
@ -1654,7 +1654,7 @@ export type BillingCustomerSort = {
|
||||
};
|
||||
|
||||
export enum BillingCustomerSortFields {
|
||||
Id = 'id'
|
||||
id = 'id'
|
||||
}
|
||||
|
||||
export type BillingEntitlement = {
|
||||
@ -1678,7 +1678,7 @@ export type BillingEntitlementSort = {
|
||||
};
|
||||
|
||||
export enum BillingEntitlementSortFields {
|
||||
Id = 'id'
|
||||
id = 'id'
|
||||
}
|
||||
|
||||
export type Field = {
|
||||
@ -4707,4 +4707,4 @@ export function useGetWorkspaceFromInviteHashLazyQuery(baseOptions?: Apollo.Lazy
|
||||
}
|
||||
export type GetWorkspaceFromInviteHashQueryHookResult = ReturnType<typeof useGetWorkspaceFromInviteHashQuery>;
|
||||
export type GetWorkspaceFromInviteHashLazyQueryHookResult = ReturnType<typeof useGetWorkspaceFromInviteHashLazyQuery>;
|
||||
export type GetWorkspaceFromInviteHashQueryResult = Apollo.QueryResult<GetWorkspaceFromInviteHashQuery, GetWorkspaceFromInviteHashQueryVariables>;
|
||||
export type GetWorkspaceFromInviteHashQueryResult = Apollo.QueryResult<GetWorkspaceFromInviteHashQuery, GetWorkspaceFromInviteHashQueryVariables>;
|
||||
Reference in New Issue
Block a user