From c434d1edb5c9101b931f01b06a9fbe3c8dc3e63c Mon Sep 17 00:00:00 2001 From: "gitstart-app[bot]" <57568882+gitstart-app[bot]@users.noreply.github.com> Date: Sat, 24 Feb 2024 15:06:51 +0100 Subject: [PATCH] TWNTY-3968 - Fix and enhance storybook:pages tests (#4072) * Fix and enhance storybook:pages tests Co-authored-by: Thiago Nascimbeni * Fix and enhance storybook:pages tests Co-authored-by: v1b3m Co-authored-by: Thiago Nascimbeni * Add minor refactors Co-authored-by: v1b3m Co-authored-by: Thiago Nascimbeni * Revert temporary changes Co-authored-by: v1b3m Co-authored-by: Thiago Nascimbeni * Fix tests * Fix tests duplicated locale --------- Co-authored-by: gitstart-twenty Co-authored-by: Thiago Nascimbeni Co-authored-by: v1b3m Co-authored-by: Charles Bochet --- packages/twenty-front/nyc.config.cjs | 2 +- packages/twenty-front/package.json | 2 +- .../accounts/constants/ianaTimeZones.ts | 1 - .../__stories__/PasswordResert.stories.tsx | 46 ++ .../__stories__/RecordShowPage.stories.tsx | 90 ++++ .../__stories__/SettingsAccounts.stories.tsx | 9 +- ...ngsAccountsEmailsInboxSettings.stories.tsx | 78 +++ .../__stories__/SettingsNewObject.stories.tsx | 15 +- .../SettingsObjectNewFieldStep1.stories.tsx | 11 +- .../SettingsObjectNewFieldStep2.stories.tsx | 23 +- ...ettingsDevelopersApiKeysDetail.stories.tsx | 8 +- .../SettingsDevelopersApiKeysNew.stories.tsx | 20 +- ...ttingsDevelopersWebhooksDetail.stories.tsx | 55 +++ .../SettingsDevelopersWebhooksNew.stories.tsx | 32 ++ .../src/testing/mock-data/metadata.ts | 459 +++++++++--------- 15 files changed, 605 insertions(+), 246 deletions(-) create mode 100644 packages/twenty-front/src/pages/auth/__stories__/PasswordResert.stories.tsx create mode 100644 packages/twenty-front/src/pages/object-record/__stories__/RecordShowPage.stories.tsx create mode 100644 packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsEmailsInboxSettings.stories.tsx create mode 100644 packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersWebhooksDetail.stories.tsx create mode 100644 packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersWebhooksNew.stories.tsx diff --git a/packages/twenty-front/nyc.config.cjs b/packages/twenty-front/nyc.config.cjs index a6175cb9c..9ed6d6da5 100644 --- a/packages/twenty-front/nyc.config.cjs +++ b/packages/twenty-front/nyc.config.cjs @@ -16,7 +16,7 @@ const pagesCoverage = { statements: 50, lines: 50, functions: 45, - exclude: ['src/generated/**/*', 'src/modules/**/*'], + exclude: ['src/generated/**/*', 'src/modules/**/*', '*.ts'], }; const storybookStoriesFolders = process.env.STORYBOOK_SCOPE; diff --git a/packages/twenty-front/package.json b/packages/twenty-front/package.json index 0b26d90e9..99a403fca 100644 --- a/packages/twenty-front/package.json +++ b/packages/twenty-front/package.json @@ -32,7 +32,7 @@ "storybook:test": "test-storybook", "storybook:test-slow": "test-storybook --maxWorkers=3", "storybook:test-single-worker": "test-storybook --maxWorkers=1", - "storybook:coverage": "yarn storybook:test-slow --coverage && npx nyc report --reporter=lcov -t coverage/storybook --report-dir coverage/storybook --check-coverage", + "storybook:coverage": "yarn storybook:test-slow --coverage ; npx nyc report --reporter=lcov -t coverage/storybook --report-dir coverage/storybook --check-coverage", "storybook:modules:coverage": "STORYBOOK_SCOPE=modules yarn storybook:coverage", "storybook:pages:coverage": "STORYBOOK_SCOPE=pages yarn storybook:coverage", "graphql:data:generate": "dotenv cross-var graphql-codegen -- --config codegen.cjs", diff --git a/packages/twenty-front/src/modules/settings/accounts/constants/ianaTimeZones.ts b/packages/twenty-front/src/modules/settings/accounts/constants/ianaTimeZones.ts index 2b5c17901..c4b26354a 100644 --- a/packages/twenty-front/src/modules/settings/accounts/constants/ianaTimeZones.ts +++ b/packages/twenty-front/src/modules/settings/accounts/constants/ianaTimeZones.ts @@ -452,7 +452,6 @@ export const ianaTimeZones = [ 'Europe/Kaliningrad', 'Europe/Kiev', 'Europe/Kirov', - 'Europe/Kyiv', 'Europe/Lisbon', 'Europe/Ljubljana', 'Europe/London', diff --git a/packages/twenty-front/src/pages/auth/__stories__/PasswordResert.stories.tsx b/packages/twenty-front/src/pages/auth/__stories__/PasswordResert.stories.tsx new file mode 100644 index 000000000..4205007b7 --- /dev/null +++ b/packages/twenty-front/src/pages/auth/__stories__/PasswordResert.stories.tsx @@ -0,0 +1,46 @@ +import { getOperationName } from '@apollo/client/utilities'; +import { Meta, StoryObj } from '@storybook/react'; +import { within } from '@storybook/test'; +import { graphql, HttpResponse } from 'msw'; + +import { GET_CURRENT_USER } from '@/users/graphql/queries/getCurrentUser'; +import { PasswordReset } from '~/pages/auth/PasswordReset'; +import { + PageDecorator, + PageDecoratorArgs, +} from '~/testing/decorators/PageDecorator'; +import { graphqlMocks } from '~/testing/graphqlMocks'; +import { mockedOnboardingUsersData } from '~/testing/mock-data/users'; + +const meta: Meta = { + title: 'Pages/Auth/PasswordReset', + component: PasswordReset, + decorators: [PageDecorator], + args: { routePath: '/reset-password/resetToken' }, + parameters: { + msw: { + handlers: [ + graphql.query(getOperationName(GET_CURRENT_USER) ?? '', () => { + return HttpResponse.json({ + data: { + currentUser: mockedOnboardingUsersData[0], + }, + }); + }), + graphqlMocks.handlers, + ], + }, + }, +}; + +export default meta; + +export type Story = StoryObj; + +export const Default: Story = { + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + + await canvas.findByText('Reset Password'); + }, +}; diff --git a/packages/twenty-front/src/pages/object-record/__stories__/RecordShowPage.stories.tsx b/packages/twenty-front/src/pages/object-record/__stories__/RecordShowPage.stories.tsx new file mode 100644 index 000000000..0c590a984 --- /dev/null +++ b/packages/twenty-front/src/pages/object-record/__stories__/RecordShowPage.stories.tsx @@ -0,0 +1,90 @@ +import { Meta, StoryObj } from '@storybook/react'; +import { within } from '@storybook/test'; +import { graphql, HttpResponse } from 'msw'; + +import { + PageDecorator, + PageDecoratorArgs, +} from '~/testing/decorators/PageDecorator'; +import { graphqlMocks } from '~/testing/graphqlMocks'; +import { mockedPeopleData } from '~/testing/mock-data/people'; +import { mockedWorkspaceMemberData } from '~/testing/mock-data/users'; + +import { RecordShowPage } from '../RecordShowPage'; + +const meta: Meta = { + title: 'Pages/ObjectRecord/RecordShowPage', + component: RecordShowPage, + decorators: [PageDecorator], + args: { + routePath: '/object/:objectNameSingular/:objectRecordId', + routeParams: { + ':objectNameSingular': 'person', + ':objectRecordId': '1234', + }, + }, + parameters: { + msw: { + handlers: [ + graphql.query('FindOneperson', () => { + return HttpResponse.json({ + data: { + person: mockedPeopleData[0], + }, + }); + }), + graphql.query('FindManyActivityTargets', () => { + return HttpResponse.json({ + data: { + activityTargets: { + edges: [], + pageInfo: { + hasNextPage: false, + startCursor: '', + endCursor: '', + }, + totalCount: 0, + }, + }, + }); + }), + graphql.query('FindOneworkspaceMember', () => { + return HttpResponse.json({ + data: { + workspaceMember: mockedWorkspaceMemberData, + }, + }); + }), + graphql.query('FindManyViews', () => { + return HttpResponse.json({ + data: { + views: { + edges: [], + pageInfo: { + hasNextPage: false, + startCursor: '1234', + endCursor: '1234', + }, + totalCount: 0, + }, + }, + }); + }), + graphqlMocks.handlers, + ], + }, + }, +}; + +export default meta; + +export type Story = StoryObj; + +export const Default: Story = { + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + + await canvas.findAllByText('Alexandre Prot'); + await canvas.findByText('Add your first Activity'); + }, +}; diff --git a/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccounts.stories.tsx b/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccounts.stories.tsx index 25ed6a77f..747a43b24 100644 --- a/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccounts.stories.tsx +++ b/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccounts.stories.tsx @@ -1,4 +1,5 @@ import { Meta, StoryObj } from '@storybook/react'; +import { within } from '@storybook/test'; import { PageDecorator, @@ -25,4 +26,10 @@ export default meta; export type Story = StoryObj; -export const Default: Story = {}; +export const Default: Story = { + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + + await canvas.findByText('Connected accounts'); + }, +}; diff --git a/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsEmailsInboxSettings.stories.tsx b/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsEmailsInboxSettings.stories.tsx new file mode 100644 index 000000000..e3949377e --- /dev/null +++ b/packages/twenty-front/src/pages/settings/accounts/__stories__/SettingsAccountsEmailsInboxSettings.stories.tsx @@ -0,0 +1,78 @@ +import { Meta, StoryObj } from '@storybook/react'; +import { within } from '@storybook/test'; +import { graphql, HttpResponse } from 'msw'; + +import { SettingsAccountsEmailsInboxSettings } from '~/pages/settings/accounts/SettingsAccountsEmailsInboxSettings'; +import { + PageDecorator, + PageDecoratorArgs, +} from '~/testing/decorators/PageDecorator'; +import { graphqlMocks } from '~/testing/graphqlMocks'; + +const meta: Meta = { + title: 'Pages/Settings/Accounts/SettingsAccountsEmailsInboxSettings', + component: SettingsAccountsEmailsInboxSettings, + decorators: [PageDecorator], + args: { + routePath: '/settings/accounts/emails/:accountUuid', + routeParams: { ':accountUuid': '123' }, + }, + parameters: { + layout: 'fullscreen', + msw: { + handlers: [ + graphql.query('FindOnemessageChannel', () => { + return HttpResponse.json({ + data: { + messageChannel: { + id: '1', + visibility: 'share_everything', + messageThreads: { edges: [] }, + createdAt: '2021-08-27T12:00:00Z', + type: 'email', + updatedAt: '2021-08-27T12:00:00Z', + targetUrl: 'https://example.com/webhook', + connectedAccountId: '1', + handle: 'handle', + connectedAccount: { + id: '1', + handle: 'handle', + updatedAt: '2021-08-27T12:00:00Z', + accessToken: 'accessToken', + messageChannels: { edges: [] }, + refreshToken: 'refreshToken', + __typename: 'ConnectedAccount', + accountOwner: { id: '1', __typename: 'WorkspaceMember' }, + provider: 'provider', + createdAt: '2021-08-27T12:00:00Z', + accountOwnerId: '1', + }, + __typename: 'MessageChannel', + }, + }, + }); + }), + graphqlMocks.handlers, + ], + }, + }, +}; + +export default meta; + +export type Story = StoryObj; + +export const Default: Story = { + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + + await canvas.findByText('Email visibility'); + await canvas.findByText( + 'Define what will be visible to other users in your workspace', + ); + await canvas.findByText('Contact auto-creation'); + await canvas.findByText( + 'Automatically create contacts for people you’ve sent emails to', + ); + }, +}; diff --git a/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsNewObject.stories.tsx b/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsNewObject.stories.tsx index a1a077c24..a90160ea1 100644 --- a/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsNewObject.stories.tsx +++ b/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsNewObject.stories.tsx @@ -1,11 +1,11 @@ import { Meta, StoryObj } from '@storybook/react'; +import { userEvent, within } from '@storybook/test'; import { PageDecorator, PageDecoratorArgs, } from '~/testing/decorators/PageDecorator'; import { graphqlMocks } from '~/testing/graphqlMocks'; -import { sleep } from '~/testing/sleep'; import { SettingsNewObject } from '../SettingsNewObject'; @@ -27,6 +27,17 @@ export type Story = StoryObj; export const WithStandardSelected: Story = { play: async () => { - await sleep(100); + const canvas = within(document.body); + const listingInput = await canvas.findByPlaceholderText('Listing'); + const pluralInput = await canvas.findByPlaceholderText('Listings'); + const descriptionInput = await canvas.findByPlaceholderText( + 'Write a description', + ); + const saveButton = await canvas.findByText('Save'); + await userEvent.type(listingInput, 'Company'); + await userEvent.type(pluralInput, 'Companies'); + await userEvent.type(descriptionInput, 'Test Description'); + + await userEvent.click(saveButton); }, }; diff --git a/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsObjectNewField/SettingsObjectNewFieldStep1.stories.tsx b/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsObjectNewField/SettingsObjectNewFieldStep1.stories.tsx index cfd5aba86..3353cc492 100644 --- a/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsObjectNewField/SettingsObjectNewFieldStep1.stories.tsx +++ b/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsObjectNewField/SettingsObjectNewFieldStep1.stories.tsx @@ -1,11 +1,11 @@ import { Meta, StoryObj } from '@storybook/react'; +import { within } from '@storybook/test'; import { PageDecorator, PageDecoratorArgs, } from '~/testing/decorators/PageDecorator'; import { graphqlMocks } from '~/testing/graphqlMocks'; -import { sleep } from '~/testing/sleep'; import { SettingsObjectNewFieldStep1 } from '../../SettingsObjectNewField/SettingsObjectNewFieldStep1'; @@ -28,7 +28,12 @@ export default meta; export type Story = StoryObj; export const Default: Story = { - play: async () => { - await sleep(100); + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + await canvas.findByText('Settings'); + await canvas.findByText('Objects'); + await canvas.findByText('Companies'); + await canvas.findByText('Check disabled fields'); + await canvas.findByText('Add Custom Field'); }, }; diff --git a/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsObjectNewField/SettingsObjectNewFieldStep2.stories.tsx b/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsObjectNewField/SettingsObjectNewFieldStep2.stories.tsx index 14dd9b9ac..0329f1110 100644 --- a/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsObjectNewField/SettingsObjectNewFieldStep2.stories.tsx +++ b/packages/twenty-front/src/pages/settings/data-model/__stories__/SettingsObjectNewField/SettingsObjectNewFieldStep2.stories.tsx @@ -1,11 +1,11 @@ import { Meta, StoryObj } from '@storybook/react'; +import { userEvent, within } from '@storybook/test'; import { PageDecorator, PageDecoratorArgs, } from '~/testing/decorators/PageDecorator'; import { graphqlMocks } from '~/testing/graphqlMocks'; -import { sleep } from '~/testing/sleep'; import { SettingsObjectNewFieldStep2 } from '../../SettingsObjectNewField/SettingsObjectNewFieldStep2'; @@ -28,7 +28,24 @@ export default meta; export type Story = StoryObj; export const Default: Story = { - play: async () => { - await sleep(100); + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + await canvas.findByText('Settings'); + await canvas.findByText('Objects'); + await canvas.findByText('Name and description'); + + const employeeInput = await canvas.findByPlaceholderText('Employees'); + await userEvent.type(employeeInput, 'Test'); + + const descriptionInput = await canvas.findByPlaceholderText( + 'Write a description', + ); + + await userEvent.type(descriptionInput, 'Test description'); + await canvas.findByText('Type and values'); + + const saveButton = await canvas.findByText('Save'); + + await userEvent.click(saveButton); }, }; diff --git a/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersApiKeysDetail.stories.tsx b/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersApiKeysDetail.stories.tsx index cf3266222..f53731221 100644 --- a/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersApiKeysDetail.stories.tsx +++ b/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersApiKeysDetail.stories.tsx @@ -1,4 +1,5 @@ import { Meta, StoryObj } from '@storybook/react'; +import { within } from '@storybook/test'; import { graphql, HttpResponse } from 'msw'; import { SettingsDevelopersApiKeyDetail } from '~/pages/settings/developers/api-keys/SettingsDevelopersApiKeyDetail'; @@ -7,7 +8,6 @@ import { PageDecoratorArgs, } from '~/testing/decorators/PageDecorator'; import { graphqlMocks } from '~/testing/graphqlMocks'; -import { sleep } from '~/testing/sleep'; const meta: Meta = { title: 'Pages/Settings/Developers/ApiKeys/SettingsDevelopersApiKeyDetail', @@ -47,7 +47,9 @@ export default meta; export type Story = StoryObj; export const Default: Story = { - play: async () => { - await sleep(100); + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + await canvas.findByText('Settings'); + await canvas.findByText('Regenerate an Api key'); }, }; diff --git a/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersApiKeysNew.stories.tsx b/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersApiKeysNew.stories.tsx index 11846c79a..ec5630ab8 100644 --- a/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersApiKeysNew.stories.tsx +++ b/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersApiKeysNew.stories.tsx @@ -1,4 +1,5 @@ import { Meta, StoryObj } from '@storybook/react'; +import { userEvent, within } from '@storybook/test'; import { SettingsDevelopersApiKeysNew } from '~/pages/settings/developers/api-keys/SettingsDevelopersApiKeysNew'; import { @@ -6,7 +7,6 @@ import { PageDecoratorArgs, } from '~/testing/decorators/PageDecorator'; import { graphqlMocks } from '~/testing/graphqlMocks'; -import { sleep } from '~/testing/sleep'; const meta: Meta = { title: 'Pages/Settings/Developers/ApiKeys/SettingsDevelopersApiKeysNew', @@ -23,7 +23,21 @@ export default meta; export type Story = StoryObj; export const Default: Story = { - play: async () => { - await sleep(100); + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + await canvas.findByText('Settings'); + await canvas.findByText('New API Key'); + await canvas.findByText('Name'); + await canvas.findByText('Expiration Date'); + + const input = await canvas.findByPlaceholderText( + 'E.g. backoffice integration', + ); + + await userEvent.type(input, 'Test'); + + const saveButton = await canvas.findByText('Save'); + + await userEvent.click(saveButton); }, }; diff --git a/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersWebhooksDetail.stories.tsx b/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersWebhooksDetail.stories.tsx new file mode 100644 index 000000000..38516ed38 --- /dev/null +++ b/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersWebhooksDetail.stories.tsx @@ -0,0 +1,55 @@ +import { Meta, StoryObj } from '@storybook/react'; +import { within } from '@storybook/test'; +import { graphql, HttpResponse } from 'msw'; + +import { SettingsDevelopersWebhooksDetail } from '~/pages/settings/developers/webhooks/SettingsDevelopersWebhookDetail'; +import { + PageDecorator, + PageDecoratorArgs, +} from '~/testing/decorators/PageDecorator'; +import { graphqlMocks } from '~/testing/graphqlMocks'; + +const meta: Meta = { + title: 'Pages/Settings/Developers/SettingsDevelopersWebhooksDetail', + component: SettingsDevelopersWebhooksDetail, + decorators: [PageDecorator], + args: { + routePath: '/settings/developers/webhooks/:webhookId', + routeParams: { ':webhookId': '1234' }, + }, + parameters: { + msw: { + handlers: [ + graphql.query('FindOnewebhook', () => { + return HttpResponse.json({ + data: { + webhook: { + id: '1', + createdAt: '2021-08-27T12:00:00Z', + targetUrl: 'https://example.com/webhook', + updatedAt: '2021-08-27T12:00:00Z', + operation: 'create', + __typename: 'Webhook', + }, + }, + }); + }), + graphqlMocks.handlers, + ], + }, + }, +}; + +export default meta; + +export type Story = StoryObj; + +export const Default: Story = { + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + await canvas.findByText( + 'We will send POST requests to this endpoint for every new event', + ); + await canvas.findByText('Delete this integration'); + }, +}; diff --git a/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersWebhooksNew.stories.tsx b/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersWebhooksNew.stories.tsx new file mode 100644 index 000000000..651ae8985 --- /dev/null +++ b/packages/twenty-front/src/pages/settings/developers/__stories__/SettingsDevelopersWebhooksNew.stories.tsx @@ -0,0 +1,32 @@ +import { Meta, StoryObj } from '@storybook/react'; +import { within } from '@storybook/test'; + +import { SettingsDevelopersWebhooksNew } from '~/pages/settings/developers/webhooks/SettingsDevelopersWebhooksNew'; +import { + PageDecorator, + PageDecoratorArgs, +} from '~/testing/decorators/PageDecorator'; +import { graphqlMocks } from '~/testing/graphqlMocks'; + +const meta: Meta = { + title: 'Pages/Settings/Developers/SettingsDevelopersWebhooksNew', + component: SettingsDevelopersWebhooksNew, + decorators: [PageDecorator], + args: { routePath: '/settings/developers' }, + parameters: { + msw: graphqlMocks, + }, +}; + +export default meta; + +export type Story = StoryObj; + +export const Default: Story = { + play: async ({ canvasElement }) => { + const canvas = within(canvasElement); + await canvas.findByText( + 'We will send POST requests to this endpoint for every new event', + ); + }, +}; diff --git a/packages/twenty-front/src/testing/mock-data/metadata.ts b/packages/twenty-front/src/testing/mock-data/metadata.ts index 6fcb92a9a..8626d86a1 100644 --- a/packages/twenty-front/src/testing/mock-data/metadata.ts +++ b/packages/twenty-front/src/testing/mock-data/metadata.ts @@ -45,7 +45,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -80,7 +80,7 @@ export const mockedPeopleMetadata = { toFieldMetadataId: 'a0e7e269-d28c-49c6-8fe3-e89acef1cbf3', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -115,7 +115,7 @@ export const mockedPeopleMetadata = { toFieldMetadataId: '88ab56e5-828e-4fb2-a37c-314b8803f361', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -150,7 +150,7 @@ export const mockedPeopleMetadata = { toFieldMetadataId: '48067b53-f99f-4700-bf3a-6569d1646b21', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -173,7 +173,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -198,7 +198,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { lastName: '', firstName: '', @@ -224,7 +224,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -261,7 +261,7 @@ export const mockedPeopleMetadata = { toFieldMetadataId: '6510e80d-546a-4a27-9346-06590c81f068', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -284,7 +284,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -309,7 +309,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -332,7 +332,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -355,7 +355,7 @@ export const mockedPeopleMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'ccf90524-24b0-4b9a-bb01-b904c4f1328e', @@ -392,7 +392,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -417,7 +417,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -440,7 +440,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -477,7 +477,7 @@ export const mockedPeopleMetadata = { toFieldMetadataId: 'cb2bac7e-0db7-4f10-95f2-d8d122cad29c', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -512,7 +512,7 @@ export const mockedPeopleMetadata = { toFieldMetadataId: 'e6508bb6-0dfd-417a-b0f4-d84bc1f44883', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -535,7 +535,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -560,7 +560,7 @@ export const mockedPeopleMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -620,7 +620,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -643,7 +643,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -667,7 +667,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -703,7 +703,7 @@ export const mockedCompaniesMetadata = { toFieldMetadataId: 'dcd5343e-98db-4cf7-aded-2c9c0da0a220', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -726,7 +726,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -751,7 +751,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -777,7 +777,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -800,7 +800,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -822,7 +822,7 @@ export const mockedCompaniesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'b6d74797-0a27-449e-8f7b-26f94de4f707', @@ -860,7 +860,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -895,7 +895,7 @@ export const mockedCompaniesMetadata = { toFieldMetadataId: '6e103463-aee5-4be3-af12-52cacd566c3a', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -918,7 +918,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -943,7 +943,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -969,7 +969,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1004,7 +1004,7 @@ export const mockedCompaniesMetadata = { toFieldMetadataId: '70b02b3a-8077-4ce1-ab8b-c5e854c31b13', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1027,7 +1027,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -1064,7 +1064,7 @@ export const mockedCompaniesMetadata = { toFieldMetadataId: 'ee0ce363-c3b4-4638-ab88-660566e3016f', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1099,7 +1099,7 @@ export const mockedCompaniesMetadata = { toFieldMetadataId: 'd9ea410b-2441-44ef-85da-03650aad5818', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1122,7 +1122,7 @@ export const mockedCompaniesMetadata = { updatedAt: '2023-12-20T12:25:25.057Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1179,7 +1179,7 @@ export const mockedPipelineStepsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -1203,7 +1203,7 @@ export const mockedPipelineStepsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -1227,7 +1227,7 @@ export const mockedPipelineStepsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -1264,7 +1264,7 @@ export const mockedPipelineStepsMetadata = { toFieldMetadataId: '4756a816-8a18-433a-9414-c756db4727e8', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1286,7 +1286,7 @@ export const mockedPipelineStepsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -1310,7 +1310,7 @@ export const mockedPipelineStepsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -1334,7 +1334,7 @@ export const mockedPipelineStepsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 0, }, @@ -1393,7 +1393,7 @@ export const mockedActivityTargetsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1415,7 +1415,7 @@ export const mockedActivityTargetsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1436,7 +1436,7 @@ export const mockedActivityTargetsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '49028648-0380-481d-b6ba-004193f83e97', @@ -1472,7 +1472,7 @@ export const mockedActivityTargetsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1494,7 +1494,7 @@ export const mockedActivityTargetsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -1517,7 +1517,7 @@ export const mockedActivityTargetsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'a47ced1e-6070-4b11-b5ab-1a3d2268d8a2', @@ -1552,7 +1552,7 @@ export const mockedActivityTargetsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '6100b5ae-72b3-4a02-94e9-d923c7a78d92', @@ -1588,7 +1588,7 @@ export const mockedActivityTargetsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -1612,7 +1612,7 @@ export const mockedActivityTargetsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -1671,7 +1671,7 @@ export const mockedFavoritesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -1695,7 +1695,7 @@ export const mockedFavoritesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 0, }, @@ -1719,7 +1719,7 @@ export const mockedFavoritesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -1743,7 +1743,7 @@ export const mockedFavoritesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -1766,7 +1766,7 @@ export const mockedFavoritesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'b3d452bc-e683-4dc6-86ec-37766ea8b30c', @@ -1802,7 +1802,7 @@ export const mockedFavoritesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1823,7 +1823,7 @@ export const mockedFavoritesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '4df88275-6b23-4bd4-b7a7-0893d366d8e0', @@ -1859,7 +1859,7 @@ export const mockedFavoritesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1881,7 +1881,7 @@ export const mockedFavoritesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1902,7 +1902,7 @@ export const mockedFavoritesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '4e7e4ec6-2543-47c0-87cc-0c394e98271e', @@ -1973,7 +1973,7 @@ export const mockedMessageParticipantsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -1994,7 +1994,7 @@ export const mockedMessageParticipantsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'ffcedbc0-adb7-4f74-83bb-ff7e3c270183', @@ -2030,7 +2030,7 @@ export const mockedMessageParticipantsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -2054,7 +2054,7 @@ export const mockedMessageParticipantsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -2078,7 +2078,7 @@ export const mockedMessageParticipantsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2099,7 +2099,7 @@ export const mockedMessageParticipantsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'fcc9ed16-2fa4-4809-8a1d-01ce0c481130', @@ -2134,7 +2134,7 @@ export const mockedMessageParticipantsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '020d2fe4-33c3-4fe1-a2cc-35a23d73d046', @@ -2170,7 +2170,7 @@ export const mockedMessageParticipantsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'from', }, @@ -2194,7 +2194,7 @@ export const mockedMessageParticipantsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -2218,7 +2218,7 @@ export const mockedMessageParticipantsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2240,7 +2240,7 @@ export const mockedMessageParticipantsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -2264,7 +2264,7 @@ export const mockedMessageParticipantsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -2323,7 +2323,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2345,7 +2345,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -2369,7 +2369,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -2406,7 +2406,7 @@ export const mockedActivitiesMetadata = { toFieldMetadataId: '1309d13f-9945-4f8b-99e8-371fbb51b99d', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2427,7 +2427,7 @@ export const mockedActivitiesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '0de81eae-1ffb-4cb5-b081-ab18d5641d50', @@ -2463,7 +2463,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -2500,7 +2500,7 @@ export const mockedActivitiesMetadata = { toFieldMetadataId: 'd8ce8a44-872e-482e-ac9d-87f6637f5776', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2522,7 +2522,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'Note', }, @@ -2546,7 +2546,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -2570,7 +2570,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2592,7 +2592,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2614,7 +2614,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2649,7 +2649,7 @@ export const mockedActivitiesMetadata = { toFieldMetadataId: '2aded974-bfa4-4ba4-b4c9-91346ac2762b', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2670,7 +2670,7 @@ export const mockedActivitiesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '519a92c5-8b0a-4a85-b0bc-be8d1607da5a', @@ -2706,7 +2706,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2728,7 +2728,7 @@ export const mockedActivitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -2787,7 +2787,7 @@ export const mockedAttachmentsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2808,7 +2808,7 @@ export const mockedAttachmentsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '2d64b1ba-c7c2-4d96-bba3-ae2f7c2be7bc', @@ -2844,7 +2844,7 @@ export const mockedAttachmentsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -2892,7 +2892,7 @@ export const mockedAttachmentsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -2916,7 +2916,7 @@ export const mockedAttachmentsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -2937,7 +2937,7 @@ export const mockedAttachmentsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '857f84a7-9934-4b3c-a7c6-3d1db427df73', @@ -2973,7 +2973,7 @@ export const mockedAttachmentsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -2997,7 +2997,7 @@ export const mockedAttachmentsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3019,7 +3019,7 @@ export const mockedAttachmentsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3041,7 +3041,7 @@ export const mockedAttachmentsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -3064,7 +3064,7 @@ export const mockedAttachmentsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'a65ae523-9786-4064-8f42-346ce8055345', @@ -3100,7 +3100,7 @@ export const mockedAttachmentsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -3123,7 +3123,7 @@ export const mockedAttachmentsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'a45591f3-8a30-49d0-92b3-59c4110dfee7', @@ -3194,7 +3194,7 @@ export const mockedWorkspaceMembersMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'en', }, @@ -3231,7 +3231,7 @@ export const mockedWorkspaceMembersMetadata = { toFieldMetadataId: '22883ca2-34e2-40ab-9e7b-fde5836cb5d2', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3253,7 +3253,7 @@ export const mockedWorkspaceMembersMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -3290,7 +3290,7 @@ export const mockedWorkspaceMembersMetadata = { toFieldMetadataId: '46782ee3-181c-484b-9aa9-27e57b61cc81', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3312,7 +3312,7 @@ export const mockedWorkspaceMembersMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { lastName: '', firstName: '', @@ -3350,7 +3350,7 @@ export const mockedWorkspaceMembersMetadata = { toFieldMetadataId: 'efc8bec2-de4a-4d67-9187-31394bb35119', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3372,7 +3372,7 @@ export const mockedWorkspaceMembersMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'Light', }, @@ -3409,7 +3409,7 @@ export const mockedWorkspaceMembersMetadata = { toFieldMetadataId: 'e2c01385-7707-49e0-835c-facbf8a6e4a9', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3431,7 +3431,7 @@ export const mockedWorkspaceMembersMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -3468,7 +3468,7 @@ export const mockedWorkspaceMembersMetadata = { toFieldMetadataId: '912a9a56-4e00-4cd2-8908-b0d113c9f615', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3503,7 +3503,7 @@ export const mockedWorkspaceMembersMetadata = { toFieldMetadataId: 'de0dace0-f7f8-4317-95e8-f80f6f72c7e4', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3525,7 +3525,7 @@ export const mockedWorkspaceMembersMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -3549,7 +3549,7 @@ export const mockedWorkspaceMembersMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3571,7 +3571,7 @@ export const mockedWorkspaceMembersMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -3608,7 +3608,7 @@ export const mockedWorkspaceMembersMetadata = { toFieldMetadataId: '78bcb420-9281-4eeb-8eb6-b2f3047acc09', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3643,7 +3643,7 @@ export const mockedWorkspaceMembersMetadata = { toFieldMetadataId: 'a6bd62f1-3e4c-4be0-ab64-0e7248d7d9eb', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -3700,7 +3700,7 @@ export const mockedWebhooksMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -3724,7 +3724,7 @@ export const mockedWebhooksMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -3748,7 +3748,7 @@ export const mockedWebhooksMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -3772,7 +3772,7 @@ export const mockedWebhooksMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -3796,7 +3796,7 @@ export const mockedWebhooksMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -3855,7 +3855,7 @@ export const mockedMessagesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -3879,7 +3879,7 @@ export const mockedMessagesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -3903,7 +3903,7 @@ export const mockedMessagesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -3927,7 +3927,7 @@ export const mockedMessagesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -3950,7 +3950,7 @@ export const mockedMessagesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '5ea18f96-cfb4-45af-b716-d09bfb4bb282', @@ -3986,7 +3986,7 @@ export const mockedMessagesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -4023,7 +4023,7 @@ export const mockedMessagesMetadata = { toFieldMetadataId: '663612f4-7eb8-4b21-886e-730f3b047ee7', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4045,7 +4045,7 @@ export const mockedMessagesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -4069,7 +4069,7 @@ export const mockedMessagesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'incoming', }, @@ -4093,7 +4093,7 @@ export const mockedMessagesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4115,7 +4115,7 @@ export const mockedMessagesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -4173,7 +4173,7 @@ export const mockedOpportunitiesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '5b6296d8-8557-4a3c-a963-109a5888b3b3', @@ -4208,7 +4208,7 @@ export const mockedOpportunitiesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'e63587c4-c565-4f77-9b8c-a639ae366dea', @@ -4244,7 +4244,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4266,7 +4266,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4288,7 +4288,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -4312,7 +4312,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4334,7 +4334,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4355,7 +4355,7 @@ export const mockedOpportunitiesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '7b0474c4-d82d-4c1d-96de-c6728b53339a', @@ -4391,7 +4391,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '0', }, @@ -4415,7 +4415,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -4439,7 +4439,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -4462,7 +4462,7 @@ export const mockedOpportunitiesMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'afe2078f-6c52-45ef-bb2e-f43b0ee28ecc', @@ -4498,7 +4498,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4520,7 +4520,7 @@ export const mockedOpportunitiesMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4577,7 +4577,7 @@ export const mockedAPIKeysMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4599,7 +4599,7 @@ export const mockedAPIKeysMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -4623,7 +4623,7 @@ export const mockedAPIKeysMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4645,7 +4645,7 @@ export const mockedAPIKeysMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -4669,7 +4669,7 @@ export const mockedAPIKeysMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -4693,7 +4693,7 @@ export const mockedAPIKeysMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -4752,7 +4752,7 @@ export const mockedComments = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -4775,7 +4775,7 @@ export const mockedComments = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: 'f4a1e4f4-8a26-4c7d-8973-6fdbc816fc6d', @@ -4811,7 +4811,7 @@ export const mockedComments = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -4835,7 +4835,7 @@ export const mockedComments = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -4859,7 +4859,7 @@ export const mockedComments = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4881,7 +4881,7 @@ export const mockedComments = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -4903,7 +4903,7 @@ export const mockedComments = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -4926,7 +4926,7 @@ export const mockedComments = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '8e2a5be9-ff83-4106-bfe0-0877423559d0', @@ -4998,7 +4998,7 @@ export const mockedMessageThreads = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -5022,7 +5022,7 @@ export const mockedMessageThreads = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -5045,7 +5045,7 @@ export const mockedMessageThreads = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '179ef8b5-41f8-4d0f-98b6-30d487431354', @@ -5094,7 +5094,7 @@ export const mockedMessageThreads = { toFieldMetadataId: '0c98eb7f-6db3-43d3-84d8-3c46a384ac5e', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -5116,7 +5116,7 @@ export const mockedMessageThreads = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -5140,7 +5140,7 @@ export const mockedMessageThreads = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -5164,7 +5164,7 @@ export const mockedMessageThreads = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -5188,7 +5188,7 @@ export const mockedMessageThreads = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'default', }, @@ -5212,7 +5212,7 @@ export const mockedMessageThreads = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -5269,7 +5269,7 @@ export const mockedMessageChannelsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'metadata', }, @@ -5306,7 +5306,7 @@ export const mockedMessageChannelsMetadata = { toFieldMetadataId: 'bd65743c-8d13-4e99-82cd-b1d3f365d0c4', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -5328,7 +5328,7 @@ export const mockedMessageChannelsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -5352,7 +5352,7 @@ export const mockedMessageChannelsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -5376,7 +5376,7 @@ export const mockedMessageChannelsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -5400,7 +5400,7 @@ export const mockedMessageChannelsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -5424,7 +5424,7 @@ export const mockedMessageChannelsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -5446,7 +5446,7 @@ export const mockedMessageChannelsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -5469,7 +5469,7 @@ export const mockedMessageChannelsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '4a2d8c75-3d39-4860-9373-2bc7faf35feb', @@ -5541,7 +5541,7 @@ export const mockedConnectedAccountsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -5565,7 +5565,7 @@ export const mockedConnectedAccountsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -5589,7 +5589,7 @@ export const mockedConnectedAccountsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -5626,7 +5626,7 @@ export const mockedConnectedAccountsMetadata = { toFieldMetadataId: '14fcf47f-b60e-4dc8-80a0-df6e16f513ac', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -5648,7 +5648,7 @@ export const mockedConnectedAccountsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -5671,7 +5671,7 @@ export const mockedConnectedAccountsMetadata = { createdAt: '2023-12-15T15:29:39.070Z', updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, - options: {}, + options: [], toRelationMetadata: { __typename: 'relation', id: '7fd3bdb5-e043-495d-82b1-d75c22b70bac', @@ -5707,7 +5707,7 @@ export const mockedConnectedAccountsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -5731,7 +5731,7 @@ export const mockedConnectedAccountsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -5755,7 +5755,7 @@ export const mockedConnectedAccountsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -5779,7 +5779,7 @@ export const mockedConnectedAccountsMetadata = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -5838,7 +5838,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -5862,7 +5862,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -5899,7 +5899,7 @@ export const mockedObjectMetadataItems = { }, fromFieldMetadataId: '5c1342d5-199c-4746-8d3a-60d17a09d187', }, - options: {}, + options: [], defaultValue: null, }, }, @@ -5921,7 +5921,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'Contains', }, @@ -5945,7 +5945,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -5969,7 +5969,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -5991,7 +5991,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -6015,7 +6015,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -6039,7 +6039,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -6095,7 +6095,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -6132,7 +6132,7 @@ export const mockedObjectMetadataItems = { toFieldMetadataId: '7c7866c9-4bf0-4f3b-89b6-5b889858a895', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -6154,7 +6154,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: '', }, @@ -6178,7 +6178,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -6200,7 +6200,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -6237,7 +6237,7 @@ export const mockedObjectMetadataItems = { toFieldMetadataId: '5c24c599-34c5-4efe-adc6-e066be7ad20e', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -6259,7 +6259,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -6296,7 +6296,7 @@ export const mockedObjectMetadataItems = { toFieldMetadataId: 'bff11820-ffa2-4283-80b3-3777583f6f97', }, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -6318,7 +6318,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'table', }, @@ -6376,7 +6376,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 0, }, @@ -6400,7 +6400,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -6422,7 +6422,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -6446,7 +6446,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 0, }, @@ -6470,7 +6470,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: true, }, @@ -6494,7 +6494,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: { - options: {}, + options: [], __typename: 'relation', id: '1ba54f4e-6e09-40a8-bc02-65b5ece7dafc', relationType: RelationMetadataType.OneToMany, @@ -6529,7 +6529,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -6551,7 +6551,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -6575,7 +6575,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -6633,7 +6633,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -6657,7 +6657,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { value: 'asc', }, @@ -6681,7 +6681,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -6703,7 +6703,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: null, }, }, @@ -6725,7 +6725,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: 'now', }, @@ -6749,7 +6749,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: null, - options: {}, + options: [], defaultValue: { type: FieldMetadataType.Uuid, }, @@ -6773,7 +6773,7 @@ export const mockedObjectMetadataItems = { updatedAt: '2023-12-15T15:29:39.070Z', fromRelationMetadata: null, toRelationMetadata: { - options: {}, + options: [], __typename: 'relation', id: '22a37761-f528-4a9b-8194-1fed1df69019', relationType: RelationMetadataType.OneToMany, @@ -6814,6 +6814,9 @@ export const mockedObjectMetadataItems = { mockedAPIKeysMetadata, mockedConnectedAccountsMetadata, mockedMessageChannelsMetadata, + mockedWebhooksMetadata, + mockedAttachmentsMetadata, + mockedMessageParticipantsMetadata, ], pageInfo: { __typename: 'PageInfo', @@ -6822,5 +6825,5 @@ export const mockedObjectMetadataItems = { startCursor: 'YXJyYXljb25uZWN0aW9uOjA=', endCursor: 'YXJyYXljb25uZWN0aW9uOjk=', }, - totalCount: 15, + totalCount: 18, };