diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index 006b55e2a012..ec15ce6830b4 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -24,8 +24,16 @@ module.exports = {
allow: [],
depConstraints: [
{
- sourceTag: '*',
- onlyDependOnLibsWithTags: ['*'],
+ sourceTag: 'scope:shared',
+ onlyDependOnLibsWithTags: ['scope:shared'],
+ },
+ {
+ sourceTag: 'scope:backend',
+ onlyDependOnLibsWithTags: ['scope:shared', 'scope:backend'],
+ },
+ {
+ sourceTag: 'scope:frontend',
+ onlyDependOnLibsWithTags: ['scope:shared', 'scope:frontend'],
},
],
},
diff --git a/.github/workflows/actions/nx-affected/action.yaml b/.github/workflows/actions/nx-affected/action.yaml
new file mode 100644
index 000000000000..af5ba29aa47e
--- /dev/null
+++ b/.github/workflows/actions/nx-affected/action.yaml
@@ -0,0 +1,21 @@
+name: Nx Affected CI
+inputs:
+ parallel:
+ required: false
+ types: [number]
+ default: 3
+ tag:
+ required: false
+ types: [string]
+ tasks:
+ required: true
+ types: [string]
+
+runs:
+ using: "composite"
+ steps:
+ - name: Get last successful commit
+ uses: nrwl/nx-set-shas@v4
+ - name: Run affected command
+ shell: bash
+ run: npx nx affected --nxBail --configuration=ci -t=${{ inputs.tasks }} --parallel=${{ inputs.parallel }} --exclude='*,!tag:${{ inputs.tag }}'
\ No newline at end of file
diff --git a/.github/workflows/actions/task-cache/action.yaml b/.github/workflows/actions/task-cache/action.yaml
new file mode 100644
index 000000000000..f97f2653a6c1
--- /dev/null
+++ b/.github/workflows/actions/task-cache/action.yaml
@@ -0,0 +1,29 @@
+name: Restore Tasks Cache CI
+inputs:
+ tag:
+ required: false
+ types: [string]
+ tasks:
+ required: false
+ types: [string]
+ default: all
+ suffix:
+ required: false
+ types: [string]
+
+runs:
+ using: "composite"
+ steps:
+ - name: Compute tasks key
+ id: tasks-key
+ shell: bash
+ run: echo "key=${{ inputs.tasks }}" | tr , - >> $GITHUB_OUTPUT
+ - name: Restore tasks cache
+ uses: actions/cache@v3
+ with:
+ path: |
+ .cache
+ .nx/cache
+ key: tasks-cache-${{ inputs.tag }}-${{ steps.tasks-key.outputs.key }}${{ inputs.suffix }}-${{ github.sha }}
+ restore-keys: |
+ tasks-cache-${{ inputs.tag }}-${{ steps.tasks-key.outputs.key }}${{ inputs.suffix }}-
\ No newline at end of file
diff --git a/.github/workflows/actions/yarn-install/action.yaml b/.github/workflows/actions/yarn-install/action.yaml
new file mode 100644
index 000000000000..d17134a6131c
--- /dev/null
+++ b/.github/workflows/actions/yarn-install/action.yaml
@@ -0,0 +1,23 @@
+name: Yarn Install
+
+runs:
+ using: "composite"
+ steps:
+ - name: Setup Node.js and get yarn cache
+ uses: actions/setup-node@v3
+ with:
+ node-version: "18"
+ cache: yarn
+ - name: Cache node modules
+ id: node-modules-cache
+ uses: actions/cache@v3
+ with:
+ path: |
+ node_modules
+ packages/*/node_modules
+ key: root-node_modules-${{ hashFiles('yarn.lock') }}
+ restore-keys: root-node_modules-
+ - name: Install Dependencies
+ shell: bash
+ run: yarn --immutable --check-cache
+ if: steps.node-modules-cache.outputs.cache-hit != 'true'
\ No newline at end of file
diff --git a/.github/workflows/ci-chromatic.yaml b/.github/workflows/ci-chromatic.yaml
index 8c87999e097d..61b3b62ce82d 100644
--- a/.github/workflows/ci-chromatic.yaml
+++ b/.github/workflows/ci-chromatic.yaml
@@ -27,17 +27,13 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- - name: Setup Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "18"
+ - name: Install dependencies
+ uses: ./.github/workflows/actions/yarn-install
- name: Front / Write .env
run: |
cd packages/twenty-front
touch .env
echo "REACT_APP_SERVER_BASE_URL: $REACT_APP_SERVER_BASE_URL" >> .env
- - name: Front / Install Dependencies
- run: yarn
- name: Publish to Chromatic
run: |
cd packages/twenty-front
diff --git a/.github/workflows/ci-chrome-extension.yaml b/.github/workflows/ci-chrome-extension.yaml
index f5c80ca95f7e..b9a07866abc0 100644
--- a/.github/workflows/ci-chrome-extension.yaml
+++ b/.github/workflows/ci-chrome-extension.yaml
@@ -15,33 +15,7 @@ concurrency:
cancel-in-progress: true
jobs:
- chrome-extension-yarn-install:
- runs-on: ci-8-cores
- env:
- VITE_SERVER_BASE_URL: http://localhost:3000
- VITE_FRONT_BASE_URL: http://localhost:3001
- steps:
- - uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "18"
- - name: Cache chrome extension node modules
- uses: actions/cache@v3
- with:
- path: packages/twenty-chrome-extension/node_modules
- key: chrome-extension-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: chrome-extension-node_modules-
- - name: Cache root node modules
- uses: actions/cache@v3
- with:
- path: node_modules
- key: root-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: root-node_modules-
- - name: Chrome Extension / Install Dependencies
- run: yarn
chrome-extension-build:
- needs: chrome-extension-yarn-install
runs-on: ubuntu-latest
env:
VITE_SERVER_BASE_URL: http://localhost:3000
@@ -52,21 +26,7 @@ jobs:
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "18"
- - name: Cache chrome extension node modules
- uses: actions/cache@v3
- with:
- path: packages/twenty-chrome-extension/node_modules
- key: chrome-extension-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: chrome-extension-node_modules-
- - name: Cache root node modules
- uses: actions/cache@v3
- with:
- path: node_modules
- key: root-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: root-node_modules-
+ - name: Install dependencies
+ uses: ./.github/workflows/actions/yarn-install
- name: Chrome Extension / Run build
run: npx nx build twenty-chrome-extension
diff --git a/.github/workflows/ci-docs.yaml b/.github/workflows/ci-docs.yaml
index 66a57f78c271..730a98e30863 100644
--- a/.github/workflows/ci-docs.yaml
+++ b/.github/workflows/ci-docs.yaml
@@ -21,12 +21,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "18"
- - name: Docs / Install Dependencies
- run: yarn
+ - name: Install dependencies
+ uses: ./.github/workflows/actions/yarn-install
- name: Docs / Build Documentation
run: npx nx build twenty-docs
vale:
diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yaml
index 0c65867b266b..af27198d48d3 100644
--- a/.github/workflows/ci-front.yaml
+++ b/.github/workflows/ci-front.yaml
@@ -17,167 +17,63 @@ concurrency:
cancel-in-progress: true
jobs:
- front-yarn-install:
- runs-on: ci-8-cores
- env:
- REACT_APP_SERVER_BASE_URL: http://localhost:3000
- steps:
- - uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "18"
- - name: Cache front node modules
- uses: actions/cache@v3
- with:
- path: packages/twenty-front/node_modules
- key: front-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: front-node_modules-
- - name: Cache root node modules
- uses: actions/cache@v3
- with:
- path: node_modules
- key: root-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: root-node_modules-
- - name: Front / Install Dependencies
- run: yarn
- front-pages-sb-test:
- needs: front-yarn-install
+ front-sb-test:
runs-on: ci-8-cores
+ strategy:
+ matrix:
+ storybook_scope: [pages, modules]
env:
REACT_APP_SERVER_BASE_URL: http://localhost:3000
+ STORYBOOK_SCOPE: ${{ matrix.storybook_scope }}
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
with:
- access_token: ${{ github.token }}
- - uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "18"
- - name: Front / Write .env
- run: |
- cd packages/twenty-front
- cp .env.example .env
- - name: Cache front node modules
- uses: actions/cache@v3
- with:
- path: packages/twenty-front/node_modules
- key: front-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: front-node_modules-
- - name: Cache root node modules
- uses: actions/cache@v3
- with:
- path: node_modules
- key: root-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: root-node_modules-
+ access_token: ${{ github.token }}
+ - name: Fetch local actions
+ uses: actions/checkout@v4
+ - name: Install dependencies
+ uses: ./.github/workflows/actions/yarn-install
- name: Install Playwright
run: cd packages/twenty-front && npx playwright install
- - name: Run storybook tests
- run: |
- npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
- "STORYBOOK_SCOPE=pages npx nx run twenty-front:storybook:static:ci" \
- "npx wait-on tcp:6006 && STORYBOOK_SCOPE=pages npx nx run twenty-front:storybook:test"
- front-modules-sb-test:
- needs: front-yarn-install
- runs-on: ci-4-cores
- env:
- REACT_APP_SERVER_BASE_URL: http://localhost:3000
- steps:
- - name: Cancel Previous Runs
- uses: styfle/cancel-workflow-action@0.11.0
- with:
- access_token: ${{ github.token }}
- - uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
+ - name: Front / Restore Storybook Task Cache
+ uses: ./.github/workflows/actions/task-cache
with:
- node-version: "18"
+ tag: scope:frontend
+ tasks: storybook:build
+ suffix: _${{ matrix.storybook_scope }}
- name: Front / Write .env
- run: |
- cd packages/twenty-front
- cp .env.example .env
- - name: Cache front node modules
- uses: actions/cache@v3
- with:
- path: packages/twenty-front/node_modules
- key: front-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: front-node_modules-
- - name: Cache root node modules
- uses: actions/cache@v3
- with:
- path: node_modules
- key: root-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: root-node_modules-
- - name: Install Playwright
- run: cd packages/twenty-front && npx playwright install
+ run: npx nx reset:env twenty-front
- name: Run storybook tests
run: |
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
- "STORYBOOK_SCOPE=modules npx nx run twenty-front:storybook:static:ci" \
- "npx wait-on tcp:6006 && STORYBOOK_SCOPE=modules npx nx run twenty-front:storybook:test"
- front-lint-tsc:
- needs: front-yarn-install
- runs-on: ubuntu-latest
- env:
- REACT_APP_SERVER_BASE_URL: http://localhost:3000
- steps:
- - name: Cancel Previous Runs
- uses: styfle/cancel-workflow-action@0.11.0
- with:
- access_token: ${{ github.token }}
- - uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "18"
- - name: Cache front node modules
- uses: actions/cache@v3
- with:
- path: packages/twenty-front/node_modules
- key: front-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: front-node_modules-
- - name: Cache root node modules
- uses: actions/cache@v3
- with:
- path: node_modules
- key: root-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: root-node_modules-
- - name: UI / Run linter
- run: npx nx lint twenty-ui
- - name: UI / Run Typescript Check
- run: npx nx run twenty-ui:typecheck:ci
- - name: Front / Run linter
- run: npx nx run twenty-front:lint:ci
- - name: Front / Run Typescript Check
- run: npx nx run twenty-front:typecheck:ci
- front-jest:
- needs: front-yarn-install
+ "npx nx storybook:static twenty-front" \
+ "npx wait-on tcp:6006 && npx nx storybook:test twenty-front"
+ front-task:
runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ task: [lint, typecheck, test]
env:
REACT_APP_SERVER_BASE_URL: http://localhost:3000
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
with:
- access_token: ${{ github.token }}
- - uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
+ access_token: ${{ github.token }}
+ - name: Fetch local actions and base branch history
+ uses: actions/checkout@v4
with:
- node-version: "18"
- - name: Cache front node modules
- uses: actions/cache@v3
+ fetch-depth: 0
+ - name: Install dependencies
+ uses: ./.github/workflows/actions/yarn-install
+ - name: Front / Restore Task Cache
+ uses: ./.github/workflows/actions/task-cache
with:
- path: packages/twenty-front/node_modules
- key: front-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: front-node_modules-
- - name: Cache root node modules
- uses: actions/cache@v3
+ tag: scope:frontend
+ tasks: ${{ matrix.task }}
+ - name: Front / Run task
+ uses: ./.github/workflows/actions/nx-affected
with:
- path: node_modules
- key: root-node_modules-${{hashFiles('yarn.lock')}}
- restore-keys: root-node_modules-
- - name: Front / Run jest
- run: npx nx test twenty-front --configuration=ci
+ tag: scope:frontend
+ tasks: ${{ matrix.task }}
\ No newline at end of file
diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml
index 53f86ce00b11..7f86a590aa21 100644
--- a/.github/workflows/ci-server.yaml
+++ b/.github/workflows/ci-server.yaml
@@ -28,22 +28,29 @@ jobs:
ports:
- 5432:5432
steps:
- - uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
+ - name: Fetch local actions and base branch history
+ uses: actions/checkout@v4
with:
- node-version: "18"
- - name: Server / Install Dependencies
- run: yarn
- - name: Server / Run linter
- run: npx nx lint twenty-server
- - name: Server / Run jest tests
- run: npx nx test:unit twenty-server
+ fetch-depth: 0
+ - name: Install dependencies
+ uses: ./.github/workflows/actions/yarn-install
+ - name: Server / Restore Tasks Cache
+ uses: ./.github/workflows/actions/task-cache
+ with:
+ tag: scope:backend
+ - name: Server / Run lint & typecheck
+ uses: ./.github/workflows/actions/nx-affected
+ with:
+ tag: scope:backend
+ tasks: lint,typecheck
+ - name: Server / Run tests
+ uses: ./.github/workflows/actions/nx-affected
+ with:
+ tag: scope:backend
+ tasks: test
- name: Server / Build
run: npx nx build twenty-server
- name: Server / Write .env
- run: |
- cd packages/twenty-server
- cp .env.example .env
+ run: npx nx reset:env twenty-server
- name: Worker / Run
run: MESSAGE_QUEUE_TYPE=sync npx nx worker twenty-server
diff --git a/.github/workflows/ci-utils.yaml b/.github/workflows/ci-utils.yaml
index ac65a6c51734..29c4e28d0874 100644
--- a/.github/workflows/ci-utils.yaml
+++ b/.github/workflows/ci-utils.yaml
@@ -21,12 +21,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "18"
- - name: Utils / Install Dependencies
- run: yarn
+ - name: Install dependencies
+ uses: ./.github/workflows/actions/yarn-install
- name: Utils / Run Danger.js
run: cd packages/twenty-utils && npx nx danger:ci
env:
diff --git a/.github/workflows/ci-website.yaml b/.github/workflows/ci-website.yaml
index 0b6a70a4d599..d79345f3bf53 100644
--- a/.github/workflows/ci-website.yaml
+++ b/.github/workflows/ci-website.yaml
@@ -27,12 +27,8 @@ jobs:
- 5432:5432
steps:
- uses: actions/checkout@v4
- - name: Setup Node.js
- uses: actions/setup-node@v3
- with:
- node-version: "18"
- - name: Website / Install Dependencies
- run: yarn
+ - name: Install dependencies
+ uses: ./.github/workflows/actions/yarn-install
- name: Website / Run migrations
run: npx nx database:migrate twenty-website
env:
diff --git a/.gitignore b/.gitignore
index 68f77baf057b..a3d911f02b6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,4 @@ dist
storybook-static
*.tsbuildinfo
.eslintcache
+.cache
diff --git a/nx.json b/nx.json
index 2802d89904c5..1eab0f5bafcf 100644
--- a/nx.json
+++ b/nx.json
@@ -1,4 +1,8 @@
{
+ "namedInputs": {
+ "default": ["{projectRoot}/**/*", "sharedGlobals"],
+ "sharedGlobals": ["{workspaceRoot}/.github/workflows/**/*"]
+ },
"targetDefaults": {
"build": {
"cache": true,
@@ -9,17 +13,73 @@
"dependsOn": ["^build"]
},
"lint": {
- "cache": true
+ "executor": "@nx/eslint:lint",
+ "cache": true,
+ "outputs": ["{options.outputFile}"],
+ "options": {
+ "eslintConfig": "{projectRoot}/.eslintrc.cjs",
+ "cache": true,
+ "cacheLocation": "{workspaceRoot}/.cache/eslint",
+ "ignorePath": "{workspaceRoot}/.gitignore"
+ },
+ "configurations": {
+ "ci": { "cacheStrategy": "content" },
+ "fix": { "fix": true }
+ }
+ },
+ "fmt": {
+ "executor": "nx:run-commands",
+ "cache": true,
+ "options": {
+ "cwd": "{projectRoot}",
+ "command": "prettier {args.files} --check --cache {args.cache} --cache-location {args.cacheLocation} --write {args.write} --cache-strategy {args.cacheStrategy}",
+ "cache": true,
+ "cacheLocation": "../../.cache/prettier/{projectRoot}",
+ "cacheStrategy": "metadata",
+ "write": false
+ },
+ "configurations": {
+ "ci": { "cacheStrategy": "content" },
+ "fix": { "write": true }
+ }
+ },
+ "typecheck": {
+ "executor": "nx:run-commands",
+ "cache": true,
+ "options": {
+ "cwd": "{projectRoot}",
+ "command": "tsc -b tsconfig.json --incremental"
+ },
+ "configurations": {
+ "watch": { "watch": true }
+ }
},
"test": {
+ "executor": "@nx/jest:jest",
"cache": true,
- "dependsOn": ["^build"]
+ "dependsOn": ["^build"],
+ "outputs": ["{projectRoot}/coverage"],
+ "options": {
+ "jestConfig": "{projectRoot}/jest.config.ts",
+ "coverage": true,
+ "coverageReporters": ["text-summary"],
+ "cacheDirectory": "../../.cache/jest/{projectRoot}"
+ },
+ "configurations": {
+ "ci": {
+ "ci": true,
+ "maxWorkers": 3
+ },
+ "coverage": { "coverageReporters": ["lcov", "text"] },
+ "watch": { "watch": true }
+ }
},
"test:e2e": {
"cache": true,
"dependsOn": ["^build"]
},
"storybook:build": {
+ "executor": "@nx/storybook:build",
"cache": true,
"dependsOn": ["^build"],
"inputs": [
@@ -27,11 +87,51 @@
"^default",
"{projectRoot}/.storybook/**/*",
"{projectRoot}/tsconfig.storybook.json"
- ]
+ ],
+ "outputs": ["{options.outputDir}"],
+ "options": {
+ "outputDir": "{projectRoot}/storybook-static",
+ "configDir": "{projectRoot}/.storybook"
+ }
},
"storybook:dev": {
+ "executor": "@nx/storybook:storybook",
"cache": true,
- "dependsOn": ["^build"]
+ "dependsOn": ["^build"],
+ "options": {
+ "configDir": "{projectRoot}/.storybook"
+ }
+ },
+ "storybook:static": {
+ "executor": "@nx/web:file-server",
+ "options": {
+ "staticFilePath": "{projectRoot}/storybook-static",
+ "watch": false
+ }
+ },
+ "storybook:test": {
+ "executor": "nx:run-commands",
+ "options": {
+ "cwd": "{projectRoot}",
+ "commands": [
+ "test-storybook --url {options.url} --maxWorkers=3 --coverage",
+ "nyc report --reporter=lcov --reporter=text-summary -t coverage/storybook --report-dir coverage/storybook --check-coverage"
+ ],
+ "parallel": false
+ }
+ },
+ "chromatic": {
+ "executor": "nx:run-commands",
+ "options": {
+ "cwd": "{projectRoot}",
+ "command": "cross-var chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --build-script-name=storybook:build --exit-zero-on-changes={args.ci}",
+ "ci": false
+ },
+ "configurations": {
+ "ci": {
+ "ci": true
+ }
+ }
},
"@nx/jest:jest": {
"cache": true,
diff --git a/package.json b/package.json
index fa285253be7d..5d4a7f0a60d2 100644
--- a/package.json
+++ b/package.json
@@ -335,7 +335,7 @@
"version": "0.2.1",
"nx": {},
"scripts": {
- "start": "nx run-many -t start -p twenty-server twenty-front"
+ "start": "npx nx run-many -t start -p twenty-server twenty-front"
},
"workspaces": {
"packages": [
diff --git a/packages/twenty-chrome-extension/package.json b/packages/twenty-chrome-extension/package.json
index 7ccb6ce2f638..da51364e5fe5 100644
--- a/packages/twenty-chrome-extension/package.json
+++ b/packages/twenty-chrome-extension/package.json
@@ -6,9 +6,9 @@
"type": "module",
"scripts": {
"nx": "NX_DEFAULT_PROJECT=twenty-chrome-extension node ../../node_modules/nx/bin/nx.js",
- "clean": "rimraf ./dist",
+ "clean": "npx rimraf ./dist",
"start": "yarn clean && VITE_MODE=development vite",
- "build": "yarn clean && tsc && vite build",
+ "build": "yarn clean && npx tsc && npx vite build",
"lint": "eslint . --report-unused-disable-directives --max-warnings 0 --config .eslintrc.cjs",
"graphql:generate": "graphql-codegen",
"fmt": "prettier --check \"src/**/*.ts\" \"src/**/*.tsx\"",
diff --git a/packages/twenty-chrome-extension/tsconfig.app.json b/packages/twenty-chrome-extension/tsconfig.app.json
index 4b6b7d6c5327..f53b9c4f0325 100644
--- a/packages/twenty-chrome-extension/tsconfig.app.json
+++ b/packages/twenty-chrome-extension/tsconfig.app.json
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
- "outDir": "../../dist/out-tsc"
+ "outDir": "../../.cache/tsc"
},
"exclude": [
"**/*.spec.ts",
diff --git a/packages/twenty-chrome-extension/tsconfig.spec.json b/packages/twenty-chrome-extension/tsconfig.spec.json
index a7f834079e53..00abfb39ae85 100644
--- a/packages/twenty-chrome-extension/tsconfig.spec.json
+++ b/packages/twenty-chrome-extension/tsconfig.spec.json
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
- "outDir": "../../dist/out-tsc",
+ "outDir": "../../.cache/tsc",
"types": ["jest", "node"]
},
"include": [
diff --git a/packages/twenty-emails/package.json b/packages/twenty-emails/package.json
index 2638997514f3..49493e30ff0d 100644
--- a/packages/twenty-emails/package.json
+++ b/packages/twenty-emails/package.json
@@ -7,9 +7,7 @@
"license": "AGPL-3.0",
"main": "./dist/index.js",
"scripts": {
- "nx": "NX_DEFAULT_PROJECT=twenty-emails node ../../node_modules/nx/bin/nx.js",
- "build": "npx vite build",
- "lint": "eslint"
+ "build": "npx vite build"
},
"exports": {
".": {
@@ -21,8 +19,5 @@
"node": "^18.17.1",
"npm": "please-use-yarn",
"yarn": "^4.0.2"
- },
- "nx": {
- "projectType": "library"
}
}
diff --git a/packages/twenty-emails/project.json b/packages/twenty-emails/project.json
new file mode 100644
index 000000000000..26a9624da849
--- /dev/null
+++ b/packages/twenty-emails/project.json
@@ -0,0 +1,35 @@
+{
+ "name": "twenty-emails",
+ "$schema": "../../node_modules/nx/schemas/project-schema.json",
+ "projectType": "library",
+ "tags": ["scope:backend"],
+ "targets": {
+ "build": {
+ "outputs": ["{options.outputPath}"],
+ "options": {
+ "outputPath": "{projectRoot}/dist"
+ }
+ },
+ "typecheck": {},
+ "lint": {
+ "options": {
+ "lintFilePatterns": [
+ "{projectRoot}/src/**/*.{ts,tsx,json}",
+ "{projectRoot}/package.json"
+ ],
+ "reportUnusedDisableDirectives": "error"
+ },
+ "configurations": {
+ "fix": {}
+ }
+ },
+ "fmt": {
+ "options": {
+ "files": "src"
+ },
+ "configurations": {
+ "fix": {}
+ }
+ }
+ }
+}
diff --git a/packages/twenty-emails/src/common-style.ts b/packages/twenty-emails/src/common-style.ts
index bd550b544824..8ebf9154cfaf 100644
--- a/packages/twenty-emails/src/common-style.ts
+++ b/packages/twenty-emails/src/common-style.ts
@@ -1,3 +1,5 @@
+/* eslint-disable @nx/workspace-no-hardcoded-colors */
+
const grayScale = {
gray100: '#000000',
gray90: '#141414',
diff --git a/packages/twenty-emails/src/components/BaseEmail.tsx b/packages/twenty-emails/src/components/BaseEmail.tsx
index 0e42470d6f51..c98c7013b9b3 100644
--- a/packages/twenty-emails/src/components/BaseEmail.tsx
+++ b/packages/twenty-emails/src/components/BaseEmail.tsx
@@ -1,5 +1,6 @@
import { PropsWithChildren } from 'react';
import { Container, Html } from '@react-email/components';
+
import { BaseHead } from 'src/components/BaseHead';
import { Logo } from 'src/components/Logo';
diff --git a/packages/twenty-emails/src/components/BaseHead.tsx b/packages/twenty-emails/src/components/BaseHead.tsx
index 449d22abab66..559d9419badb 100644
--- a/packages/twenty-emails/src/components/BaseHead.tsx
+++ b/packages/twenty-emails/src/components/BaseHead.tsx
@@ -1,4 +1,5 @@
import { Font, Head } from '@react-email/components';
+
import { emailTheme } from 'src/common-style';
export const BaseHead = () => {
diff --git a/packages/twenty-emails/src/components/CallToAction.tsx b/packages/twenty-emails/src/components/CallToAction.tsx
index cb49569b49d6..7df247d549c0 100644
--- a/packages/twenty-emails/src/components/CallToAction.tsx
+++ b/packages/twenty-emails/src/components/CallToAction.tsx
@@ -1,5 +1,6 @@
import { ReactNode } from 'react';
import { Button } from '@react-email/button';
+
import { emailTheme } from 'src/common-style';
const callToActionStyle = {
diff --git a/packages/twenty-emails/src/components/HighlightedText.tsx b/packages/twenty-emails/src/components/HighlightedText.tsx
index 03a5fb229ca5..1e40ccd19e8f 100644
--- a/packages/twenty-emails/src/components/HighlightedText.tsx
+++ b/packages/twenty-emails/src/components/HighlightedText.tsx
@@ -2,6 +2,7 @@ import { ReactNode } from 'react';
import { Column } from '@react-email/components';
import { Row } from '@react-email/row';
import { Text } from '@react-email/text';
+
import { emailTheme } from 'src/common-style';
const rowStyle = {
diff --git a/packages/twenty-emails/src/components/Link.tsx b/packages/twenty-emails/src/components/Link.tsx
index 397caa565dd9..30fe5638ed1b 100644
--- a/packages/twenty-emails/src/components/Link.tsx
+++ b/packages/twenty-emails/src/components/Link.tsx
@@ -1,5 +1,6 @@
import { ReactNode } from 'react';
import { Link as EmailLink } from '@react-email/components';
+
import { emailTheme } from 'src/common-style';
const linkStyle = {
diff --git a/packages/twenty-emails/src/components/MainText.tsx b/packages/twenty-emails/src/components/MainText.tsx
index d4aa1b6eb7a9..fee31bff23a7 100644
--- a/packages/twenty-emails/src/components/MainText.tsx
+++ b/packages/twenty-emails/src/components/MainText.tsx
@@ -1,5 +1,6 @@
-import { PropsWithChildren } from 'react';
+import { PropsWithChildren as MainTextProps } from 'react';
import { Text } from '@react-email/text';
+
import { emailTheme } from 'src/common-style';
const mainTextStyle = {
@@ -8,6 +9,6 @@ const mainTextStyle = {
color: emailTheme.font.colors.primary,
};
-export const MainText = ({ children }: PropsWithChildren) => {
+export const MainText = ({ children }: MainTextProps) => {
return {children};
};
diff --git a/packages/twenty-emails/src/emails/clean-inactive-workspaces.email.tsx b/packages/twenty-emails/src/emails/clean-inactive-workspaces.email.tsx
index bf912cc6c8f0..0948a1b47ec1 100644
--- a/packages/twenty-emails/src/emails/clean-inactive-workspaces.email.tsx
+++ b/packages/twenty-emails/src/emails/clean-inactive-workspaces.email.tsx
@@ -4,7 +4,7 @@ import { HighlightedText } from 'src/components/HighlightedText';
import { MainText } from 'src/components/MainText';
import { Title } from 'src/components/Title';
-type CleanInactiveWorkspaceEmailData = {
+type CleanInactiveWorkspaceEmailProps = {
daysLeft: number;
userName: string;
workspaceDisplayName: string;
@@ -14,7 +14,7 @@ export const CleanInactiveWorkspaceEmail = ({
daysLeft,
userName,
workspaceDisplayName,
-}: CleanInactiveWorkspaceEmailData) => {
+}: CleanInactiveWorkspaceEmailProps) => {
const dayOrDays = daysLeft > 1 ? 'days' : 'day';
const remainingDays = daysLeft > 1 ? `${daysLeft} ` : '';
diff --git a/packages/twenty-emails/src/emails/delete-inactive-workspaces.email.tsx b/packages/twenty-emails/src/emails/delete-inactive-workspaces.email.tsx
index dabecf167382..c8ce348a3ccc 100644
--- a/packages/twenty-emails/src/emails/delete-inactive-workspaces.email.tsx
+++ b/packages/twenty-emails/src/emails/delete-inactive-workspaces.email.tsx
@@ -1,4 +1,5 @@
import { Column, Row, Section } from '@react-email/components';
+
import { BaseEmail } from 'src/components/BaseEmail';
import { MainText } from 'src/components/MainText';
import { Title } from 'src/components/Title';
diff --git a/packages/twenty-emails/src/emails/password-update-notify.email.tsx b/packages/twenty-emails/src/emails/password-update-notify.email.tsx
index 4f5d73159f34..0a85b8967d0b 100644
--- a/packages/twenty-emails/src/emails/password-update-notify.email.tsx
+++ b/packages/twenty-emails/src/emails/password-update-notify.email.tsx
@@ -1,4 +1,5 @@
import { format } from 'date-fns';
+
import { BaseEmail } from 'src/components/BaseEmail';
import { CallToAction } from 'src/components/CallToAction';
import { MainText } from 'src/components/MainText';
diff --git a/packages/twenty-emails/tsconfig.lib.json b/packages/twenty-emails/tsconfig.lib.json
index c4c9fd98f04a..df7d81d48218 100644
--- a/packages/twenty-emails/tsconfig.lib.json
+++ b/packages/twenty-emails/tsconfig.lib.json
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
- "outDir": "../../dist/out-tsc",
+ "outDir": "../../.cache/tsc",
"types": [
"node",
"@nx/react/typings/image.d.ts",
diff --git a/packages/twenty-front/project.json b/packages/twenty-front/project.json
index 06f26ee0e111..15e86ef7c665 100644
--- a/packages/twenty-front/project.json
+++ b/packages/twenty-front/project.json
@@ -2,6 +2,7 @@
"name": "twenty-front",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
+ "tags": ["scope:frontend"],
"targets": {
"build": {
"outputs": ["{options.outputPath}"],
@@ -24,115 +25,58 @@
"open": true
}
},
- "typecheck": {
+ "reset:env": {
"executor": "nx:run-commands",
+ "inputs": ["{projectRoot}/.env.example"],
+ "outputs": ["{projectRoot}/.env"],
+ "cache": true,
"options": {
"cwd": "{projectRoot}",
- "command": "tsc -b tsconfig.json",
- "args": ["--incremental"]
- },
- "configurations": {
- "ci": { "args": [] },
- "watch": { "watch": true }
+ "command": "cp .env.example .env"
}
},
+ "typecheck": {},
"lint": {
- "executor": "@nx/eslint:lint",
- "outputs": ["{options.outputFile}"],
"options": {
- "eslintConfig": "{projectRoot}/.eslintrc.cjs",
- "ignorePath": "{workspaceRoot}/.gitignore",
"lintFilePatterns": [
"{projectRoot}/src/**/*.{ts,tsx,json}",
"{projectRoot}/package.json"
],
"maxWarnings": 0,
- "reportUnusedDisableDirectives": "error",
- "cache": true
+ "reportUnusedDisableDirectives": "error"
},
"configurations": {
- "ci": {
- "eslintConfig": "{projectRoot}/.eslintrc-ci.cjs",
- "cache": false
- },
- "fix": {
- "fix": true
- }
+ "ci": { "eslintConfig": "{projectRoot}/.eslintrc-ci.cjs" },
+ "fix": {}
}
},
"fmt": {
- "executor": "nx:run-commands",
- "inputs": ["{projectRoot}/src/**/*"],
- "cache": true,
- "options": {
- "cwd": "{projectRoot}",
- "command": "prettier src --check"
- },
- "configurations": {
- "fix": { "args": ["--write"] }
- }
- },
- "test": {
- "executor": "@nx/jest:jest",
- "outputs": ["{projectRoot}/coverage"],
"options": {
- "jestConfig": "{projectRoot}/jest.config.ts",
- "coverage": true,
- "coverageReporters": ["text-summary"]
+ "files": "src"
},
"configurations": {
- "ci": {
- "ci": true,
- "maxWorkers": 3
- },
- "coverage": {
- "coverageReporters": ["lcov", "text"]
- },
- "watch": { "watch": true }
- }
- },
- "storybook:build": {
- "executor": "@nx/storybook:build",
- "outputs": ["{options.outputDir}"],
- "options": {
- "outputDir": "{projectRoot}/storybook-static",
- "configDir": "{projectRoot}/.storybook"
+ "fix": {}
}
},
+ "test": {},
+ "storybook:build": {},
"storybook:dev": {
- "executor": "@nx/storybook:storybook",
- "options": {
- "port": 6006,
- "configDir": "{projectRoot}/.storybook"
- }
+ "options": { "port": 6006 }
},
"storybook:static": {
- "executor": "@nx/web:file-server",
"options": {
"buildTarget": "twenty-front:storybook:build",
- "port": 6006,
- "staticFilePath": "{projectRoot}/storybook-static",
- "watch": false
+ "port": 6006
}
},
"storybook:test": {
- "executor": "nx:run-commands",
"options": {
- "cwd": "{projectRoot}",
- "commands": [
- "test-storybook --url http://localhost:6006 --maxWorkers=3 --coverage",
- "nyc report --reporter=lcov --reporter=text-summary -t coverage/storybook --report-dir coverage/storybook --check-coverage"
- ],
- "parallel": false
+ "url": "http://localhost:6006"
},
"configurations": {
- "docs": {
- "commands": ["STORYBOOK_SCOPE=ui-docs nx storybook:test"]
- },
- "modules": {
- "commands": ["STORYBOOK_SCOPE=modules nx storybook:test"]
- },
- "pages": { "commands": ["STORYBOOK_SCOPE=pages nx storybook:test"] }
+ "docs": { "env": { "STORYBOOK_SCOPE": "ui-docs" } },
+ "modules": { "env": { "STORYBOOK_SCOPE": "modules" } },
+ "pages": { "env": { "STORYBOOK_SCOPE": "pages" } }
}
},
"graphql:generate": {
@@ -144,24 +88,13 @@
},
"configurations": {
"data": {
- "args": ["--config=codegen.cjs"]
+ "config": "codegen.cjs"
},
"metadata": {
- "args": ["--config=codegen-metadata.cjs"]
+ "config": "codegen-metadata.cjs"
}
}
},
- "chromatic": {
- "executor": "nx:run-commands",
- "options": {
- "cwd": "{projectRoot}",
- "command": "cross-var chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --build-script-name=storybook:build"
- },
- "configurations": {
- "ci": {
- "args": ["--exit-zero-on-changes"]
- }
- }
- }
+ "chromatic": {}
}
}
diff --git a/packages/twenty-front/src/modules/object-record/record-field/__mocks__/fieldDefinitions.ts b/packages/twenty-front/src/modules/object-record/record-field/__mocks__/fieldDefinitions.ts
index 337afbf0bed0..9ea73c15dfc3 100644
--- a/packages/twenty-front/src/modules/object-record/record-field/__mocks__/fieldDefinitions.ts
+++ b/packages/twenty-front/src/modules/object-record/record-field/__mocks__/fieldDefinitions.ts
@@ -9,12 +9,12 @@ import {
} from '@/object-record/record-field/types/FieldMetadata';
import { type } from 'os';
import { FieldMetadataType } from '~/generated-metadata/graphql';
-import { mockedCompanyObjectMetadataItem, mockedPersonObjectMetadataItem } from '~/testing/mock-data/metadata';
-;
-
+import {
+ mockedCompanyObjectMetadataItem,
+ mockedPersonObjectMetadataItem,
+} from '~/testing/mock-data/metadata';
export const fieldMetadataId = 'fieldMetadataId';
-
export const textfieldDefinition: FieldDefinition = {
fieldMetadataId,
label: 'User Name',
@@ -64,7 +64,7 @@ export const linkFieldDefinition: FieldDefinition = {
label: 'LinkedIn URL',
iconName: 'url',
type: FieldMetadataType.Link,
- defaultValue: { label: '', url: ''},
+ defaultValue: { label: '', url: '' },
metadata: {
fieldName: 'linkedInURL',
placeHolder: 'https://linkedin.com/user',
diff --git a/packages/twenty-front/src/testing/mock-data/generated/standard-metadata-query-result.ts b/packages/twenty-front/src/testing/mock-data/generated/standard-metadata-query-result.ts
index 7933fdc55742..68f2b9e6990b 100644
--- a/packages/twenty-front/src/testing/mock-data/generated/standard-metadata-query-result.ts
+++ b/packages/twenty-front/src/testing/mock-data/generated/standard-metadata-query-result.ts
@@ -6,13052 +6,13103 @@ import {
// This file is not designed to be manually edited.
// It's an extract from the dev seeded environment metadata call
// TODO: automate the generation of this file
-export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery = {
- __typename: 'Query',
- objects: {
- __typename: 'ObjectConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjI3',
- },
- edges: [
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'view',
- namePlural: 'views',
- labelSingular: 'View',
- labelPlural: 'Views',
- description: '(System) Views',
- icon: 'IconLayoutCollage',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEz',
+export const mockedStandardObjectMetadataQueryResult: ObjectMetadataItemsQuery =
+ {
+ __typename: 'Query',
+ objects: {
+ __typename: 'ObjectConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjI3',
+ },
+ edges: [
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'view',
+ namePlural: 'views',
+ labelSingular: 'View',
+ labelPlural: 'Views',
+ description: '(System) Views',
+ icon: 'IconLayoutCollage',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEz',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ea83af89-be10-49af-a605-10c3392ae007',
+ type: 'RELATION',
+ name: 'viewFields',
+ label: 'View Fields',
+ description: 'View Fields',
+ icon: 'IconTag',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ nameSingular: 'view',
+ namePlural: 'views',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'ea83af89-be10-49af-a605-10c3392ae007',
+ name: 'viewFields',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'dba899da-7d88-41ac-b70e-5ea612ab4b2e',
+ nameSingular: 'viewField',
+ namePlural: 'viewFields',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'c9607ed7-168d-4743-a56a-689ffcfffe98',
+ name: 'view',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'c5cdbacd-2489-4409-be9e-bb4cb38f6ddd',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'c9607ed7-168d-4743-a56a-689ffcfffe98',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'dba899da-7d88-41ac-b70e-5ea612ab4b2e',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'viewField',
+ namePlural: 'viewFields',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5e054149-2d41-4591-b968-8fdf0afcbc79',
+ type: 'RELATION',
+ name: 'viewFilters',
+ label: 'View Filters',
+ description: 'View Filters',
+ icon: 'IconFilterBolt',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ nameSingular: 'view',
+ namePlural: 'views',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '5e054149-2d41-4591-b968-8fdf0afcbc79',
+ name: 'viewFilters',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'e216a94e-b3ea-4421-b501-948d8a902878',
+ nameSingular: 'viewFilter',
+ namePlural: 'viewFilters',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '6ce40790-295a-4aac-a65e-9ae863ba1d90',
+ name: 'view',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '4c2b4383-93f8-4996-b870-bc2acf330537',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '6ce40790-295a-4aac-a65e-9ae863ba1d90',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'e216a94e-b3ea-4421-b501-948d8a902878',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'viewFilter',
+ namePlural: 'viewFilters',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c5384d2a-9ec3-4e1b-b93f-86f53f122169',
+ type: 'UUID',
+ name: 'objectMetadataId',
+ label: 'Object Metadata Id',
+ description: 'View target object',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '405aa0c6-ce96-4597-8b61-2271020fde11',
+ type: 'RELATION',
+ name: 'viewSorts',
+ label: 'View Sorts',
+ description: 'View Sorts',
+ icon: 'IconArrowsSort',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ nameSingular: 'view',
+ namePlural: 'views',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '405aa0c6-ce96-4597-8b61-2271020fde11',
+ name: 'viewSorts',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '06ed4d2c-3ae8-4b0f-895c-de30676d9c46',
+ nameSingular: 'viewSort',
+ namePlural: 'viewSorts',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '5ab02c12-acdd-4663-b913-78c25dd7f199',
+ name: 'view',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '44bff5e3-29ae-4a3a-a9d8-bae4981bff33',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '5ab02c12-acdd-4663-b913-78c25dd7f199',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '06ed4d2c-3ae8-4b0f-895c-de30676d9c46',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'viewSort',
+ namePlural: 'viewSorts',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'bb4d96be-e4d9-47a9-812d-fcdfb063ebf3',
+ type: 'POSITION',
+ name: 'position',
+ label: 'Position',
+ description: 'View position',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ae488050-d4b5-4439-8811-88a637fcf1ce',
+ type: 'TEXT',
+ name: 'icon',
+ label: 'Icon',
+ description: 'View icon',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '497379ca-f058-44e3-a5fb-fcb0b2bfd281',
+ type: 'BOOLEAN',
+ name: 'isCompact',
+ label: 'Compact View',
+ description: 'Describes if the view is in compact mode',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: false,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a57563df-2d34-4a14-b6c6-bbfd1f88717d',
+ type: 'TEXT',
+ name: 'kanbanFieldMetadataId',
+ label: 'kanbanfieldMetadataId',
+ description: 'View Kanban column field',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '9f92809b-d5e8-4ab8-bdda-b6e48967929e',
+ type: 'SELECT',
+ name: 'key',
+ label: 'Key',
+ description: 'View key',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'INDEX'",
+ options: [
+ {
+ id: 'cc8309e9-0421-4689-9367-d0361f518ec9',
+ color: 'red',
+ label: 'Index',
+ value: 'INDEX',
+ position: 0,
+ },
+ ],
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '76ba4ce0-3577-48b2-b526-89bb58ed8ee1',
+ type: 'TEXT',
+ name: 'type',
+ label: 'Type',
+ description: 'View type',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'table'",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f20c68aa-3930-41c4-9f79-45dceda506df',
+ type: 'TEXT',
+ name: 'name',
+ label: 'Name',
+ description: 'View name',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a3ef848d-660a-4aef-9cd4-5baf25ce36ed',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '92f3e27c-041d-45b2-b2bd-46db2b1aec3f',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8d7987eb-99e8-4e54-a86c-86b3bd07d2be',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ea83af89-be10-49af-a605-10c3392ae007',
- type: 'RELATION',
- name: 'viewFields',
- label: 'View Fields',
- description: 'View Fields',
- icon: 'IconTag',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- nameSingular: 'view',
- namePlural: 'views',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'ea83af89-be10-49af-a605-10c3392ae007',
- name: 'viewFields',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'dba899da-7d88-41ac-b70e-5ea612ab4b2e',
- nameSingular: 'viewField',
- namePlural: 'viewFields',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'c9607ed7-168d-4743-a56a-689ffcfffe98',
- name: 'view',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'c5cdbacd-2489-4409-be9e-bb4cb38f6ddd',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'c9607ed7-168d-4743-a56a-689ffcfffe98',
- toObjectMetadata: {
- __typename: 'object',
- id: 'dba899da-7d88-41ac-b70e-5ea612ab4b2e',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'viewField',
- namePlural: 'viewFields',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5e054149-2d41-4591-b968-8fdf0afcbc79',
- type: 'RELATION',
- name: 'viewFilters',
- label: 'View Filters',
- description: 'View Filters',
- icon: 'IconFilterBolt',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- nameSingular: 'view',
- namePlural: 'views',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '5e054149-2d41-4591-b968-8fdf0afcbc79',
- name: 'viewFilters',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'e216a94e-b3ea-4421-b501-948d8a902878',
- nameSingular: 'viewFilter',
- namePlural: 'viewFilters',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '6ce40790-295a-4aac-a65e-9ae863ba1d90',
- name: 'view',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '4c2b4383-93f8-4996-b870-bc2acf330537',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '6ce40790-295a-4aac-a65e-9ae863ba1d90',
- toObjectMetadata: {
- __typename: 'object',
- id: 'e216a94e-b3ea-4421-b501-948d8a902878',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'viewFilter',
- namePlural: 'viewFilters',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c5384d2a-9ec3-4e1b-b93f-86f53f122169',
- type: 'UUID',
- name: 'objectMetadataId',
- label: 'Object Metadata Id',
- description: 'View target object',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '405aa0c6-ce96-4597-8b61-2271020fde11',
- type: 'RELATION',
- name: 'viewSorts',
- label: 'View Sorts',
- description: 'View Sorts',
- icon: 'IconArrowsSort',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- nameSingular: 'view',
- namePlural: 'views',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '405aa0c6-ce96-4597-8b61-2271020fde11',
- name: 'viewSorts',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '06ed4d2c-3ae8-4b0f-895c-de30676d9c46',
- nameSingular: 'viewSort',
- namePlural: 'viewSorts',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '5ab02c12-acdd-4663-b913-78c25dd7f199',
- name: 'view',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '44bff5e3-29ae-4a3a-a9d8-bae4981bff33',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '5ab02c12-acdd-4663-b913-78c25dd7f199',
- toObjectMetadata: {
- __typename: 'object',
- id: '06ed4d2c-3ae8-4b0f-895c-de30676d9c46',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'viewSort',
- namePlural: 'viewSorts',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'bb4d96be-e4d9-47a9-812d-fcdfb063ebf3',
- type: 'POSITION',
- name: 'position',
- label: 'Position',
- description: 'View position',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ae488050-d4b5-4439-8811-88a637fcf1ce',
- type: 'TEXT',
- name: 'icon',
- label: 'Icon',
- description: 'View icon',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '497379ca-f058-44e3-a5fb-fcb0b2bfd281',
- type: 'BOOLEAN',
- name: 'isCompact',
- label: 'Compact View',
- description: 'Describes if the view is in compact mode',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: false,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a57563df-2d34-4a14-b6c6-bbfd1f88717d',
- type: 'TEXT',
- name: 'kanbanFieldMetadataId',
- label: 'kanbanfieldMetadataId',
- description: 'View Kanban column field',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '9f92809b-d5e8-4ab8-bdda-b6e48967929e',
- type: 'SELECT',
- name: 'key',
- label: 'Key',
- description: 'View key',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'INDEX'",
- options: [
- {
- id: 'cc8309e9-0421-4689-9367-d0361f518ec9',
- color: 'red',
- label: 'Index',
- value: 'INDEX',
- position: 0,
- },
- ],
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '76ba4ce0-3577-48b2-b526-89bb58ed8ee1',
- type: 'TEXT',
- name: 'type',
- label: 'Type',
- description: 'View type',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'table'",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f20c68aa-3930-41c4-9f79-45dceda506df',
- type: 'TEXT',
- name: 'name',
- label: 'Name',
- description: 'View name',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a3ef848d-660a-4aef-9cd4-5baf25ce36ed',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '92f3e27c-041d-45b2-b2bd-46db2b1aec3f',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8d7987eb-99e8-4e54-a86c-86b3bd07d2be',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- labelSingular: 'Message Channel Message Association',
- labelPlural: 'Message Channel Message Associations',
- description: 'Message Synced with a Message Channel',
- icon: 'IconMessage',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEw',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ labelSingular: 'Message Channel Message Association',
+ labelPlural: 'Message Channel Message Associations',
+ description: 'Message Synced with a Message Channel',
+ icon: 'IconMessage',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEw',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '3ccc1495-a81f-4360-9759-ee148e1421b8',
+ type: 'UUID',
+ name: 'messageChannelId',
+ label: 'Message Channel Id id (foreign key)',
+ description: 'Message Channel Id id foreign key',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '4d42264e-8baa-4299-8d6c-f0047bd92d56',
+ type: 'TEXT',
+ name: 'messageThreadExternalId',
+ label: 'Thread External Id',
+ description: 'Thread id from the messaging provider',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '49bbc13b-36e7-4347-9296-eed0a0d5a6a9',
+ type: 'TEXT',
+ name: 'messageExternalId',
+ label: 'Message External Id',
+ description: 'Message id from the messaging provider',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd99cc1b4-4874-4c78-bcfe-0908c0a51466',
+ type: 'RELATION',
+ name: 'messageThread',
+ label: 'Message Thread Id',
+ description: 'Message Thread Id',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'd99cc1b4-4874-4c78-bcfe-0908c0a51466',
+ name: 'messageThread',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
+ nameSingular: 'messageThread',
+ namePlural: 'messageThreads',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '442b3224-f4c6-49b8-979e-693606a22875',
+ name: 'messageChannelMessageAssociations',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '549e03f3-97b3-4bf9-a23f-243fcda40f6f',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '442b3224-f4c6-49b8-979e-693606a22875',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageThread',
+ namePlural: 'messageThreads',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '9c47a2d7-6893-4d15-9f8a-5dd684ca912f',
+ type: 'UUID',
+ name: 'messageId',
+ label: 'Message Id id (foreign key)',
+ description: 'Message Id id foreign key',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c42c20e7-beca-4b4b-8d40-c95072952aff',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '3a173536-9956-4089-8753-a4be5b12c934',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd4906a0e-8c1e-4dc5-81ee-09ca1c42e7c4',
+ type: 'UUID',
+ name: 'messageThreadId',
+ label: 'Message Thread Id id (foreign key)',
+ description: 'Message Thread Id id foreign key',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '9eb31623-2733-4530-9b49-aaa879ad475d',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '29a3af93-a6b9-464f-bc83-84fd2abf2054',
+ type: 'RELATION',
+ name: 'message',
+ label: 'Message Id',
+ description: 'Message Id',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '29a3af93-a6b9-464f-bc83-84fd2abf2054',
+ name: 'message',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'ae82a0a0-d928-499a-a6b1-ad46006452b0',
+ name: 'messageChannelMessageAssociations',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '94cb665d-b973-4276-bf55-656e08d79736',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'ae82a0a0-d928-499a-a6b1-ad46006452b0',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8b39502b-7400-480f-aff3-fa010bdbf50c',
+ type: 'RELATION',
+ name: 'messageChannel',
+ label: 'Message Channel Id',
+ description: 'Message Channel Id',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '8b39502b-7400-480f-aff3-fa010bdbf50c',
+ name: 'messageChannel',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8bef276b-342c-4088-9448-752fc8efd426',
+ nameSingular: 'messageChannel',
+ namePlural: 'messageChannels',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '1cbbd683-b426-4509-9557-54671e6f0447',
+ name: 'messageChannelMessageAssociations',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'b103a006-841d-4c39-b3b6-9385eb1cedfa',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '1cbbd683-b426-4509-9557-54671e6f0447',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8bef276b-342c-4088-9448-752fc8efd426',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageChannel',
+ namePlural: 'messageChannels',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '3ccc1495-a81f-4360-9759-ee148e1421b8',
- type: 'UUID',
- name: 'messageChannelId',
- label: 'Message Channel Id id (foreign key)',
- description: 'Message Channel Id id foreign key',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '4d42264e-8baa-4299-8d6c-f0047bd92d56',
- type: 'TEXT',
- name: 'messageThreadExternalId',
- label: 'Thread External Id',
- description: 'Thread id from the messaging provider',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '49bbc13b-36e7-4347-9296-eed0a0d5a6a9',
- type: 'TEXT',
- name: 'messageExternalId',
- label: 'Message External Id',
- description: 'Message id from the messaging provider',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd99cc1b4-4874-4c78-bcfe-0908c0a51466',
- type: 'RELATION',
- name: 'messageThread',
- label: 'Message Thread Id',
- description: 'Message Thread Id',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'd99cc1b4-4874-4c78-bcfe-0908c0a51466',
- name: 'messageThread',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
- nameSingular: 'messageThread',
- namePlural: 'messageThreads',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '442b3224-f4c6-49b8-979e-693606a22875',
- name: 'messageChannelMessageAssociations',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '549e03f3-97b3-4bf9-a23f-243fcda40f6f',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '442b3224-f4c6-49b8-979e-693606a22875',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageThread',
- namePlural: 'messageThreads',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '9c47a2d7-6893-4d15-9f8a-5dd684ca912f',
- type: 'UUID',
- name: 'messageId',
- label: 'Message Id id (foreign key)',
- description: 'Message Id id foreign key',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c42c20e7-beca-4b4b-8d40-c95072952aff',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '3a173536-9956-4089-8753-a4be5b12c934',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd4906a0e-8c1e-4dc5-81ee-09ca1c42e7c4',
- type: 'UUID',
- name: 'messageThreadId',
- label: 'Message Thread Id id (foreign key)',
- description: 'Message Thread Id id foreign key',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '9eb31623-2733-4530-9b49-aaa879ad475d',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '29a3af93-a6b9-464f-bc83-84fd2abf2054',
- type: 'RELATION',
- name: 'message',
- label: 'Message Id',
- description: 'Message Id',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '29a3af93-a6b9-464f-bc83-84fd2abf2054',
- name: 'message',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- nameSingular: 'message',
- namePlural: 'messages',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'ae82a0a0-d928-499a-a6b1-ad46006452b0',
- name: 'messageChannelMessageAssociations',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '94cb665d-b973-4276-bf55-656e08d79736',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'ae82a0a0-d928-499a-a6b1-ad46006452b0',
- fromObjectMetadata: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'message',
- namePlural: 'messages',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8b39502b-7400-480f-aff3-fa010bdbf50c',
- type: 'RELATION',
- name: 'messageChannel',
- label: 'Message Channel Id',
- description: 'Message Channel Id',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '8b39502b-7400-480f-aff3-fa010bdbf50c',
- name: 'messageChannel',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8bef276b-342c-4088-9448-752fc8efd426',
- nameSingular: 'messageChannel',
- namePlural: 'messageChannels',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '1cbbd683-b426-4509-9557-54671e6f0447',
- name: 'messageChannelMessageAssociations',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'b103a006-841d-4c39-b3b6-9385eb1cedfa',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '1cbbd683-b426-4509-9557-54671e6f0447',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8bef276b-342c-4088-9448-752fc8efd426',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageChannel',
- namePlural: 'messageChannels',
- isSystem: true,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'ed696d77-9b3c-4589-99a2-1f03f9a4ba5b',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'blocklist',
- namePlural: 'blocklists',
- labelSingular: 'Blocklist',
- labelPlural: 'Blocklists',
- description: 'Blocklist',
- icon: 'IconForbid2',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjU=',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'ed696d77-9b3c-4589-99a2-1f03f9a4ba5b',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'blocklist',
+ namePlural: 'blocklists',
+ labelSingular: 'Blocklist',
+ labelPlural: 'Blocklists',
+ description: 'Blocklist',
+ icon: 'IconForbid2',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjU=',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0a1a9628-472f-4fc1-b5b7-2a6a76eb75f7',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '3ed68d76-dc49-4437-a3da-c3f4fd106641',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '694deb5a-ff12-4a79-8588-de714da8c74b',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0b04e28c-a133-4844-b03c-bf811c00d101',
+ type: 'TEXT',
+ name: 'handle',
+ label: 'Handle',
+ description: 'Handle',
+ icon: 'IconAt',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'dad00e51-1012-4874-99bc-1c5d178d5df8',
+ type: 'UUID',
+ name: 'workspaceMemberId',
+ label: 'WorkspaceMember id (foreign key)',
+ description: 'WorkspaceMember id foreign key',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5d578b49-324e-43a3-a10a-512c5606d29b',
+ type: 'RELATION',
+ name: 'workspaceMember',
+ label: 'WorkspaceMember',
+ description: 'WorkspaceMember',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'ed696d77-9b3c-4589-99a2-1f03f9a4ba5b',
+ nameSingular: 'blocklist',
+ namePlural: 'blocklists',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '5d578b49-324e-43a3-a10a-512c5606d29b',
+ name: 'workspaceMember',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'ca7a26f0-84f3-4215-a3a1-6967961de3c4',
+ name: 'blocklist',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '3e9e97f8-a2a4-4f90-a6a0-721fb1e66334',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'ca7a26f0-84f3-4215-a3a1-6967961de3c4',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0a1a9628-472f-4fc1-b5b7-2a6a76eb75f7',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '3ed68d76-dc49-4437-a3da-c3f4fd106641',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '694deb5a-ff12-4a79-8588-de714da8c74b',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0b04e28c-a133-4844-b03c-bf811c00d101',
- type: 'TEXT',
- name: 'handle',
- label: 'Handle',
- description: 'Handle',
- icon: 'IconAt',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'dad00e51-1012-4874-99bc-1c5d178d5df8',
- type: 'UUID',
- name: 'workspaceMemberId',
- label: 'WorkspaceMember id (foreign key)',
- description: 'WorkspaceMember id foreign key',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5d578b49-324e-43a3-a10a-512c5606d29b',
- type: 'RELATION',
- name: 'workspaceMember',
- label: 'WorkspaceMember',
- description: 'WorkspaceMember',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'ed696d77-9b3c-4589-99a2-1f03f9a4ba5b',
- nameSingular: 'blocklist',
- namePlural: 'blocklists',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '5d578b49-324e-43a3-a10a-512c5606d29b',
- name: 'workspaceMember',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'ca7a26f0-84f3-4215-a3a1-6967961de3c4',
- name: 'blocklist',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '3e9e97f8-a2a4-4f90-a6a0-721fb1e66334',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'ca7a26f0-84f3-4215-a3a1-6967961de3c4',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- labelSingular: 'Message Participant',
- labelPlural: 'Message Participants',
- description: 'Message Participants',
- icon: 'IconUserCircle',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEx',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ labelSingular: 'Message Participant',
+ labelPlural: 'Message Participants',
+ description: 'Message Participants',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEx',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e863b224-08fc-4241-8b77-eb24e14844dc',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '372d5559-abc9-43c8-aa89-62d95e384c5a',
+ type: 'RELATION',
+ name: 'message',
+ label: 'Message',
+ description: 'Message',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '372d5559-abc9-43c8-aa89-62d95e384c5a',
+ name: 'message',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '12099cb8-ee26-4ce7-836c-73230c94c3e8',
+ name: 'messageParticipants',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '16a649f3-94b9-456e-ad2a-70dcd16c9516',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '12099cb8-ee26-4ce7-836c-73230c94c3e8',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1168f1f2-ae9a-4669-a517-d0f785102c5e',
+ type: 'TEXT',
+ name: 'displayName',
+ label: 'Display Name',
+ description: 'Display Name',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '415de672-a5a6-4d11-b123-ce921849db37',
+ type: 'TEXT',
+ name: 'handle',
+ label: 'Handle',
+ description: 'Handle',
+ icon: 'IconAt',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '836f7097-cb64-452d-84a8-139972c9041d',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '66ff1cd4-a364-4ac0-ad58-72de0c425530',
+ type: 'UUID',
+ name: 'workspaceMemberId',
+ label: 'Workspace Member id (foreign key)',
+ description: 'Workspace member id foreign key',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '770b5c8f-8d05-4168-9355-8ac21f850175',
+ type: 'UUID',
+ name: 'messageId',
+ label: 'Message id (foreign key)',
+ description: 'Message id foreign key',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '02b1656e-251d-4229-b86a-de621678bd96',
+ type: 'RELATION',
+ name: 'person',
+ label: 'Person',
+ description: 'Person',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '02b1656e-251d-4229-b86a-de621678bd96',
+ name: 'person',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '776f05e8-fe39-47c7-861e-586361299462',
+ name: 'messageParticipants',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '5a766df3-68b4-4772-ab77-bfcc61bfbaf5',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '776f05e8-fe39-47c7-861e-586361299462',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'person',
+ namePlural: 'people',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '767c63d9-0e2b-4e27-b70b-98a5abac2af1',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5347bc0d-f881-4d85-a12d-efa6ff87390c',
+ type: 'SELECT',
+ name: 'role',
+ label: 'Role',
+ description: 'Role',
+ icon: 'IconAt',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'from'",
+ options: [
+ {
+ id: '42447b80-c957-4508-a2f5-f29641ea1869',
+ color: 'green',
+ label: 'From',
+ value: 'from',
+ position: 0,
+ },
+ {
+ id: '5ece6f75-a65b-441f-beda-fa4396da98b4',
+ color: 'blue',
+ label: 'To',
+ value: 'to',
+ position: 1,
+ },
+ {
+ id: '3db19ee3-b0cc-4197-a37d-fd61be794066',
+ color: 'orange',
+ label: 'Cc',
+ value: 'cc',
+ position: 2,
+ },
+ {
+ id: '0b8a9bee-02f7-4c42-9dc2-4bc4499a2662',
+ color: 'red',
+ label: 'Bcc',
+ value: 'bcc',
+ position: 3,
+ },
+ ],
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd96db94f-cffa-494b-9551-4d639d47cee3',
+ type: 'RELATION',
+ name: 'workspaceMember',
+ label: 'Workspace Member',
+ description: 'Workspace member',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'd96db94f-cffa-494b-9551-4d639d47cee3',
+ name: 'workspaceMember',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '67044674-2477-44b4-a7a2-fba9add0e9ce',
+ name: 'messageParticipants',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'a67bb487-2239-4073-ac05-8e2df6446185',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '67044674-2477-44b4-a7a2-fba9add0e9ce',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fd4ac7e5-fc90-4760-8a47-44d084c850df',
+ type: 'UUID',
+ name: 'personId',
+ label: 'Person id (foreign key)',
+ description: 'Person id foreign key',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e863b224-08fc-4241-8b77-eb24e14844dc',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '372d5559-abc9-43c8-aa89-62d95e384c5a',
- type: 'RELATION',
- name: 'message',
- label: 'Message',
- description: 'Message',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '372d5559-abc9-43c8-aa89-62d95e384c5a',
- name: 'message',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- nameSingular: 'message',
- namePlural: 'messages',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '12099cb8-ee26-4ce7-836c-73230c94c3e8',
- name: 'messageParticipants',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '16a649f3-94b9-456e-ad2a-70dcd16c9516',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '12099cb8-ee26-4ce7-836c-73230c94c3e8',
- fromObjectMetadata: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'message',
- namePlural: 'messages',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1168f1f2-ae9a-4669-a517-d0f785102c5e',
- type: 'TEXT',
- name: 'displayName',
- label: 'Display Name',
- description: 'Display Name',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '415de672-a5a6-4d11-b123-ce921849db37',
- type: 'TEXT',
- name: 'handle',
- label: 'Handle',
- description: 'Handle',
- icon: 'IconAt',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '836f7097-cb64-452d-84a8-139972c9041d',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '66ff1cd4-a364-4ac0-ad58-72de0c425530',
- type: 'UUID',
- name: 'workspaceMemberId',
- label: 'Workspace Member id (foreign key)',
- description: 'Workspace member id foreign key',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '770b5c8f-8d05-4168-9355-8ac21f850175',
- type: 'UUID',
- name: 'messageId',
- label: 'Message id (foreign key)',
- description: 'Message id foreign key',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '02b1656e-251d-4229-b86a-de621678bd96',
- type: 'RELATION',
- name: 'person',
- label: 'Person',
- description: 'Person',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '02b1656e-251d-4229-b86a-de621678bd96',
- name: 'person',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '776f05e8-fe39-47c7-861e-586361299462',
- name: 'messageParticipants',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '5a766df3-68b4-4772-ab77-bfcc61bfbaf5',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '776f05e8-fe39-47c7-861e-586361299462',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'person',
- namePlural: 'people',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '767c63d9-0e2b-4e27-b70b-98a5abac2af1',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5347bc0d-f881-4d85-a12d-efa6ff87390c',
- type: 'SELECT',
- name: 'role',
- label: 'Role',
- description: 'Role',
- icon: 'IconAt',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'from'",
- options: [
- {
- id: '42447b80-c957-4508-a2f5-f29641ea1869',
- color: 'green',
- label: 'From',
- value: 'from',
- position: 0,
- },
- {
- id: '5ece6f75-a65b-441f-beda-fa4396da98b4',
- color: 'blue',
- label: 'To',
- value: 'to',
- position: 1,
- },
- {
- id: '3db19ee3-b0cc-4197-a37d-fd61be794066',
- color: 'orange',
- label: 'Cc',
- value: 'cc',
- position: 2,
- },
- {
- id: '0b8a9bee-02f7-4c42-9dc2-4bc4499a2662',
- color: 'red',
- label: 'Bcc',
- value: 'bcc',
- position: 3,
- },
- ],
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd96db94f-cffa-494b-9551-4d639d47cee3',
- type: 'RELATION',
- name: 'workspaceMember',
- label: 'Workspace Member',
- description: 'Workspace member',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'd96db94f-cffa-494b-9551-4d639d47cee3',
- name: 'workspaceMember',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '67044674-2477-44b4-a7a2-fba9add0e9ce',
- name: 'messageParticipants',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'a67bb487-2239-4073-ac05-8e2df6446185',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '67044674-2477-44b4-a7a2-fba9add0e9ce',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fd4ac7e5-fc90-4760-8a47-44d084c850df',
- type: 'UUID',
- name: 'personId',
- label: 'Person id (foreign key)',
- description: 'Person id foreign key',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'event',
- namePlural: 'events',
- labelSingular: 'Event',
- labelPlural: 'Events',
- description: 'An event',
- icon: 'IconJson',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjE0',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'event',
+ namePlural: 'events',
+ labelSingular: 'Event',
+ labelPlural: 'Events',
+ description: 'An event',
+ icon: 'IconJson',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjE0',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '728b91ef-bda8-4d47-80a7-36e64f659ea7',
+ type: 'RELATION',
+ name: 'person',
+ label: 'Person',
+ description: 'Event person',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '728b91ef-bda8-4d47-80a7-36e64f659ea7',
+ name: 'person',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '62332d09-84c5-4959-af41-f1e9cc22ec8d',
+ name: 'events',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'd9f82315-17dd-4991-9713-ca99455383e5',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '62332d09-84c5-4959-af41-f1e9cc22ec8d',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'person',
+ namePlural: 'people',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '9d375ab4-b01f-48b0-af43-bd00c572a910',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '315ef974-9ed8-44ee-9e8d-c29cd58a44fb',
+ type: 'UUID',
+ name: 'listingId',
+ label: 'Listing ID (foreign key)',
+ description: 'Event Listing id foreign key',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.716Z',
+ updatedAt: '2024-04-08T12:51:28.716Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'bcfa8dd3-080a-43f1-ab82-7b6a5b81a64c',
+ type: 'RELATION',
+ name: 'opportunity',
+ label: 'Opportunity',
+ description: 'Events opportunity',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'bcfa8dd3-080a-43f1-ab82-7b6a5b81a64c',
+ name: 'opportunity',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'a16e97e2-2d9f-45f7-85bf-c6cc78de9175',
+ name: 'events',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'ac4bf17f-3e8f-4f90-bf23-ddb8ff4e9063',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'a16e97e2-2d9f-45f7-85bf-c6cc78de9175',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ec278a15-9720-4fee-b2f8-2dc0e7082fd9',
+ type: 'RAW_JSON',
+ name: 'properties',
+ label: 'Event details',
+ description: 'Json value for event details',
+ icon: 'IconListDetails',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5bbfcfa7-0680-448a-a9dd-a9e4ce18f8a6',
+ type: 'TEXT',
+ name: 'name',
+ label: 'Event name',
+ description: 'Event name/type',
+ icon: 'IconAbc',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fb7474da-3b2e-4c91-82e7-fd27cea92e46',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1d60077d-c9ce-4363-adf4-4772a1790799',
+ type: 'UUID',
+ name: 'workspaceMemberId',
+ label: 'Workspace Member id (foreign key)',
+ description: 'Event workspace member id foreign key',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e8998178-223e-42a8-9978-a72a4477c8d4',
+ type: 'RELATION',
+ name: 'workspaceMember',
+ label: 'Workspace Member',
+ description: 'Event workspace member',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'e8998178-223e-42a8-9978-a72a4477c8d4',
+ name: 'workspaceMember',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'a06ac5ca-493e-413e-a305-0812deeaab85',
+ name: 'events',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '6bec3a65-b7eb-4597-96fe-26b10088d2fc',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'a06ac5ca-493e-413e-a305-0812deeaab85',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0b949086-3424-4379-a60f-0d6c55edf26d',
+ type: 'UUID',
+ name: 'companyId',
+ label: 'Company id (foreign key)',
+ description: 'Event company id foreign key',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ce52caf5-ead9-4cb7-bf6b-908df315c9d2',
+ type: 'UUID',
+ name: 'opportunityId',
+ label: 'Opportunity id (foreign key)',
+ description: 'Events opportunity id foreign key',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1771a632-cc73-4706-8ee7-abe3fb67a5e6',
+ type: 'UUID',
+ name: 'personId',
+ label: 'Person id (foreign key)',
+ description: 'Event person id foreign key',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '889a2fbc-c966-4c79-a763-9b1f2c8ad467',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '439ddfe9-1a1d-4992-9bd0-3c7b965e05d5',
+ type: 'RELATION',
+ name: 'listing',
+ label: 'Listing',
+ description: 'Event Listing',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.716Z',
+ updatedAt: '2024-04-08T12:51:28.716Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '439ddfe9-1a1d-4992-9bd0-3c7b965e05d5',
+ name: 'listing',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'bfff2fe1-f45e-4cb4-bd9e-9d68dfe9af7e',
+ name: 'events',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '2c17a017-0dd4-4623-b7dc-63187f0eef12',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'bfff2fe1-f45e-4cb4-bd9e-9d68dfe9af7e',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '155c7d0c-1974-426a-a072-6cee0424d71c',
+ type: 'RELATION',
+ name: 'company',
+ label: 'Company',
+ description: 'Event company',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '155c7d0c-1974-426a-a072-6cee0424d71c',
+ name: 'company',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '29f251c2-fd6f-4fa7-a55b-80e6481f4ba9',
+ name: 'events',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'ad0eb66d-e558-465d-b148-cc0cf3db3b95',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '29f251c2-fd6f-4fa7-a55b-80e6481f4ba9',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '728b91ef-bda8-4d47-80a7-36e64f659ea7',
- type: 'RELATION',
- name: 'person',
- label: 'Person',
- description: 'Event person',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '728b91ef-bda8-4d47-80a7-36e64f659ea7',
- name: 'person',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '62332d09-84c5-4959-af41-f1e9cc22ec8d',
- name: 'events',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'd9f82315-17dd-4991-9713-ca99455383e5',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '62332d09-84c5-4959-af41-f1e9cc22ec8d',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'person',
- namePlural: 'people',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '9d375ab4-b01f-48b0-af43-bd00c572a910',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '315ef974-9ed8-44ee-9e8d-c29cd58a44fb',
- type: 'UUID',
- name: 'listingId',
- label: 'Listing ID (foreign key)',
- description: 'Event Listing id foreign key',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.716Z',
- updatedAt: '2024-04-08T12:51:28.716Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'bcfa8dd3-080a-43f1-ab82-7b6a5b81a64c',
- type: 'RELATION',
- name: 'opportunity',
- label: 'Opportunity',
- description: 'Events opportunity',
- icon: 'IconTargetArrow',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'bcfa8dd3-080a-43f1-ab82-7b6a5b81a64c',
- name: 'opportunity',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'a16e97e2-2d9f-45f7-85bf-c6cc78de9175',
- name: 'events',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'ac4bf17f-3e8f-4f90-bf23-ddb8ff4e9063',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'a16e97e2-2d9f-45f7-85bf-c6cc78de9175',
- fromObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ec278a15-9720-4fee-b2f8-2dc0e7082fd9',
- type: 'RAW_JSON',
- name: 'properties',
- label: 'Event details',
- description: 'Json value for event details',
- icon: 'IconListDetails',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5bbfcfa7-0680-448a-a9dd-a9e4ce18f8a6',
- type: 'TEXT',
- name: 'name',
- label: 'Event name',
- description: 'Event name/type',
- icon: 'IconAbc',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fb7474da-3b2e-4c91-82e7-fd27cea92e46',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1d60077d-c9ce-4363-adf4-4772a1790799',
- type: 'UUID',
- name: 'workspaceMemberId',
- label: 'Workspace Member id (foreign key)',
- description: 'Event workspace member id foreign key',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e8998178-223e-42a8-9978-a72a4477c8d4',
- type: 'RELATION',
- name: 'workspaceMember',
- label: 'Workspace Member',
- description: 'Event workspace member',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'e8998178-223e-42a8-9978-a72a4477c8d4',
- name: 'workspaceMember',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'a06ac5ca-493e-413e-a305-0812deeaab85',
- name: 'events',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '6bec3a65-b7eb-4597-96fe-26b10088d2fc',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'a06ac5ca-493e-413e-a305-0812deeaab85',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0b949086-3424-4379-a60f-0d6c55edf26d',
- type: 'UUID',
- name: 'companyId',
- label: 'Company id (foreign key)',
- description: 'Event company id foreign key',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ce52caf5-ead9-4cb7-bf6b-908df315c9d2',
- type: 'UUID',
- name: 'opportunityId',
- label: 'Opportunity id (foreign key)',
- description: 'Events opportunity id foreign key',
- icon: 'IconTargetArrow',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1771a632-cc73-4706-8ee7-abe3fb67a5e6',
- type: 'UUID',
- name: 'personId',
- label: 'Person id (foreign key)',
- description: 'Event person id foreign key',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '889a2fbc-c966-4c79-a763-9b1f2c8ad467',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '439ddfe9-1a1d-4992-9bd0-3c7b965e05d5',
- type: 'RELATION',
- name: 'listing',
- label: 'Listing',
- description: 'Event Listing',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.716Z',
- updatedAt: '2024-04-08T12:51:28.716Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '439ddfe9-1a1d-4992-9bd0-3c7b965e05d5',
- name: 'listing',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'bfff2fe1-f45e-4cb4-bd9e-9d68dfe9af7e',
- name: 'events',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '2c17a017-0dd4-4623-b7dc-63187f0eef12',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'bfff2fe1-f45e-4cb4-bd9e-9d68dfe9af7e',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'listing',
- namePlural: 'listings',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '155c7d0c-1974-426a-a072-6cee0424d71c',
- type: 'RELATION',
- name: 'company',
- label: 'Company',
- description: 'Event company',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '155c7d0c-1974-426a-a072-6cee0424d71c',
- name: 'company',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '29f251c2-fd6f-4fa7-a55b-80e6481f4ba9',
- name: 'events',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'ad0eb66d-e558-465d-b148-cc0cf3db3b95',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '29f251c2-fd6f-4fa7-a55b-80e6481f4ba9',
- fromObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- isSystem: false,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'e216a94e-b3ea-4421-b501-948d8a902878',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'viewFilter',
- namePlural: 'viewFilters',
- labelSingular: 'View Filter',
- labelPlural: 'View Filters',
- description: '(System) View Filters',
- icon: 'IconFilterBolt',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'e216a94e-b3ea-4421-b501-948d8a902878',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'viewFilter',
+ namePlural: 'viewFilters',
+ labelSingular: 'View Filter',
+ labelPlural: 'View Filters',
+ description: '(System) View Filters',
+ icon: 'IconFilterBolt',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd5f9207d-baf6-41e6-932d-b9d059cb94c6',
+ type: 'UUID',
+ name: 'viewId',
+ label: 'View id (foreign key)',
+ description: 'View Filter related view id foreign key',
+ icon: 'IconLayoutCollage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2dca6b6e-00a3-4271-b51f-145b3872e154',
+ type: 'TEXT',
+ name: 'operand',
+ label: 'Operand',
+ description: 'View Filter operand',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'Contains'",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fc0463f0-648a-44ae-9ebf-84289a8ce592',
+ type: 'TEXT',
+ name: 'displayValue',
+ label: 'Display Value',
+ description: 'View Filter Display Value',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '7ab7e2cc-e863-4dcd-bf60-bcd3f7cf6d74',
+ type: 'UUID',
+ name: 'fieldMetadataId',
+ label: 'Field Metadata Id',
+ description: 'View Filter target field',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '6ce40790-295a-4aac-a65e-9ae863ba1d90',
+ type: 'RELATION',
+ name: 'view',
+ label: 'View',
+ description: 'View Filter related view',
+ icon: 'IconLayoutCollage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'e216a94e-b3ea-4421-b501-948d8a902878',
+ nameSingular: 'viewFilter',
+ namePlural: 'viewFilters',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '6ce40790-295a-4aac-a65e-9ae863ba1d90',
+ name: 'view',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ nameSingular: 'view',
+ namePlural: 'views',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '5e054149-2d41-4591-b968-8fdf0afcbc79',
+ name: 'viewFilters',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '4c2b4383-93f8-4996-b870-bc2acf330537',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '5e054149-2d41-4591-b968-8fdf0afcbc79',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'view',
+ namePlural: 'views',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f02054a1-e29f-4130-a9c7-00e2dea3aa0c',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '26bae21d-d3cd-43dc-969c-74c7a87a9a24',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a9d677ce-52c6-4b9e-a870-1bc4d86363be',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2fcdf97c-d21c-4f3c-bffd-d6e8a2e4f67f',
+ type: 'TEXT',
+ name: 'value',
+ label: 'Value',
+ description: 'View Filter value',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd5f9207d-baf6-41e6-932d-b9d059cb94c6',
- type: 'UUID',
- name: 'viewId',
- label: 'View id (foreign key)',
- description: 'View Filter related view id foreign key',
- icon: 'IconLayoutCollage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2dca6b6e-00a3-4271-b51f-145b3872e154',
- type: 'TEXT',
- name: 'operand',
- label: 'Operand',
- description: 'View Filter operand',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'Contains'",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fc0463f0-648a-44ae-9ebf-84289a8ce592',
- type: 'TEXT',
- name: 'displayValue',
- label: 'Display Value',
- description: 'View Filter Display Value',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '7ab7e2cc-e863-4dcd-bf60-bcd3f7cf6d74',
- type: 'UUID',
- name: 'fieldMetadataId',
- label: 'Field Metadata Id',
- description: 'View Filter target field',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '6ce40790-295a-4aac-a65e-9ae863ba1d90',
- type: 'RELATION',
- name: 'view',
- label: 'View',
- description: 'View Filter related view',
- icon: 'IconLayoutCollage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'e216a94e-b3ea-4421-b501-948d8a902878',
- nameSingular: 'viewFilter',
- namePlural: 'viewFilters',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '6ce40790-295a-4aac-a65e-9ae863ba1d90',
- name: 'view',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- nameSingular: 'view',
- namePlural: 'views',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '5e054149-2d41-4591-b968-8fdf0afcbc79',
- name: 'viewFilters',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '4c2b4383-93f8-4996-b870-bc2acf330537',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '5e054149-2d41-4591-b968-8fdf0afcbc79',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'view',
- namePlural: 'views',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f02054a1-e29f-4130-a9c7-00e2dea3aa0c',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '26bae21d-d3cd-43dc-969c-74c7a87a9a24',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a9d677ce-52c6-4b9e-a870-1bc4d86363be',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2fcdf97c-d21c-4f3c-bffd-d6e8a2e4f67f',
- type: 'TEXT',
- name: 'value',
- label: 'Value',
- description: 'View Filter value',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'dba899da-7d88-41ac-b70e-5ea612ab4b2e',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'viewField',
- namePlural: 'viewFields',
- labelSingular: 'View Field',
- labelPlural: 'View Fields',
- description: '(System) View Fields',
- icon: 'IconTag',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'dba899da-7d88-41ac-b70e-5ea612ab4b2e',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'viewField',
+ namePlural: 'viewFields',
+ labelSingular: 'View Field',
+ labelPlural: 'View Fields',
+ description: '(System) View Fields',
+ icon: 'IconTag',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjg=',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '039886df-8b4f-4e1c-bd3d-c88d45d400dd',
+ type: 'NUMBER',
+ name: 'size',
+ label: 'Size',
+ description: 'View Field size',
+ icon: 'IconEye',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 0,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c9607ed7-168d-4743-a56a-689ffcfffe98',
+ type: 'RELATION',
+ name: 'view',
+ label: 'View',
+ description: 'View Field related view',
+ icon: 'IconLayoutCollage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'dba899da-7d88-41ac-b70e-5ea612ab4b2e',
+ nameSingular: 'viewField',
+ namePlural: 'viewFields',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'c9607ed7-168d-4743-a56a-689ffcfffe98',
+ name: 'view',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ nameSingular: 'view',
+ namePlural: 'views',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'ea83af89-be10-49af-a605-10c3392ae007',
+ name: 'viewFields',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'c5cdbacd-2489-4409-be9e-bb4cb38f6ddd',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'ea83af89-be10-49af-a605-10c3392ae007',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'view',
+ namePlural: 'views',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8dcae458-248e-4499-a09e-6c9d508b094b',
+ type: 'UUID',
+ name: 'viewId',
+ label: 'View id (foreign key)',
+ description: 'View Field related view id foreign key',
+ icon: 'IconLayoutCollage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e0e588e2-f862-4aa4-8f72-9324addaf2f5',
+ type: 'NUMBER',
+ name: 'position',
+ label: 'Position',
+ description: 'View Field position',
+ icon: 'IconList',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 0,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'cd92f36f-eb89-432e-bb64-65ef6196b9d5',
+ type: 'BOOLEAN',
+ name: 'isVisible',
+ label: 'Visible',
+ description: 'View Field visibility',
+ icon: 'IconEye',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: true,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f566a745-14e7-41d0-b408-943794b27ea6',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '6fb24cf5-735a-458d-9f4e-f625f1139a7c',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1daa9f85-7521-4d3d-bc6f-0bc627fdcb6e',
+ type: 'UUID',
+ name: 'fieldMetadataId',
+ label: 'Field Metadata Id',
+ description: 'View Field target field',
+ icon: 'IconTag',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fc206184-8ae3-4290-b148-863d107986ac',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '039886df-8b4f-4e1c-bd3d-c88d45d400dd',
- type: 'NUMBER',
- name: 'size',
- label: 'Size',
- description: 'View Field size',
- icon: 'IconEye',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 0,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c9607ed7-168d-4743-a56a-689ffcfffe98',
- type: 'RELATION',
- name: 'view',
- label: 'View',
- description: 'View Field related view',
- icon: 'IconLayoutCollage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'dba899da-7d88-41ac-b70e-5ea612ab4b2e',
- nameSingular: 'viewField',
- namePlural: 'viewFields',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'c9607ed7-168d-4743-a56a-689ffcfffe98',
- name: 'view',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- nameSingular: 'view',
- namePlural: 'views',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'ea83af89-be10-49af-a605-10c3392ae007',
- name: 'viewFields',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'c5cdbacd-2489-4409-be9e-bb4cb38f6ddd',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'ea83af89-be10-49af-a605-10c3392ae007',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'view',
- namePlural: 'views',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8dcae458-248e-4499-a09e-6c9d508b094b',
- type: 'UUID',
- name: 'viewId',
- label: 'View id (foreign key)',
- description: 'View Field related view id foreign key',
- icon: 'IconLayoutCollage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e0e588e2-f862-4aa4-8f72-9324addaf2f5',
- type: 'NUMBER',
- name: 'position',
- label: 'Position',
- description: 'View Field position',
- icon: 'IconList',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 0,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'cd92f36f-eb89-432e-bb64-65ef6196b9d5',
- type: 'BOOLEAN',
- name: 'isVisible',
- label: 'Visible',
- description: 'View Field visibility',
- icon: 'IconEye',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: true,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f566a745-14e7-41d0-b408-943794b27ea6',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '6fb24cf5-735a-458d-9f4e-f625f1139a7c',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1daa9f85-7521-4d3d-bc6f-0bc627fdcb6e',
- type: 'UUID',
- name: 'fieldMetadataId',
- label: 'Field Metadata Id',
- description: 'View Field target field',
- icon: 'IconTag',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fc206184-8ae3-4290-b148-863d107986ac',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarChannel',
- namePlural: 'calendarChannels',
- labelSingular: 'Calendar Channel',
- labelPlural: 'Calendar Channels',
- description: 'Calendar Channels',
- icon: 'IconCalendar',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEw',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarChannel',
+ namePlural: 'calendarChannels',
+ labelSingular: 'Calendar Channel',
+ labelPlural: 'Calendar Channels',
+ description: 'Calendar Channels',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEw',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e32193cc-6104-47c8-b5dd-3a1409ca8415',
+ type: 'UUID',
+ name: 'connectedAccountId',
+ label: 'Connected Account id (foreign key)',
+ description: 'Connected Account id foreign key',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fefbe526-b75b-494e-a06a-e89d6790cc3b',
+ type: 'RELATION',
+ name: 'connectedAccount',
+ label: 'Connected Account',
+ description: 'Connected Account',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
+ nameSingular: 'calendarChannel',
+ namePlural: 'calendarChannels',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'fefbe526-b75b-494e-a06a-e89d6790cc3b',
+ name: 'connectedAccount',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'fc92c00d-e5ff-4982-965e-514ee30bcf1c',
+ name: 'calendarChannels',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'cab6d0bd-c3fb-46dc-af6f-de28e4689dd0',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'fc92c00d-e5ff-4982-965e-514ee30bcf1c',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c5c6557d-0072-4498-a04a-1ec57b797bc8',
+ type: 'BOOLEAN',
+ name: 'isContactAutoCreationEnabled',
+ label: 'Is Contact Auto Creation Enabled',
+ description: 'Is Contact Auto Creation Enabled',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: true,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '179ed906-cc28-4f7a-a9f3-387b4e3b6de6',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5823bb64-7653-4651-a185-4fbbe4d55a59',
+ type: 'BOOLEAN',
+ name: 'isSyncEnabled',
+ label: 'Is Sync Enabled',
+ description: 'Is Sync Enabled',
+ icon: 'IconRefresh',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: true,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '99ec57f5-6afa-46cd-8409-1ae65b1eafeb',
+ type: 'SELECT',
+ name: 'visibility',
+ label: 'Visibility',
+ description: 'Visibility',
+ icon: 'IconEyeglass',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'SHARE_EVERYTHING'",
+ options: [
+ {
+ id: 'b60eeb97-c67b-4d01-b647-1143d58ed49f',
+ color: 'green',
+ label: 'Metadata',
+ value: 'METADATA',
+ position: 0,
+ },
+ {
+ id: '7064c804-deb0-4f65-b7d6-3fe4df9a474c',
+ color: 'orange',
+ label: 'Share Everything',
+ value: 'SHARE_EVERYTHING',
+ position: 1,
+ },
+ ],
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b763b528-15ab-4eea-9540-74349fa59c1d',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '60c518d0-c6ec-4b37-8bac-129e1442f390',
+ type: 'RELATION',
+ name: 'calendarChannelEventAssociations',
+ label: 'Calendar Channel Event Associations',
+ description: 'Calendar Channel Event Associations',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
+ nameSingular: 'calendarChannel',
+ namePlural: 'calendarChannels',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '60c518d0-c6ec-4b37-8bac-129e1442f390',
+ name: 'calendarChannelEventAssociations',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
+ nameSingular: 'calendarChannelEventAssociation',
+ namePlural: 'calendarChannelEventAssociations',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '9b6e136f-3c9e-4c4b-92f8-a50291eb21f8',
+ name: 'calendarChannel',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '56260075-0a16-452a-ace1-65648fb299fe',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '9b6e136f-3c9e-4c4b-92f8-a50291eb21f8',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarChannelEventAssociation',
+ namePlural: 'calendarChannelEventAssociations',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b79c792c-1cd3-4586-89f6-52f0d7b2446a',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '4a9b4548-6477-4375-8e4b-ced5e4aae5a9',
+ type: 'TEXT',
+ name: 'handle',
+ label: 'Handle',
+ description: 'Handle',
+ icon: 'IconAt',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c4bf0f31-65df-47f9-ab61-6bd699bc0a86',
+ type: 'TEXT',
+ name: 'syncCursor',
+ label: 'Sync Cursor',
+ description:
+ 'Sync Cursor. Used for syncing events from the calendar provider',
+ icon: 'IconReload',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e32193cc-6104-47c8-b5dd-3a1409ca8415',
- type: 'UUID',
- name: 'connectedAccountId',
- label: 'Connected Account id (foreign key)',
- description: 'Connected Account id foreign key',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fefbe526-b75b-494e-a06a-e89d6790cc3b',
- type: 'RELATION',
- name: 'connectedAccount',
- label: 'Connected Account',
- description: 'Connected Account',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
- nameSingular: 'calendarChannel',
- namePlural: 'calendarChannels',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'fefbe526-b75b-494e-a06a-e89d6790cc3b',
- name: 'connectedAccount',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'fc92c00d-e5ff-4982-965e-514ee30bcf1c',
- name: 'calendarChannels',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'cab6d0bd-c3fb-46dc-af6f-de28e4689dd0',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'fc92c00d-e5ff-4982-965e-514ee30bcf1c',
- fromObjectMetadata: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c5c6557d-0072-4498-a04a-1ec57b797bc8',
- type: 'BOOLEAN',
- name: 'isContactAutoCreationEnabled',
- label: 'Is Contact Auto Creation Enabled',
- description: 'Is Contact Auto Creation Enabled',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: true,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '179ed906-cc28-4f7a-a9f3-387b4e3b6de6',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5823bb64-7653-4651-a185-4fbbe4d55a59',
- type: 'BOOLEAN',
- name: 'isSyncEnabled',
- label: 'Is Sync Enabled',
- description: 'Is Sync Enabled',
- icon: 'IconRefresh',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: true,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '99ec57f5-6afa-46cd-8409-1ae65b1eafeb',
- type: 'SELECT',
- name: 'visibility',
- label: 'Visibility',
- description: 'Visibility',
- icon: 'IconEyeglass',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'SHARE_EVERYTHING'",
- options: [
- {
- id: 'b60eeb97-c67b-4d01-b647-1143d58ed49f',
- color: 'green',
- label: 'Metadata',
- value: 'METADATA',
- position: 0,
- },
- {
- id: '7064c804-deb0-4f65-b7d6-3fe4df9a474c',
- color: 'orange',
- label: 'Share Everything',
- value: 'SHARE_EVERYTHING',
- position: 1,
- },
- ],
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b763b528-15ab-4eea-9540-74349fa59c1d',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '60c518d0-c6ec-4b37-8bac-129e1442f390',
- type: 'RELATION',
- name: 'calendarChannelEventAssociations',
- label: 'Calendar Channel Event Associations',
- description: 'Calendar Channel Event Associations',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
- nameSingular: 'calendarChannel',
- namePlural: 'calendarChannels',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '60c518d0-c6ec-4b37-8bac-129e1442f390',
- name: 'calendarChannelEventAssociations',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
- nameSingular: 'calendarChannelEventAssociation',
- namePlural: 'calendarChannelEventAssociations',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '9b6e136f-3c9e-4c4b-92f8-a50291eb21f8',
- name: 'calendarChannel',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '56260075-0a16-452a-ace1-65648fb299fe',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '9b6e136f-3c9e-4c4b-92f8-a50291eb21f8',
- toObjectMetadata: {
- __typename: 'object',
- id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarChannelEventAssociation',
- namePlural: 'calendarChannelEventAssociations',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b79c792c-1cd3-4586-89f6-52f0d7b2446a',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '4a9b4548-6477-4375-8e4b-ced5e4aae5a9',
- type: 'TEXT',
- name: 'handle',
- label: 'Handle',
- description: 'Handle',
- icon: 'IconAt',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c4bf0f31-65df-47f9-ab61-6bd699bc0a86',
- type: 'TEXT',
- name: 'syncCursor',
- label: 'Sync Cursor',
- description:
- 'Sync Cursor. Used for syncing events from the calendar provider',
- icon: 'IconReload',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'person',
- namePlural: 'people',
- labelSingular: 'Person',
- labelPlural: 'People',
- description: 'A person',
- icon: 'IconUser',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjIw',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'person',
+ namePlural: 'people',
+ labelSingular: 'Person',
+ labelPlural: 'People',
+ description: 'A person',
+ icon: 'IconUser',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjIw',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f5e39bd8-7978-4f65-9f2d-6ec224742451',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b802682c-3f9d-4f86-856b-a8e91048ae02',
+ type: 'RELATION',
+ name: 'calendarEventParticipants',
+ label: 'Calendar Event Participants',
+ description: 'Calendar Event Participants',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'b802682c-3f9d-4f86-856b-a8e91048ae02',
+ name: 'calendarEventParticipants',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'e9fb5ddb-4231-46c3-971f-0dfb321641b8',
+ name: 'person',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'eda707cd-b61d-4fda-933c-9eb5e17333d9',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'e9fb5ddb-4231-46c3-971f-0dfb321641b8',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '7ada51cb-58be-42cd-86df-16c3f2bb8b58',
+ type: 'TEXT',
+ name: 'phone',
+ label: 'Phone',
+ description: 'Contact’s phone number',
+ icon: 'IconPhone',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '3eb1d6b2-e274-4f43-982f-5c93da72da4f',
+ type: 'TEXT',
+ name: 'avatarUrl',
+ label: 'Avatar',
+ description: 'Contact’s avatar',
+ icon: 'IconFileUpload',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '483d8221-01cd-4d70-83f7-f3d1b60c5575',
+ type: 'RELATION',
+ name: 'activityTargets',
+ label: 'Activities',
+ description: 'Activities tied to the contact',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '483d8221-01cd-4d70-83f7-f3d1b60c5575',
+ name: 'activityTargets',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '5bb6652c-6eba-4c1a-b6e5-aae3ca46b132',
+ name: 'person',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '2d449c2a-7988-4b17-adfa-f362d44564bb',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '5bb6652c-6eba-4c1a-b6e5-aae3ca46b132',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '429c071c-0fdf-4534-8122-0d0ca1a4fe58',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '3124eb41-1cd9-485b-a188-8c5af3facb6d',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c12b7c1d-3f56-4e40-8c7e-1b01b2c95022',
+ type: 'UUID',
+ name: 'companyId',
+ label: 'Company id (foreign key)',
+ description: 'Contact’s company id foreign key',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8bcf41c8-a6ff-4694-9141-9fc2035e5719',
+ type: 'POSITION',
+ name: 'position',
+ label: 'Position',
+ description: 'Person record Position',
+ icon: 'IconHierarchy2',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e1ef2ed4-082b-4347-93bd-9afabc57cdb6',
+ type: 'EMAIL',
+ name: 'email',
+ label: 'Email',
+ description: 'Contact’s Email',
+ icon: 'IconMail',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5bf9cc64-c0ba-43e0-b1f9-f7cd086c048b',
+ type: 'LINK',
+ name: 'xLink',
+ label: 'X',
+ description: 'Contact’s X/Twitter account',
+ icon: 'IconBrandX',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: {
+ url: "''",
+ label: "''",
+ },
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f3b72b3d-1243-4da3-9535-004f5fda3a3e',
+ type: 'TEXT',
+ name: 'city',
+ label: 'City',
+ description: 'Contact’s city',
+ icon: 'IconMap',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '17a9cee7-7f68-42bb-abd0-50932466f901',
+ type: 'RELATION',
+ name: 'favorites',
+ label: 'Favorites',
+ description: 'Favorites linked to the contact',
+ icon: 'IconHeart',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '17a9cee7-7f68-42bb-abd0-50932466f901',
+ name: 'favorites',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'd737cd4a-4032-476d-a594-1952ba7883b2',
+ name: 'person',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'e0c1854d-d8a7-4936-a27c-265a09a635d4',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'd737cd4a-4032-476d-a594-1952ba7883b2',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'de45c3eb-6243-47ed-81d7-64b6e28255ce',
+ type: 'TEXT',
+ name: 'jobTitle',
+ label: 'Job Title',
+ description: 'Contact’s job title',
+ icon: 'IconBriefcase',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '776f05e8-fe39-47c7-861e-586361299462',
+ type: 'RELATION',
+ name: 'messageParticipants',
+ label: 'Message Participants',
+ description: 'Message Participants',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '776f05e8-fe39-47c7-861e-586361299462',
+ name: 'messageParticipants',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '02b1656e-251d-4229-b86a-de621678bd96',
+ name: 'person',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '5a766df3-68b4-4772-ab77-bfcc61bfbaf5',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '02b1656e-251d-4229-b86a-de621678bd96',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fae2489f-7f59-4385-bec8-9d3f4044d1da',
+ type: 'RELATION',
+ name: 'attachments',
+ label: 'Attachments',
+ description: 'Attachments linked to the contact.',
+ icon: 'IconFileImport',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'fae2489f-7f59-4385-bec8-9d3f4044d1da',
+ name: 'attachments',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'ef4c93f7-b0fb-40a5-932b-2db0f4fe2271',
+ name: 'person',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'c10de251-b748-4c5d-8dfa-51cbd82f75dc',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'ef4c93f7-b0fb-40a5-932b-2db0f4fe2271',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '62332d09-84c5-4959-af41-f1e9cc22ec8d',
+ type: 'RELATION',
+ name: 'events',
+ label: 'Events',
+ description: 'Events linked to the company',
+ icon: 'IconTimelineEvent',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '62332d09-84c5-4959-af41-f1e9cc22ec8d',
+ name: 'events',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '728b91ef-bda8-4d47-80a7-36e64f659ea7',
+ name: 'person',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'd9f82315-17dd-4991-9713-ca99455383e5',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '728b91ef-bda8-4d47-80a7-36e64f659ea7',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'event',
+ namePlural: 'events',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0506894e-bbc5-4415-a979-c5296b53e4db',
+ type: 'FULL_NAME',
+ name: 'name',
+ label: 'Name',
+ description: 'Contact’s name',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: {
+ lastName: "''",
+ firstName: "''",
+ },
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c624bade-5070-4155-bd0c-8704fb2cdf8b',
+ type: 'RELATION',
+ name: 'company',
+ label: 'Company',
+ description: 'Contact’s company',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'c624bade-5070-4155-bd0c-8704fb2cdf8b',
+ name: 'company',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '6be4ff53-c65b-4955-9f86-935dd953154d',
+ name: 'people',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '9b2b32d2-9864-4dd6-9f3f-700525313393',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '6be4ff53-c65b-4955-9f86-935dd953154d',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '867aefab-52f8-4109-886d-b0f2301f7749',
+ type: 'LINK',
+ name: 'linkedinLink',
+ label: 'Linkedin',
+ description: 'Contact’s Linkedin account',
+ icon: 'IconBrandLinkedin',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: {
+ url: "''",
+ label: "''",
+ },
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c2897c17-90a9-487b-a358-579c14cdd862',
+ type: 'RELATION',
+ name: 'pointOfContactForOpportunities',
+ label: 'POC for Opportunities',
+ description: 'Point of Contact for Opportunities',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'c2897c17-90a9-487b-a358-579c14cdd862',
+ name: 'pointOfContactForOpportunities',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '4a6abf2d-56dd-44e4-a52f-048d05b8bee5',
+ name: 'pointOfContact',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '47ed427f-20b2-454b-acef-39bc5ff2535e',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '4a6abf2d-56dd-44e4-a52f-048d05b8bee5',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f5e39bd8-7978-4f65-9f2d-6ec224742451',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b802682c-3f9d-4f86-856b-a8e91048ae02',
- type: 'RELATION',
- name: 'calendarEventParticipants',
- label: 'Calendar Event Participants',
- description: 'Calendar Event Participants',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'b802682c-3f9d-4f86-856b-a8e91048ae02',
- name: 'calendarEventParticipants',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'e9fb5ddb-4231-46c3-971f-0dfb321641b8',
- name: 'person',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'eda707cd-b61d-4fda-933c-9eb5e17333d9',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'e9fb5ddb-4231-46c3-971f-0dfb321641b8',
- toObjectMetadata: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '7ada51cb-58be-42cd-86df-16c3f2bb8b58',
- type: 'TEXT',
- name: 'phone',
- label: 'Phone',
- description: 'Contact’s phone number',
- icon: 'IconPhone',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '3eb1d6b2-e274-4f43-982f-5c93da72da4f',
- type: 'TEXT',
- name: 'avatarUrl',
- label: 'Avatar',
- description: 'Contact’s avatar',
- icon: 'IconFileUpload',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '483d8221-01cd-4d70-83f7-f3d1b60c5575',
- type: 'RELATION',
- name: 'activityTargets',
- label: 'Activities',
- description: 'Activities tied to the contact',
- icon: 'IconCheckbox',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '483d8221-01cd-4d70-83f7-f3d1b60c5575',
- name: 'activityTargets',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '5bb6652c-6eba-4c1a-b6e5-aae3ca46b132',
- name: 'person',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '2d449c2a-7988-4b17-adfa-f362d44564bb',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '5bb6652c-6eba-4c1a-b6e5-aae3ca46b132',
- toObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '429c071c-0fdf-4534-8122-0d0ca1a4fe58',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '3124eb41-1cd9-485b-a188-8c5af3facb6d',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c12b7c1d-3f56-4e40-8c7e-1b01b2c95022',
- type: 'UUID',
- name: 'companyId',
- label: 'Company id (foreign key)',
- description: 'Contact’s company id foreign key',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8bcf41c8-a6ff-4694-9141-9fc2035e5719',
- type: 'POSITION',
- name: 'position',
- label: 'Position',
- description: 'Person record Position',
- icon: 'IconHierarchy2',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e1ef2ed4-082b-4347-93bd-9afabc57cdb6',
- type: 'EMAIL',
- name: 'email',
- label: 'Email',
- description: 'Contact’s Email',
- icon: 'IconMail',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5bf9cc64-c0ba-43e0-b1f9-f7cd086c048b',
- type: 'LINK',
- name: 'xLink',
- label: 'X',
- description: 'Contact’s X/Twitter account',
- icon: 'IconBrandX',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: {
- url: "''",
- label: "''",
- },
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f3b72b3d-1243-4da3-9535-004f5fda3a3e',
- type: 'TEXT',
- name: 'city',
- label: 'City',
- description: 'Contact’s city',
- icon: 'IconMap',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '17a9cee7-7f68-42bb-abd0-50932466f901',
- type: 'RELATION',
- name: 'favorites',
- label: 'Favorites',
- description: 'Favorites linked to the contact',
- icon: 'IconHeart',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '17a9cee7-7f68-42bb-abd0-50932466f901',
- name: 'favorites',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'd737cd4a-4032-476d-a594-1952ba7883b2',
- name: 'person',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'e0c1854d-d8a7-4936-a27c-265a09a635d4',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'd737cd4a-4032-476d-a594-1952ba7883b2',
- toObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'de45c3eb-6243-47ed-81d7-64b6e28255ce',
- type: 'TEXT',
- name: 'jobTitle',
- label: 'Job Title',
- description: 'Contact’s job title',
- icon: 'IconBriefcase',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '776f05e8-fe39-47c7-861e-586361299462',
- type: 'RELATION',
- name: 'messageParticipants',
- label: 'Message Participants',
- description: 'Message Participants',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '776f05e8-fe39-47c7-861e-586361299462',
- name: 'messageParticipants',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '02b1656e-251d-4229-b86a-de621678bd96',
- name: 'person',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '5a766df3-68b4-4772-ab77-bfcc61bfbaf5',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '02b1656e-251d-4229-b86a-de621678bd96',
- toObjectMetadata: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fae2489f-7f59-4385-bec8-9d3f4044d1da',
- type: 'RELATION',
- name: 'attachments',
- label: 'Attachments',
- description: 'Attachments linked to the contact.',
- icon: 'IconFileImport',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'fae2489f-7f59-4385-bec8-9d3f4044d1da',
- name: 'attachments',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'ef4c93f7-b0fb-40a5-932b-2db0f4fe2271',
- name: 'person',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'c10de251-b748-4c5d-8dfa-51cbd82f75dc',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'ef4c93f7-b0fb-40a5-932b-2db0f4fe2271',
- toObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '62332d09-84c5-4959-af41-f1e9cc22ec8d',
- type: 'RELATION',
- name: 'events',
- label: 'Events',
- description: 'Events linked to the company',
- icon: 'IconTimelineEvent',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '62332d09-84c5-4959-af41-f1e9cc22ec8d',
- name: 'events',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '728b91ef-bda8-4d47-80a7-36e64f659ea7',
- name: 'person',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'd9f82315-17dd-4991-9713-ca99455383e5',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '728b91ef-bda8-4d47-80a7-36e64f659ea7',
- toObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'event',
- namePlural: 'events',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0506894e-bbc5-4415-a979-c5296b53e4db',
- type: 'FULL_NAME',
- name: 'name',
- label: 'Name',
- description: 'Contact’s name',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: {
- lastName: "''",
- firstName: "''",
- },
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c624bade-5070-4155-bd0c-8704fb2cdf8b',
- type: 'RELATION',
- name: 'company',
- label: 'Company',
- description: 'Contact’s company',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'c624bade-5070-4155-bd0c-8704fb2cdf8b',
- name: 'company',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '6be4ff53-c65b-4955-9f86-935dd953154d',
- name: 'people',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '9b2b32d2-9864-4dd6-9f3f-700525313393',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '6be4ff53-c65b-4955-9f86-935dd953154d',
- fromObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '867aefab-52f8-4109-886d-b0f2301f7749',
- type: 'LINK',
- name: 'linkedinLink',
- label: 'Linkedin',
- description: 'Contact’s Linkedin account',
- icon: 'IconBrandLinkedin',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: {
- url: "''",
- label: "''",
- },
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c2897c17-90a9-487b-a358-579c14cdd862',
- type: 'RELATION',
- name: 'pointOfContactForOpportunities',
- label: 'POC for Opportunities',
- description: 'Point of Contact for Opportunities',
- icon: 'IconTargetArrow',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'c2897c17-90a9-487b-a358-579c14cdd862',
- name: 'pointOfContactForOpportunities',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '4a6abf2d-56dd-44e4-a52f-048d05b8bee5',
- name: 'pointOfContact',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '47ed427f-20b2-454b-acef-39bc5ff2535e',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '4a6abf2d-56dd-44e4-a52f-048d05b8bee5',
- toObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- isSystem: false,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'listing',
- namePlural: 'listings',
- labelSingular: 'Listing',
- labelPlural: 'Listings',
- description: null,
- icon: 'IconListNumbers',
- isCustom: true,
- isRemote: false,
- isActive: true,
- isSystem: false,
- createdAt: '2024-04-08T12:51:28.705Z',
- updatedAt: '2024-04-08T12:51:28.705Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEx',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ labelSingular: 'Listing',
+ labelPlural: 'Listings',
+ description: null,
+ icon: 'IconListNumbers',
+ isCustom: true,
+ isRemote: false,
+ isActive: true,
+ isSystem: false,
+ createdAt: '2024-04-08T12:51:28.705Z',
+ updatedAt: '2024-04-08T12:51:28.705Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEx',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'bfff2fe1-f45e-4cb4-bd9e-9d68dfe9af7e',
+ type: 'RELATION',
+ name: 'events',
+ label: 'Events',
+ description: 'Events tied to the Listing',
+ icon: 'IconFileImport',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.716Z',
+ updatedAt: '2024-04-08T12:51:28.716Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'bfff2fe1-f45e-4cb4-bd9e-9d68dfe9af7e',
+ name: 'events',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '439ddfe9-1a1d-4992-9bd0-3c7b965e05d5',
+ name: 'listing',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '2c17a017-0dd4-4623-b7dc-63187f0eef12',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '439ddfe9-1a1d-4992-9bd0-3c7b965e05d5',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'event',
+ namePlural: 'events',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '98ca7ac0-c41a-4f39-a3ab-6b4fad98a73a',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:51:28.705Z',
+ updatedAt: '2024-04-08T12:51:28.705Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8d619227-e268-435a-8a86-58db3f8e61e7',
+ type: 'UUID',
+ name: 'cId',
+ label: 'C Foreign Key',
+ description: null,
+ icon: null,
+ isCustom: true,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:54:56.499Z',
+ updatedAt: '2024-04-08T12:54:56.499Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2629a000-8bee-443d-9379-1c89a597df21',
+ type: 'RELATION',
+ name: 'activityTargets',
+ label: 'Activities',
+ description: 'Activities tied to the Listing',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.722Z',
+ updatedAt: '2024-04-08T12:51:28.722Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '2629a000-8bee-443d-9379-1c89a597df21',
+ name: 'activityTargets',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'b407e872-8151-4bef-8277-0df5f638153d',
+ name: 'listing',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'c73fedc6-1a38-48d6-830f-bdfc92991506',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'b407e872-8151-4bef-8277-0df5f638153d',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '178e9a07-cd88-47c0-8faf-cbd3918ba8b0',
+ type: 'RELATION',
+ name: 'c',
+ label: 'C',
+ description: null,
+ icon: 'IconBuildingSkyscraper',
+ isCustom: true,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:54:56.499Z',
+ updatedAt: '2024-04-08T12:54:56.499Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '178e9a07-cd88-47c0-8faf-cbd3918ba8b0',
+ name: 'c',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'fc6a4a82-f80f-4aad-85e3-b2ae9b8fb26b',
+ name: 'listings',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '35414edf-0c44-4500-95cc-ae6694ef9947',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'fc6a4a82-f80f-4aad-85e3-b2ae9b8fb26b',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8691fd1b-ecdb-4c7e-b7fb-fc7069c69dbd',
+ type: 'POSITION',
+ name: 'position',
+ label: 'Position',
+ description: 'Position',
+ icon: 'IconHierarchy2',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.705Z',
+ updatedAt: '2024-04-08T12:51:28.705Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ff20f9f0-f081-436b-8526-d7b2b3c80c92',
+ type: 'RELATION',
+ name: 'company',
+ label: 'Company',
+ description: null,
+ icon: 'IconUsers',
+ isCustom: true,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:58.429Z',
+ updatedAt: '2024-04-08T12:51:58.429Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'ff20f9f0-f081-436b-8526-d7b2b3c80c92',
+ name: 'company',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '3a78ab26-7c4b-498a-b839-92b38223a3d5',
+ name: 'listing',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '06dd3af4-7dc0-4599-9d99-3ea637fd672b',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '3a78ab26-7c4b-498a-b839-92b38223a3d5',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '15ef13ed-8594-497e-9816-1cb89cf796af',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:51:28.705Z',
+ updatedAt: '2024-04-08T12:51:28.705Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '78ab1b0d-e6b7-4c45-ac46-decdcf913b23',
+ type: 'RELATION',
+ name: 'favorites',
+ label: 'Favorites',
+ description: 'Favorites tied to the Listing',
+ icon: 'IconHeart',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.726Z',
+ updatedAt: '2024-04-08T12:51:28.726Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '78ab1b0d-e6b7-4c45-ac46-decdcf913b23',
+ name: 'favorites',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'd94f1f82-1aab-441c-b6ff-6ec2f561921d',
+ name: 'listing',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'e0602824-706f-4d5c-b1ac-6a3a83c01100',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'd94f1f82-1aab-441c-b6ff-6ec2f561921d',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2ff71d84-b6b4-4ab3-931a-ecf737cf575c',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:51:28.705Z',
+ updatedAt: '2024-04-08T12:51:28.705Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a19d48b1-889e-4e6c-ad5a-a5707e92f8bf',
+ type: 'RELATION',
+ name: 'attachments',
+ label: 'Attachments',
+ description: 'Attachments tied to the Listing',
+ icon: 'IconFileImport',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.729Z',
+ updatedAt: '2024-04-08T12:51:28.729Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'a19d48b1-889e-4e6c-ad5a-a5707e92f8bf',
+ name: 'attachments',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '7c18721a-75dd-419b-a9eb-73ea84a5be85',
+ name: 'listing',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '2ba1eae0-a1cf-4976-997e-0f2250d20ba8',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '7c18721a-75dd-419b-a9eb-73ea84a5be85',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '60f1e1ad-f56e-4e07-97a6-281e89ff69fd',
+ type: 'TEXT',
+ name: 'name',
+ label: 'Name',
+ description: 'Name',
+ icon: 'IconAbc',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:51:28.705Z',
+ updatedAt: '2024-04-08T12:51:28.705Z',
+ defaultValue: "'Untitled'",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'bfff2fe1-f45e-4cb4-bd9e-9d68dfe9af7e',
- type: 'RELATION',
- name: 'events',
- label: 'Events',
- description: 'Events tied to the Listing',
- icon: 'IconFileImport',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.716Z',
- updatedAt: '2024-04-08T12:51:28.716Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'bfff2fe1-f45e-4cb4-bd9e-9d68dfe9af7e',
- name: 'events',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '439ddfe9-1a1d-4992-9bd0-3c7b965e05d5',
- name: 'listing',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '2c17a017-0dd4-4623-b7dc-63187f0eef12',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '439ddfe9-1a1d-4992-9bd0-3c7b965e05d5',
- toObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'event',
- namePlural: 'events',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '98ca7ac0-c41a-4f39-a3ab-6b4fad98a73a',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:51:28.705Z',
- updatedAt: '2024-04-08T12:51:28.705Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8d619227-e268-435a-8a86-58db3f8e61e7',
- type: 'UUID',
- name: 'cId',
- label: 'C Foreign Key',
- description: null,
- icon: null,
- isCustom: true,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:54:56.499Z',
- updatedAt: '2024-04-08T12:54:56.499Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2629a000-8bee-443d-9379-1c89a597df21',
- type: 'RELATION',
- name: 'activityTargets',
- label: 'Activities',
- description: 'Activities tied to the Listing',
- icon: 'IconCheckbox',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.722Z',
- updatedAt: '2024-04-08T12:51:28.722Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '2629a000-8bee-443d-9379-1c89a597df21',
- name: 'activityTargets',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'b407e872-8151-4bef-8277-0df5f638153d',
- name: 'listing',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'c73fedc6-1a38-48d6-830f-bdfc92991506',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'b407e872-8151-4bef-8277-0df5f638153d',
- toObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '178e9a07-cd88-47c0-8faf-cbd3918ba8b0',
- type: 'RELATION',
- name: 'c',
- label: 'C',
- description: null,
- icon: 'IconBuildingSkyscraper',
- isCustom: true,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:54:56.499Z',
- updatedAt: '2024-04-08T12:54:56.499Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '178e9a07-cd88-47c0-8faf-cbd3918ba8b0',
- name: 'c',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'fc6a4a82-f80f-4aad-85e3-b2ae9b8fb26b',
- name: 'listings',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '35414edf-0c44-4500-95cc-ae6694ef9947',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'fc6a4a82-f80f-4aad-85e3-b2ae9b8fb26b',
- fromObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8691fd1b-ecdb-4c7e-b7fb-fc7069c69dbd',
- type: 'POSITION',
- name: 'position',
- label: 'Position',
- description: 'Position',
- icon: 'IconHierarchy2',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.705Z',
- updatedAt: '2024-04-08T12:51:28.705Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ff20f9f0-f081-436b-8526-d7b2b3c80c92',
- type: 'RELATION',
- name: 'company',
- label: 'Company',
- description: null,
- icon: 'IconUsers',
- isCustom: true,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:51:58.429Z',
- updatedAt: '2024-04-08T12:51:58.429Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'ff20f9f0-f081-436b-8526-d7b2b3c80c92',
- name: 'company',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '3a78ab26-7c4b-498a-b839-92b38223a3d5',
- name: 'listing',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '06dd3af4-7dc0-4599-9d99-3ea637fd672b',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '3a78ab26-7c4b-498a-b839-92b38223a3d5',
- toObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '15ef13ed-8594-497e-9816-1cb89cf796af',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:51:28.705Z',
- updatedAt: '2024-04-08T12:51:28.705Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '78ab1b0d-e6b7-4c45-ac46-decdcf913b23',
- type: 'RELATION',
- name: 'favorites',
- label: 'Favorites',
- description: 'Favorites tied to the Listing',
- icon: 'IconHeart',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.726Z',
- updatedAt: '2024-04-08T12:51:28.726Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '78ab1b0d-e6b7-4c45-ac46-decdcf913b23',
- name: 'favorites',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'd94f1f82-1aab-441c-b6ff-6ec2f561921d',
- name: 'listing',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'e0602824-706f-4d5c-b1ac-6a3a83c01100',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'd94f1f82-1aab-441c-b6ff-6ec2f561921d',
- toObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2ff71d84-b6b4-4ab3-931a-ecf737cf575c',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:51:28.705Z',
- updatedAt: '2024-04-08T12:51:28.705Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a19d48b1-889e-4e6c-ad5a-a5707e92f8bf',
- type: 'RELATION',
- name: 'attachments',
- label: 'Attachments',
- description: 'Attachments tied to the Listing',
- icon: 'IconFileImport',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.729Z',
- updatedAt: '2024-04-08T12:51:28.729Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'a19d48b1-889e-4e6c-ad5a-a5707e92f8bf',
- name: 'attachments',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '7c18721a-75dd-419b-a9eb-73ea84a5be85',
- name: 'listing',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '2ba1eae0-a1cf-4976-997e-0f2250d20ba8',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '7c18721a-75dd-419b-a9eb-73ea84a5be85',
- toObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '60f1e1ad-f56e-4e07-97a6-281e89ff69fd',
- type: 'TEXT',
- name: 'name',
- label: 'Name',
- description: 'Name',
- icon: 'IconAbc',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:51:28.705Z',
- updatedAt: '2024-04-08T12:51:28.705Z',
- defaultValue: "'Untitled'",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'bb7ce2d2-b795-4df3-9873-36b4129ab809',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'apiKey',
- namePlural: 'apiKeys',
- labelSingular: 'Api Key',
- labelPlural: 'Api Keys',
- description: 'An api key',
- icon: 'IconRobot',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjU=',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'bb7ce2d2-b795-4df3-9873-36b4129ab809',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'apiKey',
+ namePlural: 'apiKeys',
+ labelSingular: 'Api Key',
+ labelPlural: 'Api Keys',
+ description: 'An api key',
+ icon: 'IconRobot',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjU=',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ee39abdc-26dd-47b8-b77f-210dda4676f8',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c32baa1b-fe5f-403f-892c-06215a25e584',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b19f9212-e580-4325-b333-47306b3bf490',
+ type: 'DATE_TIME',
+ name: 'expiresAt',
+ label: 'Expiration date',
+ description: 'ApiKey expiration date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '4d650804-328d-411b-b241-88c68eed90bd',
+ type: 'TEXT',
+ name: 'name',
+ label: 'Name',
+ description: 'ApiKey name',
+ icon: 'IconLink',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e3768e87-2024-4f2d-a279-d62f8093866f',
+ type: 'DATE_TIME',
+ name: 'revokedAt',
+ label: 'Revocation date',
+ description: 'ApiKey revocation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '9be4be3b-6e20-43ad-9f46-aa79bb1650f2',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ee39abdc-26dd-47b8-b77f-210dda4676f8',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c32baa1b-fe5f-403f-892c-06215a25e584',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b19f9212-e580-4325-b333-47306b3bf490',
- type: 'DATE_TIME',
- name: 'expiresAt',
- label: 'Expiration date',
- description: 'ApiKey expiration date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '4d650804-328d-411b-b241-88c68eed90bd',
- type: 'TEXT',
- name: 'name',
- label: 'Name',
- description: 'ApiKey name',
- icon: 'IconLink',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e3768e87-2024-4f2d-a279-d62f8093866f',
- type: 'DATE_TIME',
- name: 'revokedAt',
- label: 'Revocation date',
- description: 'ApiKey revocation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '9be4be3b-6e20-43ad-9f46-aa79bb1650f2',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageThread',
- namePlural: 'messageThreads',
- labelSingular: 'Message Thread',
- labelPlural: 'Message Threads',
- description: 'Message Thread',
- icon: 'IconMessage',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjQ=',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageThread',
+ namePlural: 'messageThreads',
+ labelSingular: 'Message Thread',
+ labelPlural: 'Message Threads',
+ description: 'Message Thread',
+ icon: 'IconMessage',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjQ=',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '77da807c-10c9-4084-b396-25bbfb371ef4',
+ type: 'RELATION',
+ name: 'messages',
+ label: 'Messages',
+ description: 'Messages from the thread.',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
+ nameSingular: 'messageThread',
+ namePlural: 'messageThreads',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '77da807c-10c9-4084-b396-25bbfb371ef4',
+ name: 'messages',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'c9807e13-e48b-4ccb-8f2f-2289a351a86b',
+ name: 'messageThread',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '8fbd9c8a-6999-4ecb-bc4f-0f67d10866bb',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'c9807e13-e48b-4ccb-8f2f-2289a351a86b',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a12532cd-8ffa-4327-95c7-c3b9615d22b0',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0cc7e3c1-50eb-44e9-a181-b8d3073bcc1c',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c9c6d79b-c7cf-44c5-8017-0eb0df6c9cb6',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '442b3224-f4c6-49b8-979e-693606a22875',
+ type: 'RELATION',
+ name: 'messageChannelMessageAssociations',
+ label: 'Message Channel Association',
+ description: 'Messages from the channel.',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
+ nameSingular: 'messageThread',
+ namePlural: 'messageThreads',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '442b3224-f4c6-49b8-979e-693606a22875',
+ name: 'messageChannelMessageAssociations',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'd99cc1b4-4874-4c78-bcfe-0908c0a51466',
+ name: 'messageThread',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '549e03f3-97b3-4bf9-a23f-243fcda40f6f',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'd99cc1b4-4874-4c78-bcfe-0908c0a51466',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '77da807c-10c9-4084-b396-25bbfb371ef4',
- type: 'RELATION',
- name: 'messages',
- label: 'Messages',
- description: 'Messages from the thread.',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
- nameSingular: 'messageThread',
- namePlural: 'messageThreads',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '77da807c-10c9-4084-b396-25bbfb371ef4',
- name: 'messages',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- nameSingular: 'message',
- namePlural: 'messages',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'c9807e13-e48b-4ccb-8f2f-2289a351a86b',
- name: 'messageThread',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '8fbd9c8a-6999-4ecb-bc4f-0f67d10866bb',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'c9807e13-e48b-4ccb-8f2f-2289a351a86b',
- toObjectMetadata: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'message',
- namePlural: 'messages',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a12532cd-8ffa-4327-95c7-c3b9615d22b0',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0cc7e3c1-50eb-44e9-a181-b8d3073bcc1c',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c9c6d79b-c7cf-44c5-8017-0eb0df6c9cb6',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '442b3224-f4c6-49b8-979e-693606a22875',
- type: 'RELATION',
- name: 'messageChannelMessageAssociations',
- label: 'Message Channel Association',
- description: 'Messages from the channel.',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
- nameSingular: 'messageThread',
- namePlural: 'messageThreads',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '442b3224-f4c6-49b8-979e-693606a22875',
- name: 'messageChannelMessageAssociations',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'd99cc1b4-4874-4c78-bcfe-0908c0a51466',
- name: 'messageThread',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '549e03f3-97b3-4bf9-a23f-243fcda40f6f',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'd99cc1b4-4874-4c78-bcfe-0908c0a51466',
- toObjectMetadata: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- isSystem: true,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarChannelEventAssociation',
- namePlural: 'calendarChannelEventAssociations',
- labelSingular: 'Calendar Channel Event Association',
- labelPlural: 'Calendar Channel Event Associations',
- description: 'Calendar Channel Event Associations',
- icon: 'IconCalendar',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjc=',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarChannelEventAssociation',
+ namePlural: 'calendarChannelEventAssociations',
+ labelSingular: 'Calendar Channel Event Association',
+ labelPlural: 'Calendar Channel Event Associations',
+ description: 'Calendar Channel Event Associations',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjc=',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ae9aa21a-40eb-44a7-b828-c6e67e4cfbe9',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a09fe05b-7443-45bd-8c67-6b90d78ea784',
+ type: 'UUID',
+ name: 'calendarChannelId',
+ label: 'Channel ID id (foreign key)',
+ description: 'Channel ID id foreign key',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '9b6e136f-3c9e-4c4b-92f8-a50291eb21f8',
+ type: 'RELATION',
+ name: 'calendarChannel',
+ label: 'Channel ID',
+ description: 'Channel ID',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
+ nameSingular: 'calendarChannelEventAssociation',
+ namePlural: 'calendarChannelEventAssociations',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '9b6e136f-3c9e-4c4b-92f8-a50291eb21f8',
+ name: 'calendarChannel',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
+ nameSingular: 'calendarChannel',
+ namePlural: 'calendarChannels',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '60c518d0-c6ec-4b37-8bac-129e1442f390',
+ name: 'calendarChannelEventAssociations',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '56260075-0a16-452a-ace1-65648fb299fe',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '60c518d0-c6ec-4b37-8bac-129e1442f390',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarChannel',
+ namePlural: 'calendarChannels',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2579cd08-ae11-4fa0-90a2-5f40cc7dd20d',
+ type: 'UUID',
+ name: 'calendarEventId',
+ label: 'Event ID id (foreign key)',
+ description: 'Event ID id foreign key',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2ef8a91a-8f4a-4d01-b365-a09132a281d7',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e5080b5c-c264-48bb-9ff7-441127c6c331',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1c40e6e9-437b-47fc-84bf-57d4a8a0513d',
+ type: 'RELATION',
+ name: 'calendarEvent',
+ label: 'Event ID',
+ description: 'Event ID',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
+ nameSingular: 'calendarChannelEventAssociation',
+ namePlural: 'calendarChannelEventAssociations',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '1c40e6e9-437b-47fc-84bf-57d4a8a0513d',
+ name: 'calendarEvent',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
+ nameSingular: 'calendarEvent',
+ namePlural: 'calendarEvents',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'b2be8cfa-97dc-4482-bad2-b8576b4090e7',
+ name: 'calendarChannelEventAssociations',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '3caf1987-2c71-49b2-8f92-5065339d66af',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'b2be8cfa-97dc-4482-bad2-b8576b4090e7',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarEvent',
+ namePlural: 'calendarEvents',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1defb4a1-717b-4293-977e-c9db04c76063',
+ type: 'TEXT',
+ name: 'eventExternalId',
+ label: 'Event external ID',
+ description: 'Event external ID',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ae9aa21a-40eb-44a7-b828-c6e67e4cfbe9',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a09fe05b-7443-45bd-8c67-6b90d78ea784',
- type: 'UUID',
- name: 'calendarChannelId',
- label: 'Channel ID id (foreign key)',
- description: 'Channel ID id foreign key',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '9b6e136f-3c9e-4c4b-92f8-a50291eb21f8',
- type: 'RELATION',
- name: 'calendarChannel',
- label: 'Channel ID',
- description: 'Channel ID',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
- nameSingular: 'calendarChannelEventAssociation',
- namePlural: 'calendarChannelEventAssociations',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '9b6e136f-3c9e-4c4b-92f8-a50291eb21f8',
- name: 'calendarChannel',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
- nameSingular: 'calendarChannel',
- namePlural: 'calendarChannels',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '60c518d0-c6ec-4b37-8bac-129e1442f390',
- name: 'calendarChannelEventAssociations',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '56260075-0a16-452a-ace1-65648fb299fe',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '60c518d0-c6ec-4b37-8bac-129e1442f390',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarChannel',
- namePlural: 'calendarChannels',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2579cd08-ae11-4fa0-90a2-5f40cc7dd20d',
- type: 'UUID',
- name: 'calendarEventId',
- label: 'Event ID id (foreign key)',
- description: 'Event ID id foreign key',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2ef8a91a-8f4a-4d01-b365-a09132a281d7',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e5080b5c-c264-48bb-9ff7-441127c6c331',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1c40e6e9-437b-47fc-84bf-57d4a8a0513d',
- type: 'RELATION',
- name: 'calendarEvent',
- label: 'Event ID',
- description: 'Event ID',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
- nameSingular: 'calendarChannelEventAssociation',
- namePlural: 'calendarChannelEventAssociations',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '1c40e6e9-437b-47fc-84bf-57d4a8a0513d',
- name: 'calendarEvent',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
- nameSingular: 'calendarEvent',
- namePlural: 'calendarEvents',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'b2be8cfa-97dc-4482-bad2-b8576b4090e7',
- name: 'calendarChannelEventAssociations',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '3caf1987-2c71-49b2-8f92-5065339d66af',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'b2be8cfa-97dc-4482-bad2-b8576b4090e7',
- fromObjectMetadata: {
- __typename: 'object',
- id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarEvent',
- namePlural: 'calendarEvents',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1defb4a1-717b-4293-977e-c9db04c76063',
- type: 'TEXT',
- name: 'eventExternalId',
- label: 'Event external ID',
- description: 'Event external ID',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activity',
- namePlural: 'activities',
- labelSingular: 'Activity',
- labelPlural: 'Activities',
- description: 'An activity',
- icon: 'IconCheckbox',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjE1',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ labelSingular: 'Activity',
+ labelPlural: 'Activities',
+ description: 'An activity',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjE1',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f19a61a4-aa63-4a68-a5b1-a1cb10183198',
+ type: 'DATE_TIME',
+ name: 'dueAt',
+ label: 'Due Date',
+ description: 'Activity due date',
+ icon: 'IconCalendarEvent',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f54661da-2ada-4179-82aa-5dcbbfde553c',
+ type: 'RELATION',
+ name: 'author',
+ label: 'Author',
+ description: 'Activity author',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'f54661da-2ada-4179-82aa-5dcbbfde553c',
+ name: 'author',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '79c3c3b7-b71c-47c0-a6ca-93ebf9842932',
+ name: 'authoredActivities',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'b0783352-803c-44d4-b195-c6697eaa35af',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '79c3c3b7-b71c-47c0-a6ca-93ebf9842932',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f650a683-4ce3-4c1f-bdc1-09b73d88d0df',
+ type: 'DATE_TIME',
+ name: 'completedAt',
+ label: 'Completion Date',
+ description: 'Activity completion date',
+ icon: 'IconCheck',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '66ae87fb-4cb8-4df7-bc5d-77d1a42e3726',
+ type: 'UUID',
+ name: 'assigneeId',
+ label: 'Assignee id (foreign key)',
+ description: 'Activity assignee id foreign key',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5f4ea983-40a2-4377-a9ec-4bdfc52b0941',
+ type: 'RELATION',
+ name: 'comments',
+ label: 'Comments',
+ description: 'Activity comments',
+ icon: 'IconComment',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '5f4ea983-40a2-4377-a9ec-4bdfc52b0941',
+ name: 'comments',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '31c20827-624f-4559-aa97-0e85d744367e',
+ nameSingular: 'comment',
+ namePlural: 'comments',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '56919379-c98d-4a84-9f6a-accddd892620',
+ name: 'activity',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'b782c321-0f72-4f2a-b420-af020a2095d1',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '56919379-c98d-4a84-9f6a-accddd892620',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '31c20827-624f-4559-aa97-0e85d744367e',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'comment',
+ namePlural: 'comments',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'cdd78500-4f06-4d15-9628-1690503e2b05',
+ type: 'UUID',
+ name: 'authorId',
+ label: 'Author id (foreign key)',
+ description: 'Activity author id foreign key',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c3509593-8b5d-4d3e-8d3d-93dfd4882864',
+ type: 'DATE_TIME',
+ name: 'reminderAt',
+ label: 'Reminder Date',
+ description: 'Activity reminder date',
+ icon: 'IconCalendarEvent',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '50b1c013-d292-4440-b95c-866156cb3e50',
+ type: 'RELATION',
+ name: 'attachments',
+ label: 'Attachments',
+ description: 'Activity attachments',
+ icon: 'IconFileImport',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '50b1c013-d292-4440-b95c-866156cb3e50',
+ name: 'attachments',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '80f9f757-fdf4-4c1a-ade8-4dcd8063eda0',
+ name: 'activity',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'b773b6fe-d987-43e2-a611-d6ca73ebd8bf',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '80f9f757-fdf4-4c1a-ade8-4dcd8063eda0',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '3e4dbb96-f276-44b6-93f7-e1d2ddc23019',
+ type: 'TEXT',
+ name: 'type',
+ label: 'Type',
+ description: 'Activity type',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'Note'",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '946beaa4-8816-4019-bd33-28c8463bfeaa',
+ type: 'RELATION',
+ name: 'activityTargets',
+ label: 'Targets',
+ description: 'Activity targets',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '946beaa4-8816-4019-bd33-28c8463bfeaa',
+ name: 'activityTargets',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'c2ba4efb-604d-4c2f-8a03-0b569b47b55d',
+ name: 'activity',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '8660a1ec-c72e-442c-81e3-da290931fbab',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'c2ba4efb-604d-4c2f-8a03-0b569b47b55d',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b859a716-03d6-4f01-ade2-26e8a97f2b13',
+ type: 'TEXT',
+ name: 'title',
+ label: 'Title',
+ description: 'Activity title',
+ icon: 'IconNotes',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fbba51f0-314f-4ddd-a0bb-50e0d6580a20',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f116cefb-2fbe-426b-aaca-025447ff9eee',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e06f97cc-af81-46ef-8f9a-081be9365ee8',
+ type: 'TEXT',
+ name: 'body',
+ label: 'Body',
+ description: 'Activity body',
+ icon: 'IconList',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '928a0879-7a43-4161-a39a-1b439b4b1e25',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '16e12150-bca4-4d81-b0d3-87fc7e5ef7a4',
+ type: 'RELATION',
+ name: 'assignee',
+ label: 'Assignee',
+ description: 'Activity assignee',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '16e12150-bca4-4d81-b0d3-87fc7e5ef7a4',
+ name: 'assignee',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '59abd17e-faa3-4527-94ee-6aa54c1ebae0',
+ name: 'assignedActivities',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '5eec3fa0-e260-47af-8ca8-bd2089573ef3',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '59abd17e-faa3-4527-94ee-6aa54c1ebae0',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f19a61a4-aa63-4a68-a5b1-a1cb10183198',
- type: 'DATE_TIME',
- name: 'dueAt',
- label: 'Due Date',
- description: 'Activity due date',
- icon: 'IconCalendarEvent',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f54661da-2ada-4179-82aa-5dcbbfde553c',
- type: 'RELATION',
- name: 'author',
- label: 'Author',
- description: 'Activity author',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'f54661da-2ada-4179-82aa-5dcbbfde553c',
- name: 'author',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '79c3c3b7-b71c-47c0-a6ca-93ebf9842932',
- name: 'authoredActivities',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'b0783352-803c-44d4-b195-c6697eaa35af',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '79c3c3b7-b71c-47c0-a6ca-93ebf9842932',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f650a683-4ce3-4c1f-bdc1-09b73d88d0df',
- type: 'DATE_TIME',
- name: 'completedAt',
- label: 'Completion Date',
- description: 'Activity completion date',
- icon: 'IconCheck',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '66ae87fb-4cb8-4df7-bc5d-77d1a42e3726',
- type: 'UUID',
- name: 'assigneeId',
- label: 'Assignee id (foreign key)',
- description: 'Activity assignee id foreign key',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5f4ea983-40a2-4377-a9ec-4bdfc52b0941',
- type: 'RELATION',
- name: 'comments',
- label: 'Comments',
- description: 'Activity comments',
- icon: 'IconComment',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '5f4ea983-40a2-4377-a9ec-4bdfc52b0941',
- name: 'comments',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '31c20827-624f-4559-aa97-0e85d744367e',
- nameSingular: 'comment',
- namePlural: 'comments',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '56919379-c98d-4a84-9f6a-accddd892620',
- name: 'activity',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'b782c321-0f72-4f2a-b420-af020a2095d1',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '56919379-c98d-4a84-9f6a-accddd892620',
- toObjectMetadata: {
- __typename: 'object',
- id: '31c20827-624f-4559-aa97-0e85d744367e',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'comment',
- namePlural: 'comments',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'cdd78500-4f06-4d15-9628-1690503e2b05',
- type: 'UUID',
- name: 'authorId',
- label: 'Author id (foreign key)',
- description: 'Activity author id foreign key',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c3509593-8b5d-4d3e-8d3d-93dfd4882864',
- type: 'DATE_TIME',
- name: 'reminderAt',
- label: 'Reminder Date',
- description: 'Activity reminder date',
- icon: 'IconCalendarEvent',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '50b1c013-d292-4440-b95c-866156cb3e50',
- type: 'RELATION',
- name: 'attachments',
- label: 'Attachments',
- description: 'Activity attachments',
- icon: 'IconFileImport',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '50b1c013-d292-4440-b95c-866156cb3e50',
- name: 'attachments',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '80f9f757-fdf4-4c1a-ade8-4dcd8063eda0',
- name: 'activity',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'b773b6fe-d987-43e2-a611-d6ca73ebd8bf',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '80f9f757-fdf4-4c1a-ade8-4dcd8063eda0',
- toObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '3e4dbb96-f276-44b6-93f7-e1d2ddc23019',
- type: 'TEXT',
- name: 'type',
- label: 'Type',
- description: 'Activity type',
- icon: 'IconCheckbox',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'Note'",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '946beaa4-8816-4019-bd33-28c8463bfeaa',
- type: 'RELATION',
- name: 'activityTargets',
- label: 'Targets',
- description: 'Activity targets',
- icon: 'IconCheckbox',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '946beaa4-8816-4019-bd33-28c8463bfeaa',
- name: 'activityTargets',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'c2ba4efb-604d-4c2f-8a03-0b569b47b55d',
- name: 'activity',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '8660a1ec-c72e-442c-81e3-da290931fbab',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'c2ba4efb-604d-4c2f-8a03-0b569b47b55d',
- toObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b859a716-03d6-4f01-ade2-26e8a97f2b13',
- type: 'TEXT',
- name: 'title',
- label: 'Title',
- description: 'Activity title',
- icon: 'IconNotes',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fbba51f0-314f-4ddd-a0bb-50e0d6580a20',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f116cefb-2fbe-426b-aaca-025447ff9eee',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e06f97cc-af81-46ef-8f9a-081be9365ee8',
- type: 'TEXT',
- name: 'body',
- label: 'Body',
- description: 'Activity body',
- icon: 'IconList',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '928a0879-7a43-4161-a39a-1b439b4b1e25',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '16e12150-bca4-4d81-b0d3-87fc7e5ef7a4',
- type: 'RELATION',
- name: 'assignee',
- label: 'Assignee',
- description: 'Activity assignee',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '16e12150-bca4-4d81-b0d3-87fc7e5ef7a4',
- name: 'assignee',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '59abd17e-faa3-4527-94ee-6aa54c1ebae0',
- name: 'assignedActivities',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '5eec3fa0-e260-47af-8ca8-bd2089573ef3',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '59abd17e-faa3-4527-94ee-6aa54c1ebae0',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- labelSingular: 'Workspace Member',
- labelPlural: 'Workspace Members',
- description: 'A workspace member',
- icon: 'IconUserCircle',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjE5',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ labelSingular: 'Workspace Member',
+ labelPlural: 'Workspace Members',
+ description: 'A workspace member',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjE5',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0c3b7acd-97c3-49d4-8b0e-cf307f81b74b',
+ type: 'TEXT',
+ name: 'locale',
+ label: 'Language',
+ description: 'Preferred language',
+ icon: 'IconLanguage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'en'",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fc3cfebb-722e-42dd-9646-e9f9f07dc152',
+ type: 'RELATION',
+ name: 'connectedAccounts',
+ label: 'Connected accounts',
+ description: 'Connected accounts',
+ icon: 'IconAt',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'fc3cfebb-722e-42dd-9646-e9f9f07dc152',
+ name: 'connectedAccounts',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'cff5f362-1299-4e44-bcf5-49bb0d2d611b',
+ name: 'accountOwner',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'c7060c9e-9cb7-420e-a82f-1eabaee52c06',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'cff5f362-1299-4e44-bcf5-49bb0d2d611b',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '505669cf-d7ed-47d9-90f4-516da3acdee8',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '04492087-5469-4052-982e-3de6c1528219',
+ type: 'TEXT',
+ name: 'userEmail',
+ label: 'User Email',
+ description: 'Related user email address',
+ icon: 'IconMail',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '79c3c3b7-b71c-47c0-a6ca-93ebf9842932',
+ type: 'RELATION',
+ name: 'authoredActivities',
+ label: 'Authored activities',
+ description: 'Activities created by the workspace member',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '79c3c3b7-b71c-47c0-a6ca-93ebf9842932',
+ name: 'authoredActivities',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'f54661da-2ada-4179-82aa-5dcbbfde553c',
+ name: 'author',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'b0783352-803c-44d4-b195-c6697eaa35af',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'f54661da-2ada-4179-82aa-5dcbbfde553c',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c1eeca93-2341-4685-8b72-68b8954c8120',
+ type: 'TEXT',
+ name: 'colorScheme',
+ label: 'Color Scheme',
+ description: 'Preferred color scheme',
+ icon: 'IconColorSwatch',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'Light'",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c779912d-8393-44fd-94cf-f8701daccad1',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '25d15af0-e186-42d4-b245-f0a2d3c89d09',
+ type: 'FULL_NAME',
+ name: 'name',
+ label: 'Name',
+ description: 'Workspace member name',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: {
+ lastName: "''",
+ firstName: "''",
+ },
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '20577261-01ca-43ae-a6c8-d558dce6c0ee',
+ type: 'RELATION',
+ name: 'accountOwnerForCompanies',
+ label: 'Account Owner For Companies',
+ description: 'Account owner for companies',
+ icon: 'IconBriefcase',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '20577261-01ca-43ae-a6c8-d558dce6c0ee',
+ name: 'accountOwnerForCompanies',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'f1bbe372-b283-4061-b7b4-5a5039196b8c',
+ name: 'accountOwner',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '91ed8064-e2cc-4130-9cb9-c5dc7ddee302',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'f1bbe372-b283-4061-b7b4-5a5039196b8c',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '605cc521-9640-49bd-b2c2-c5aa6c588b90',
+ type: 'RELATION',
+ name: 'authoredAttachments',
+ label: 'Authored attachments',
+ description: 'Attachments created by the workspace member',
+ icon: 'IconFileImport',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '605cc521-9640-49bd-b2c2-c5aa6c588b90',
+ name: 'authoredAttachments',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'd65234a9-f3a7-4985-93fb-52b1ee7517fb',
+ name: 'author',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '5afb80d4-d66d-49fa-b036-35656dbd7eb9',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'd65234a9-f3a7-4985-93fb-52b1ee7517fb',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '67044674-2477-44b4-a7a2-fba9add0e9ce',
+ type: 'RELATION',
+ name: 'messageParticipants',
+ label: 'Message Participants',
+ description: 'Message Participants',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '67044674-2477-44b4-a7a2-fba9add0e9ce',
+ name: 'messageParticipants',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'd96db94f-cffa-494b-9551-4d639d47cee3',
+ name: 'workspaceMember',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'a67bb487-2239-4073-ac05-8e2df6446185',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'd96db94f-cffa-494b-9551-4d639d47cee3',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '78b1e375-3ed2-49bc-8d3a-ca784ebe4013',
+ type: 'UUID',
+ name: 'userId',
+ label: 'User Id',
+ description: 'Associated User Id',
+ icon: 'IconCircleUsers',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '59abd17e-faa3-4527-94ee-6aa54c1ebae0',
+ type: 'RELATION',
+ name: 'assignedActivities',
+ label: 'Assigned activities',
+ description: 'Activities assigned to the workspace member',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '59abd17e-faa3-4527-94ee-6aa54c1ebae0',
+ name: 'assignedActivities',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '16e12150-bca4-4d81-b0d3-87fc7e5ef7a4',
+ name: 'assignee',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '5eec3fa0-e260-47af-8ca8-bd2089573ef3',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '16e12150-bca4-4d81-b0d3-87fc7e5ef7a4',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a06ac5ca-493e-413e-a305-0812deeaab85',
+ type: 'RELATION',
+ name: 'events',
+ label: 'Events',
+ description: 'Events linked to the workspace member',
+ icon: 'IconTimelineEvent',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'a06ac5ca-493e-413e-a305-0812deeaab85',
+ name: 'events',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'e8998178-223e-42a8-9978-a72a4477c8d4',
+ name: 'workspaceMember',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '6bec3a65-b7eb-4597-96fe-26b10088d2fc',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'e8998178-223e-42a8-9978-a72a4477c8d4',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'event',
+ namePlural: 'events',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'aee6daaa-a9e3-4f1a-a4dc-aa34c57cef7f',
+ type: 'RELATION',
+ name: 'calendarEventParticipants',
+ label: 'Calendar Event Participants',
+ description: 'Calendar Event Participants',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'aee6daaa-a9e3-4f1a-a4dc-aa34c57cef7f',
+ name: 'calendarEventParticipants',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'c0705e9a-d868-45ee-83b7-6055ca6ac1a8',
+ name: 'workspaceMember',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '9e9890bd-ead6-44f2-8f09-46d27f09f607',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'c0705e9a-d868-45ee-83b7-6055ca6ac1a8',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '25ce4b37-a597-4f1c-a2bc-72558170ddc5',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ca7a26f0-84f3-4215-a3a1-6967961de3c4',
+ type: 'RELATION',
+ name: 'blocklist',
+ label: 'Blocklist',
+ description: 'Blocklisted handles',
+ icon: 'IconForbid2',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'ca7a26f0-84f3-4215-a3a1-6967961de3c4',
+ name: 'blocklist',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'ed696d77-9b3c-4589-99a2-1f03f9a4ba5b',
+ nameSingular: 'blocklist',
+ namePlural: 'blocklists',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '5d578b49-324e-43a3-a10a-512c5606d29b',
+ name: 'workspaceMember',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '3e9e97f8-a2a4-4f90-a6a0-721fb1e66334',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '5d578b49-324e-43a3-a10a-512c5606d29b',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'ed696d77-9b3c-4589-99a2-1f03f9a4ba5b',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'blocklist',
+ namePlural: 'blocklists',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b0c16f48-0752-46da-b5d8-59f35c7c1ea0',
+ type: 'TEXT',
+ name: 'avatarUrl',
+ label: 'Avatar Url',
+ description: 'Workspace member avatar',
+ icon: 'IconFileUpload',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '28419ee0-5f10-4130-ad39-31fe4fc4ae62',
+ type: 'RELATION',
+ name: 'favorites',
+ label: 'Favorites',
+ description: 'Favorites linked to the workspace member',
+ icon: 'IconHeart',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '28419ee0-5f10-4130-ad39-31fe4fc4ae62',
+ name: 'favorites',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '8813fd75-e0d8-4a65-abd9-186dcbe9f1a7',
+ name: 'workspaceMember',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '859f61ab-5d4d-404d-b5e4-b3a7cec4325e',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '8813fd75-e0d8-4a65-abd9-186dcbe9f1a7',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '9ea86ae6-c26b-4ea0-b207-820b3ebf7110',
+ type: 'RELATION',
+ name: 'authoredComments',
+ label: 'Authored comments',
+ description: 'Authored comments',
+ icon: 'IconComment',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '9ea86ae6-c26b-4ea0-b207-820b3ebf7110',
+ name: 'authoredComments',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '31c20827-624f-4559-aa97-0e85d744367e',
+ nameSingular: 'comment',
+ namePlural: 'comments',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '70073404-9690-4b2d-b2b7-e823ab279d74',
+ name: 'author',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '58fb8589-6e7c-477c-b9ac-5e68bfa99ea2',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '70073404-9690-4b2d-b2b7-e823ab279d74',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '31c20827-624f-4559-aa97-0e85d744367e',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'comment',
+ namePlural: 'comments',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0c3b7acd-97c3-49d4-8b0e-cf307f81b74b',
- type: 'TEXT',
- name: 'locale',
- label: 'Language',
- description: 'Preferred language',
- icon: 'IconLanguage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'en'",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fc3cfebb-722e-42dd-9646-e9f9f07dc152',
- type: 'RELATION',
- name: 'connectedAccounts',
- label: 'Connected accounts',
- description: 'Connected accounts',
- icon: 'IconAt',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'fc3cfebb-722e-42dd-9646-e9f9f07dc152',
- name: 'connectedAccounts',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'cff5f362-1299-4e44-bcf5-49bb0d2d611b',
- name: 'accountOwner',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'c7060c9e-9cb7-420e-a82f-1eabaee52c06',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'cff5f362-1299-4e44-bcf5-49bb0d2d611b',
- toObjectMetadata: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '505669cf-d7ed-47d9-90f4-516da3acdee8',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '04492087-5469-4052-982e-3de6c1528219',
- type: 'TEXT',
- name: 'userEmail',
- label: 'User Email',
- description: 'Related user email address',
- icon: 'IconMail',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '79c3c3b7-b71c-47c0-a6ca-93ebf9842932',
- type: 'RELATION',
- name: 'authoredActivities',
- label: 'Authored activities',
- description: 'Activities created by the workspace member',
- icon: 'IconCheckbox',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '79c3c3b7-b71c-47c0-a6ca-93ebf9842932',
- name: 'authoredActivities',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'f54661da-2ada-4179-82aa-5dcbbfde553c',
- name: 'author',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'b0783352-803c-44d4-b195-c6697eaa35af',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'f54661da-2ada-4179-82aa-5dcbbfde553c',
- toObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activity',
- namePlural: 'activities',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c1eeca93-2341-4685-8b72-68b8954c8120',
- type: 'TEXT',
- name: 'colorScheme',
- label: 'Color Scheme',
- description: 'Preferred color scheme',
- icon: 'IconColorSwatch',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'Light'",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c779912d-8393-44fd-94cf-f8701daccad1',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '25d15af0-e186-42d4-b245-f0a2d3c89d09',
- type: 'FULL_NAME',
- name: 'name',
- label: 'Name',
- description: 'Workspace member name',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: {
- lastName: "''",
- firstName: "''",
- },
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '20577261-01ca-43ae-a6c8-d558dce6c0ee',
- type: 'RELATION',
- name: 'accountOwnerForCompanies',
- label: 'Account Owner For Companies',
- description: 'Account owner for companies',
- icon: 'IconBriefcase',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '20577261-01ca-43ae-a6c8-d558dce6c0ee',
- name: 'accountOwnerForCompanies',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'f1bbe372-b283-4061-b7b4-5a5039196b8c',
- name: 'accountOwner',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '91ed8064-e2cc-4130-9cb9-c5dc7ddee302',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'f1bbe372-b283-4061-b7b4-5a5039196b8c',
- toObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '605cc521-9640-49bd-b2c2-c5aa6c588b90',
- type: 'RELATION',
- name: 'authoredAttachments',
- label: 'Authored attachments',
- description: 'Attachments created by the workspace member',
- icon: 'IconFileImport',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '605cc521-9640-49bd-b2c2-c5aa6c588b90',
- name: 'authoredAttachments',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'd65234a9-f3a7-4985-93fb-52b1ee7517fb',
- name: 'author',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '5afb80d4-d66d-49fa-b036-35656dbd7eb9',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'd65234a9-f3a7-4985-93fb-52b1ee7517fb',
- toObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '67044674-2477-44b4-a7a2-fba9add0e9ce',
- type: 'RELATION',
- name: 'messageParticipants',
- label: 'Message Participants',
- description: 'Message Participants',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '67044674-2477-44b4-a7a2-fba9add0e9ce',
- name: 'messageParticipants',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'd96db94f-cffa-494b-9551-4d639d47cee3',
- name: 'workspaceMember',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'a67bb487-2239-4073-ac05-8e2df6446185',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'd96db94f-cffa-494b-9551-4d639d47cee3',
- toObjectMetadata: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '78b1e375-3ed2-49bc-8d3a-ca784ebe4013',
- type: 'UUID',
- name: 'userId',
- label: 'User Id',
- description: 'Associated User Id',
- icon: 'IconCircleUsers',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '59abd17e-faa3-4527-94ee-6aa54c1ebae0',
- type: 'RELATION',
- name: 'assignedActivities',
- label: 'Assigned activities',
- description: 'Activities assigned to the workspace member',
- icon: 'IconCheckbox',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '59abd17e-faa3-4527-94ee-6aa54c1ebae0',
- name: 'assignedActivities',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '16e12150-bca4-4d81-b0d3-87fc7e5ef7a4',
- name: 'assignee',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '5eec3fa0-e260-47af-8ca8-bd2089573ef3',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '16e12150-bca4-4d81-b0d3-87fc7e5ef7a4',
- toObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activity',
- namePlural: 'activities',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a06ac5ca-493e-413e-a305-0812deeaab85',
- type: 'RELATION',
- name: 'events',
- label: 'Events',
- description: 'Events linked to the workspace member',
- icon: 'IconTimelineEvent',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'a06ac5ca-493e-413e-a305-0812deeaab85',
- name: 'events',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'e8998178-223e-42a8-9978-a72a4477c8d4',
- name: 'workspaceMember',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '6bec3a65-b7eb-4597-96fe-26b10088d2fc',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'e8998178-223e-42a8-9978-a72a4477c8d4',
- toObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'event',
- namePlural: 'events',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'aee6daaa-a9e3-4f1a-a4dc-aa34c57cef7f',
- type: 'RELATION',
- name: 'calendarEventParticipants',
- label: 'Calendar Event Participants',
- description: 'Calendar Event Participants',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'aee6daaa-a9e3-4f1a-a4dc-aa34c57cef7f',
- name: 'calendarEventParticipants',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'c0705e9a-d868-45ee-83b7-6055ca6ac1a8',
- name: 'workspaceMember',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '9e9890bd-ead6-44f2-8f09-46d27f09f607',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'c0705e9a-d868-45ee-83b7-6055ca6ac1a8',
- toObjectMetadata: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '25ce4b37-a597-4f1c-a2bc-72558170ddc5',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ca7a26f0-84f3-4215-a3a1-6967961de3c4',
- type: 'RELATION',
- name: 'blocklist',
- label: 'Blocklist',
- description: 'Blocklisted handles',
- icon: 'IconForbid2',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'ca7a26f0-84f3-4215-a3a1-6967961de3c4',
- name: 'blocklist',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'ed696d77-9b3c-4589-99a2-1f03f9a4ba5b',
- nameSingular: 'blocklist',
- namePlural: 'blocklists',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '5d578b49-324e-43a3-a10a-512c5606d29b',
- name: 'workspaceMember',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '3e9e97f8-a2a4-4f90-a6a0-721fb1e66334',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '5d578b49-324e-43a3-a10a-512c5606d29b',
- toObjectMetadata: {
- __typename: 'object',
- id: 'ed696d77-9b3c-4589-99a2-1f03f9a4ba5b',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'blocklist',
- namePlural: 'blocklists',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b0c16f48-0752-46da-b5d8-59f35c7c1ea0',
- type: 'TEXT',
- name: 'avatarUrl',
- label: 'Avatar Url',
- description: 'Workspace member avatar',
- icon: 'IconFileUpload',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '28419ee0-5f10-4130-ad39-31fe4fc4ae62',
- type: 'RELATION',
- name: 'favorites',
- label: 'Favorites',
- description: 'Favorites linked to the workspace member',
- icon: 'IconHeart',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '28419ee0-5f10-4130-ad39-31fe4fc4ae62',
- name: 'favorites',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '8813fd75-e0d8-4a65-abd9-186dcbe9f1a7',
- name: 'workspaceMember',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '859f61ab-5d4d-404d-b5e4-b3a7cec4325e',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '8813fd75-e0d8-4a65-abd9-186dcbe9f1a7',
- toObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '9ea86ae6-c26b-4ea0-b207-820b3ebf7110',
- type: 'RELATION',
- name: 'authoredComments',
- label: 'Authored comments',
- description: 'Authored comments',
- icon: 'IconComment',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '9ea86ae6-c26b-4ea0-b207-820b3ebf7110',
- name: 'authoredComments',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '31c20827-624f-4559-aa97-0e85d744367e',
- nameSingular: 'comment',
- namePlural: 'comments',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '70073404-9690-4b2d-b2b7-e823ab279d74',
- name: 'author',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '58fb8589-6e7c-477c-b9ac-5e68bfa99ea2',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '70073404-9690-4b2d-b2b7-e823ab279d74',
- toObjectMetadata: {
- __typename: 'object',
- id: '31c20827-624f-4559-aa97-0e85d744367e',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'comment',
- namePlural: 'comments',
- isSystem: true,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '8bef276b-342c-4088-9448-752fc8efd426',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageChannel',
- namePlural: 'messageChannels',
- labelSingular: 'Message Channel',
- labelPlural: 'Message Channels',
- description: 'Message Channels',
- icon: 'IconMessage',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEz',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '8bef276b-342c-4088-9448-752fc8efd426',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageChannel',
+ namePlural: 'messageChannels',
+ labelSingular: 'Message Channel',
+ labelPlural: 'Message Channels',
+ description: 'Message Channels',
+ icon: 'IconMessage',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEz',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2d67b389-f431-4371-bf47-fc2bd8a1ed4d',
+ type: 'TEXT',
+ name: 'handle',
+ label: 'Handle',
+ description: 'Handle',
+ icon: 'IconAt',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'bfd8b430-a1d9-4fc7-82d7-a6ad2d62f1cc',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1cbbd683-b426-4509-9557-54671e6f0447',
+ type: 'RELATION',
+ name: 'messageChannelMessageAssociations',
+ label: 'Message Channel Association',
+ description: 'Messages from the channel.',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8bef276b-342c-4088-9448-752fc8efd426',
+ nameSingular: 'messageChannel',
+ namePlural: 'messageChannels',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '1cbbd683-b426-4509-9557-54671e6f0447',
+ name: 'messageChannelMessageAssociations',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '8b39502b-7400-480f-aff3-fa010bdbf50c',
+ name: 'messageChannel',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'b103a006-841d-4c39-b3b6-9385eb1cedfa',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '8b39502b-7400-480f-aff3-fa010bdbf50c',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '83abe056-d8a7-42a8-a4a1-dbb9bc425a16',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '24147b01-4394-4aee-92a4-5f6b5073704f',
+ type: 'DATE_TIME',
+ name: 'ongoingSyncStartedAt',
+ label: 'Ongoing sync started at',
+ description: 'Ongoing sync started at',
+ icon: 'IconHistory',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b914db46-eea0-496c-ba56-1209b3fd9537',
+ type: 'RELATION',
+ name: 'connectedAccount',
+ label: 'Connected Account',
+ description: 'Connected Account',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '8bef276b-342c-4088-9448-752fc8efd426',
+ nameSingular: 'messageChannel',
+ namePlural: 'messageChannels',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'b914db46-eea0-496c-ba56-1209b3fd9537',
+ name: 'connectedAccount',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'c68fb8af-ad36-439c-8c9d-799ba4cf4169',
+ name: 'messageChannels',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '0ca8dd47-2a20-4950-bf82-8fd4eafd6d0d',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'c68fb8af-ad36-439c-8c9d-799ba4cf4169',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fac6ab3a-74f7-4689-9c87-ac59135abf68',
+ type: 'TEXT',
+ name: 'syncCursor',
+ label: 'Last sync cursor',
+ description: 'Last sync cursor',
+ icon: 'IconHistory',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '49a08dc5-5a71-4ce2-ab74-928148673749',
+ type: 'UUID',
+ name: 'connectedAccountId',
+ label: 'Connected Account id (foreign key)',
+ description: 'Connected Account id foreign key',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '46d65d0a-39d1-4e2e-aac4-8cf649a10341',
+ type: 'SELECT',
+ name: 'visibility',
+ label: 'Visibility',
+ description: 'Visibility',
+ icon: 'IconEyeglass',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'share_everything'",
+ options: [
+ {
+ id: '112e7633-0451-4f7e-bc79-f988b78fabb8',
+ color: 'green',
+ label: 'Metadata',
+ value: 'metadata',
+ position: 0,
+ },
+ {
+ id: '148143c4-882d-4c94-b8db-ead6f4581ab1',
+ color: 'blue',
+ label: 'Subject',
+ value: 'subject',
+ position: 1,
+ },
+ {
+ id: '9bf90844-93cf-4c0a-95e9-02f7d5fa397f',
+ color: 'orange',
+ label: 'Share Everything',
+ value: 'share_everything',
+ position: 2,
+ },
+ ],
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '12abab4f-b463-4d87-95c9-b17459ce593d',
+ type: 'SELECT',
+ name: 'type',
+ label: 'Type',
+ description: 'Channel Type',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'email'",
+ options: [
+ {
+ id: '91b95c0d-da1e-485f-a480-70cc71e492bf',
+ color: 'green',
+ label: 'Email',
+ value: 'email',
+ position: 0,
+ },
+ {
+ id: '8f9de411-a21b-404c-b5b4-7fe2515958b0',
+ color: 'blue',
+ label: 'SMS',
+ value: 'sms',
+ position: 1,
+ },
+ ],
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'bad2e356-4abb-4b01-8214-ebd721c5d971',
+ type: 'BOOLEAN',
+ name: 'isContactAutoCreationEnabled',
+ label: 'Is Contact Auto Creation Enabled',
+ description: 'Is Contact Auto Creation Enabled',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: true,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5375647b-8bf8-422f-b0b0-b6e0fa9b7843',
+ type: 'DATE_TIME',
+ name: 'syncedAt',
+ label: 'Last sync date',
+ description: 'Last sync date',
+ icon: 'IconHistory',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f88b51c6-bd64-4e21-a3f8-2bc694f7e8a4',
+ type: 'SELECT',
+ name: 'syncStatus',
+ label: 'Last sync status',
+ description: 'Last sync status',
+ icon: 'IconHistory',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: [
+ {
+ id: '852a7ac5-e6e8-4c4d-a6da-7462d025cbf7',
+ color: 'blue',
+ label: 'Pending',
+ value: 'PENDING',
+ position: 0,
+ },
+ {
+ id: 'fb11b3c7-4efd-44e3-bd57-505038d0f809',
+ color: 'yellow',
+ label: 'Ongoing',
+ value: 'ONGOING',
+ position: 1,
+ },
+ {
+ id: 'ef7d78c7-5049-49d1-8a6f-bc345c7dae67',
+ color: 'green',
+ label: 'Succeeded',
+ value: 'SUCCEEDED',
+ position: 2,
+ },
+ {
+ id: 'f5f17226-4244-4ede-b734-e4c1108b569a',
+ color: 'red',
+ label: 'Failed',
+ value: 'FAILED',
+ position: 3,
+ },
+ ],
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ee974a00-4aa5-497a-8219-fadd7578fbc5',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2d67b389-f431-4371-bf47-fc2bd8a1ed4d',
- type: 'TEXT',
- name: 'handle',
- label: 'Handle',
- description: 'Handle',
- icon: 'IconAt',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'bfd8b430-a1d9-4fc7-82d7-a6ad2d62f1cc',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1cbbd683-b426-4509-9557-54671e6f0447',
- type: 'RELATION',
- name: 'messageChannelMessageAssociations',
- label: 'Message Channel Association',
- description: 'Messages from the channel.',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8bef276b-342c-4088-9448-752fc8efd426',
- nameSingular: 'messageChannel',
- namePlural: 'messageChannels',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '1cbbd683-b426-4509-9557-54671e6f0447',
- name: 'messageChannelMessageAssociations',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '8b39502b-7400-480f-aff3-fa010bdbf50c',
- name: 'messageChannel',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'b103a006-841d-4c39-b3b6-9385eb1cedfa',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '8b39502b-7400-480f-aff3-fa010bdbf50c',
- toObjectMetadata: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '83abe056-d8a7-42a8-a4a1-dbb9bc425a16',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '24147b01-4394-4aee-92a4-5f6b5073704f',
- type: 'DATE_TIME',
- name: 'ongoingSyncStartedAt',
- label: 'Ongoing sync started at',
- description: 'Ongoing sync started at',
- icon: 'IconHistory',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b914db46-eea0-496c-ba56-1209b3fd9537',
- type: 'RELATION',
- name: 'connectedAccount',
- label: 'Connected Account',
- description: 'Connected Account',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '8bef276b-342c-4088-9448-752fc8efd426',
- nameSingular: 'messageChannel',
- namePlural: 'messageChannels',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'b914db46-eea0-496c-ba56-1209b3fd9537',
- name: 'connectedAccount',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'c68fb8af-ad36-439c-8c9d-799ba4cf4169',
- name: 'messageChannels',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '0ca8dd47-2a20-4950-bf82-8fd4eafd6d0d',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'c68fb8af-ad36-439c-8c9d-799ba4cf4169',
- fromObjectMetadata: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fac6ab3a-74f7-4689-9c87-ac59135abf68',
- type: 'TEXT',
- name: 'syncCursor',
- label: 'Last sync cursor',
- description: 'Last sync cursor',
- icon: 'IconHistory',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '49a08dc5-5a71-4ce2-ab74-928148673749',
- type: 'UUID',
- name: 'connectedAccountId',
- label: 'Connected Account id (foreign key)',
- description: 'Connected Account id foreign key',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '46d65d0a-39d1-4e2e-aac4-8cf649a10341',
- type: 'SELECT',
- name: 'visibility',
- label: 'Visibility',
- description: 'Visibility',
- icon: 'IconEyeglass',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'share_everything'",
- options: [
- {
- id: '112e7633-0451-4f7e-bc79-f988b78fabb8',
- color: 'green',
- label: 'Metadata',
- value: 'metadata',
- position: 0,
- },
- {
- id: '148143c4-882d-4c94-b8db-ead6f4581ab1',
- color: 'blue',
- label: 'Subject',
- value: 'subject',
- position: 1,
- },
- {
- id: '9bf90844-93cf-4c0a-95e9-02f7d5fa397f',
- color: 'orange',
- label: 'Share Everything',
- value: 'share_everything',
- position: 2,
- },
- ],
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '12abab4f-b463-4d87-95c9-b17459ce593d',
- type: 'SELECT',
- name: 'type',
- label: 'Type',
- description: 'Channel Type',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'email'",
- options: [
- {
- id: '91b95c0d-da1e-485f-a480-70cc71e492bf',
- color: 'green',
- label: 'Email',
- value: 'email',
- position: 0,
- },
- {
- id: '8f9de411-a21b-404c-b5b4-7fe2515958b0',
- color: 'blue',
- label: 'SMS',
- value: 'sms',
- position: 1,
- },
- ],
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'bad2e356-4abb-4b01-8214-ebd721c5d971',
- type: 'BOOLEAN',
- name: 'isContactAutoCreationEnabled',
- label: 'Is Contact Auto Creation Enabled',
- description: 'Is Contact Auto Creation Enabled',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: true,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5375647b-8bf8-422f-b0b0-b6e0fa9b7843',
- type: 'DATE_TIME',
- name: 'syncedAt',
- label: 'Last sync date',
- description: 'Last sync date',
- icon: 'IconHistory',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f88b51c6-bd64-4e21-a3f8-2bc694f7e8a4',
- type: 'SELECT',
- name: 'syncStatus',
- label: 'Last sync status',
- description: 'Last sync status',
- icon: 'IconHistory',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: [
- {
- id: '852a7ac5-e6e8-4c4d-a6da-7462d025cbf7',
- color: 'blue',
- label: 'Pending',
- value: 'PENDING',
- position: 0,
- },
- {
- id: 'fb11b3c7-4efd-44e3-bd57-505038d0f809',
- color: 'yellow',
- label: 'Ongoing',
- value: 'ONGOING',
- position: 1,
- },
- {
- id: 'ef7d78c7-5049-49d1-8a6f-bc345c7dae67',
- color: 'green',
- label: 'Succeeded',
- value: 'SUCCEEDED',
- position: 2,
- },
- {
- id: 'f5f17226-4244-4ede-b734-e4c1108b569a',
- color: 'red',
- label: 'Failed',
- value: 'FAILED',
- position: 3,
- },
- ],
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ee974a00-4aa5-497a-8219-fadd7578fbc5',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- labelSingular: 'Attachment',
- labelPlural: 'Attachments',
- description: 'An attachment',
- icon: 'IconFileImport',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjE3',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ labelSingular: 'Attachment',
+ labelPlural: 'Attachments',
+ description: 'An attachment',
+ icon: 'IconFileImport',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjE3',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '80f9f757-fdf4-4c1a-ade8-4dcd8063eda0',
+ type: 'RELATION',
+ name: 'activity',
+ label: 'Activity',
+ description: 'Attachment activity',
+ icon: 'IconNotes',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '80f9f757-fdf4-4c1a-ade8-4dcd8063eda0',
+ name: 'activity',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '50b1c013-d292-4440-b95c-866156cb3e50',
+ name: 'attachments',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'b773b6fe-d987-43e2-a611-d6ca73ebd8bf',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '50b1c013-d292-4440-b95c-866156cb3e50',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '4bc1a76e-0fec-433d-8a35-3b0297d395fb',
+ type: 'UUID',
+ name: 'opportunityId',
+ label: 'Opportunity id (foreign key)',
+ description: 'Attachment opportunity id foreign key',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0181aae2-1683-453a-b858-fe5260bb19e6',
+ type: 'RELATION',
+ name: 'company',
+ label: 'Company',
+ description: 'Attachment company',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '0181aae2-1683-453a-b858-fe5260bb19e6',
+ name: 'company',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '8f7912c8-8dc7-40ca-8625-b6d0ec2dc1f4',
+ name: 'attachments',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '76108795-7b26-4b28-958d-e49b3121880f',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '8f7912c8-8dc7-40ca-8625-b6d0ec2dc1f4',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '97d60d26-b9d8-45f0-b585-daf7c7311722',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a2c48db3-f1e8-416a-bc89-ad4447735f83',
+ type: 'UUID',
+ name: 'companyId',
+ label: 'Company id (foreign key)',
+ description: 'Attachment company id foreign key',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '40770d58-2f91-47f7-8c1d-f5f83f1d29cf',
+ type: 'UUID',
+ name: 'personId',
+ label: 'Person id (foreign key)',
+ description: 'Attachment person id foreign key',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '21a2983c-799d-4a16-94d4-6f63946718c5',
+ type: 'UUID',
+ name: 'listingId',
+ label: 'Listing ID (foreign key)',
+ description: 'Attachment Listing id foreign key',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.729Z',
+ updatedAt: '2024-04-08T12:51:28.729Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '528427e3-e988-44b3-9b3f-fa47a9e64ca6',
+ type: 'RELATION',
+ name: 'opportunity',
+ label: 'Opportunity',
+ description: 'Attachment opportunity',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '528427e3-e988-44b3-9b3f-fa47a9e64ca6',
+ name: 'opportunity',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '2c2077f0-2efc-4569-b2d9-44c8583a2a58',
+ name: 'attachments',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '8d09bfb5-aef9-4adf-9f6a-3ba89e7475cd',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '2c2077f0-2efc-4569-b2d9-44c8583a2a58',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ef4c93f7-b0fb-40a5-932b-2db0f4fe2271',
+ type: 'RELATION',
+ name: 'person',
+ label: 'Person',
+ description: 'Attachment person',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'ef4c93f7-b0fb-40a5-932b-2db0f4fe2271',
+ name: 'person',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'fae2489f-7f59-4385-bec8-9d3f4044d1da',
+ name: 'attachments',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'c10de251-b748-4c5d-8dfa-51cbd82f75dc',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'fae2489f-7f59-4385-bec8-9d3f4044d1da',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'person',
+ namePlural: 'people',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '7927cf69-7c79-46c2-b43a-5b1bb98b41c0',
+ type: 'TEXT',
+ name: 'fullPath',
+ label: 'Full path',
+ description: 'Attachment full path',
+ icon: 'IconLink',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '31cbdd99-1496-4310-8d6f-ed0030947451',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f5108d93-497b-4605-ab69-1c214fb9bc48',
+ type: 'UUID',
+ name: 'authorId',
+ label: 'Author id (foreign key)',
+ description: 'Attachment author id foreign key',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '9f9fed5a-0015-4dea-9a93-e7cef9792ca3',
+ type: 'UUID',
+ name: 'activityId',
+ label: 'Activity id (foreign key)',
+ description: 'Attachment activity id foreign key',
+ icon: 'IconNotes',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2b6bf6cd-0bab-4c21-b4e8-83a362f34cf3',
+ type: 'TEXT',
+ name: 'name',
+ label: 'Name',
+ description: 'Attachment name',
+ icon: 'IconFileUpload',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ef938eb9-60ac-42f3-bd25-12cfc2ad2e99',
+ type: 'TEXT',
+ name: 'type',
+ label: 'Type',
+ description: 'Attachment type',
+ icon: 'IconList',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd65234a9-f3a7-4985-93fb-52b1ee7517fb',
+ type: 'RELATION',
+ name: 'author',
+ label: 'Author',
+ description: 'Attachment author',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'd65234a9-f3a7-4985-93fb-52b1ee7517fb',
+ name: 'author',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '605cc521-9640-49bd-b2c2-c5aa6c588b90',
+ name: 'authoredAttachments',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '5afb80d4-d66d-49fa-b036-35656dbd7eb9',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '605cc521-9640-49bd-b2c2-c5aa6c588b90',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '7c18721a-75dd-419b-a9eb-73ea84a5be85',
+ type: 'RELATION',
+ name: 'listing',
+ label: 'Listing',
+ description: 'Attachment Listing',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.729Z',
+ updatedAt: '2024-04-08T12:51:28.729Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '7c18721a-75dd-419b-a9eb-73ea84a5be85',
+ name: 'listing',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'a19d48b1-889e-4e6c-ad5a-a5707e92f8bf',
+ name: 'attachments',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '2ba1eae0-a1cf-4976-997e-0f2250d20ba8',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'a19d48b1-889e-4e6c-ad5a-a5707e92f8bf',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '7b7bdb38-ebc6-4e79-9024-bbb7a3a67c1b',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '80f9f757-fdf4-4c1a-ade8-4dcd8063eda0',
- type: 'RELATION',
- name: 'activity',
- label: 'Activity',
- description: 'Attachment activity',
- icon: 'IconNotes',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '80f9f757-fdf4-4c1a-ade8-4dcd8063eda0',
- name: 'activity',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '50b1c013-d292-4440-b95c-866156cb3e50',
- name: 'attachments',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'b773b6fe-d987-43e2-a611-d6ca73ebd8bf',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '50b1c013-d292-4440-b95c-866156cb3e50',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activity',
- namePlural: 'activities',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '4bc1a76e-0fec-433d-8a35-3b0297d395fb',
- type: 'UUID',
- name: 'opportunityId',
- label: 'Opportunity id (foreign key)',
- description: 'Attachment opportunity id foreign key',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0181aae2-1683-453a-b858-fe5260bb19e6',
- type: 'RELATION',
- name: 'company',
- label: 'Company',
- description: 'Attachment company',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '0181aae2-1683-453a-b858-fe5260bb19e6',
- name: 'company',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '8f7912c8-8dc7-40ca-8625-b6d0ec2dc1f4',
- name: 'attachments',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '76108795-7b26-4b28-958d-e49b3121880f',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '8f7912c8-8dc7-40ca-8625-b6d0ec2dc1f4',
- fromObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '97d60d26-b9d8-45f0-b585-daf7c7311722',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a2c48db3-f1e8-416a-bc89-ad4447735f83',
- type: 'UUID',
- name: 'companyId',
- label: 'Company id (foreign key)',
- description: 'Attachment company id foreign key',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '40770d58-2f91-47f7-8c1d-f5f83f1d29cf',
- type: 'UUID',
- name: 'personId',
- label: 'Person id (foreign key)',
- description: 'Attachment person id foreign key',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '21a2983c-799d-4a16-94d4-6f63946718c5',
- type: 'UUID',
- name: 'listingId',
- label: 'Listing ID (foreign key)',
- description: 'Attachment Listing id foreign key',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.729Z',
- updatedAt: '2024-04-08T12:51:28.729Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '528427e3-e988-44b3-9b3f-fa47a9e64ca6',
- type: 'RELATION',
- name: 'opportunity',
- label: 'Opportunity',
- description: 'Attachment opportunity',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '528427e3-e988-44b3-9b3f-fa47a9e64ca6',
- name: 'opportunity',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '2c2077f0-2efc-4569-b2d9-44c8583a2a58',
- name: 'attachments',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '8d09bfb5-aef9-4adf-9f6a-3ba89e7475cd',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '2c2077f0-2efc-4569-b2d9-44c8583a2a58',
- fromObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ef4c93f7-b0fb-40a5-932b-2db0f4fe2271',
- type: 'RELATION',
- name: 'person',
- label: 'Person',
- description: 'Attachment person',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'ef4c93f7-b0fb-40a5-932b-2db0f4fe2271',
- name: 'person',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'fae2489f-7f59-4385-bec8-9d3f4044d1da',
- name: 'attachments',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'c10de251-b748-4c5d-8dfa-51cbd82f75dc',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'fae2489f-7f59-4385-bec8-9d3f4044d1da',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'person',
- namePlural: 'people',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '7927cf69-7c79-46c2-b43a-5b1bb98b41c0',
- type: 'TEXT',
- name: 'fullPath',
- label: 'Full path',
- description: 'Attachment full path',
- icon: 'IconLink',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '31cbdd99-1496-4310-8d6f-ed0030947451',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f5108d93-497b-4605-ab69-1c214fb9bc48',
- type: 'UUID',
- name: 'authorId',
- label: 'Author id (foreign key)',
- description: 'Attachment author id foreign key',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '9f9fed5a-0015-4dea-9a93-e7cef9792ca3',
- type: 'UUID',
- name: 'activityId',
- label: 'Activity id (foreign key)',
- description: 'Attachment activity id foreign key',
- icon: 'IconNotes',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2b6bf6cd-0bab-4c21-b4e8-83a362f34cf3',
- type: 'TEXT',
- name: 'name',
- label: 'Name',
- description: 'Attachment name',
- icon: 'IconFileUpload',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ef938eb9-60ac-42f3-bd25-12cfc2ad2e99',
- type: 'TEXT',
- name: 'type',
- label: 'Type',
- description: 'Attachment type',
- icon: 'IconList',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd65234a9-f3a7-4985-93fb-52b1ee7517fb',
- type: 'RELATION',
- name: 'author',
- label: 'Author',
- description: 'Attachment author',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'd65234a9-f3a7-4985-93fb-52b1ee7517fb',
- name: 'author',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '605cc521-9640-49bd-b2c2-c5aa6c588b90',
- name: 'authoredAttachments',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '5afb80d4-d66d-49fa-b036-35656dbd7eb9',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '605cc521-9640-49bd-b2c2-c5aa6c588b90',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '7c18721a-75dd-419b-a9eb-73ea84a5be85',
- type: 'RELATION',
- name: 'listing',
- label: 'Listing',
- description: 'Attachment Listing',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.729Z',
- updatedAt: '2024-04-08T12:51:28.729Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '7c18721a-75dd-419b-a9eb-73ea84a5be85',
- name: 'listing',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'a19d48b1-889e-4e6c-ad5a-a5707e92f8bf',
- name: 'attachments',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '2ba1eae0-a1cf-4976-997e-0f2250d20ba8',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'a19d48b1-889e-4e6c-ad5a-a5707e92f8bf',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'listing',
- namePlural: 'listings',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '7b7bdb38-ebc6-4e79-9024-bbb7a3a67c1b',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- labelSingular: 'Opportunity',
- labelPlural: 'Opportunities',
- description: 'An opportunity',
- icon: 'IconTargetArrow',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjE2',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ labelSingular: 'Opportunity',
+ labelPlural: 'Opportunities',
+ description: 'An opportunity',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjE2',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '4a6abf2d-56dd-44e4-a52f-048d05b8bee5',
+ type: 'RELATION',
+ name: 'pointOfContact',
+ label: 'Point of Contact',
+ description: 'Opportunity point of contact',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '4a6abf2d-56dd-44e4-a52f-048d05b8bee5',
+ name: 'pointOfContact',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'c2897c17-90a9-487b-a358-579c14cdd862',
+ name: 'pointOfContactForOpportunities',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '47ed427f-20b2-454b-acef-39bc5ff2535e',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'c2897c17-90a9-487b-a358-579c14cdd862',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'person',
+ namePlural: 'people',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2c2077f0-2efc-4569-b2d9-44c8583a2a58',
+ type: 'RELATION',
+ name: 'attachments',
+ label: 'Attachments',
+ description: 'Attachments linked to the opportunity.',
+ icon: 'IconFileImport',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '2c2077f0-2efc-4569-b2d9-44c8583a2a58',
+ name: 'attachments',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '528427e3-e988-44b3-9b3f-fa47a9e64ca6',
+ name: 'opportunity',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '8d09bfb5-aef9-4adf-9f6a-3ba89e7475cd',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '528427e3-e988-44b3-9b3f-fa47a9e64ca6',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fca33094-0d78-4e6d-8c5e-e970d98f1e1c',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a16e97e2-2d9f-45f7-85bf-c6cc78de9175',
+ type: 'RELATION',
+ name: 'events',
+ label: 'Events',
+ description: 'Events linked to the opportunity.',
+ icon: 'IconTimelineEvent',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'a16e97e2-2d9f-45f7-85bf-c6cc78de9175',
+ name: 'events',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'bcfa8dd3-080a-43f1-ab82-7b6a5b81a64c',
+ name: 'opportunity',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'ac4bf17f-3e8f-4f90-bf23-ddb8ff4e9063',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'bcfa8dd3-080a-43f1-ab82-7b6a5b81a64c',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'event',
+ namePlural: 'events',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'be148e1f-256c-4ea8-a016-c25cbd6ec841',
+ type: 'RELATION',
+ name: 'company',
+ label: 'Company',
+ description: 'Opportunity company',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'be148e1f-256c-4ea8-a016-c25cbd6ec841',
+ name: 'company',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'efba6645-b939-4751-bd55-a2fa787997aa',
+ name: 'opportunities',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'd6f3f2a6-ac78-4451-aa00-9dffd75413e1',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'efba6645-b939-4751-bd55-a2fa787997aa',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f9223d20-5eed-41ff-8e31-f25e2df8151d',
+ type: 'TEXT',
+ name: 'probability',
+ label: 'Probability',
+ description: 'Opportunity probability',
+ icon: 'IconProgressCheck',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'0'",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c2f4c761-c6e0-40e6-bd68-b9616ac1214c',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd61da288-7a71-47d5-ba6a-7700356e9a3a',
+ type: 'RELATION',
+ name: 'favorites',
+ label: 'Favorites',
+ description: 'Favorites linked to the opportunity',
+ icon: 'IconHeart',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'd61da288-7a71-47d5-ba6a-7700356e9a3a',
+ name: 'favorites',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '32ae5023-12c5-4a3a-8ec0-3f024eae8377',
+ name: 'opportunity',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'f5da2c34-7a8c-47a3-b262-7c44e9f6fd28',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '32ae5023-12c5-4a3a-8ec0-3f024eae8377',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '4d80df11-1191-467f-ada8-05f83468dae2',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '4f09330e-1a85-4eb9-82df-c47e79d68c38',
+ type: 'UUID',
+ name: 'pointOfContactId',
+ label: 'Point of Contact id (foreign key)',
+ description: 'Opportunity point of contact id foreign key',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a276b810-e620-48b8-9575-ceca50d6d825',
+ type: 'POSITION',
+ name: 'position',
+ label: 'Position',
+ description: 'Opportunity record position',
+ icon: 'IconHierarchy2',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '854e2f30-9004-4e6e-9169-ccb65e4dfd82',
+ type: 'CURRENCY',
+ name: 'amount',
+ label: 'Amount',
+ description: 'Opportunity amount',
+ icon: 'IconCurrencyDollar',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: {
+ amountMicros: null,
+ currencyCode: "''",
+ },
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '19b05964-036d-4094-a4db-bda92a2f2162',
+ type: 'SELECT',
+ name: 'stage',
+ label: 'Stage',
+ description: 'Opportunity stage',
+ icon: 'IconProgressCheck',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'NEW'",
+ options: [
+ {
+ id: '79acd111-9dc5-4972-9910-27e201bde17b',
+ color: 'red',
+ label: 'New',
+ value: 'NEW',
+ position: 0,
+ },
+ {
+ id: '20d41856-ec96-41d7-8531-0f9ce7c33bdb',
+ color: 'purple',
+ label: 'Screening',
+ value: 'SCREENING',
+ position: 1,
+ },
+ {
+ id: 'd007b774-b62e-4765-969e-378d0216f187',
+ color: 'sky',
+ label: 'Meeting',
+ value: 'MEETING',
+ position: 2,
+ },
+ {
+ id: '43937fb6-d34a-48d5-bef2-28fae8f7fbc1',
+ color: 'turquoise',
+ label: 'Proposal',
+ value: 'PROPOSAL',
+ position: 3,
+ },
+ {
+ id: '0276042b-124d-4f65-b665-e2e4b899d21a',
+ color: 'yellow',
+ label: 'Customer',
+ value: 'CUSTOMER',
+ position: 4,
+ },
+ ],
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '6d85ad85-d707-4642-9fbd-b125d9458d26',
+ type: 'DATE_TIME',
+ name: 'closeDate',
+ label: 'Close date',
+ description: 'Opportunity close date',
+ icon: 'IconCalendarEvent',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '62f1371a-d4da-49b4-9e59-7d9d691ede83',
+ type: 'UUID',
+ name: 'companyId',
+ label: 'Company id (foreign key)',
+ description: 'Opportunity company id foreign key',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c59e1a3c-3849-4210-a4ee-c09a5bebe434',
+ type: 'TEXT',
+ name: 'name',
+ label: 'Name',
+ description: 'The opportunity name',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'adc8f6dd-aee1-492f-a715-7dd02bdfb5f5',
+ type: 'RELATION',
+ name: 'activityTargets',
+ label: 'Activities',
+ description: 'Activities tied to the opportunity',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'adc8f6dd-aee1-492f-a715-7dd02bdfb5f5',
+ name: 'activityTargets',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '48714e13-1203-424e-8bfa-0f2baff626e7',
+ name: 'opportunity',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '1842e867-107a-4544-93e0-249298a8edbf',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '48714e13-1203-424e-8bfa-0f2baff626e7',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '4a6abf2d-56dd-44e4-a52f-048d05b8bee5',
- type: 'RELATION',
- name: 'pointOfContact',
- label: 'Point of Contact',
- description: 'Opportunity point of contact',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '4a6abf2d-56dd-44e4-a52f-048d05b8bee5',
- name: 'pointOfContact',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'c2897c17-90a9-487b-a358-579c14cdd862',
- name: 'pointOfContactForOpportunities',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '47ed427f-20b2-454b-acef-39bc5ff2535e',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'c2897c17-90a9-487b-a358-579c14cdd862',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'person',
- namePlural: 'people',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2c2077f0-2efc-4569-b2d9-44c8583a2a58',
- type: 'RELATION',
- name: 'attachments',
- label: 'Attachments',
- description: 'Attachments linked to the opportunity.',
- icon: 'IconFileImport',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '2c2077f0-2efc-4569-b2d9-44c8583a2a58',
- name: 'attachments',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '528427e3-e988-44b3-9b3f-fa47a9e64ca6',
- name: 'opportunity',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '8d09bfb5-aef9-4adf-9f6a-3ba89e7475cd',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '528427e3-e988-44b3-9b3f-fa47a9e64ca6',
- toObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fca33094-0d78-4e6d-8c5e-e970d98f1e1c',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a16e97e2-2d9f-45f7-85bf-c6cc78de9175',
- type: 'RELATION',
- name: 'events',
- label: 'Events',
- description: 'Events linked to the opportunity.',
- icon: 'IconTimelineEvent',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'a16e97e2-2d9f-45f7-85bf-c6cc78de9175',
- name: 'events',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'bcfa8dd3-080a-43f1-ab82-7b6a5b81a64c',
- name: 'opportunity',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'ac4bf17f-3e8f-4f90-bf23-ddb8ff4e9063',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'bcfa8dd3-080a-43f1-ab82-7b6a5b81a64c',
- toObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'event',
- namePlural: 'events',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'be148e1f-256c-4ea8-a016-c25cbd6ec841',
- type: 'RELATION',
- name: 'company',
- label: 'Company',
- description: 'Opportunity company',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'be148e1f-256c-4ea8-a016-c25cbd6ec841',
- name: 'company',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'efba6645-b939-4751-bd55-a2fa787997aa',
- name: 'opportunities',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'd6f3f2a6-ac78-4451-aa00-9dffd75413e1',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'efba6645-b939-4751-bd55-a2fa787997aa',
- fromObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f9223d20-5eed-41ff-8e31-f25e2df8151d',
- type: 'TEXT',
- name: 'probability',
- label: 'Probability',
- description: 'Opportunity probability',
- icon: 'IconProgressCheck',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'0'",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c2f4c761-c6e0-40e6-bd68-b9616ac1214c',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd61da288-7a71-47d5-ba6a-7700356e9a3a',
- type: 'RELATION',
- name: 'favorites',
- label: 'Favorites',
- description: 'Favorites linked to the opportunity',
- icon: 'IconHeart',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'd61da288-7a71-47d5-ba6a-7700356e9a3a',
- name: 'favorites',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '32ae5023-12c5-4a3a-8ec0-3f024eae8377',
- name: 'opportunity',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'f5da2c34-7a8c-47a3-b262-7c44e9f6fd28',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '32ae5023-12c5-4a3a-8ec0-3f024eae8377',
- toObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '4d80df11-1191-467f-ada8-05f83468dae2',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '4f09330e-1a85-4eb9-82df-c47e79d68c38',
- type: 'UUID',
- name: 'pointOfContactId',
- label: 'Point of Contact id (foreign key)',
- description: 'Opportunity point of contact id foreign key',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a276b810-e620-48b8-9575-ceca50d6d825',
- type: 'POSITION',
- name: 'position',
- label: 'Position',
- description: 'Opportunity record position',
- icon: 'IconHierarchy2',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '854e2f30-9004-4e6e-9169-ccb65e4dfd82',
- type: 'CURRENCY',
- name: 'amount',
- label: 'Amount',
- description: 'Opportunity amount',
- icon: 'IconCurrencyDollar',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: {
- amountMicros: null,
- currencyCode: "''",
- },
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '19b05964-036d-4094-a4db-bda92a2f2162',
- type: 'SELECT',
- name: 'stage',
- label: 'Stage',
- description: 'Opportunity stage',
- icon: 'IconProgressCheck',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'NEW'",
- options: [
- {
- id: '79acd111-9dc5-4972-9910-27e201bde17b',
- color: 'red',
- label: 'New',
- value: 'NEW',
- position: 0,
- },
- {
- id: '20d41856-ec96-41d7-8531-0f9ce7c33bdb',
- color: 'purple',
- label: 'Screening',
- value: 'SCREENING',
- position: 1,
- },
- {
- id: 'd007b774-b62e-4765-969e-378d0216f187',
- color: 'sky',
- label: 'Meeting',
- value: 'MEETING',
- position: 2,
- },
- {
- id: '43937fb6-d34a-48d5-bef2-28fae8f7fbc1',
- color: 'turquoise',
- label: 'Proposal',
- value: 'PROPOSAL',
- position: 3,
- },
- {
- id: '0276042b-124d-4f65-b665-e2e4b899d21a',
- color: 'yellow',
- label: 'Customer',
- value: 'CUSTOMER',
- position: 4,
- },
- ],
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '6d85ad85-d707-4642-9fbd-b125d9458d26',
- type: 'DATE_TIME',
- name: 'closeDate',
- label: 'Close date',
- description: 'Opportunity close date',
- icon: 'IconCalendarEvent',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '62f1371a-d4da-49b4-9e59-7d9d691ede83',
- type: 'UUID',
- name: 'companyId',
- label: 'Company id (foreign key)',
- description: 'Opportunity company id foreign key',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c59e1a3c-3849-4210-a4ee-c09a5bebe434',
- type: 'TEXT',
- name: 'name',
- label: 'Name',
- description: 'The opportunity name',
- icon: 'IconTargetArrow',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'adc8f6dd-aee1-492f-a715-7dd02bdfb5f5',
- type: 'RELATION',
- name: 'activityTargets',
- label: 'Activities',
- description: 'Activities tied to the opportunity',
- icon: 'IconCheckbox',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'adc8f6dd-aee1-492f-a715-7dd02bdfb5f5',
- name: 'activityTargets',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '48714e13-1203-424e-8bfa-0f2baff626e7',
- name: 'opportunity',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '1842e867-107a-4544-93e0-249298a8edbf',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '48714e13-1203-424e-8bfa-0f2baff626e7',
- toObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- isSystem: true,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarEvent',
- namePlural: 'calendarEvents',
- labelSingular: 'Calendar event',
- labelPlural: 'Calendar events',
- description: 'Calendar events',
- icon: 'IconCalendar',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjE3',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarEvent',
+ namePlural: 'calendarEvents',
+ labelSingular: 'Calendar event',
+ labelPlural: 'Calendar events',
+ description: 'Calendar events',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjE3',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '51d90847-7bf8-4e66-af59-4dbee84c0953',
+ type: 'TEXT',
+ name: 'conferenceSolution',
+ label: 'Conference Solution',
+ description: 'Conference Solution',
+ icon: 'IconScreenShare',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a21b5983-a26c-42cf-a68f-322278eb3420',
+ type: 'TEXT',
+ name: 'description',
+ label: 'Description',
+ description: 'Description',
+ icon: 'IconFileDescription',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '98dd25a4-8912-4e5d-9373-0a896f7dfda1',
+ type: 'DATE_TIME',
+ name: 'externalUpdatedAt',
+ label: 'Update DateTime',
+ description: 'Update DateTime',
+ icon: 'IconCalendarCog',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2ae56492-083e-4ca9-8e7c-b6bc6548c830',
+ type: 'BOOLEAN',
+ name: 'isCanceled',
+ label: 'Is canceled',
+ description: 'Is canceled',
+ icon: 'IconCalendarCancel',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a5a16bf4-aff6-4008-bcca-e2441df71b96',
+ type: 'TEXT',
+ name: 'iCalUID',
+ label: 'iCal UID',
+ description: 'iCal UID',
+ icon: 'IconKey',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '87b36790-10ac-40ce-b309-c8033c0aa083',
+ type: 'RELATION',
+ name: 'eventParticipants',
+ label: 'Event Participants',
+ description: 'Event Participants',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
+ nameSingular: 'calendarEvent',
+ namePlural: 'calendarEvents',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '87b36790-10ac-40ce-b309-c8033c0aa083',
+ name: 'eventParticipants',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '58906c98-2b5a-41bf-bc22-0b4df50e24dd',
+ name: 'calendarEvent',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '43adaf3e-ec13-477e-9b95-3775d11166b1',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '58906c98-2b5a-41bf-bc22-0b4df50e24dd',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '44457302-ca60-438b-84b4-fa653cc606e2',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'cac6b5e3-ac9c-4df0-9e9a-767f38dc888b',
+ type: 'TEXT',
+ name: 'location',
+ label: 'Location',
+ description: 'Location',
+ icon: 'IconMapPin',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '39e80598-42c1-453c-b204-ab0cfd52ba55',
+ type: 'DATE_TIME',
+ name: 'endsAt',
+ label: 'End Date',
+ description: 'End Date',
+ icon: 'IconCalendarClock',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a719dc7c-aec9-4fa6-9957-c896953be324',
+ type: 'DATE_TIME',
+ name: 'startsAt',
+ label: 'Start Date',
+ description: 'Start Date',
+ icon: 'IconCalendarClock',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a47b96ea-0416-49bd-94e8-55cdb2738bff',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b2be8cfa-97dc-4482-bad2-b8576b4090e7',
+ type: 'RELATION',
+ name: 'calendarChannelEventAssociations',
+ label: 'Calendar Channel Event Associations',
+ description: 'Calendar Channel Event Associations',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
+ nameSingular: 'calendarEvent',
+ namePlural: 'calendarEvents',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'b2be8cfa-97dc-4482-bad2-b8576b4090e7',
+ name: 'calendarChannelEventAssociations',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
+ nameSingular: 'calendarChannelEventAssociation',
+ namePlural: 'calendarChannelEventAssociations',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '1c40e6e9-437b-47fc-84bf-57d4a8a0513d',
+ name: 'calendarEvent',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '3caf1987-2c71-49b2-8f92-5065339d66af',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '1c40e6e9-437b-47fc-84bf-57d4a8a0513d',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarChannelEventAssociation',
+ namePlural: 'calendarChannelEventAssociations',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '64e1750a-0955-433d-8f7f-52d412d3a55b',
+ type: 'LINK',
+ name: 'conferenceLink',
+ label: 'Meet Link',
+ description: 'Meet Link',
+ icon: 'IconLink',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: {
+ url: "''",
+ label: "''",
+ },
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '266b42df-7ea4-4198-aff1-7146a34a3ee7',
+ type: 'BOOLEAN',
+ name: 'isFullDay',
+ label: 'Is Full Day',
+ description: 'Is Full Day',
+ icon: 'Icon24Hours',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '12aa4ad3-45b7-4ca7-b87e-942e4a077aad',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ec811f9e-6539-41e8-8c23-296af37ea29e',
+ type: 'DATE_TIME',
+ name: 'externalCreatedAt',
+ label: 'Creation DateTime',
+ description: 'Creation DateTime',
+ icon: 'IconCalendarPlus',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '74b99529-a709-4b2b-9be1-8e4eadfca14e',
+ type: 'TEXT',
+ name: 'title',
+ label: 'Title',
+ description: 'Title',
+ icon: 'IconH1',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a1824c60-e3a3-4be9-bd85-4d65e7369c6c',
+ type: 'TEXT',
+ name: 'recurringEventExternalId',
+ label: 'Recurring Event ID',
+ description: 'Recurring Event ID',
+ icon: 'IconHistory',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '51d90847-7bf8-4e66-af59-4dbee84c0953',
- type: 'TEXT',
- name: 'conferenceSolution',
- label: 'Conference Solution',
- description: 'Conference Solution',
- icon: 'IconScreenShare',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a21b5983-a26c-42cf-a68f-322278eb3420',
- type: 'TEXT',
- name: 'description',
- label: 'Description',
- description: 'Description',
- icon: 'IconFileDescription',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '98dd25a4-8912-4e5d-9373-0a896f7dfda1',
- type: 'DATE_TIME',
- name: 'externalUpdatedAt',
- label: 'Update DateTime',
- description: 'Update DateTime',
- icon: 'IconCalendarCog',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2ae56492-083e-4ca9-8e7c-b6bc6548c830',
- type: 'BOOLEAN',
- name: 'isCanceled',
- label: 'Is canceled',
- description: 'Is canceled',
- icon: 'IconCalendarCancel',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a5a16bf4-aff6-4008-bcca-e2441df71b96',
- type: 'TEXT',
- name: 'iCalUID',
- label: 'iCal UID',
- description: 'iCal UID',
- icon: 'IconKey',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '87b36790-10ac-40ce-b309-c8033c0aa083',
- type: 'RELATION',
- name: 'eventParticipants',
- label: 'Event Participants',
- description: 'Event Participants',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
- nameSingular: 'calendarEvent',
- namePlural: 'calendarEvents',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '87b36790-10ac-40ce-b309-c8033c0aa083',
- name: 'eventParticipants',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '58906c98-2b5a-41bf-bc22-0b4df50e24dd',
- name: 'calendarEvent',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '43adaf3e-ec13-477e-9b95-3775d11166b1',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '58906c98-2b5a-41bf-bc22-0b4df50e24dd',
- toObjectMetadata: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '44457302-ca60-438b-84b4-fa653cc606e2',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'cac6b5e3-ac9c-4df0-9e9a-767f38dc888b',
- type: 'TEXT',
- name: 'location',
- label: 'Location',
- description: 'Location',
- icon: 'IconMapPin',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '39e80598-42c1-453c-b204-ab0cfd52ba55',
- type: 'DATE_TIME',
- name: 'endsAt',
- label: 'End Date',
- description: 'End Date',
- icon: 'IconCalendarClock',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a719dc7c-aec9-4fa6-9957-c896953be324',
- type: 'DATE_TIME',
- name: 'startsAt',
- label: 'Start Date',
- description: 'Start Date',
- icon: 'IconCalendarClock',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a47b96ea-0416-49bd-94e8-55cdb2738bff',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b2be8cfa-97dc-4482-bad2-b8576b4090e7',
- type: 'RELATION',
- name: 'calendarChannelEventAssociations',
- label: 'Calendar Channel Event Associations',
- description: 'Calendar Channel Event Associations',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
- nameSingular: 'calendarEvent',
- namePlural: 'calendarEvents',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'b2be8cfa-97dc-4482-bad2-b8576b4090e7',
- name: 'calendarChannelEventAssociations',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
- nameSingular: 'calendarChannelEventAssociation',
- namePlural: 'calendarChannelEventAssociations',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '1c40e6e9-437b-47fc-84bf-57d4a8a0513d',
- name: 'calendarEvent',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '3caf1987-2c71-49b2-8f92-5065339d66af',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '1c40e6e9-437b-47fc-84bf-57d4a8a0513d',
- toObjectMetadata: {
- __typename: 'object',
- id: 'b3b3b148-eb5f-4457-87e0-2f40f363c390',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarChannelEventAssociation',
- namePlural: 'calendarChannelEventAssociations',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '64e1750a-0955-433d-8f7f-52d412d3a55b',
- type: 'LINK',
- name: 'conferenceLink',
- label: 'Meet Link',
- description: 'Meet Link',
- icon: 'IconLink',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: {
- url: "''",
- label: "''",
- },
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '266b42df-7ea4-4198-aff1-7146a34a3ee7',
- type: 'BOOLEAN',
- name: 'isFullDay',
- label: 'Is Full Day',
- description: 'Is Full Day',
- icon: 'Icon24Hours',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '12aa4ad3-45b7-4ca7-b87e-942e4a077aad',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ec811f9e-6539-41e8-8c23-296af37ea29e',
- type: 'DATE_TIME',
- name: 'externalCreatedAt',
- label: 'Creation DateTime',
- description: 'Creation DateTime',
- icon: 'IconCalendarPlus',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '74b99529-a709-4b2b-9be1-8e4eadfca14e',
- type: 'TEXT',
- name: 'title',
- label: 'Title',
- description: 'Title',
- icon: 'IconH1',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a1824c60-e3a3-4be9-bd85-4d65e7369c6c',
- type: 'TEXT',
- name: 'recurringEventExternalId',
- label: 'Recurring Event ID',
- description: 'Recurring Event ID',
- icon: 'IconHistory',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '513f43c3-4083-4ca8-94a7-a3f6889ca8f5',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'webhook',
- namePlural: 'webhooks',
- labelSingular: 'Webhook',
- labelPlural: 'Webhooks',
- description: 'A webhook',
- icon: 'IconRobot',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjQ=',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '513f43c3-4083-4ca8-94a7-a3f6889ca8f5',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'webhook',
+ namePlural: 'webhooks',
+ labelSingular: 'Webhook',
+ labelPlural: 'Webhooks',
+ description: 'A webhook',
+ icon: 'IconRobot',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjQ=',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b1fcc37b-356f-425d-96aa-df8b7a3cf259',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '2791a32e-f27b-417b-bad8-0957f20bfdfc',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a67941ca-05b8-47f3-a5f0-2376c68f970a',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '648c5a15-f21f-4b3f-abae-f87cf086289d',
+ type: 'TEXT',
+ name: 'operation',
+ label: 'Operation',
+ description: 'Webhook operation',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8898b523-83ba-4d2c-bf67-39c43d9e806f',
+ type: 'TEXT',
+ name: 'targetUrl',
+ label: 'Target Url',
+ description: 'Webhook target url',
+ icon: 'IconLink',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b1fcc37b-356f-425d-96aa-df8b7a3cf259',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '2791a32e-f27b-417b-bad8-0957f20bfdfc',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a67941ca-05b8-47f3-a5f0-2376c68f970a',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '648c5a15-f21f-4b3f-abae-f87cf086289d',
- type: 'TEXT',
- name: 'operation',
- label: 'Operation',
- description: 'Webhook operation',
- icon: 'IconCheckbox',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8898b523-83ba-4d2c-bf67-39c43d9e806f',
- type: 'TEXT',
- name: 'targetUrl',
- label: 'Target Url',
- description: 'Webhook target url',
- icon: 'IconLink',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'message',
- namePlural: 'messages',
- labelSingular: 'Message',
- labelPlural: 'Messages',
- description: 'Message',
- icon: 'IconMessage',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEx',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ labelSingular: 'Message',
+ labelPlural: 'Messages',
+ description: 'Message',
+ icon: 'IconMessage',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEx',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '479f0660-1b6e-49a4-a46d-be58faea1c30',
+ type: 'DATE_TIME',
+ name: 'receivedAt',
+ label: 'Received At',
+ description: 'The date the message was received',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ae82a0a0-d928-499a-a6b1-ad46006452b0',
+ type: 'RELATION',
+ name: 'messageChannelMessageAssociations',
+ label: 'Message Channel Association',
+ description: 'Messages from the channel.',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'ae82a0a0-d928-499a-a6b1-ad46006452b0',
+ name: 'messageChannelMessageAssociations',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '29a3af93-a6b9-464f-bc83-84fd2abf2054',
+ name: 'message',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '94cb665d-b973-4276-bf55-656e08d79736',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '29a3af93-a6b9-464f-bc83-84fd2abf2054',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageChannelMessageAssociation',
+ namePlural: 'messageChannelMessageAssociations',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '43be6d59-b5bb-465b-8771-f82457ff5dce',
+ type: 'UUID',
+ name: 'messageThreadId',
+ label: 'Message Thread Id id (foreign key)',
+ description: 'Message Thread Id id foreign key',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ee041833-e4c7-4766-b8e3-a7151c505b9d',
+ type: 'TEXT',
+ name: 'headerMessageId',
+ label: 'Header message Id',
+ description: 'Message id from the message header',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b8ff58c9-7414-450f-999e-a9f0867f30b1',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b2c00ac2-ce04-4552-b71b-acfa8403af25',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '12099cb8-ee26-4ce7-836c-73230c94c3e8',
+ type: 'RELATION',
+ name: 'messageParticipants',
+ label: 'Message Participants',
+ description: 'Message Participants',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '12099cb8-ee26-4ce7-836c-73230c94c3e8',
+ name: 'messageParticipants',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '372d5559-abc9-43c8-aa89-62d95e384c5a',
+ name: 'message',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '16a649f3-94b9-456e-ad2a-70dcd16c9516',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '372d5559-abc9-43c8-aa89-62d95e384c5a',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageParticipant',
+ namePlural: 'messageParticipants',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0baefb8e-1961-4aee-8d42-7040a94a18d6',
+ type: 'TEXT',
+ name: 'text',
+ label: 'Text',
+ description: 'Text',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c9807e13-e48b-4ccb-8f2f-2289a351a86b',
+ type: 'RELATION',
+ name: 'messageThread',
+ label: 'Message Thread Id',
+ description: 'Message Thread Id',
+ icon: 'IconHash',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
+ nameSingular: 'message',
+ namePlural: 'messages',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'c9807e13-e48b-4ccb-8f2f-2289a351a86b',
+ name: 'messageThread',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
+ nameSingular: 'messageThread',
+ namePlural: 'messageThreads',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '77da807c-10c9-4084-b396-25bbfb371ef4',
+ name: 'messages',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '8fbd9c8a-6999-4ecb-bc4f-0f67d10866bb',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '77da807c-10c9-4084-b396-25bbfb371ef4',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageThread',
+ namePlural: 'messageThreads',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f49020f0-55dd-4f4b-bbb5-17243dd31e8e',
+ type: 'SELECT',
+ name: 'direction',
+ label: 'Direction',
+ description: 'Message Direction',
+ icon: 'IconDirection',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'incoming'",
+ options: [
+ {
+ id: 'd859aa96-50e7-4aa3-bbeb-23eeb20009b7',
+ color: 'green',
+ label: 'Incoming',
+ value: 'incoming',
+ position: 0,
+ },
+ {
+ id: '31c61fa5-fd21-4103-a65f-b39fde04c8b4',
+ color: 'blue',
+ label: 'Outgoing',
+ value: 'outgoing',
+ position: 1,
+ },
+ ],
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8b07a904-a985-4731-a1ae-1501540fa034',
+ type: 'TEXT',
+ name: 'subject',
+ label: 'Subject',
+ description: 'Subject',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '70f601c1-ef84-416e-86cf-b625580d9951',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '479f0660-1b6e-49a4-a46d-be58faea1c30',
- type: 'DATE_TIME',
- name: 'receivedAt',
- label: 'Received At',
- description: 'The date the message was received',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ae82a0a0-d928-499a-a6b1-ad46006452b0',
- type: 'RELATION',
- name: 'messageChannelMessageAssociations',
- label: 'Message Channel Association',
- description: 'Messages from the channel.',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- nameSingular: 'message',
- namePlural: 'messages',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'ae82a0a0-d928-499a-a6b1-ad46006452b0',
- name: 'messageChannelMessageAssociations',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '29a3af93-a6b9-464f-bc83-84fd2abf2054',
- name: 'message',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '94cb665d-b973-4276-bf55-656e08d79736',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '29a3af93-a6b9-464f-bc83-84fd2abf2054',
- toObjectMetadata: {
- __typename: 'object',
- id: 'ef1ce364-0ffc-4436-95b5-40c99ce51b49',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageChannelMessageAssociation',
- namePlural: 'messageChannelMessageAssociations',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '43be6d59-b5bb-465b-8771-f82457ff5dce',
- type: 'UUID',
- name: 'messageThreadId',
- label: 'Message Thread Id id (foreign key)',
- description: 'Message Thread Id id foreign key',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ee041833-e4c7-4766-b8e3-a7151c505b9d',
- type: 'TEXT',
- name: 'headerMessageId',
- label: 'Header message Id',
- description: 'Message id from the message header',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b8ff58c9-7414-450f-999e-a9f0867f30b1',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b2c00ac2-ce04-4552-b71b-acfa8403af25',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '12099cb8-ee26-4ce7-836c-73230c94c3e8',
- type: 'RELATION',
- name: 'messageParticipants',
- label: 'Message Participants',
- description: 'Message Participants',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- nameSingular: 'message',
- namePlural: 'messages',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '12099cb8-ee26-4ce7-836c-73230c94c3e8',
- name: 'messageParticipants',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '372d5559-abc9-43c8-aa89-62d95e384c5a',
- name: 'message',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '16a649f3-94b9-456e-ad2a-70dcd16c9516',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '372d5559-abc9-43c8-aa89-62d95e384c5a',
- toObjectMetadata: {
- __typename: 'object',
- id: 'e9777897-9a5e-4c92-aa4f-555b10a39cc3',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageParticipant',
- namePlural: 'messageParticipants',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0baefb8e-1961-4aee-8d42-7040a94a18d6',
- type: 'TEXT',
- name: 'text',
- label: 'Text',
- description: 'Text',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c9807e13-e48b-4ccb-8f2f-2289a351a86b',
- type: 'RELATION',
- name: 'messageThread',
- label: 'Message Thread Id',
- description: 'Message Thread Id',
- icon: 'IconHash',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '3a7ae3ad-fa9a-4ae4-8a01-dd656a1afc9d',
- nameSingular: 'message',
- namePlural: 'messages',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'c9807e13-e48b-4ccb-8f2f-2289a351a86b',
- name: 'messageThread',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
- nameSingular: 'messageThread',
- namePlural: 'messageThreads',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '77da807c-10c9-4084-b396-25bbfb371ef4',
- name: 'messages',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '8fbd9c8a-6999-4ecb-bc4f-0f67d10866bb',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '77da807c-10c9-4084-b396-25bbfb371ef4',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'b3f8207f-0b88-44ef-981d-a7ead80dff46',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageThread',
- namePlural: 'messageThreads',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f49020f0-55dd-4f4b-bbb5-17243dd31e8e',
- type: 'SELECT',
- name: 'direction',
- label: 'Direction',
- description: 'Message Direction',
- icon: 'IconDirection',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'incoming'",
- options: [
- {
- id: 'd859aa96-50e7-4aa3-bbeb-23eeb20009b7',
- color: 'green',
- label: 'Incoming',
- value: 'incoming',
- position: 0,
- },
- {
- id: '31c61fa5-fd21-4103-a65f-b39fde04c8b4',
- color: 'blue',
- label: 'Outgoing',
- value: 'outgoing',
- position: 1,
- },
- ],
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8b07a904-a985-4731-a1ae-1501540fa034',
- type: 'TEXT',
- name: 'subject',
- label: 'Subject',
- description: 'Subject',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '70f601c1-ef84-416e-86cf-b625580d9951',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '31c20827-624f-4559-aa97-0e85d744367e',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'comment',
- namePlural: 'comments',
- labelSingular: 'Comment',
- labelPlural: 'Comments',
- description: 'A comment',
- icon: 'IconMessageCircle',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjc=',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '31c20827-624f-4559-aa97-0e85d744367e',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'comment',
+ namePlural: 'comments',
+ labelSingular: 'Comment',
+ labelPlural: 'Comments',
+ description: 'A comment',
+ icon: 'IconMessageCircle',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjc=',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '25343509-ad60-4131-b880-28475e9b5806',
+ type: 'TEXT',
+ name: 'body',
+ label: 'Body',
+ description: 'Comment body',
+ icon: 'IconLink',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a847d0fb-330e-4cd1-b5cc-e41eb066f097',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8cb54fbf-7d62-47af-8684-7d3300e88ff0',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '70073404-9690-4b2d-b2b7-e823ab279d74',
+ type: 'RELATION',
+ name: 'author',
+ label: 'Author',
+ description: 'Comment author',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '31c20827-624f-4559-aa97-0e85d744367e',
+ nameSingular: 'comment',
+ namePlural: 'comments',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '70073404-9690-4b2d-b2b7-e823ab279d74',
+ name: 'author',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '9ea86ae6-c26b-4ea0-b207-820b3ebf7110',
+ name: 'authoredComments',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '58fb8589-6e7c-477c-b9ac-5e68bfa99ea2',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '9ea86ae6-c26b-4ea0-b207-820b3ebf7110',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a1381a14-2de4-4bb4-935d-6f4282f8147a',
+ type: 'UUID',
+ name: 'activityId',
+ label: 'Activity id (foreign key)',
+ description: 'Comment activity id foreign key',
+ icon: 'IconNotes',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '01b36d5d-a32b-43ad-99ed-ee385e8e9dbb',
+ type: 'UUID',
+ name: 'authorId',
+ label: 'Author id (foreign key)',
+ description: 'Comment author id foreign key',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '30925f21-d244-4ada-86a5-1fdc21f3e6ee',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '56919379-c98d-4a84-9f6a-accddd892620',
+ type: 'RELATION',
+ name: 'activity',
+ label: 'Activity',
+ description: 'Comment activity',
+ icon: 'IconNotes',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '31c20827-624f-4559-aa97-0e85d744367e',
+ nameSingular: 'comment',
+ namePlural: 'comments',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '56919379-c98d-4a84-9f6a-accddd892620',
+ name: 'activity',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '5f4ea983-40a2-4377-a9ec-4bdfc52b0941',
+ name: 'comments',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'b782c321-0f72-4f2a-b420-af020a2095d1',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '5f4ea983-40a2-4377-a9ec-4bdfc52b0941',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '25343509-ad60-4131-b880-28475e9b5806',
- type: 'TEXT',
- name: 'body',
- label: 'Body',
- description: 'Comment body',
- icon: 'IconLink',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a847d0fb-330e-4cd1-b5cc-e41eb066f097',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8cb54fbf-7d62-47af-8684-7d3300e88ff0',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '70073404-9690-4b2d-b2b7-e823ab279d74',
- type: 'RELATION',
- name: 'author',
- label: 'Author',
- description: 'Comment author',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '31c20827-624f-4559-aa97-0e85d744367e',
- nameSingular: 'comment',
- namePlural: 'comments',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '70073404-9690-4b2d-b2b7-e823ab279d74',
- name: 'author',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '9ea86ae6-c26b-4ea0-b207-820b3ebf7110',
- name: 'authoredComments',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '58fb8589-6e7c-477c-b9ac-5e68bfa99ea2',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '9ea86ae6-c26b-4ea0-b207-820b3ebf7110',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a1381a14-2de4-4bb4-935d-6f4282f8147a',
- type: 'UUID',
- name: 'activityId',
- label: 'Activity id (foreign key)',
- description: 'Comment activity id foreign key',
- icon: 'IconNotes',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '01b36d5d-a32b-43ad-99ed-ee385e8e9dbb',
- type: 'UUID',
- name: 'authorId',
- label: 'Author id (foreign key)',
- description: 'Comment author id foreign key',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '30925f21-d244-4ada-86a5-1fdc21f3e6ee',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '56919379-c98d-4a84-9f6a-accddd892620',
- type: 'RELATION',
- name: 'activity',
- label: 'Activity',
- description: 'Comment activity',
- icon: 'IconNotes',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '31c20827-624f-4559-aa97-0e85d744367e',
- nameSingular: 'comment',
- namePlural: 'comments',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '56919379-c98d-4a84-9f6a-accddd892620',
- name: 'activity',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '5f4ea983-40a2-4377-a9ec-4bdfc52b0941',
- name: 'comments',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'b782c321-0f72-4f2a-b420-af020a2095d1',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '5f4ea983-40a2-4377-a9ec-4bdfc52b0941',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activity',
- namePlural: 'activities',
- isSystem: true,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- labelSingular: 'Company',
- labelPlural: 'Companies',
- description: 'A company',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjIy',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ labelSingular: 'Company',
+ labelPlural: 'Companies',
+ description: 'A company',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjIy',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'efba6645-b939-4751-bd55-a2fa787997aa',
+ type: 'RELATION',
+ name: 'opportunities',
+ label: 'Opportunities',
+ description: 'Opportunities linked to the company.',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'efba6645-b939-4751-bd55-a2fa787997aa',
+ name: 'opportunities',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'be148e1f-256c-4ea8-a016-c25cbd6ec841',
+ name: 'company',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'd6f3f2a6-ac78-4451-aa00-9dffd75413e1',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'be148e1f-256c-4ea8-a016-c25cbd6ec841',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '770291d8-aa11-42e7-9b60-89d265d2f51d',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '3500a80f-b0a8-45b1-8ca7-3d6b1ed45d3c',
+ type: 'RELATION',
+ name: 'activityTargets',
+ label: 'Activities',
+ description: 'Activities tied to the company',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '3500a80f-b0a8-45b1-8ca7-3d6b1ed45d3c',
+ name: 'activityTargets',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '038d194c-ba8c-4ff8-aeaa-846558e420c2',
+ name: 'company',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'c10efd06-e408-4560-bf12-62f9d8267a22',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '038d194c-ba8c-4ff8-aeaa-846558e420c2',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a1be182c-810c-4319-955d-f1657692fdce',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd8e0f8b9-707d-4a18-b5fb-55a3a0513f00',
+ type: 'TEXT',
+ name: 'name',
+ label: 'Name',
+ description: 'The company name',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '6be4ff53-c65b-4955-9f86-935dd953154d',
+ type: 'RELATION',
+ name: 'people',
+ label: 'People',
+ description: 'People linked to the company.',
+ icon: 'IconUsers',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '6be4ff53-c65b-4955-9f86-935dd953154d',
+ name: 'people',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'c624bade-5070-4155-bd0c-8704fb2cdf8b',
+ name: 'company',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '9b2b32d2-9864-4dd6-9f3f-700525313393',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'c624bade-5070-4155-bd0c-8704fb2cdf8b',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'person',
+ namePlural: 'people',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'af98447d-ed1e-407b-8e47-a9ef72bae4d0',
+ type: 'UUID',
+ name: 'listingId',
+ label: 'Listing Foreign Key',
+ description: null,
+ icon: null,
+ isCustom: true,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:58.429Z',
+ updatedAt: '2024-04-08T12:51:58.429Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'f1bbe372-b283-4061-b7b4-5a5039196b8c',
+ type: 'RELATION',
+ name: 'accountOwner',
+ label: 'Account Owner',
+ description:
+ 'Your team member responsible for managing the company account',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'f1bbe372-b283-4061-b7b4-5a5039196b8c',
+ name: 'accountOwner',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '20577261-01ca-43ae-a6c8-d558dce6c0ee',
+ name: 'accountOwnerForCompanies',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '91ed8064-e2cc-4130-9cb9-c5dc7ddee302',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '20577261-01ca-43ae-a6c8-d558dce6c0ee',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '399c9e0a-8f95-4a10-b6e8-d95a682caefa',
+ type: 'POSITION',
+ name: 'position',
+ label: 'Position',
+ description: 'Company record position',
+ icon: 'IconHierarchy2',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8f7912c8-8dc7-40ca-8625-b6d0ec2dc1f4',
+ type: 'RELATION',
+ name: 'attachments',
+ label: 'Attachments',
+ description: 'Attachments linked to the company.',
+ icon: 'IconFileImport',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '8f7912c8-8dc7-40ca-8625-b6d0ec2dc1f4',
+ name: 'attachments',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '0181aae2-1683-453a-b858-fe5260bb19e6',
+ name: 'company',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '76108795-7b26-4b28-958d-e49b3121880f',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '0181aae2-1683-453a-b858-fe5260bb19e6',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'attachment',
+ namePlural: 'attachments',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '086f49b1-d56b-4019-9153-c3db1d7978f4',
+ type: 'TEXT',
+ name: 'domainName',
+ label: 'Domain Name',
+ description:
+ 'The company website URL. We use this url to fetch the company icon',
+ icon: 'IconLink',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ee339baa-56f3-4365-b8c6-8abbe7935636',
+ type: 'CURRENCY',
+ name: 'annualRecurringRevenue',
+ label: 'ARR',
+ description:
+ 'Annual Recurring Revenue: The actual or estimated annual revenue of the company',
+ icon: 'IconMoneybag',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: {
+ amountMicros: null,
+ currencyCode: "''",
+ },
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5519bc53-4da8-4ca6-9de2-8c999dbf6f7e',
+ type: 'UUID',
+ name: 'accountOwnerId',
+ label: 'Account Owner id (foreign key)',
+ description:
+ 'Your team member responsible for managing the company account id foreign key',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd828a7fb-10da-40e4-a63e-ab118822fac1',
+ type: 'TEXT',
+ name: 'address',
+ label: 'Address',
+ description: 'The company address',
+ icon: 'IconMap',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fc6a4a82-f80f-4aad-85e3-b2ae9b8fb26b',
+ type: 'RELATION',
+ name: 'listings',
+ label: 'Listings',
+ description: null,
+ icon: 'IconUsers',
+ isCustom: true,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:54:56.499Z',
+ updatedAt: '2024-04-08T12:54:56.499Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'fc6a4a82-f80f-4aad-85e3-b2ae9b8fb26b',
+ name: 'listings',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '178e9a07-cd88-47c0-8faf-cbd3918ba8b0',
+ name: 'c',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '35414edf-0c44-4500-95cc-ae6694ef9947',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '178e9a07-cd88-47c0-8faf-cbd3918ba8b0',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '29f251c2-fd6f-4fa7-a55b-80e6481f4ba9',
+ type: 'RELATION',
+ name: 'events',
+ label: 'Events',
+ description: 'Events linked to the company',
+ icon: 'IconIconTimelineEvent',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '29f251c2-fd6f-4fa7-a55b-80e6481f4ba9',
+ name: 'events',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ nameSingular: 'event',
+ namePlural: 'events',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '155c7d0c-1974-426a-a072-6cee0424d71c',
+ name: 'company',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'ad0eb66d-e558-465d-b148-cc0cf3db3b95',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: '155c7d0c-1974-426a-a072-6cee0424d71c',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'event',
+ namePlural: 'events',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '3a78ab26-7c4b-498a-b839-92b38223a3d5',
+ type: 'RELATION',
+ name: 'listing',
+ label: 'Listing',
+ description: null,
+ icon: 'IconListNumbers',
+ isCustom: true,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:58.429Z',
+ updatedAt: '2024-04-08T12:51:58.429Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '3a78ab26-7c4b-498a-b839-92b38223a3d5',
+ name: 'listing',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'ff20f9f0-f081-436b-8526-d7b2b3c80c92',
+ name: 'company',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '06dd3af4-7dc0-4599-9d99-3ea637fd672b',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'ff20f9f0-f081-436b-8526-d7b2b3c80c92',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '63523553-6b7b-4b0f-a877-45917e352e3d',
+ type: 'LINK',
+ name: 'linkedinLink',
+ label: 'Linkedin',
+ description: 'The company Linkedin account',
+ icon: 'IconBrandLinkedin',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: {
+ url: "''",
+ label: "''",
+ },
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '58c59bb5-ef51-400b-b95f-e536075e938c',
+ type: 'LINK',
+ name: 'xLink',
+ label: 'X',
+ description: 'The company Twitter/X account',
+ icon: 'IconBrandX',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: {
+ url: "''",
+ label: "''",
+ },
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0283509a-382f-4425-8a72-27c40ddc243d',
+ type: 'BOOLEAN',
+ name: 'idealCustomerProfile',
+ label: 'ICP',
+ description:
+ 'Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you',
+ icon: 'IconTarget',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: false,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1579d027-2443-42a3-97e5-c3e6e81abe5c',
+ type: 'RELATION',
+ name: 'favorites',
+ label: 'Favorites',
+ description: 'Favorites linked to the company',
+ icon: 'IconHeart',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '1579d027-2443-42a3-97e5-c3e6e81abe5c',
+ name: 'favorites',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'dd203027-190c-471c-8e16-da0260b6274c',
+ name: 'company',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'faa88528-2847-4ffc-9e90-df997dbdb443',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'dd203027-190c-471c-8e16-da0260b6274c',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1ade9f1d-dcdc-4dfe-a619-a1a01da96bb3',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd17926a3-ced6-43cf-a319-bcc0848b498e',
+ type: 'NUMBER',
+ name: 'employees',
+ label: 'Employees',
+ description: 'Number of employees in the company',
+ icon: 'IconUsers',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'efba6645-b939-4751-bd55-a2fa787997aa',
- type: 'RELATION',
- name: 'opportunities',
- label: 'Opportunities',
- description: 'Opportunities linked to the company.',
- icon: 'IconTargetArrow',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'efba6645-b939-4751-bd55-a2fa787997aa',
- name: 'opportunities',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'be148e1f-256c-4ea8-a016-c25cbd6ec841',
- name: 'company',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'd6f3f2a6-ac78-4451-aa00-9dffd75413e1',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'be148e1f-256c-4ea8-a016-c25cbd6ec841',
- toObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '770291d8-aa11-42e7-9b60-89d265d2f51d',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '3500a80f-b0a8-45b1-8ca7-3d6b1ed45d3c',
- type: 'RELATION',
- name: 'activityTargets',
- label: 'Activities',
- description: 'Activities tied to the company',
- icon: 'IconCheckbox',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '3500a80f-b0a8-45b1-8ca7-3d6b1ed45d3c',
- name: 'activityTargets',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '038d194c-ba8c-4ff8-aeaa-846558e420c2',
- name: 'company',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'c10efd06-e408-4560-bf12-62f9d8267a22',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '038d194c-ba8c-4ff8-aeaa-846558e420c2',
- toObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a1be182c-810c-4319-955d-f1657692fdce',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd8e0f8b9-707d-4a18-b5fb-55a3a0513f00',
- type: 'TEXT',
- name: 'name',
- label: 'Name',
- description: 'The company name',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '6be4ff53-c65b-4955-9f86-935dd953154d',
- type: 'RELATION',
- name: 'people',
- label: 'People',
- description: 'People linked to the company.',
- icon: 'IconUsers',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '6be4ff53-c65b-4955-9f86-935dd953154d',
- name: 'people',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'c624bade-5070-4155-bd0c-8704fb2cdf8b',
- name: 'company',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '9b2b32d2-9864-4dd6-9f3f-700525313393',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'c624bade-5070-4155-bd0c-8704fb2cdf8b',
- toObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'person',
- namePlural: 'people',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'af98447d-ed1e-407b-8e47-a9ef72bae4d0',
- type: 'UUID',
- name: 'listingId',
- label: 'Listing Foreign Key',
- description: null,
- icon: null,
- isCustom: true,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:51:58.429Z',
- updatedAt: '2024-04-08T12:51:58.429Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'f1bbe372-b283-4061-b7b4-5a5039196b8c',
- type: 'RELATION',
- name: 'accountOwner',
- label: 'Account Owner',
- description:
- 'Your team member responsible for managing the company account',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'f1bbe372-b283-4061-b7b4-5a5039196b8c',
- name: 'accountOwner',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '20577261-01ca-43ae-a6c8-d558dce6c0ee',
- name: 'accountOwnerForCompanies',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '91ed8064-e2cc-4130-9cb9-c5dc7ddee302',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '20577261-01ca-43ae-a6c8-d558dce6c0ee',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '399c9e0a-8f95-4a10-b6e8-d95a682caefa',
- type: 'POSITION',
- name: 'position',
- label: 'Position',
- description: 'Company record position',
- icon: 'IconHierarchy2',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8f7912c8-8dc7-40ca-8625-b6d0ec2dc1f4',
- type: 'RELATION',
- name: 'attachments',
- label: 'Attachments',
- description: 'Attachments linked to the company.',
- icon: 'IconFileImport',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '8f7912c8-8dc7-40ca-8625-b6d0ec2dc1f4',
- name: 'attachments',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '0181aae2-1683-453a-b858-fe5260bb19e6',
- name: 'company',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '76108795-7b26-4b28-958d-e49b3121880f',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '0181aae2-1683-453a-b858-fe5260bb19e6',
- toObjectMetadata: {
- __typename: 'object',
- id: '71c84d79-88e3-4f6e-858e-e0baa7318af5',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'attachment',
- namePlural: 'attachments',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '086f49b1-d56b-4019-9153-c3db1d7978f4',
- type: 'TEXT',
- name: 'domainName',
- label: 'Domain Name',
- description:
- 'The company website URL. We use this url to fetch the company icon',
- icon: 'IconLink',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ee339baa-56f3-4365-b8c6-8abbe7935636',
- type: 'CURRENCY',
- name: 'annualRecurringRevenue',
- label: 'ARR',
- description:
- 'Annual Recurring Revenue: The actual or estimated annual revenue of the company',
- icon: 'IconMoneybag',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: {
- amountMicros: null,
- currencyCode: "''",
- },
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5519bc53-4da8-4ca6-9de2-8c999dbf6f7e',
- type: 'UUID',
- name: 'accountOwnerId',
- label: 'Account Owner id (foreign key)',
- description:
- 'Your team member responsible for managing the company account id foreign key',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd828a7fb-10da-40e4-a63e-ab118822fac1',
- type: 'TEXT',
- name: 'address',
- label: 'Address',
- description: 'The company address',
- icon: 'IconMap',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fc6a4a82-f80f-4aad-85e3-b2ae9b8fb26b',
- type: 'RELATION',
- name: 'listings',
- label: 'Listings',
- description: null,
- icon: 'IconUsers',
- isCustom: true,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:54:56.499Z',
- updatedAt: '2024-04-08T12:54:56.499Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'fc6a4a82-f80f-4aad-85e3-b2ae9b8fb26b',
- name: 'listings',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '178e9a07-cd88-47c0-8faf-cbd3918ba8b0',
- name: 'c',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '35414edf-0c44-4500-95cc-ae6694ef9947',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '178e9a07-cd88-47c0-8faf-cbd3918ba8b0',
- toObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'listing',
- namePlural: 'listings',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '29f251c2-fd6f-4fa7-a55b-80e6481f4ba9',
- type: 'RELATION',
- name: 'events',
- label: 'Events',
- description: 'Events linked to the company',
- icon: 'IconIconTimelineEvent',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '29f251c2-fd6f-4fa7-a55b-80e6481f4ba9',
- name: 'events',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- nameSingular: 'event',
- namePlural: 'events',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '155c7d0c-1974-426a-a072-6cee0424d71c',
- name: 'company',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'ad0eb66d-e558-465d-b148-cc0cf3db3b95',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: '155c7d0c-1974-426a-a072-6cee0424d71c',
- toObjectMetadata: {
- __typename: 'object',
- id: 'e5064557-17d7-4118-8a2b-a2faba15fc02',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'event',
- namePlural: 'events',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '3a78ab26-7c4b-498a-b839-92b38223a3d5',
- type: 'RELATION',
- name: 'listing',
- label: 'Listing',
- description: null,
- icon: 'IconListNumbers',
- isCustom: true,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:51:58.429Z',
- updatedAt: '2024-04-08T12:51:58.429Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '3a78ab26-7c4b-498a-b839-92b38223a3d5',
- name: 'listing',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'ff20f9f0-f081-436b-8526-d7b2b3c80c92',
- name: 'company',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '06dd3af4-7dc0-4599-9d99-3ea637fd672b',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'ff20f9f0-f081-436b-8526-d7b2b3c80c92',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'listing',
- namePlural: 'listings',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '63523553-6b7b-4b0f-a877-45917e352e3d',
- type: 'LINK',
- name: 'linkedinLink',
- label: 'Linkedin',
- description: 'The company Linkedin account',
- icon: 'IconBrandLinkedin',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: {
- url: "''",
- label: "''",
- },
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '58c59bb5-ef51-400b-b95f-e536075e938c',
- type: 'LINK',
- name: 'xLink',
- label: 'X',
- description: 'The company Twitter/X account',
- icon: 'IconBrandX',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: {
- url: "''",
- label: "''",
- },
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0283509a-382f-4425-8a72-27c40ddc243d',
- type: 'BOOLEAN',
- name: 'idealCustomerProfile',
- label: 'ICP',
- description:
- 'Ideal Customer Profile: Indicates whether the company is the most suitable and valuable customer for you',
- icon: 'IconTarget',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: false,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1579d027-2443-42a3-97e5-c3e6e81abe5c',
- type: 'RELATION',
- name: 'favorites',
- label: 'Favorites',
- description: 'Favorites linked to the company',
- icon: 'IconHeart',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '1579d027-2443-42a3-97e5-c3e6e81abe5c',
- name: 'favorites',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'dd203027-190c-471c-8e16-da0260b6274c',
- name: 'company',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'faa88528-2847-4ffc-9e90-df997dbdb443',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'dd203027-190c-471c-8e16-da0260b6274c',
- toObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1ade9f1d-dcdc-4dfe-a619-a1a01da96bb3',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd17926a3-ced6-43cf-a319-bcc0848b498e',
- type: 'NUMBER',
- name: 'employees',
- label: 'Employees',
- description: 'Number of employees in the company',
- icon: 'IconUsers',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- labelSingular: 'Connected Account',
- labelPlural: 'Connected Accounts',
- description: 'A connected account',
- icon: 'IconAt',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEy',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ labelSingular: 'Connected Account',
+ labelPlural: 'Connected Accounts',
+ description: 'A connected account',
+ icon: 'IconAt',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEy',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '88e1c2f8-a9cb-4ba3-9605-3671ffc6e103',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c3af15a5-d15e-4d08-a165-512778470a62',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a88a4c97-8cb4-45d3-a617-1ea9838d3647',
+ type: 'TEXT',
+ name: 'lastSyncHistoryId',
+ label: 'Last sync history ID',
+ description: 'Last sync history ID',
+ icon: 'IconHistory',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd3f2a520-0274-4fb3-953f-258101f7b9f4',
+ type: 'TEXT',
+ name: 'accessToken',
+ label: 'Access Token',
+ description: 'Messaging provider access token',
+ icon: 'IconKey',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e9edc1c6-8809-4369-8fb1-dbbd380df7a5',
+ type: 'UUID',
+ name: 'accountOwnerId',
+ label: 'Account Owner id (foreign key)',
+ description: 'Account Owner id foreign key',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '98d8af99-e129-4ae8-8bfa-dd377718d87e',
+ type: 'DATE_TIME',
+ name: 'authFailedAt',
+ label: 'Auth failed at',
+ description: 'Auth failed at',
+ icon: 'IconX',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd4ab2ad6-b08e-48fb-9a38-df3eeb2d1a40',
+ type: 'TEXT',
+ name: 'handle',
+ label: 'handle',
+ description:
+ 'The account handle (email, username, phone number, etc.)',
+ icon: 'IconMail',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e6bbac4f-c261-49e1-86f9-cb61f7ef6eb0',
+ type: 'TEXT',
+ name: 'provider',
+ label: 'provider',
+ description: 'The account provider',
+ icon: 'IconSettings',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '01b85639-909a-4337-96f7-b93dfdb964fe',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'cff5f362-1299-4e44-bcf5-49bb0d2d611b',
+ type: 'RELATION',
+ name: 'accountOwner',
+ label: 'Account Owner',
+ description: 'Account Owner',
+ icon: 'IconUserCircle',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'cff5f362-1299-4e44-bcf5-49bb0d2d611b',
+ name: 'accountOwner',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'fc3cfebb-722e-42dd-9646-e9f9f07dc152',
+ name: 'connectedAccounts',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'c7060c9e-9cb7-420e-a82f-1eabaee52c06',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'fc3cfebb-722e-42dd-9646-e9f9f07dc152',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fc92c00d-e5ff-4982-965e-514ee30bcf1c',
+ type: 'RELATION',
+ name: 'calendarChannels',
+ label: 'Calendar Channel',
+ description: 'Calendar Channel',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'fc92c00d-e5ff-4982-965e-514ee30bcf1c',
+ name: 'calendarChannels',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
+ nameSingular: 'calendarChannel',
+ namePlural: 'calendarChannels',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'fefbe526-b75b-494e-a06a-e89d6790cc3b',
+ name: 'connectedAccount',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: 'cab6d0bd-c3fb-46dc-af6f-de28e4689dd0',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'fefbe526-b75b-494e-a06a-e89d6790cc3b',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarChannel',
+ namePlural: 'calendarChannels',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '085c8a6b-31b5-4bd9-a193-8dd5c73c426b',
+ type: 'TEXT',
+ name: 'refreshToken',
+ label: 'Refresh Token',
+ description: 'Messaging provider refresh token',
+ icon: 'IconKey',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c68fb8af-ad36-439c-8c9d-799ba4cf4169',
+ type: 'RELATION',
+ name: 'messageChannels',
+ label: 'Message Channel',
+ description: 'Message Channel',
+ icon: 'IconMessage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'ONE_TO_MANY',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '184958e2-9434-453c-98be-7ca4311cc77e',
+ nameSingular: 'connectedAccount',
+ namePlural: 'connectedAccounts',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'c68fb8af-ad36-439c-8c9d-799ba4cf4169',
+ name: 'messageChannels',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8bef276b-342c-4088-9448-752fc8efd426',
+ nameSingular: 'messageChannel',
+ namePlural: 'messageChannels',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'b914db46-eea0-496c-ba56-1209b3fd9537',
+ name: 'connectedAccount',
+ },
+ },
+ toRelationMetadata: null,
+ fromRelationMetadata: {
+ __typename: 'relation',
+ id: '0ca8dd47-2a20-4950-bf82-8fd4eafd6d0d',
+ relationType: 'ONE_TO_MANY',
+ toFieldMetadataId: 'b914db46-eea0-496c-ba56-1209b3fd9537',
+ toObjectMetadata: {
+ __typename: 'object',
+ id: '8bef276b-342c-4088-9448-752fc8efd426',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'messageChannel',
+ namePlural: 'messageChannels',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '88e1c2f8-a9cb-4ba3-9605-3671ffc6e103',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c3af15a5-d15e-4d08-a165-512778470a62',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a88a4c97-8cb4-45d3-a617-1ea9838d3647',
- type: 'TEXT',
- name: 'lastSyncHistoryId',
- label: 'Last sync history ID',
- description: 'Last sync history ID',
- icon: 'IconHistory',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd3f2a520-0274-4fb3-953f-258101f7b9f4',
- type: 'TEXT',
- name: 'accessToken',
- label: 'Access Token',
- description: 'Messaging provider access token',
- icon: 'IconKey',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e9edc1c6-8809-4369-8fb1-dbbd380df7a5',
- type: 'UUID',
- name: 'accountOwnerId',
- label: 'Account Owner id (foreign key)',
- description: 'Account Owner id foreign key',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '98d8af99-e129-4ae8-8bfa-dd377718d87e',
- type: 'DATE_TIME',
- name: 'authFailedAt',
- label: 'Auth failed at',
- description: 'Auth failed at',
- icon: 'IconX',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd4ab2ad6-b08e-48fb-9a38-df3eeb2d1a40',
- type: 'TEXT',
- name: 'handle',
- label: 'handle',
- description:
- 'The account handle (email, username, phone number, etc.)',
- icon: 'IconMail',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e6bbac4f-c261-49e1-86f9-cb61f7ef6eb0',
- type: 'TEXT',
- name: 'provider',
- label: 'provider',
- description: 'The account provider',
- icon: 'IconSettings',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '01b85639-909a-4337-96f7-b93dfdb964fe',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'cff5f362-1299-4e44-bcf5-49bb0d2d611b',
- type: 'RELATION',
- name: 'accountOwner',
- label: 'Account Owner',
- description: 'Account Owner',
- icon: 'IconUserCircle',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'cff5f362-1299-4e44-bcf5-49bb0d2d611b',
- name: 'accountOwner',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'fc3cfebb-722e-42dd-9646-e9f9f07dc152',
- name: 'connectedAccounts',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'c7060c9e-9cb7-420e-a82f-1eabaee52c06',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'fc3cfebb-722e-42dd-9646-e9f9f07dc152',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fc92c00d-e5ff-4982-965e-514ee30bcf1c',
- type: 'RELATION',
- name: 'calendarChannels',
- label: 'Calendar Channel',
- description: 'Calendar Channel',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'fc92c00d-e5ff-4982-965e-514ee30bcf1c',
- name: 'calendarChannels',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
- nameSingular: 'calendarChannel',
- namePlural: 'calendarChannels',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'fefbe526-b75b-494e-a06a-e89d6790cc3b',
- name: 'connectedAccount',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: 'cab6d0bd-c3fb-46dc-af6f-de28e4689dd0',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'fefbe526-b75b-494e-a06a-e89d6790cc3b',
- toObjectMetadata: {
- __typename: 'object',
- id: 'd398ff30-85e0-45ab-a62a-ba2d775ce186',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarChannel',
- namePlural: 'calendarChannels',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '085c8a6b-31b5-4bd9-a193-8dd5c73c426b',
- type: 'TEXT',
- name: 'refreshToken',
- label: 'Refresh Token',
- description: 'Messaging provider refresh token',
- icon: 'IconKey',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c68fb8af-ad36-439c-8c9d-799ba4cf4169',
- type: 'RELATION',
- name: 'messageChannels',
- label: 'Message Channel',
- description: 'Message Channel',
- icon: 'IconMessage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'ONE_TO_MANY',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '184958e2-9434-453c-98be-7ca4311cc77e',
- nameSingular: 'connectedAccount',
- namePlural: 'connectedAccounts',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'c68fb8af-ad36-439c-8c9d-799ba4cf4169',
- name: 'messageChannels',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8bef276b-342c-4088-9448-752fc8efd426',
- nameSingular: 'messageChannel',
- namePlural: 'messageChannels',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'b914db46-eea0-496c-ba56-1209b3fd9537',
- name: 'connectedAccount',
- },
- },
- toRelationMetadata: null,
- fromRelationMetadata: {
- __typename: 'relation',
- id: '0ca8dd47-2a20-4950-bf82-8fd4eafd6d0d',
- relationType: 'ONE_TO_MANY',
- toFieldMetadataId: 'b914db46-eea0-496c-ba56-1209b3fd9537',
- toObjectMetadata: {
- __typename: 'object',
- id: '8bef276b-342c-4088-9448-752fc8efd426',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'messageChannel',
- namePlural: 'messageChannels',
- isSystem: true,
- },
- },
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- labelSingular: 'Calendar event participant',
- labelPlural: 'Calendar event participants',
- description: 'Calendar event participants',
- icon: 'IconCalendar',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEy',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ labelSingular: 'Calendar event participant',
+ labelPlural: 'Calendar event participants',
+ description: 'Calendar event participants',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEy',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '9a8d46c9-a957-4e75-8d00-12872b3fd29b',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a5aa1016-d4fb-4abc-bb0d-c65c8ef07751',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '472122e5-abad-41f9-baee-ded52b95f23a',
+ type: 'TEXT',
+ name: 'handle',
+ label: 'Handle',
+ description: 'Handle',
+ icon: 'IconMail',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5fc9279f-ac58-40e5-a2fc-5890ddc23bc7',
+ type: 'SELECT',
+ name: 'responseStatus',
+ label: 'Response Status',
+ description: 'Response Status',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'NEEDS_ACTION'",
+ options: [
+ {
+ id: 'dd82a26c-6a7e-4b4c-a62f-49a3fe1ae9ea',
+ color: 'orange',
+ label: 'Needs Action',
+ value: 'NEEDS_ACTION',
+ position: 0,
+ },
+ {
+ id: '98f816f0-59c3-438c-b0c6-24d017f8a8d3',
+ color: 'red',
+ label: 'Declined',
+ value: 'DECLINED',
+ position: 1,
+ },
+ {
+ id: '8a0838e8-da13-48e7-aa19-25ed3ba3c22f',
+ color: 'yellow',
+ label: 'Tentative',
+ value: 'TENTATIVE',
+ position: 2,
+ },
+ {
+ id: 'af20c798-12d5-4b98-acbc-e85df84817f9',
+ color: 'green',
+ label: 'Accepted',
+ value: 'ACCEPTED',
+ position: 3,
+ },
+ ],
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '6f4e5661-277f-45a1-ac19-61fe082b6d59',
+ type: 'TEXT',
+ name: 'displayName',
+ label: 'Display Name',
+ description: 'Display Name',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "''",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a3d589db-aada-4980-8589-1e6af13292c3',
+ type: 'BOOLEAN',
+ name: 'isOrganizer',
+ label: 'Is Organizer',
+ description: 'Is Organizer',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: false,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b6bc0ac1-a106-4ff6-9c6c-e79f1aea0de5',
+ type: 'UUID',
+ name: 'calendarEventId',
+ label: 'Event ID id (foreign key)',
+ description: 'Event ID id foreign key',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c0705e9a-d868-45ee-83b7-6055ca6ac1a8',
+ type: 'RELATION',
+ name: 'workspaceMember',
+ label: 'Workspace Member',
+ description: 'Workspace Member',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'c0705e9a-d868-45ee-83b7-6055ca6ac1a8',
+ name: 'workspaceMember',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'aee6daaa-a9e3-4f1a-a4dc-aa34c57cef7f',
+ name: 'calendarEventParticipants',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '9e9890bd-ead6-44f2-8f09-46d27f09f607',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'aee6daaa-a9e3-4f1a-a4dc-aa34c57cef7f',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e9fb5ddb-4231-46c3-971f-0dfb321641b8',
+ type: 'RELATION',
+ name: 'person',
+ label: 'Person',
+ description: 'Person',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'e9fb5ddb-4231-46c3-971f-0dfb321641b8',
+ name: 'person',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'b802682c-3f9d-4f86-856b-a8e91048ae02',
+ name: 'calendarEventParticipants',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'eda707cd-b61d-4fda-933c-9eb5e17333d9',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'b802682c-3f9d-4f86-856b-a8e91048ae02',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'person',
+ namePlural: 'people',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1feb6de5-f8e7-449c-8f59-95130358c541',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '58906c98-2b5a-41bf-bc22-0b4df50e24dd',
+ type: 'RELATION',
+ name: 'calendarEvent',
+ label: 'Event ID',
+ description: 'Event ID',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '151b651a-12a7-4edd-9179-e7abc292d996',
+ nameSingular: 'calendarEventParticipant',
+ namePlural: 'calendarEventParticipants',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '58906c98-2b5a-41bf-bc22-0b4df50e24dd',
+ name: 'calendarEvent',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
+ nameSingular: 'calendarEvent',
+ namePlural: 'calendarEvents',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '87b36790-10ac-40ce-b309-c8033c0aa083',
+ name: 'eventParticipants',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '43adaf3e-ec13-477e-9b95-3775d11166b1',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '87b36790-10ac-40ce-b309-c8033c0aa083',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'calendarEvent',
+ namePlural: 'calendarEvents',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '03b22ba4-a27c-4bec-929d-c29cf5ed73a4',
+ type: 'UUID',
+ name: 'personId',
+ label: 'Person id (foreign key)',
+ description: 'Person id foreign key',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '400c23b4-43c5-4f17-80eb-647a60761992',
+ type: 'UUID',
+ name: 'workspaceMemberId',
+ label: 'Workspace Member id (foreign key)',
+ description: 'Workspace Member id foreign key',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '9a8d46c9-a957-4e75-8d00-12872b3fd29b',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a5aa1016-d4fb-4abc-bb0d-c65c8ef07751',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '472122e5-abad-41f9-baee-ded52b95f23a',
- type: 'TEXT',
- name: 'handle',
- label: 'Handle',
- description: 'Handle',
- icon: 'IconMail',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5fc9279f-ac58-40e5-a2fc-5890ddc23bc7',
- type: 'SELECT',
- name: 'responseStatus',
- label: 'Response Status',
- description: 'Response Status',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'NEEDS_ACTION'",
- options: [
- {
- id: 'dd82a26c-6a7e-4b4c-a62f-49a3fe1ae9ea',
- color: 'orange',
- label: 'Needs Action',
- value: 'NEEDS_ACTION',
- position: 0,
- },
- {
- id: '98f816f0-59c3-438c-b0c6-24d017f8a8d3',
- color: 'red',
- label: 'Declined',
- value: 'DECLINED',
- position: 1,
- },
- {
- id: '8a0838e8-da13-48e7-aa19-25ed3ba3c22f',
- color: 'yellow',
- label: 'Tentative',
- value: 'TENTATIVE',
- position: 2,
- },
- {
- id: 'af20c798-12d5-4b98-acbc-e85df84817f9',
- color: 'green',
- label: 'Accepted',
- value: 'ACCEPTED',
- position: 3,
- },
- ],
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '6f4e5661-277f-45a1-ac19-61fe082b6d59',
- type: 'TEXT',
- name: 'displayName',
- label: 'Display Name',
- description: 'Display Name',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "''",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a3d589db-aada-4980-8589-1e6af13292c3',
- type: 'BOOLEAN',
- name: 'isOrganizer',
- label: 'Is Organizer',
- description: 'Is Organizer',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: false,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b6bc0ac1-a106-4ff6-9c6c-e79f1aea0de5',
- type: 'UUID',
- name: 'calendarEventId',
- label: 'Event ID id (foreign key)',
- description: 'Event ID id foreign key',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c0705e9a-d868-45ee-83b7-6055ca6ac1a8',
- type: 'RELATION',
- name: 'workspaceMember',
- label: 'Workspace Member',
- description: 'Workspace Member',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'c0705e9a-d868-45ee-83b7-6055ca6ac1a8',
- name: 'workspaceMember',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'aee6daaa-a9e3-4f1a-a4dc-aa34c57cef7f',
- name: 'calendarEventParticipants',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '9e9890bd-ead6-44f2-8f09-46d27f09f607',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'aee6daaa-a9e3-4f1a-a4dc-aa34c57cef7f',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e9fb5ddb-4231-46c3-971f-0dfb321641b8',
- type: 'RELATION',
- name: 'person',
- label: 'Person',
- description: 'Person',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'e9fb5ddb-4231-46c3-971f-0dfb321641b8',
- name: 'person',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'b802682c-3f9d-4f86-856b-a8e91048ae02',
- name: 'calendarEventParticipants',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'eda707cd-b61d-4fda-933c-9eb5e17333d9',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'b802682c-3f9d-4f86-856b-a8e91048ae02',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'person',
- namePlural: 'people',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1feb6de5-f8e7-449c-8f59-95130358c541',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '58906c98-2b5a-41bf-bc22-0b4df50e24dd',
- type: 'RELATION',
- name: 'calendarEvent',
- label: 'Event ID',
- description: 'Event ID',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '151b651a-12a7-4edd-9179-e7abc292d996',
- nameSingular: 'calendarEventParticipant',
- namePlural: 'calendarEventParticipants',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '58906c98-2b5a-41bf-bc22-0b4df50e24dd',
- name: 'calendarEvent',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
- nameSingular: 'calendarEvent',
- namePlural: 'calendarEvents',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '87b36790-10ac-40ce-b309-c8033c0aa083',
- name: 'eventParticipants',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '43adaf3e-ec13-477e-9b95-3775d11166b1',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '87b36790-10ac-40ce-b309-c8033c0aa083',
- fromObjectMetadata: {
- __typename: 'object',
- id: '56cb9f6b-1aae-4cba-85ed-fff37b1e3c25',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'calendarEvent',
- namePlural: 'calendarEvents',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '03b22ba4-a27c-4bec-929d-c29cf5ed73a4',
- type: 'UUID',
- name: 'personId',
- label: 'Person id (foreign key)',
- description: 'Person id foreign key',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '400c23b4-43c5-4f17-80eb-647a60761992',
- type: 'UUID',
- name: 'workspaceMemberId',
- label: 'Workspace Member id (foreign key)',
- description: 'Workspace Member id foreign key',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- labelSingular: 'Activity Target',
- labelPlural: 'Activity Targets',
- description: 'An activity target',
- icon: 'IconCheckbox',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEy',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ labelSingular: 'Activity Target',
+ labelPlural: 'Activity Targets',
+ description: 'An activity target',
+ icon: 'IconCheckbox',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEy',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '7ebcc78a-b65d-4a11-b38b-1d9d6a07b9b7',
+ type: 'UUID',
+ name: 'listingId',
+ label: 'Listing ID (foreign key)',
+ description: 'ActivityTarget Listing id foreign key',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.722Z',
+ updatedAt: '2024-04-08T12:51:28.722Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c2ba4efb-604d-4c2f-8a03-0b569b47b55d',
+ type: 'RELATION',
+ name: 'activity',
+ label: 'Activity',
+ description: 'ActivityTarget activity',
+ icon: 'IconNotes',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'c2ba4efb-604d-4c2f-8a03-0b569b47b55d',
+ name: 'activity',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '946beaa4-8816-4019-bd33-28c8463bfeaa',
+ name: 'activityTargets',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '8660a1ec-c72e-442c-81e3-da290931fbab',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '946beaa4-8816-4019-bd33-28c8463bfeaa',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'activity',
+ namePlural: 'activities',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'c1fbf199-f736-41ee-8e09-63176fe2f980',
+ type: 'UUID',
+ name: 'activityId',
+ label: 'Activity id (foreign key)',
+ description: 'ActivityTarget activity id foreign key',
+ icon: 'IconNotes',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5bb6652c-6eba-4c1a-b6e5-aae3ca46b132',
+ type: 'RELATION',
+ name: 'person',
+ label: 'Person',
+ description: 'ActivityTarget person',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '5bb6652c-6eba-4c1a-b6e5-aae3ca46b132',
+ name: 'person',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '483d8221-01cd-4d70-83f7-f3d1b60c5575',
+ name: 'activityTargets',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '2d449c2a-7988-4b17-adfa-f362d44564bb',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '483d8221-01cd-4d70-83f7-f3d1b60c5575',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'person',
+ namePlural: 'people',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '01d640d1-a484-4e96-8816-43c07a76a747',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'ce67b1a5-9c8b-44d7-a052-9a6a88e36818',
+ type: 'UUID',
+ name: 'opportunityId',
+ label: 'Opportunity id (foreign key)',
+ description: 'ActivityTarget opportunity id foreign key',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b32cedef-1675-4106-b26a-1035807e2657',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '038d194c-ba8c-4ff8-aeaa-846558e420c2',
+ type: 'RELATION',
+ name: 'company',
+ label: 'Company',
+ description: 'ActivityTarget company',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '038d194c-ba8c-4ff8-aeaa-846558e420c2',
+ name: 'company',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '3500a80f-b0a8-45b1-8ca7-3d6b1ed45d3c',
+ name: 'activityTargets',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'c10efd06-e408-4560-bf12-62f9d8267a22',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '3500a80f-b0a8-45b1-8ca7-3d6b1ed45d3c',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '6f033aeb-02d4-4154-8684-390884c86405',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '48714e13-1203-424e-8bfa-0f2baff626e7',
+ type: 'RELATION',
+ name: 'opportunity',
+ label: 'Opportunity',
+ description: 'ActivityTarget opportunity',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '48714e13-1203-424e-8bfa-0f2baff626e7',
+ name: 'opportunity',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'adc8f6dd-aee1-492f-a715-7dd02bdfb5f5',
+ name: 'activityTargets',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '1842e867-107a-4544-93e0-249298a8edbf',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'adc8f6dd-aee1-492f-a715-7dd02bdfb5f5',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b407e872-8151-4bef-8277-0df5f638153d',
+ type: 'RELATION',
+ name: 'listing',
+ label: 'Listing',
+ description: 'ActivityTarget Listing',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.722Z',
+ updatedAt: '2024-04-08T12:51:28.722Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
+ nameSingular: 'activityTarget',
+ namePlural: 'activityTargets',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'b407e872-8151-4bef-8277-0df5f638153d',
+ name: 'listing',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '2629a000-8bee-443d-9379-1c89a597df21',
+ name: 'activityTargets',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'c73fedc6-1a38-48d6-830f-bdfc92991506',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '2629a000-8bee-443d-9379-1c89a597df21',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '56061f3e-e05a-4a0c-8527-ef98ad052c59',
+ type: 'UUID',
+ name: 'companyId',
+ label: 'Company id (foreign key)',
+ description: 'ActivityTarget company id foreign key',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '7949e7ad-a269-4b2e-85d3-6457765fa940',
+ type: 'UUID',
+ name: 'personId',
+ label: 'Person id (foreign key)',
+ description: 'ActivityTarget person id foreign key',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '7ebcc78a-b65d-4a11-b38b-1d9d6a07b9b7',
- type: 'UUID',
- name: 'listingId',
- label: 'Listing ID (foreign key)',
- description: 'ActivityTarget Listing id foreign key',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.722Z',
- updatedAt: '2024-04-08T12:51:28.722Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c2ba4efb-604d-4c2f-8a03-0b569b47b55d',
- type: 'RELATION',
- name: 'activity',
- label: 'Activity',
- description: 'ActivityTarget activity',
- icon: 'IconNotes',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'c2ba4efb-604d-4c2f-8a03-0b569b47b55d',
- name: 'activity',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- nameSingular: 'activity',
- namePlural: 'activities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '946beaa4-8816-4019-bd33-28c8463bfeaa',
- name: 'activityTargets',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '8660a1ec-c72e-442c-81e3-da290931fbab',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '946beaa4-8816-4019-bd33-28c8463bfeaa',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'b09664c4-a413-4d1f-949e-2a67f1ec649f',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'activity',
- namePlural: 'activities',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'c1fbf199-f736-41ee-8e09-63176fe2f980',
- type: 'UUID',
- name: 'activityId',
- label: 'Activity id (foreign key)',
- description: 'ActivityTarget activity id foreign key',
- icon: 'IconNotes',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5bb6652c-6eba-4c1a-b6e5-aae3ca46b132',
- type: 'RELATION',
- name: 'person',
- label: 'Person',
- description: 'ActivityTarget person',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '5bb6652c-6eba-4c1a-b6e5-aae3ca46b132',
- name: 'person',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '483d8221-01cd-4d70-83f7-f3d1b60c5575',
- name: 'activityTargets',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '2d449c2a-7988-4b17-adfa-f362d44564bb',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '483d8221-01cd-4d70-83f7-f3d1b60c5575',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'person',
- namePlural: 'people',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '01d640d1-a484-4e96-8816-43c07a76a747',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'ce67b1a5-9c8b-44d7-a052-9a6a88e36818',
- type: 'UUID',
- name: 'opportunityId',
- label: 'Opportunity id (foreign key)',
- description: 'ActivityTarget opportunity id foreign key',
- icon: 'IconTargetArrow',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b32cedef-1675-4106-b26a-1035807e2657',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '038d194c-ba8c-4ff8-aeaa-846558e420c2',
- type: 'RELATION',
- name: 'company',
- label: 'Company',
- description: 'ActivityTarget company',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '038d194c-ba8c-4ff8-aeaa-846558e420c2',
- name: 'company',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '3500a80f-b0a8-45b1-8ca7-3d6b1ed45d3c',
- name: 'activityTargets',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'c10efd06-e408-4560-bf12-62f9d8267a22',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '3500a80f-b0a8-45b1-8ca7-3d6b1ed45d3c',
- fromObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '6f033aeb-02d4-4154-8684-390884c86405',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '48714e13-1203-424e-8bfa-0f2baff626e7',
- type: 'RELATION',
- name: 'opportunity',
- label: 'Opportunity',
- description: 'ActivityTarget opportunity',
- icon: 'IconTargetArrow',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '48714e13-1203-424e-8bfa-0f2baff626e7',
- name: 'opportunity',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'adc8f6dd-aee1-492f-a715-7dd02bdfb5f5',
- name: 'activityTargets',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '1842e867-107a-4544-93e0-249298a8edbf',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'adc8f6dd-aee1-492f-a715-7dd02bdfb5f5',
- fromObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b407e872-8151-4bef-8277-0df5f638153d',
- type: 'RELATION',
- name: 'listing',
- label: 'Listing',
- description: 'ActivityTarget Listing',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.722Z',
- updatedAt: '2024-04-08T12:51:28.722Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '0f07873b-1b6d-408e-88ed-797767ebb2a4',
- nameSingular: 'activityTarget',
- namePlural: 'activityTargets',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'b407e872-8151-4bef-8277-0df5f638153d',
- name: 'listing',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '2629a000-8bee-443d-9379-1c89a597df21',
- name: 'activityTargets',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'c73fedc6-1a38-48d6-830f-bdfc92991506',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '2629a000-8bee-443d-9379-1c89a597df21',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'listing',
- namePlural: 'listings',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '56061f3e-e05a-4a0c-8527-ef98ad052c59',
- type: 'UUID',
- name: 'companyId',
- label: 'Company id (foreign key)',
- description: 'ActivityTarget company id foreign key',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '7949e7ad-a269-4b2e-85d3-6457765fa940',
- type: 'UUID',
- name: 'personId',
- label: 'Person id (foreign key)',
- description: 'ActivityTarget person id foreign key',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '06ed4d2c-3ae8-4b0f-895c-de30676d9c46',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'viewSort',
- namePlural: 'viewSorts',
- labelSingular: 'View Sort',
- labelPlural: 'View Sorts',
- description: '(System) View Sorts',
- icon: 'IconArrowsSort',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjY=',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '06ed4d2c-3ae8-4b0f-895c-de30676d9c46',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'viewSort',
+ namePlural: 'viewSorts',
+ labelSingular: 'View Sort',
+ labelPlural: 'View Sorts',
+ description: '(System) View Sorts',
+ icon: 'IconArrowsSort',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjY=',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5ab02c12-acdd-4663-b913-78c25dd7f199',
+ type: 'RELATION',
+ name: 'view',
+ label: 'View',
+ description: 'View Sort related view',
+ icon: 'IconLayoutCollage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '06ed4d2c-3ae8-4b0f-895c-de30676d9c46',
+ nameSingular: 'viewSort',
+ namePlural: 'viewSorts',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '5ab02c12-acdd-4663-b913-78c25dd7f199',
+ name: 'view',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ nameSingular: 'view',
+ namePlural: 'views',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '405aa0c6-ce96-4597-8b61-2271020fde11',
+ name: 'viewSorts',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '44bff5e3-29ae-4a3a-a9d8-bae4981bff33',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '405aa0c6-ce96-4597-8b61-2271020fde11',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'view',
+ namePlural: 'views',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'a92bf297-dac9-434b-b14d-cd849d7fb81b',
+ type: 'UUID',
+ name: 'fieldMetadataId',
+ label: 'Field Metadata Id',
+ description: 'View Sort target field',
+ icon: 'IconTag',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '5df49403-402e-42f9-adac-ca9211bf1a38',
+ type: 'TEXT',
+ name: 'direction',
+ label: 'Direction',
+ description: 'View Sort direction',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: "'asc'",
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '7e724009-f914-4ae8-8cbb-8e2f8be1e783',
+ type: 'UUID',
+ name: 'viewId',
+ label: 'View id (foreign key)',
+ description: 'View Sort related view id foreign key',
+ icon: 'IconLayoutCollage',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1096ea71-550a-4958-acbe-a6393edc9f81',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0c8deb2e-f832-4618-82ac-eaa108b1b5ec',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '00016b5d-1be6-4c9b-b02a-d372d2d6bc60',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5ab02c12-acdd-4663-b913-78c25dd7f199',
- type: 'RELATION',
- name: 'view',
- label: 'View',
- description: 'View Sort related view',
- icon: 'IconLayoutCollage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '06ed4d2c-3ae8-4b0f-895c-de30676d9c46',
- nameSingular: 'viewSort',
- namePlural: 'viewSorts',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '5ab02c12-acdd-4663-b913-78c25dd7f199',
- name: 'view',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- nameSingular: 'view',
- namePlural: 'views',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '405aa0c6-ce96-4597-8b61-2271020fde11',
- name: 'viewSorts',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: '44bff5e3-29ae-4a3a-a9d8-bae4981bff33',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '405aa0c6-ce96-4597-8b61-2271020fde11',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'efa1addc-a9cb-4789-b99e-a060fa84f987',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'view',
- namePlural: 'views',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'a92bf297-dac9-434b-b14d-cd849d7fb81b',
- type: 'UUID',
- name: 'fieldMetadataId',
- label: 'Field Metadata Id',
- description: 'View Sort target field',
- icon: 'IconTag',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '5df49403-402e-42f9-adac-ca9211bf1a38',
- type: 'TEXT',
- name: 'direction',
- label: 'Direction',
- description: 'View Sort direction',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: "'asc'",
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '7e724009-f914-4ae8-8cbb-8e2f8be1e783',
- type: 'UUID',
- name: 'viewId',
- label: 'View id (foreign key)',
- description: 'View Sort related view id foreign key',
- icon: 'IconLayoutCollage',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1096ea71-550a-4958-acbe-a6393edc9f81',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0c8deb2e-f832-4618-82ac-eaa108b1b5ec',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '00016b5d-1be6-4c9b-b02a-d372d2d6bc60',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- ],
},
},
- },
- {
- __typename: 'objectEdge',
- node: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- labelSingular: 'Favorite',
- labelPlural: 'Favorites',
- description: 'A favorite',
- icon: 'IconHeart',
- isCustom: false,
- isRemote: false,
- isActive: true,
- isSystem: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- labelIdentifierFieldMetadataId: null,
- imageIdentifierFieldMetadataId: null,
- fields: {
- __typename: 'ObjectFieldsConnection',
- pageInfo: {
- __typename: 'PageInfo',
- hasNextPage: false,
- hasPreviousPage: false,
- startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
- endCursor: 'YXJyYXljb25uZWN0aW9uOjEz',
+ {
+ __typename: 'objectEdge',
+ node: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ labelSingular: 'Favorite',
+ labelPlural: 'Favorites',
+ description: 'A favorite',
+ icon: 'IconHeart',
+ isCustom: false,
+ isRemote: false,
+ isActive: true,
+ isSystem: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ labelIdentifierFieldMetadataId: null,
+ imageIdentifierFieldMetadataId: null,
+ fields: {
+ __typename: 'ObjectFieldsConnection',
+ pageInfo: {
+ __typename: 'PageInfo',
+ hasNextPage: false,
+ hasPreviousPage: false,
+ startCursor: 'YXJyYXljb25uZWN0aW9uOjA=',
+ endCursor: 'YXJyYXljb25uZWN0aW9uOjEz',
+ },
+ edges: [
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'da9e2c6c-3a23-4c10-84f4-229b8c8eb125',
+ type: 'NUMBER',
+ name: 'position',
+ label: 'Position',
+ description: 'Favorite position',
+ icon: 'IconList',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 0,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'b5bae675-6ad6-4320-b0f7-a3e5e2ca5474',
+ type: 'UUID',
+ name: 'opportunityId',
+ label: 'Opportunity id (foreign key)',
+ description: 'Favorite opportunity id foreign key',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd94f1f82-1aab-441c-b6ff-6ec2f561921d',
+ type: 'RELATION',
+ name: 'listing',
+ label: 'Listing',
+ description: 'Favorite Listing',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: false,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.726Z',
+ updatedAt: '2024-04-08T12:51:28.726Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'd94f1f82-1aab-441c-b6ff-6ec2f561921d',
+ name: 'listing',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '78ab1b0d-e6b7-4c45-ac46-decdcf913b23',
+ name: 'favorites',
+ },
+ },
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'e0602824-706f-4d5c-b1ac-6a3a83c01100',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '78ab1b0d-e6b7-4c45-ac46-decdcf913b23',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'listing',
+ namePlural: 'listings',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'fbf23311-1077-4b1d-9687-def4fe52227a',
+ type: 'UUID',
+ name: 'companyId',
+ label: 'Company id (foreign key)',
+ description: 'Favorite company id foreign key',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '3ae40673-5d47-4c7c-9233-cfb141ad30d5',
+ type: 'UUID',
+ name: 'workspaceMemberId',
+ label: 'Workspace Member id (foreign key)',
+ description: 'Favorite workspace member id foreign key',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'd737cd4a-4032-476d-a594-1952ba7883b2',
+ type: 'RELATION',
+ name: 'person',
+ label: 'Person',
+ description: 'Favorite person',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'e0c1854d-d8a7-4936-a27c-265a09a635d4',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '17a9cee7-7f68-42bb-abd0-50932466f901',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'person',
+ namePlural: 'people',
+ isSystem: false,
+ },
+ },
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'd737cd4a-4032-476d-a594-1952ba7883b2',
+ name: 'person',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
+ nameSingular: 'person',
+ namePlural: 'people',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '17a9cee7-7f68-42bb-abd0-50932466f901',
+ name: 'favorites',
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '93500808-3a1f-4b7d-ad07-edee6976016f',
+ type: 'UUID',
+ name: 'listingId',
+ label: 'Listing ID (foreign key)',
+ description: 'Favorite Listing id foreign key',
+ icon: null,
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:51:28.726Z',
+ updatedAt: '2024-04-08T12:51:28.726Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '32ae5023-12c5-4a3a-8ec0-3f024eae8377',
+ type: 'RELATION',
+ name: 'opportunity',
+ label: 'Opportunity',
+ description: 'Favorite opportunity',
+ icon: 'IconTargetArrow',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ fromRelationMetadata: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '32ae5023-12c5-4a3a-8ec0-3f024eae8377',
+ name: 'opportunity',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: 'd61da288-7a71-47d5-ba6a-7700356e9a3a',
+ name: 'favorites',
+ },
+ },
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'f5da2c34-7a8c-47a3-b262-7c44e9f6fd28',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ 'd61da288-7a71-47d5-ba6a-7700356e9a3a',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'opportunity',
+ namePlural: 'opportunities',
+ isSystem: false,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'e00ceb17-446d-490d-b204-c90bfddf97bb',
+ type: 'DATE_TIME',
+ name: 'updatedAt',
+ label: 'Update date',
+ description: 'Update date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '8813fd75-e0d8-4a65-abd9-186dcbe9f1a7',
+ type: 'RELATION',
+ name: 'workspaceMember',
+ label: 'Workspace Member',
+ description: 'Favorite workspace member',
+ icon: 'IconCircleUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ fromRelationMetadata: null,
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: '8813fd75-e0d8-4a65-abd9-186dcbe9f1a7',
+ name: 'workspaceMember',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '28419ee0-5f10-4130-ad39-31fe4fc4ae62',
+ name: 'favorites',
+ },
+ },
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: '859f61ab-5d4d-404d-b5e4-b3a7cec4325e',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '28419ee0-5f10-4130-ad39-31fe4fc4ae62',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'workspaceMember',
+ namePlural: 'workspaceMembers',
+ isSystem: true,
+ },
+ },
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '1e3d58ce-72d5-46c5-aa96-76ab49e614c1',
+ type: 'UUID',
+ name: 'id',
+ label: 'Id',
+ description: 'Id',
+ icon: 'Icon123',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'uuid',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '21f5674b-2893-46be-8789-690b2695da1c',
+ type: 'DATE_TIME',
+ name: 'createdAt',
+ label: 'Creation date',
+ description: 'Creation date',
+ icon: 'IconCalendar',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: false,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: 'now',
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: '0f2725f4-af46-4992-bf53-a91f298e5a26',
+ type: 'UUID',
+ name: 'personId',
+ label: 'Person id (foreign key)',
+ description: 'Favorite person id foreign key',
+ icon: 'IconUser',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ relationDefinition: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: null,
+ },
+ },
+ {
+ __typename: 'fieldEdge',
+ node: {
+ __typename: 'field',
+ id: 'dd203027-190c-471c-8e16-da0260b6274c',
+ type: 'RELATION',
+ name: 'company',
+ label: 'Company',
+ description: 'Favorite company',
+ icon: 'IconBuildingSkyscraper',
+ isCustom: false,
+ isActive: true,
+ isSystem: true,
+ isNullable: true,
+ createdAt: '2024-04-08T12:48:49.538Z',
+ updatedAt: '2024-04-08T12:48:49.538Z',
+ defaultValue: null,
+ options: null,
+ fromRelationMetadata: null,
+ toRelationMetadata: {
+ __typename: 'relation',
+ id: 'faa88528-2847-4ffc-9e90-df997dbdb443',
+ relationType: 'ONE_TO_MANY',
+ fromFieldMetadataId:
+ '1579d027-2443-42a3-97e5-c3e6e81abe5c',
+ fromObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ isSystem: false,
+ },
+ },
+ relationDefinition: {
+ __typename: 'RelationDefinition',
+ direction: 'MANY_TO_ONE',
+ sourceObjectMetadata: {
+ __typename: 'object',
+ id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
+ nameSingular: 'favorite',
+ namePlural: 'favorites',
+ },
+ sourceFieldMetadata: {
+ __typename: 'field',
+ id: 'dd203027-190c-471c-8e16-da0260b6274c',
+ name: 'company',
+ },
+ targetObjectMetadata: {
+ __typename: 'object',
+ id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
+ nameSingular: 'company',
+ namePlural: 'companies',
+ },
+ targetFieldMetadata: {
+ __typename: 'field',
+ id: '1579d027-2443-42a3-97e5-c3e6e81abe5c',
+ name: 'favorites',
+ },
+ },
+ },
+ },
+ ],
},
- edges: [
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'da9e2c6c-3a23-4c10-84f4-229b8c8eb125',
- type: 'NUMBER',
- name: 'position',
- label: 'Position',
- description: 'Favorite position',
- icon: 'IconList',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 0,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'b5bae675-6ad6-4320-b0f7-a3e5e2ca5474',
- type: 'UUID',
- name: 'opportunityId',
- label: 'Opportunity id (foreign key)',
- description: 'Favorite opportunity id foreign key',
- icon: 'IconTargetArrow',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd94f1f82-1aab-441c-b6ff-6ec2f561921d',
- type: 'RELATION',
- name: 'listing',
- label: 'Listing',
- description: 'Favorite Listing',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: false,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.726Z',
- updatedAt: '2024-04-08T12:51:28.726Z',
- defaultValue: null,
- options: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'd94f1f82-1aab-441c-b6ff-6ec2f561921d',
- name: 'listing',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- nameSingular: 'listing',
- namePlural: 'listings',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '78ab1b0d-e6b7-4c45-ac46-decdcf913b23',
- name: 'favorites',
- },
- },
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'e0602824-706f-4d5c-b1ac-6a3a83c01100',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '78ab1b0d-e6b7-4c45-ac46-decdcf913b23',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c58aa98d-ab8a-4d7d-84d8-8d44f403cb2b',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'listing',
- namePlural: 'listings',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'fbf23311-1077-4b1d-9687-def4fe52227a',
- type: 'UUID',
- name: 'companyId',
- label: 'Company id (foreign key)',
- description: 'Favorite company id foreign key',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '3ae40673-5d47-4c7c-9233-cfb141ad30d5',
- type: 'UUID',
- name: 'workspaceMemberId',
- label: 'Workspace Member id (foreign key)',
- description: 'Favorite workspace member id foreign key',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'd737cd4a-4032-476d-a594-1952ba7883b2',
- type: 'RELATION',
- name: 'person',
- label: 'Person',
- description: 'Favorite person',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'e0c1854d-d8a7-4936-a27c-265a09a635d4',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '17a9cee7-7f68-42bb-abd0-50932466f901',
- fromObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'person',
- namePlural: 'people',
- isSystem: false,
- },
- },
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'd737cd4a-4032-476d-a594-1952ba7883b2',
- name: 'person',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: 'c5be9551-fa87-4d5c-8017-ef72251c5194',
- nameSingular: 'person',
- namePlural: 'people',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '17a9cee7-7f68-42bb-abd0-50932466f901',
- name: 'favorites',
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '93500808-3a1f-4b7d-ad07-edee6976016f',
- type: 'UUID',
- name: 'listingId',
- label: 'Listing ID (foreign key)',
- description: 'Favorite Listing id foreign key',
- icon: null,
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:51:28.726Z',
- updatedAt: '2024-04-08T12:51:28.726Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '32ae5023-12c5-4a3a-8ec0-3f024eae8377',
- type: 'RELATION',
- name: 'opportunity',
- label: 'Opportunity',
- description: 'Favorite opportunity',
- icon: 'IconTargetArrow',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- fromRelationMetadata: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '32ae5023-12c5-4a3a-8ec0-3f024eae8377',
- name: 'opportunity',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: 'd61da288-7a71-47d5-ba6a-7700356e9a3a',
- name: 'favorites',
- },
- },
- toRelationMetadata: {
- __typename: 'relation',
- id: 'f5da2c34-7a8c-47a3-b262-7c44e9f6fd28',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: 'd61da288-7a71-47d5-ba6a-7700356e9a3a',
- fromObjectMetadata: {
- __typename: 'object',
- id: '69aca779-9ce1-41fe-b0f9-b7e697af84e1',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'opportunity',
- namePlural: 'opportunities',
- isSystem: false,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'e00ceb17-446d-490d-b204-c90bfddf97bb',
- type: 'DATE_TIME',
- name: 'updatedAt',
- label: 'Update date',
- description: 'Update date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '8813fd75-e0d8-4a65-abd9-186dcbe9f1a7',
- type: 'RELATION',
- name: 'workspaceMember',
- label: 'Workspace Member',
- description: 'Favorite workspace member',
- icon: 'IconCircleUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- fromRelationMetadata: null,
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: '8813fd75-e0d8-4a65-abd9-186dcbe9f1a7',
- name: 'workspaceMember',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '28419ee0-5f10-4130-ad39-31fe4fc4ae62',
- name: 'favorites',
- },
- },
- toRelationMetadata: {
- __typename: 'relation',
- id: '859f61ab-5d4d-404d-b5e4-b3a7cec4325e',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '28419ee0-5f10-4130-ad39-31fe4fc4ae62',
- fromObjectMetadata: {
- __typename: 'object',
- id: '8d68cb28-d11a-4fc9-819e-d154c6d05edd',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'workspaceMember',
- namePlural: 'workspaceMembers',
- isSystem: true,
- },
- },
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '1e3d58ce-72d5-46c5-aa96-76ab49e614c1',
- type: 'UUID',
- name: 'id',
- label: 'Id',
- description: 'Id',
- icon: 'Icon123',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'uuid',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '21f5674b-2893-46be-8789-690b2695da1c',
- type: 'DATE_TIME',
- name: 'createdAt',
- label: 'Creation date',
- description: 'Creation date',
- icon: 'IconCalendar',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: false,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: 'now',
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: '0f2725f4-af46-4992-bf53-a91f298e5a26',
- type: 'UUID',
- name: 'personId',
- label: 'Person id (foreign key)',
- description: 'Favorite person id foreign key',
- icon: 'IconUser',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- relationDefinition: null,
- fromRelationMetadata: null,
- toRelationMetadata: null,
- },
- },
- {
- __typename: 'fieldEdge',
- node: {
- __typename: 'field',
- id: 'dd203027-190c-471c-8e16-da0260b6274c',
- type: 'RELATION',
- name: 'company',
- label: 'Company',
- description: 'Favorite company',
- icon: 'IconBuildingSkyscraper',
- isCustom: false,
- isActive: true,
- isSystem: true,
- isNullable: true,
- createdAt: '2024-04-08T12:48:49.538Z',
- updatedAt: '2024-04-08T12:48:49.538Z',
- defaultValue: null,
- options: null,
- fromRelationMetadata: null,
- toRelationMetadata: {
- __typename: 'relation',
- id: 'faa88528-2847-4ffc-9e90-df997dbdb443',
- relationType: 'ONE_TO_MANY',
- fromFieldMetadataId: '1579d027-2443-42a3-97e5-c3e6e81abe5c',
- fromObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- dataSourceId: 'd36e6a2d-28bc-459d-afd5-fe18e4405729',
- nameSingular: 'company',
- namePlural: 'companies',
- isSystem: false,
- },
- },
- relationDefinition: {
- __typename: 'RelationDefinition',
- direction: 'MANY_TO_ONE',
- sourceObjectMetadata: {
- __typename: 'object',
- id: '056fb7ce-33e6-45c8-9389-0455432e88d7',
- nameSingular: 'favorite',
- namePlural: 'favorites',
- },
- sourceFieldMetadata: {
- __typename: 'field',
- id: 'dd203027-190c-471c-8e16-da0260b6274c',
- name: 'company',
- },
- targetObjectMetadata: {
- __typename: 'object',
- id: '28755ee8-fa7b-4413-b453-4a98e84b237a',
- nameSingular: 'company',
- namePlural: 'companies',
- },
- targetFieldMetadata: {
- __typename: 'field',
- id: '1579d027-2443-42a3-97e5-c3e6e81abe5c',
- name: 'favorites',
- },
- },
- },
- },
- ],
},
},
- },
- ] as ObjectEdge[],
- },
-} as ObjectMetadataItemsQuery;
+ ] as ObjectEdge[],
+ },
+ } as ObjectMetadataItemsQuery;
diff --git a/packages/twenty-front/tsconfig.json b/packages/twenty-front/tsconfig.json
index 05a1f4108558..9b8b10f5230c 100644
--- a/packages/twenty-front/tsconfig.json
+++ b/packages/twenty-front/tsconfig.json
@@ -19,7 +19,7 @@
"noUnusedParameters": false,
"noFallthroughCasesInSwitch": true,
"forceConsistentCasingInFileNames": true,
- "outDir": "../../dist/out-tsc",
+ "outDir": "../../.cache/tsc",
"paths": {
"@/*": ["packages/twenty-front/src/modules/*"],
"~/*": ["packages/twenty-front/src/*"],
diff --git a/packages/twenty-server/nest-cli.json b/packages/twenty-server/nest-cli.json
index 851fbb380d83..c8c53e937434 100644
--- a/packages/twenty-server/nest-cli.json
+++ b/packages/twenty-server/nest-cli.json
@@ -3,7 +3,7 @@
"collection": "@nestjs/schematics",
"sourceRoot": "src",
"compilerOptions": {
- "builder": "swc",
- "typeCheck": true
+ "builder": "swc",
+ "typeCheck": true
}
}
diff --git a/packages/twenty-server/project.json b/packages/twenty-server/project.json
index 2d99857cd608..1742fc1a04fb 100644
--- a/packages/twenty-server/project.json
+++ b/packages/twenty-server/project.json
@@ -2,6 +2,7 @@
"name": "twenty-server",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
+ "tags": ["scope:backend"],
"targets": {
"build": {
"executor": "nx:run-commands",
@@ -35,6 +36,16 @@
"command": "nx start --debug"
}
},
+ "reset:env": {
+ "executor": "nx:run-commands",
+ "inputs": ["{projectRoot}/.env.example"],
+ "outputs": ["{projectRoot}/.env"],
+ "cache": true,
+ "options": {
+ "cwd": "{projectRoot}",
+ "command": "cp .env.example .env"
+ }
+ },
"command": {
"executor": "nx:run-commands",
"dependsOn": ["build"],
@@ -81,42 +92,16 @@
}
},
"lint": {
- "executor": "@nx/eslint:lint",
"options": {
- "eslintConfig": "{projectRoot}/.eslintrc.cjs",
- "ignorePath": "{workspaceRoot}/.gitignore",
"lintFilePatterns": ["{projectRoot}/src/**/*.{ts,json}"]
},
"configurations": {
"ci": { "lintFilePatterns": ["{projectRoot}/**/*.{ts,json}"] },
- "fix": { "fix": true }
- }
- },
- "test:unit": {
- "executor": "nx:run-commands",
- "dependsOn": ["build"],
- "options": {
- "cwd": "packages/twenty-server",
- "command": "jest"
- }
- },
- "test:unit:watch": {
- "executor": "nx:run-commands",
- "dependsOn": ["build"],
- "options": {
- "cwd": "packages/twenty-server",
- "command": "jest --watch"
- }
- },
- "test:unit:coverage": {
- "executor": "nx:run-commands",
- "dependsOn": ["build"],
- "options": {
- "cwd": "packages/twenty-server",
- "command": "jest --coverage"
+ "fix": {}
}
},
- "test:unit:debug": {
+ "test": {},
+ "test:debug": {
"executor": "nx:run-commands",
"options": {
"cwd": "packages/twenty-server",
diff --git a/packages/twenty-server/test/company.e2e-spec.ts b/packages/twenty-server/test/company.e2e-spec.ts
index 1441a7d9c356..40658d931e3f 100644
--- a/packages/twenty-server/test/company.e2e-spec.ts
+++ b/packages/twenty-server/test/company.e2e-spec.ts
@@ -81,11 +81,13 @@ describe('CompanyResolver (e2e)', () => {
.expect(200)
.expect((res) => {
const data = res.body.data.findManyCompany;
+
expect(data).toBeDefined();
expect(Array.isArray(data)).toBe(true);
expect(data.length).toBeGreaterThan(0);
const company = data.find((c) => c.id === companyId);
+
expect(company).toBeDefined();
expect(company).toHaveProperty('id');
expect(company).toHaveProperty('name', 'New Company');
@@ -94,6 +96,7 @@ describe('CompanyResolver (e2e)', () => {
// Check if we have access to ressources outside of our workspace
const instagramCompany = data.find((c) => c.name === 'Instagram');
+
expect(instagramCompany).toBeUndefined();
});
});
diff --git a/packages/twenty-server/test/utils/create-app.ts b/packages/twenty-server/test/utils/create-app.ts
index f5f78f64bbf2..9011599ea6f4 100644
--- a/packages/twenty-server/test/utils/create-app.ts
+++ b/packages/twenty-server/test/utils/create-app.ts
@@ -31,7 +31,7 @@ export const createApp = async (
imports: [AppModule],
});
- if (!!config.moduleBuilderHook) {
+ if (config.moduleBuilderHook) {
moduleBuilder = config.moduleBuilderHook(moduleBuilder);
}
diff --git a/packages/twenty-ui/project.json b/packages/twenty-ui/project.json
index 57aed0ec550a..8b0d9e043112 100644
--- a/packages/twenty-ui/project.json
+++ b/packages/twenty-ui/project.json
@@ -3,6 +3,7 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/twenty-ui/src",
"projectType": "library",
+ "tags": ["scope:frontend"],
"targets": {
"build": {
"dependsOn": ["^build", "generateBarrels"]
@@ -21,68 +22,40 @@
}
},
"lint": {
- "executor": "@nx/eslint:lint",
"options": {
- "eslintConfig": "{projectRoot}/.eslintrc.cjs",
- "ignorePath": "{workspaceRoot}/.gitignore",
"lintFilePatterns": [
"{projectRoot}/src/**/*.{ts,tsx,json}",
"{projectRoot}/package.json"
- ],
- "cache": true
+ ]
},
"configurations": {
- "fix": { "fix": true }
+ "fix": {}
}
},
- "test": {
- "executor": "@nx/jest:jest",
- "outputs": ["{projectRoot}/coverage"],
+ "fmt": {
"options": {
- "jestConfig": "{projectRoot}/jest.config.ts"
- }
- },
- "typecheck": {
- "executor": "nx:run-commands",
- "options": {
- "cwd": "{projectRoot}",
- "command": "tsc -b tsconfig.json",
- "incremental": true
+ "files": "src"
},
"configurations": {
- "ci": { "incremental": false },
- "watch": { "watch": true }
+ "fix": {}
}
},
+ "test": {},
+ "typecheck": {},
+ "storybook:build": {},
"storybook:dev": {
- "executor": "@nx/storybook:storybook",
- "options": {
- "port": 6007,
- "configDir": "{projectRoot}/.storybook"
- },
- "configurations": {
- "ci": { "quiet": true }
- }
+ "options": { "port": 6007 }
},
- "storybook:build": {
- "executor": "@nx/storybook:build",
- "outputs": ["{options.outputDir}"],
+ "storybook:static": {
"options": {
- "outputDir": "{projectRoot}/storybook-static",
- "configDir": "{projectRoot}/.storybook"
- },
- "configurations": {
- "ci": {
- "quiet": true
- }
+ "buildTarget": "twenty-ui:storybook:build",
+ "port": 6007
}
},
"storybook:test": {
- "executor": "nx:run-commands",
"options": {
- "command": "test-storybook -c {projectRoot}/.storybook --url=http://localhost:6007"
+ "url": "http://localhost:6007"
}
}
- },
- "tags": []
+ }
}
diff --git a/packages/twenty-ui/tsconfig.json b/packages/twenty-ui/tsconfig.json
index 2d896a77126b..c7c587845c85 100644
--- a/packages/twenty-ui/tsconfig.json
+++ b/packages/twenty-ui/tsconfig.json
@@ -8,7 +8,7 @@
"esModuleInterop": true,
"noEmit": true,
"types": ["node"],
- "outDir": "../../dist/out-tsc",
+ "outDir": "../../.cache/tsc",
"paths": {
"@ui/*": ["packages/twenty-ui/src/*"]
}
diff --git a/tools/eslint-rules/project.json b/tools/eslint-rules/project.json
index a9144b5374e6..336985540c9f 100644
--- a/tools/eslint-rules/project.json
+++ b/tools/eslint-rules/project.json
@@ -2,20 +2,18 @@
"name": "eslint-rules",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "tools/eslint-rules",
+ "tags": ["scope:shared"],
"targets": {
"lint": {
- "executor": "@nx/eslint:lint",
"options": {
- "lintFilePatterns": ["{projectRoot}/**/*.ts"],
- "fix": true
+ "eslintConfig": "{workspaceRoot}/.eslintrc.cjs",
+ "lintFilePatterns": ["{projectRoot}/**/*.ts"]
+ },
+ "configurations": {
+ "fix": {}
}
},
- "test": {
- "executor": "@nx/jest:jest",
- "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
- "options": {
- "jestConfig": "tools/eslint-rules/jest.config.ts"
- }
- }
+ "typecheck": {},
+ "test": {}
}
}
diff --git a/tools/eslint-rules/tsconfig.json b/tools/eslint-rules/tsconfig.json
index 7f43075815f4..889d62f08911 100644
--- a/tools/eslint-rules/tsconfig.json
+++ b/tools/eslint-rules/tsconfig.json
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
+ "outDir": "../../.cache/tsc",
"esModuleInterop": true,
"moduleResolution": "node16",
"module": "node16"
diff --git a/tools/eslint-rules/tsconfig.lint.json b/tools/eslint-rules/tsconfig.lint.json
index bb717c5e289e..594b1938e838 100644
--- a/tools/eslint-rules/tsconfig.lint.json
+++ b/tools/eslint-rules/tsconfig.lint.json
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
- "outDir": "../../dist/out-tsc",
"types": ["node"]
},
"exclude": ["**/*.spec.ts"],
diff --git a/tools/eslint-rules/tsconfig.spec.json b/tools/eslint-rules/tsconfig.spec.json
index 4d92465f462b..ac7972d7be33 100644
--- a/tools/eslint-rules/tsconfig.spec.json
+++ b/tools/eslint-rules/tsconfig.spec.json
@@ -1,7 +1,6 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
- "outDir": "../../dist/out-tsc",
"types": ["jest", "node"]
},
"include": ["jest.config.ts", "**/*.test.ts", "**/*.spec.ts", "**/*.d.ts"]