From a5110811f10fee3509deb63a85a3346b2997482b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rge=20N=C3=A6ss?= Date: Fri, 20 Sep 2024 22:14:48 +0200 Subject: [PATCH] test(saniy): migrate sanity package to vitest - chore(test): add sharding to test workflow --- .github/workflows/test.yml | 5 +- packages/sanity/jest.config.mjs | 15 - packages/sanity/package.json | 8 +- .../__tests__/buildCommentBreadcrumbs.test.ts | 2 +- .../boldedBefore.test.ts | 2 +- .../boldedInside.test.ts | 2 +- .../boldedInsideOutside.test.ts | 2 +- .../deleteAfterSingleWord.test.ts | 2 +- .../dramaticallyChanged.test.ts | 2 +- .../editInsideSingleWord.test.ts | 2 +- .../editOutSideSingleWord.test.ts | 2 +- .../exact.test.ts | 2 +- .../similarWordAdded.test.ts | 2 +- .../__tests__/mergeCommentReactions.test.ts | 2 +- .../__tests__/transformChildren.test.tsx | 2 +- .../weakenReferencesInContentSnapshot.test.ts | 2 +- .../__tests__/CommandList.test.tsx | 2 +- .../errorActions/useCopyErrorDetails.test.ts | 2 +- .../__tests__/useRovingFocus.test.tsx | 2 +- .../config/__tests__/createPlugin.test.ts | 2 +- .../config/__tests__/resolveConfig.test.ts | 2 +- .../__tests__/resolveConfigProperty.test.ts | 8 +- .../hasSanityPackageInImportMap.test.ts | 6 +- .../useConditionalProperty.test.tsx.snap | 26 +- .../useConditionalProperty.test.tsx | 30 +- .../form/hooks/__tests__/useDidUpdate.test.ts | 18 +- .../form/hooks/__tests__/usePrevious.test.ts | 2 +- .../useScrollIntoViewOnFocusWithin.test.ts | 22 +- .../core/form/inputs/BooleanInput.test.tsx | 2 +- .../CrossDatasetReferenceInput.test.tsx | 12 +- .../__tests__/CommonDateTimeInput.test.tsx | 4 +- .../DateInputs/__tests__/DateInput.test.tsx | 2 +- .../__tests__/DateTimeInput.test.tsx | 2 +- .../__snapshots__/DateInput.test.tsx.snap | 10 +- .../__snapshots__/DateTimeInput.test.tsx.snap | 10 +- .../src/core/form/inputs/NumberInput.test.tsx | 2 +- .../__tests__/ObjectFieldset.test.tsx | 2 +- .../__tests__/ObjectInput.test.tsx | 6 +- .../ObjectInput/__tests__/test-utils.tsx | 3 - .../__tests__/BlockExtras.test.tsx | 4 +- .../__tests__/ReferenceInput.test.tsx | 6 +- .../src/core/form/inputs/StringInput.test.tsx | 2 +- .../utils/nearestIndex.test.ts | 2 +- .../FileInput/__tests__/fileInput.test.tsx | 2 +- .../ImageInput/__tests__/imageInput.test.tsx | 2 +- .../__tests__/calculateStyles.test.ts | 2 +- .../object/fields/PrimitiveField.test.tsx | 16 +- .../form/store/__tests__/collapsible.test.ts | 2 +- .../form/store/__tests__/equality.test.ts | 2 +- .../form/store/__tests__/formState.test.ts | 26 +- .../store/__tests__/members.hidden.test.ts | 2 +- .../__tests__/immutableReconcile.test.ts | 6 +- .../src/core/form/studio/FormBuilder.test.tsx | 40 +- .../__snapshots__/FormBuilder.test.tsx.snap | 6 +- .../form/studio/inputResolver/helpers.test.ts | 2 +- .../buildTreeEditingState.test.ts.snap | 19872 ++++++++-------- .../__tests__/buildTreeEditingState.test.ts | 2 +- .../__tests__/findArrayTypePaths.test.ts | 2 +- .../__tests__/treeEditingSearch.test.ts | 2 +- .../__tests__/useTreeEditingEnabled.test.tsx | 6 +- .../form/types/definitionExtensions.test.ts | 2 +- .../__tests__/useFormattedDuration.test.tsx | 2 +- .../hooks/__tests__/useRelativeTime.test.tsx | 2 +- .../hooks/__tests__/useUnitFormatter.test.tsx | 2 +- .../core/i18n/__tests__/Translate.test.tsx | 2 +- .../core/i18n/__tests__/simpleParser.test.ts | 2 +- .../preview/__test__/observeFields.test.ts | 2 +- .../preview/utils/getPreviewPaths.test.ts | 2 +- .../preview/utils/shareReplayLatest.test.ts | 2 +- ...cheduledPublishingEnabledProvider.test.tsx | 72 +- .../ScheduledPublishingEnabledProvider.tsx | 4 +- .../deriveSearchWeightsFromType.test.ts | 2 +- .../__tests__/getSearchableTypes.test.ts | 2 +- .../text-search/createTextSearch.test.ts | 2 +- .../core/search/weighted/applyWeights.test.ts | 2 +- .../search/weighted/createSearchQuery.test.ts | 2 +- .../weighted/createWeightedSearch.test.ts | 10 +- .../__tests__/createMultiKeyWeakMap.test.ts | 2 +- .../document-pair/checkoutPair.test.ts | 10 +- .../__snapshots__/publish.test.ts.snap | 160 +- .../document-pair/operations/publish.test.ts | 14 +- .../__snapshots__/publish.test.ts.snap | 108 +- .../serverOperations/publish.test.ts | 12 +- .../utils/fetchFeatureToggle.test.ts | 4 +- .../document/document-pair/validation.test.ts | 8 +- .../hooks/__tests__/useDocumentType.test.tsx | 14 +- .../__tests__/createGrantsStore.test.ts | 6 +- .../__tests__/templatePermissions.test.ts | 2 +- .../__snapshots__/history.test.ts.snap | 24 +- .../store/_legacy/history/history.test.ts | 2 +- .../_legacy/user/__tests__/userStore.test.ts | 6 +- .../sanity/src/core/studio/Studio.test.tsx | 10 +- .../__tests__/matchWorkspace.test.ts | 2 +- .../__tests__/newDocumentFilter.test.ts | 2 +- .../search/contexts/search/reducer.test.ts | 125 +- .../search/datastores/recentSearches.test.tsx | 18 +- .../navbar/search/definitions/fields.test.tsx | 2 +- .../operators/arrayOperators.test.ts | 2 +- .../operators/assetOperators.test.ts | 2 +- .../operators/booleanOperators.test.ts | 2 +- .../operators/dateOperators.test.ts | 8 +- .../operators/definedOperators.test.ts | 2 +- .../operators/numberOperators.test.ts | 2 +- .../operators/portableTextOperators.test.ts | 2 +- .../operators/referenceOperators.test.ts | 2 +- .../operators/slugOperators.test.ts | 2 +- .../operators/stringOperators.test.ts | 2 +- .../navbar/search/utils/filterUtils.test.ts | 2 +- .../studio/copyPaste/__test__/mockClient.ts | 8 +- .../__test__/resolveSchemaFromPath.test.ts | 8 +- .../copyPaste/__test__/transferValue.test.ts | 6 +- .../copyPaste/__test__/useCopyPaste.test.tsx | 19 +- .../{jestClipboard.ts => viClipboard.ts} | 0 .../src/core/studio/router/helpers.test.ts | 2 +- .../StudioAnnouncementsCard.test.tsx | 38 +- .../StudioAnnouncementsDialog.test.tsx | 24 +- .../StudioAnnouncementsMenuItem.test.tsx | 30 +- .../StudioAnnouncementsProvider.test.tsx | 85 +- .../__tests__/useSeenAnnouncements.test.tsx | 44 +- .../__tests__/utils.test.ts | 2 +- .../__tests__/validateWorkspaces.test.ts | 44 +- .../activity/helpers/groupChanges.test.ts | 2 +- .../TaskNotificationTarget.test.tsx | 2 +- .../enabled/TasksEnabledProvider.test.tsx | 63 +- .../context/enabled/TasksEnabledProvider.tsx | 4 +- .../plugin/TasksFooterOpenTasks.test.tsx | 61 +- .../tasks/plugin/TasksFooterOpenTasks.tsx | 2 +- .../__snapshots__/prepare.test.ts.snap | 30 +- .../core/templates/__tests__/prepare.test.ts | 2 +- .../core/templates/__tests__/resolve.test.ts | 12 +- .../templates/__tests__/resolveDeep.test.ts | 2 +- .../core/templates/util/deepAssign.test.ts | 2 +- .../__tests__/userColorManager.test.ts | 6 +- .../createHookFromObservableFactory.test.tsx | 10 +- .../sanity/src/core/util/draftUtils.test.ts | 2 +- .../sanity/src/core/util/searchUtils.test.ts | 2 +- .../sanity/src/core/util/userHasRole.test.ts | 2 +- .../createBatchedGetDocumentExists.test.ts | 8 +- .../sanity/src/router/IntentLink.test.tsx | 2 +- .../sanity/src/router/__test__/api.test.ts | 2 +- .../src/router/__test__/base64url.test.ts | 2 +- .../src/router/__test__/basepath.test.ts | 2 +- .../sanity/src/router/__test__/errors.test.ts | 2 +- .../src/router/__test__/factory.test.ts | 2 +- .../router/__test__/findMatchingNodes.test.ts | 2 +- .../__test__/resolvePathFromState.test.ts | 2 +- .../__test__/resolveStateFromPath.test.ts | 2 +- .../sanity/src/router/__test__/scope.test.ts | 2 +- .../src/router/__test__/transform.test.ts | 2 +- .../router/__test__/urlSearchParams.test.ts | 2 +- .../sanity/src/router/__test__/usage.test.ts | 2 +- .../src/structure/__tests__/router.test.ts | 2 +- .../__tests__/index.test.tsx | 2 +- .../pane/helpers/_calcPaneResize.test.ts | 2 +- .../pane/paneLayoutController.test.ts | 4 +- .../structureTool/StructureTitle.test.tsx | 38 +- .../header/DocumentHeaderTitle.test.tsx | 16 +- .../__tests__/PaneContainer.test.tsx | 41 +- .../documentList/__tests__/helpers.test.ts | 2 +- .../__tests__/ColumnsControl.test.tsx | 4 +- .../__tests__/DocumentSheetListPane.test.tsx | 18 +- .../DocumentSheetListSelect.test.tsx | 10 +- .../__tests__/useDocumentSheetColumns.test.ts | 8 +- .../util/__tests__/getStructureNodeId.test.ts | 2 +- .../__tests__/assignId.test.ts | 2 +- .../__tests__/memoBind.test.ts | 2 +- .../__tests__/resolveIntent.test.ts | 10 +- .../__snapshots__/extract.test.ts.snap | 736 +- .../graphql/__snapshots__/gen2.test.ts.snap | 2172 +- .../graphql/__snapshots__/gen3.test.ts.snap | 18554 +++++++-------- .../sanity/test/cli/graphql/extract.test.ts | 11 +- packages/sanity/test/cli/graphql/gen2.test.ts | 8 +- packages/sanity/test/cli/graphql/gen3.test.ts | 8 +- packages/sanity/test/form/index.ts | 1 - .../test/form/renderArrayOfObjectsInput.tsx | 101 - packages/sanity/test/form/renderInput.tsx | 40 +- .../sanity/test/form/renderObjectInput.tsx | 16 +- .../test/manifest/extractManifest.test.ts | 2 +- .../manifest/extractManifestRestore.test.ts | 2 +- .../extractManifestValidation.test.ts | 2 +- packages/sanity/test/setup/afterEnv.ts | 6 - packages/sanity/test/setup/environment.ts | 41 +- .../__snapshots__/array.test.ts.snap | 172 +- .../__snapshots__/children.test.ts.snap | 106 +- .../__snapshots__/dates.test.ts.snap | 82 +- .../__snapshots__/generics.test.ts.snap | 70 +- .../__snapshots__/numbers.test.ts.snap | 148 +- .../__snapshots__/strings.test.ts.snap | 298 +- packages/sanity/test/validation/array.test.ts | 2 +- .../sanity/test/validation/children.test.ts | 2 +- packages/sanity/test/validation/dates.test.ts | 2 +- .../sanity/test/validation/generics.test.ts | 2 +- packages/sanity/test/validation/infer.test.ts | 9 +- .../test/validation/mocks/mockSanityClient.ts | 6 +- .../sanity/test/validation/numbers.test.ts | 2 +- .../sanity/test/validation/strings.test.ts | 2 +- .../util/normalizeValidationRules.test.ts | 2 +- .../test/validation/util/typeString.test.ts | 2 +- .../test/validation/validateDocument.test.ts | 20 +- packages/sanity/vitest.config.mts | 25 + pnpm-lock.yaml | 12 +- vitest.workspace.ts | 1 + 202 files changed, 22088 insertions(+), 22198 deletions(-) delete mode 100644 packages/sanity/jest.config.mjs rename packages/sanity/src/core/studio/copyPaste/__test__/{jestClipboard.ts => viClipboard.ts} (100%) delete mode 100644 packages/sanity/test/form/renderArrayOfObjectsInput.tsx delete mode 100644 packages/sanity/test/setup/afterEnv.ts create mode 100644 packages/sanity/vitest.config.mts diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d11d975026f..52753028c36 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,5 +71,6 @@ jobs: - name: Test id: test run: | - node -v - pnpm test:vitest + pnpm test:vitest --shard=${{ matrix.shardIndex}}/${{ matrix.shardTotal }} + env: + GITHUB_SHARD_IDENTIFIER: ${{ matrix.shardIndex }}-${{ matrix.shardTotal }} diff --git a/packages/sanity/jest.config.mjs b/packages/sanity/jest.config.mjs deleted file mode 100644 index 5a3590d1488..00000000000 --- a/packages/sanity/jest.config.mjs +++ /dev/null @@ -1,15 +0,0 @@ -import path from 'node:path' -import {createJestConfig, readPackageName, resolveDirName} from '@repo/test-config/jest' - -const cliPath = path.resolve(resolveDirName(import.meta.url), './src/_internal/cli') - -export default createJestConfig({ - displayName: readPackageName(import.meta.url), - globalSetup: '/test/setup/global.ts', - setupFiles: ['/test/setup/environment.ts'], - setupFilesAfterEnv: ['/test/setup/afterEnv.ts'], - modulePathIgnorePatterns: [ - '/playwright-ct', - cliPath, // the CLI has its own jest config - ], -}) diff --git a/packages/sanity/package.json b/packages/sanity/package.json index 02cce4bdcff..80716247b56 100644 --- a/packages/sanity/package.json +++ b/packages/sanity/package.json @@ -139,10 +139,10 @@ "build:bundle": "vite build --config package.bundle.ts", "check:types": "tsc --project tsconfig.lib.json", "clean": "rimraf _internal.js _singletons.js _createContext.js cli.js desk.js migrate.js presentation.js router.js structure.js lib", - "coverage": "jest --coverage", + "coverage": "vitest --coverage", "lint": "eslint .", "prepublishOnly": "turbo run build", - "test": "pkg-utils --strict && jest", + "test": "vitest run", "test:ct": "rimraf playwright-ct/template/.cache && playwright test -c playwright-ct.config.ts", "watch": "pkg-utils watch", "write:playwright-report-as-pr-comment": "node -r esbuild-register playwright-ct/scripts/parsePlaywrightReportJson.ts" @@ -299,6 +299,7 @@ "@types/rimraf": "^3.0.2", "@types/semver": "^6.2.3", "@types/tar-fs": "^2.0.1", + "@vitejs/plugin-react": "^4.3.1", "@vvo/tzdb": "6.137.0", "blob-polyfill": "^9.0.20240710", "date-fns-tz": "2.0.1", @@ -307,7 +308,8 @@ "rimraf": "^3.0.2", "rxjs-etc": "^10.6.2", "styled-components": "^6.1.13", - "swr": "2.2.5" + "swr": "2.2.5", + "vitest": "2.1.1" }, "peerDependencies": { "react": "^18", diff --git a/packages/sanity/src/core/comments/__tests__/buildCommentBreadcrumbs.test.ts b/packages/sanity/src/core/comments/__tests__/buildCommentBreadcrumbs.test.ts index 7d683ab08f2..2a8c771559e 100644 --- a/packages/sanity/src/core/comments/__tests__/buildCommentBreadcrumbs.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildCommentBreadcrumbs.test.ts @@ -1,6 +1,6 @@ -import {describe, expect, test} from '@jest/globals' import {Schema} from '@sanity/schema' import {type CurrentUser, defineField} from '@sanity/types' +import {describe, expect, test} from 'vitest' import {buildCommentBreadcrumbs} from '../utils' diff --git a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedBefore.test.ts b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedBefore.test.ts index 05edd4a63a8..e5646b11fde 100644 --- a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedBefore.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedBefore.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../../types' import {buildRangeDecorationSelectionsFromComments, COMMENT_INDICATORS} from '../../utils' diff --git a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedInside.test.ts b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedInside.test.ts index 3587fc9f3fb..546429ea2aa 100644 --- a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedInside.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedInside.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../../types' import {buildRangeDecorationSelectionsFromComments, COMMENT_INDICATORS} from '../../utils' diff --git a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedInsideOutside.test.ts b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedInsideOutside.test.ts index d604acfde3a..663c2c6ecf9 100644 --- a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedInsideOutside.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/boldedInsideOutside.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../../types' import {buildRangeDecorationSelectionsFromComments, COMMENT_INDICATORS} from '../../utils' diff --git a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/deleteAfterSingleWord.test.ts b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/deleteAfterSingleWord.test.ts index a1318ba953b..b1e364a2663 100644 --- a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/deleteAfterSingleWord.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/deleteAfterSingleWord.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../../types' import {buildRangeDecorationSelectionsFromComments, COMMENT_INDICATORS} from '../../utils' diff --git a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/dramaticallyChanged.test.ts b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/dramaticallyChanged.test.ts index a71a274caeb..ae9bce8d3da 100644 --- a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/dramaticallyChanged.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/dramaticallyChanged.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../../types' import {buildRangeDecorationSelectionsFromComments, COMMENT_INDICATORS} from '../../utils' diff --git a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/editInsideSingleWord.test.ts b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/editInsideSingleWord.test.ts index f35b73140e9..d27c27d9845 100644 --- a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/editInsideSingleWord.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/editInsideSingleWord.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../../types' import {buildRangeDecorationSelectionsFromComments, COMMENT_INDICATORS} from '../../utils' diff --git a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/editOutSideSingleWord.test.ts b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/editOutSideSingleWord.test.ts index f058f202cef..e3972bf7821 100644 --- a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/editOutSideSingleWord.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/editOutSideSingleWord.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../../types' import {buildRangeDecorationSelectionsFromComments, COMMENT_INDICATORS} from '../../utils' diff --git a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/exact.test.ts b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/exact.test.ts index 0cf7f74d79b..fcb0aedff4f 100644 --- a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/exact.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/exact.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../../types' import {buildRangeDecorationSelectionsFromComments, COMMENT_INDICATORS} from '../../utils' diff --git a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/similarWordAdded.test.ts b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/similarWordAdded.test.ts index 367e4410149..6b506e2f8e9 100644 --- a/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/similarWordAdded.test.ts +++ b/packages/sanity/src/core/comments/__tests__/buildRangeDecorationSelectionsFromComments/similarWordAdded.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../../types' import {buildRangeDecorationSelectionsFromComments, COMMENT_INDICATORS} from '../../utils' diff --git a/packages/sanity/src/core/comments/__tests__/mergeCommentReactions.test.ts b/packages/sanity/src/core/comments/__tests__/mergeCommentReactions.test.ts index 8a00b1b2078..906ae5779de 100644 --- a/packages/sanity/src/core/comments/__tests__/mergeCommentReactions.test.ts +++ b/packages/sanity/src/core/comments/__tests__/mergeCommentReactions.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentReactionItem} from '../types' import {mergeCommentReactions} from '../utils/mergeCommentReactions' diff --git a/packages/sanity/src/core/comments/__tests__/transformChildren.test.tsx b/packages/sanity/src/core/comments/__tests__/transformChildren.test.tsx index 12a2283c5bd..5f393d0f09d 100644 --- a/packages/sanity/src/core/comments/__tests__/transformChildren.test.tsx +++ b/packages/sanity/src/core/comments/__tests__/transformChildren.test.tsx @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {transformChildren} from '../utils' import {onClick} from '../utils/transform-children/linkMiddleware' diff --git a/packages/sanity/src/core/comments/__tests__/weakenReferencesInContentSnapshot.test.ts b/packages/sanity/src/core/comments/__tests__/weakenReferencesInContentSnapshot.test.ts index af78c985c0b..c68c99bccef 100644 --- a/packages/sanity/src/core/comments/__tests__/weakenReferencesInContentSnapshot.test.ts +++ b/packages/sanity/src/core/comments/__tests__/weakenReferencesInContentSnapshot.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type CommentDocument} from '../types' import {weakenReferencesInContentSnapshot} from '../utils' diff --git a/packages/sanity/src/core/components/commandList/__tests__/CommandList.test.tsx b/packages/sanity/src/core/components/commandList/__tests__/CommandList.test.tsx index ce75f7425b8..a47711048cc 100644 --- a/packages/sanity/src/core/components/commandList/__tests__/CommandList.test.tsx +++ b/packages/sanity/src/core/components/commandList/__tests__/CommandList.test.tsx @@ -1,8 +1,8 @@ -import {describe, expect, it} from '@jest/globals' import {studioTheme, ThemeProvider} from '@sanity/ui' import {render, screen} from '@testing-library/react' import userEvent from '@testing-library/user-event' import {useCallback} from 'react' +import {describe, expect, it} from 'vitest' import {CommandList} from '../CommandList' diff --git a/packages/sanity/src/core/components/errorActions/useCopyErrorDetails.test.ts b/packages/sanity/src/core/components/errorActions/useCopyErrorDetails.test.ts index c58be50d6b9..33b9047348e 100644 --- a/packages/sanity/src/core/components/errorActions/useCopyErrorDetails.test.ts +++ b/packages/sanity/src/core/components/errorActions/useCopyErrorDetails.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {firstValueFrom, map, of} from 'rxjs' +import {describe, expect, it} from 'vitest' import {type ErrorWithId} from './types' import {serializeError} from './useCopyErrorDetails' diff --git a/packages/sanity/src/core/components/rovingFocus/__tests__/useRovingFocus.test.tsx b/packages/sanity/src/core/components/rovingFocus/__tests__/useRovingFocus.test.tsx index e67119c761b..b7c582cddd8 100644 --- a/packages/sanity/src/core/components/rovingFocus/__tests__/useRovingFocus.test.tsx +++ b/packages/sanity/src/core/components/rovingFocus/__tests__/useRovingFocus.test.tsx @@ -1,8 +1,8 @@ -import {describe, expect, it} from '@jest/globals' import {Card, studioTheme, ThemeProvider} from '@sanity/ui' import {fireEvent, render} from '@testing-library/react' import userEvent from '@testing-library/user-event' import {useState} from 'react' +import {describe, expect, it} from 'vitest' import {Button} from '../../../../ui-components' import {type RovingFocusProps} from '../types' diff --git a/packages/sanity/src/core/config/__tests__/createPlugin.test.ts b/packages/sanity/src/core/config/__tests__/createPlugin.test.ts index 1f90c2249f9..e46f71f28dd 100644 --- a/packages/sanity/src/core/config/__tests__/createPlugin.test.ts +++ b/packages/sanity/src/core/config/__tests__/createPlugin.test.ts @@ -1,4 +1,4 @@ -import {describe, it} from '@jest/globals' +import {describe, it} from 'vitest' describe('createPlugin', () => { it.todo('normalizes its input to a function') diff --git a/packages/sanity/src/core/config/__tests__/resolveConfig.test.ts b/packages/sanity/src/core/config/__tests__/resolveConfig.test.ts index 45554270565..34cb13bea71 100644 --- a/packages/sanity/src/core/config/__tests__/resolveConfig.test.ts +++ b/packages/sanity/src/core/config/__tests__/resolveConfig.test.ts @@ -1,7 +1,7 @@ -import {describe, expect, it} from '@jest/globals' import {createClient} from '@sanity/client' import {firstValueFrom, lastValueFrom, of} from 'rxjs' import {bufferTime} from 'rxjs/operators' +import {describe, expect, it} from 'vitest' import {createMockAuthStore} from '../../store' import {definePlugin} from '../definePlugin' diff --git a/packages/sanity/src/core/config/__tests__/resolveConfigProperty.test.ts b/packages/sanity/src/core/config/__tests__/resolveConfigProperty.test.ts index f5dacf24f81..15e3e709bfe 100644 --- a/packages/sanity/src/core/config/__tests__/resolveConfigProperty.test.ts +++ b/packages/sanity/src/core/config/__tests__/resolveConfigProperty.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it, jest} from '@jest/globals' import {type SchemaTypeDefinition} from '@sanity/types' +import {describe, expect, it, vi} from 'vitest' import {definePlugin} from '../definePlugin' import {resolveConfigProperty} from '../resolveConfigProperty' @@ -51,7 +51,7 @@ describe('resolveConfigProperty', () => { const context = {} // eslint-disable-next-line @typescript-eslint/no-unused-vars - const reducer = jest.fn>( + const reducer = vi.fn>( (prev, config, _context) => { return [...prev, ...((config.schema?.types || []) as SchemaTypeDefinition[])] }, @@ -122,7 +122,7 @@ describe('resolveConfigProperty', () => { const context = {} // eslint-disable-next-line @typescript-eslint/no-unused-vars - const asyncReducer = jest.fn>( + const asyncReducer = vi.fn>( async (prev, config, _context) => { await new Promise((resolve) => setTimeout(resolve, 0)) return [...prev, ...((config.schema?.types || []) as SchemaTypeDefinition[])] @@ -176,7 +176,7 @@ describe('resolveConfigProperty', () => { }, }), ).rejects.toMatchInlineSnapshot( - `"An error occurred while resolving \`example\` from plugin \`config\` > plugin \`deep\` > plugin \`deeper\` > plugin \`deepest\`: example error"`, + `[ConfigPropertyError: An error occurred while resolving \`example\` from config > deep > deeper > deepest: example error]`, ) }) }) diff --git a/packages/sanity/src/core/environment/hasSanityPackageInImportMap.test.ts b/packages/sanity/src/core/environment/hasSanityPackageInImportMap.test.ts index 7de229f4677..53b3300a450 100644 --- a/packages/sanity/src/core/environment/hasSanityPackageInImportMap.test.ts +++ b/packages/sanity/src/core/environment/hasSanityPackageInImportMap.test.ts @@ -1,12 +1,12 @@ -import {describe, expect, it, jest} from '@jest/globals' +import {describe, expect, it, vi} from 'vitest' import {hasSanityPackageInImportMap} from './hasSanityPackageInImportMap' -const querySelectorAllSpy = jest.spyOn(document, 'querySelectorAll') +const querySelectorAllSpy = vi.spyOn(document, 'querySelectorAll') describe('hasSanityPackageInImportMap', () => { it('should return false if document is undefined', () => { - const documentSpy = jest.spyOn(global, 'document', 'get') + const documentSpy = vi.spyOn(global, 'document', 'get') documentSpy.mockReturnValueOnce(undefined as any) expect(hasSanityPackageInImportMap()).toBe(false) }) diff --git a/packages/sanity/src/core/field/conditional-property/__snapshots__/useConditionalProperty.test.tsx.snap b/packages/sanity/src/core/field/conditional-property/__snapshots__/useConditionalProperty.test.tsx.snap index 65b82598513..191c7e58657 100644 --- a/packages/sanity/src/core/field/conditional-property/__snapshots__/useConditionalProperty.test.tsx.snap +++ b/packages/sanity/src/core/field/conditional-property/__snapshots__/useConditionalProperty.test.tsx.snap @@ -1,22 +1,22 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`Conditional property resolver calls callback function 1`] = ` -Array [ - Array [ - Object { - "currentUser": Object { +exports[`Conditional property resolver > calls callback function 1`] = ` +[ + [ + { + "currentUser": { "email": "doug@sanity.io", "id": "doug", "name": "Doug", "role": "admin", - "roles": Array [ - Object { + "roles": [ + { "name": "administrator", "title": "Administrator", }, ], }, - "document": Object { + "document": { "_createdAt": "2021-11-04T15:41:48Z", "_id": "drafts.10053a07-8647-4ebd-9d1d-33a512d30d3a", "_rev": "5hb8s6-k75-ip4-4bq-5ztbf3fbx", @@ -24,20 +24,20 @@ Array [ "_updatedAt": "2021-11-05T12:34:29Z", "isPublished": true, "title": "Hello world", - "venue": Object { - "address": Object { + "venue": { + "address": { "city": "Oakland", "state": "California", "street": "2421 Telegraph Ave #102", "zip": 94612, }, - "location": Object { + "location": { "lat": 37.813563, "lng": -122.268812, }, }, }, - "parent": Object { + "parent": { "parentTest": "hello", "siblingProp": true, }, diff --git a/packages/sanity/src/core/field/conditional-property/useConditionalProperty.test.tsx b/packages/sanity/src/core/field/conditional-property/useConditionalProperty.test.tsx index 5d97ccbb608..295d62bae1e 100644 --- a/packages/sanity/src/core/field/conditional-property/useConditionalProperty.test.tsx +++ b/packages/sanity/src/core/field/conditional-property/useConditionalProperty.test.tsx @@ -1,6 +1,6 @@ -import {afterEach, describe, expect, it, jest} from '@jest/globals' import {type ConditionalPropertyCallback} from '@sanity/types' import {renderHook} from '@testing-library/react' +import {afterEach, describe, expect, it, vi} from 'vitest' import {createTestProvider} from '../../../../test/testUtils/TestProvider' import { @@ -38,14 +38,14 @@ const DEFAULT_PROPS: Omit = { } afterEach(() => { - jest.resetAllMocks() + vi.resetAllMocks() }) describe('Conditional property resolver', () => { /* eslint-disable max-nested-callbacks */ it('calls callback function', async () => { const TestWrapper = await createTestProvider() - const callbackFn = jest.fn(() => true) + const callbackFn = vi.fn(() => true) renderHook( () => @@ -66,7 +66,7 @@ describe('Conditional property resolver', () => { const {result} = renderHook( () => useConditionalProperty({ - checkProperty: jest.fn(() => true), + checkProperty: vi.fn(() => true), ...DEFAULT_PROPS, }), {wrapper: TestWrapper}, @@ -79,7 +79,7 @@ describe('Conditional property resolver', () => { const {result} = renderHook( () => useConditionalProperty({ - checkProperty: jest.fn(() => false), + checkProperty: vi.fn(() => false), ...DEFAULT_PROPS, }), {wrapper: TestWrapper}, @@ -92,7 +92,7 @@ describe('Conditional property resolver', () => { const {result} = renderHook( () => useConditionalProperty({ - checkProperty: jest.fn( + checkProperty: vi.fn( ({document}) => document?.title !== 'Hello world', ), ...DEFAULT_PROPS, @@ -107,7 +107,7 @@ describe('Conditional property resolver', () => { const {result} = renderHook( () => useConditionalProperty({ - checkProperty: jest.fn(({document}) => + checkProperty: vi.fn(({document}) => Boolean(document?.isPublished), ), ...DEFAULT_PROPS, @@ -118,12 +118,12 @@ describe('Conditional property resolver', () => { }) it('returns undefined because callback returns undefined', async () => { - const consoleSpy = jest.spyOn(console, 'warn').mockImplementation(() => undefined) + const consoleSpy = vi.spyOn(console, 'warn').mockImplementation(() => undefined) const TestWrapper = await createTestProvider() const {result} = renderHook( () => useConditionalProperty({ - checkProperty: jest.fn(() => undefined) as any, + checkProperty: vi.fn(() => undefined) as any, ...DEFAULT_PROPS, }), {wrapper: TestWrapper}, @@ -139,7 +139,7 @@ describe('Conditional property resolver', () => { const {result} = renderHook( () => useConditionalProperty({ - checkProperty: jest.fn(({value}) => value === 'test value'), + checkProperty: vi.fn(({value}) => value === 'test value'), ...DEFAULT_PROPS, value: 'test value', }), @@ -153,7 +153,7 @@ describe('Conditional property resolver', () => { const {result} = renderHook( () => useConditionalProperty({ - checkProperty: jest.fn(({value}) => value === 'test'), + checkProperty: vi.fn(({value}) => value === 'test'), ...DEFAULT_PROPS, value: 'test value', }), @@ -167,7 +167,7 @@ describe('Conditional property resolver', () => { const {result} = renderHook( () => useConditionalProperty({ - checkProperty: jest.fn( + checkProperty: vi.fn( ({currentUser}) => !currentUser?.roles.some((role) => role.name === 'developer'), ), ...DEFAULT_PROPS, @@ -183,7 +183,7 @@ describe('Conditional property resolver', () => { const {result} = renderHook( () => useConditionalProperty({ - checkProperty: jest.fn(({currentUser}) => + checkProperty: vi.fn(({currentUser}) => Boolean(currentUser?.roles.some((role) => role.name === 'administrator')), ), ...DEFAULT_PROPS, @@ -203,9 +203,7 @@ describe('Conditional property resolver', () => { document: dummyDocument, value: dummyDocument.venue.address, parent: dummyDocument.venue, - checkProperty: jest.fn(({parent}) => - Boolean(parent.location), - ), + checkProperty: vi.fn(({parent}) => Boolean(parent.location)), }), {wrapper: TestWrapper}, ) diff --git a/packages/sanity/src/core/form/hooks/__tests__/useDidUpdate.test.ts b/packages/sanity/src/core/form/hooks/__tests__/useDidUpdate.test.ts index ec78b34059d..6c994e9deea 100644 --- a/packages/sanity/src/core/form/hooks/__tests__/useDidUpdate.test.ts +++ b/packages/sanity/src/core/form/hooks/__tests__/useDidUpdate.test.ts @@ -1,7 +1,7 @@ -import {describe, expect, it, jest} from '@jest/globals' /* eslint-disable max-nested-callbacks */ import {renderHook} from '@testing-library/react' import {StrictMode} from 'react' +import {describe, expect, it, vi} from 'vitest' import {useDidUpdate} from '../useDidUpdate' @@ -10,7 +10,7 @@ describe('useDidUpdate', () => { it('calls the didUpdate callback when the value changes', () => { const previousValue = {foo: 'bar'} const currentValue = {foo: 'baz'} - const didUpdate = jest.fn() + const didUpdate = vi.fn() const {rerender} = renderHook(({value}) => useDidUpdate(value, didUpdate), { initialProps: {value: previousValue}, @@ -27,8 +27,8 @@ describe('useDidUpdate', () => { it('calls the compare function when it is passed', () => { const previousValue = {foo: 'bar'} const currentValue = {foo: 'baz'} - const compare = jest.fn(() => false) - const didUpdate = jest.fn() + const compare = vi.fn(() => false) + const didUpdate = vi.fn() const {rerender} = renderHook(({value}) => useDidUpdate(value, didUpdate, compare), { initialProps: {value: previousValue}, @@ -47,7 +47,7 @@ describe('useDidUpdate', () => { it('does not call the didUpdate callback when the value does not change', () => { const previousValue = {foo: 'bar'} const currentValue = {foo: 'bar'} - const didUpdate = jest.fn() + const didUpdate = vi.fn() const {rerender} = renderHook(({value}) => useDidUpdate(value, didUpdate), { initialProps: {value: previousValue}, @@ -68,7 +68,7 @@ describe('useDidUpdate', () => { it('calls the didUpdate callback when the value changes', () => { const previousValue = {foo: 'bar'} const currentValue = {foo: 'baz'} - const didUpdate = jest.fn() + const didUpdate = vi.fn() const {rerender} = renderHook(({value}) => useDidUpdate(value, didUpdate), { initialProps: {value: previousValue}, @@ -86,8 +86,8 @@ describe('useDidUpdate', () => { it('calls the compare function when it is passed', () => { const previousValue = {foo: 'bar'} const currentValue = {foo: 'baz'} - const compare = jest.fn(() => false) - const didUpdate = jest.fn() + const compare = vi.fn(() => false) + const didUpdate = vi.fn() const {rerender} = renderHook(({value}) => useDidUpdate(value, didUpdate, compare), { initialProps: {value: previousValue}, @@ -107,7 +107,7 @@ describe('useDidUpdate', () => { it('does not call the didUpdate callback when the value does not change', () => { const previousValue = {foo: 'bar'} const currentValue = {foo: 'bar'} - const didUpdate = jest.fn() + const didUpdate = vi.fn() const {rerender} = renderHook(({value}) => useDidUpdate(value, didUpdate), { initialProps: {value: previousValue}, diff --git a/packages/sanity/src/core/form/hooks/__tests__/usePrevious.test.ts b/packages/sanity/src/core/form/hooks/__tests__/usePrevious.test.ts index 60068c59e13..191f685b290 100644 --- a/packages/sanity/src/core/form/hooks/__tests__/usePrevious.test.ts +++ b/packages/sanity/src/core/form/hooks/__tests__/usePrevious.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {renderHook} from '@testing-library/react' +import {describe, expect, it} from 'vitest' import {usePrevious} from '../usePrevious' diff --git a/packages/sanity/src/core/form/hooks/__tests__/useScrollIntoViewOnFocusWithin.test.ts b/packages/sanity/src/core/form/hooks/__tests__/useScrollIntoViewOnFocusWithin.test.ts index 5aadf2571a7..5a481b4477a 100644 --- a/packages/sanity/src/core/form/hooks/__tests__/useScrollIntoViewOnFocusWithin.test.ts +++ b/packages/sanity/src/core/form/hooks/__tests__/useScrollIntoViewOnFocusWithin.test.ts @@ -1,21 +1,23 @@ -import {beforeEach, describe, expect, jest, test} from '@jest/globals' import {renderHook} from '@testing-library/react' import scrollIntoView from 'scroll-into-view-if-needed' +import {beforeEach, describe, expect, test, vi} from 'vitest' import * as useDidUpdate from '../useDidUpdate' import {useScrollIntoViewOnFocusWithin} from '../useScrollIntoViewOnFocusWithin' -jest.mock('scroll-into-view-if-needed', () => jest.fn()) +vi.mock('scroll-into-view-if-needed', () => ({ + default: vi.fn(), +})) describe('useScrollIntoViewOnFocusWithin', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) test('should scroll when hasFocusWithin is true', () => { const elementRef = {current: document.createElement('div')} const hasFocusWithin = true - const useDidUpdateSpy = jest.spyOn(useDidUpdate, 'useDidUpdate') + const useDidUpdateSpy = vi.spyOn(useDidUpdate, 'useDidUpdate') renderHook(() => useScrollIntoViewOnFocusWithin(elementRef, hasFocusWithin)) @@ -27,7 +29,7 @@ describe('useScrollIntoViewOnFocusWithin', () => { test('should scroll when hasFocusWithin changes from false to true', () => { const elementRef = {current: document.createElement('div')} const hasFocusWithin = false - const useDidUpdateSpy = jest.spyOn(useDidUpdate, 'useDidUpdate') + const useDidUpdateSpy = vi.spyOn(useDidUpdate, 'useDidUpdate') const {rerender} = renderHook( (props) => useScrollIntoViewOnFocusWithin(elementRef, props.hasFocusWithin), @@ -41,7 +43,7 @@ describe('useScrollIntoViewOnFocusWithin', () => { expect(scrollIntoView).not.toHaveBeenCalled() // clear all mocks - jest.clearAllMocks() + vi.clearAllMocks() const newHasFocusWithin = true rerender({hasFocusWithin: newHasFocusWithin}) @@ -54,7 +56,7 @@ describe('useScrollIntoViewOnFocusWithin', () => { test('should not scroll when hasFocusWithin changes from true to false', () => { const elementRef = {current: document.createElement('div')} const hasFocusWithin = true - const useDidUpdateSpy = jest.spyOn(useDidUpdate, 'useDidUpdate') + const useDidUpdateSpy = vi.spyOn(useDidUpdate, 'useDidUpdate') const {rerender} = renderHook( (props) => useScrollIntoViewOnFocusWithin(elementRef, props.hasFocusWithin), @@ -67,7 +69,7 @@ describe('useScrollIntoViewOnFocusWithin', () => { expect(useDidUpdateSpy.mock.calls[0][0]).toBe(hasFocusWithin) expect(scrollIntoView).toHaveBeenCalledTimes(1) - jest.clearAllMocks() + vi.clearAllMocks() const newHasFocusWithin = false rerender({hasFocusWithin: newHasFocusWithin}) @@ -79,7 +81,7 @@ describe('useScrollIntoViewOnFocusWithin', () => { test('should not scroll when hasFocusWithin has not changed', () => { const elementRef = {current: document.createElement('div')} const hasFocusWithin = true - const useDidUpdateSpy = jest.spyOn(useDidUpdate, 'useDidUpdate') + const useDidUpdateSpy = vi.spyOn(useDidUpdate, 'useDidUpdate') const {rerender} = renderHook( (props) => useScrollIntoViewOnFocusWithin(elementRef, props.hasFocusWithin), @@ -92,7 +94,7 @@ describe('useScrollIntoViewOnFocusWithin', () => { expect(useDidUpdateSpy.mock.calls[0][0]).toBe(hasFocusWithin) expect(scrollIntoView).toHaveBeenCalledTimes(1) - jest.clearAllMocks() + vi.clearAllMocks() const newHasFocusWithin = true rerender({hasFocusWithin: newHasFocusWithin}) diff --git a/packages/sanity/src/core/form/inputs/BooleanInput.test.tsx b/packages/sanity/src/core/form/inputs/BooleanInput.test.tsx index 1742f78d744..5d95669e764 100644 --- a/packages/sanity/src/core/form/inputs/BooleanInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/BooleanInput.test.tsx @@ -1,7 +1,7 @@ -import {describe, expect, it} from '@jest/globals' import {defineField} from '@sanity/types' import {fireEvent, screen, waitFor} from '@testing-library/react' import userEvent from '@testing-library/user-event' +import {describe, expect, it} from 'vitest' import {renderBooleanInput} from '../../../../test/form/renderBooleanInput' import {BooleanInput} from './BooleanInput' diff --git a/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/__tests__/CrossDatasetReferenceInput.test.tsx b/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/__tests__/CrossDatasetReferenceInput.test.tsx index fb417520103..efb67a50345 100644 --- a/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/__tests__/CrossDatasetReferenceInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/CrossDatasetReferenceInput/__tests__/CrossDatasetReferenceInput.test.tsx @@ -1,9 +1,9 @@ -import {describe, expect, jest, test} from '@jest/globals' /* eslint-disable camelcase */ import {type SanityClient} from '@sanity/client' import {act, waitForElementToBeRemoved, within} from '@testing-library/react' import userEvent from '@testing-library/user-event' import {of} from 'rxjs' +import {describe, expect, test, vi} from 'vitest' import {renderCrossDatasetReferenceInput} from '../../../../../../test/form' import {createMockSanityClient} from '../../../../../../test/mocks/mockSanityClient' @@ -78,7 +78,7 @@ describe('render states', () => { const client = createMockSanityClient({requests: {'/features': featureEnabledRequest}}) const TestProvider = await createWrapperComponent(client as any) - const getReferenceInfo = jest.fn(() => + const getReferenceInfo = vi.fn(() => of({ id: 'foo', type: 'product', @@ -129,7 +129,7 @@ describe('render states', () => { const client = createMockSanityClient({requests: {'/features': featureEnabledRequest}}) const TestProvider = await createWrapperComponent(client as any) - const getReferenceInfo = jest.fn(() => + const getReferenceInfo = vi.fn(() => of({ id: 'foo', type: 'product', @@ -182,7 +182,7 @@ describe('render states', () => { const client = createMockSanityClient({requests: {'/features': featureDisabledRequest}}) const TestProvider = await createWrapperComponent(client as any) - const getReferenceInfo = jest.fn(() => + const getReferenceInfo = vi.fn(() => of({ id: 'foo', type: 'product', @@ -236,7 +236,7 @@ describe('user interaction happy paths', () => { const client = createMockSanityClient({requests: {'/features': featureEnabledRequest}}) const TestProvider = await createWrapperComponent(client as any) - const handleSearch = jest.fn(() => + const handleSearch = vi.fn(() => of([ {id: 'one', type: 'product', published: {_id: 'one', _type: 'product'}}, {id: 'two', type: 'product', published: {_id: 'two', _type: 'product'}}, @@ -324,7 +324,7 @@ describe('user interaction happy paths', () => { const client = createMockSanityClient({requests: {'/features': featureEnabledRequest}}) const TestProvider = await createWrapperComponent(client as any) - const handleSearch = jest.fn(() => + const handleSearch = vi.fn(() => of([ {id: 'one', type: 'product', published: {_id: 'one', _type: 'product'}}, {id: 'two', type: 'product', published: {_id: 'two', _type: 'product'}}, diff --git a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/CommonDateTimeInput.test.tsx b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/CommonDateTimeInput.test.tsx index f29e1f1a8df..56ddecafe87 100644 --- a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/CommonDateTimeInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/CommonDateTimeInput.test.tsx @@ -1,4 +1,3 @@ -import {expect, jest, test} from '@jest/globals' import {defineField} from '@sanity/types' import { DEFAULT_DATE_FORMAT, @@ -8,6 +7,7 @@ import { } from '@sanity/util/legacyDateFormat' import {fireEvent} from '@testing-library/react' import userEvent from '@testing-library/user-event' +import {expect, test, vi} from 'vitest' import {renderStringInput} from '../../../../../../test/form' import {type CalendarLabels} from '../base/calendar/types' @@ -64,7 +64,7 @@ const CALENDAR_LABELS: CalendarLabels = { } async function renderInput() { - const onChange = jest.fn() + const onChange = vi.fn() const ret = await renderStringInput({ fieldDefinition: defineField({ diff --git a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/DateInput.test.tsx b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/DateInput.test.tsx index 2d120038b0d..f92436f834c 100644 --- a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/DateInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/DateInput.test.tsx @@ -1,7 +1,7 @@ -import {expect, test} from '@jest/globals' import {defineField} from '@sanity/types' import {fireEvent} from '@testing-library/react' import userEvent from '@testing-library/user-event' +import {expect, test} from 'vitest' import {renderStringInput} from '../../../../../../test/form' import {DateInput} from '../DateInput' diff --git a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/DateTimeInput.test.tsx b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/DateTimeInput.test.tsx index 928951dda7a..4909565b8ef 100644 --- a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/DateTimeInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/DateTimeInput.test.tsx @@ -1,7 +1,7 @@ -import {expect, test} from '@jest/globals' import {defineField} from '@sanity/types' import {fireEvent} from '@testing-library/react' import userEvent from '@testing-library/user-event' +import {expect, test} from 'vitest' import {renderStringInput} from '../../../../../../test/form' import {DateTimeInput} from '../DateTimeInput' diff --git a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/__snapshots__/DateInput.test.tsx.snap b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/__snapshots__/DateInput.test.tsx.snap index baf4c90b306..80a53cdd65d 100644 --- a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/__snapshots__/DateInput.test.tsx.snap +++ b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/__snapshots__/DateInput.test.tsx.snap @@ -1,11 +1,11 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`emits onChange on correct format if a valid value has been typed 1`] = ` -Array [ - Array [ - Object { +[ + [ + { "patchType": Symbol(sanity.patch), - "path": Array [], + "path": [], "type": "set", "value": "2021-03-28", }, diff --git a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/__snapshots__/DateTimeInput.test.tsx.snap b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/__snapshots__/DateTimeInput.test.tsx.snap index 080b07ecb2b..4d63014cff7 100644 --- a/packages/sanity/src/core/form/inputs/DateInputs/__tests__/__snapshots__/DateTimeInput.test.tsx.snap +++ b/packages/sanity/src/core/form/inputs/DateInputs/__tests__/__snapshots__/DateTimeInput.test.tsx.snap @@ -1,11 +1,11 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`emits onChange on correct format if a valid value has been typed 1`] = ` -Array [ - Array [ - Object { +[ + [ + { "patchType": Symbol(sanity.patch), - "path": Array [], + "path": [], "type": "set", "value": "2021-03-28T17:23:00.000Z", }, diff --git a/packages/sanity/src/core/form/inputs/NumberInput.test.tsx b/packages/sanity/src/core/form/inputs/NumberInput.test.tsx index 5baa5b700f2..7f65372c2e5 100644 --- a/packages/sanity/src/core/form/inputs/NumberInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/NumberInput.test.tsx @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {renderNumberInput} from '../../../../test/form' import {NumberInput} from './NumberInput' diff --git a/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/ObjectFieldset.test.tsx b/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/ObjectFieldset.test.tsx index 5ccece0c95f..6bace052c28 100644 --- a/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/ObjectFieldset.test.tsx +++ b/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/ObjectFieldset.test.tsx @@ -1,6 +1,6 @@ -import {describe, expect, it} from '@jest/globals' import {defineField} from '@sanity/types' import userEvent from '@testing-library/user-event' +import {describe, expect, it} from 'vitest' import {renderObjectInput} from '../../../../../../test/form' import {type FieldProps} from '../../../types' diff --git a/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/ObjectInput.test.tsx b/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/ObjectInput.test.tsx index 614fb27ae10..df8d0715d68 100644 --- a/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/ObjectInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/ObjectInput.test.tsx @@ -1,5 +1,5 @@ -import {describe, expect, it, jest} from '@jest/globals' import {defineType} from '@sanity/types' +import {describe, expect, it, vi} from 'vitest' import {renderObjectInput} from '../../../../../../test/form' import {type RenderFieldCallback, type RenderInputCallback} from '../../../types' @@ -38,13 +38,13 @@ describe('ObjectInput', () => { }) it('calls renderField and renderInput for each member', async () => { - const renderField = jest + const renderField = vi .fn() .mockImplementationOnce((props) => (
{props.children}
)) - const renderInput = jest + const renderInput = vi .fn() .mockImplementationOnce((props) =>
) diff --git a/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/test-utils.tsx b/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/test-utils.tsx index 3d5bfc2d2a5..5e92d8292e6 100644 --- a/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/test-utils.tsx +++ b/packages/sanity/src/core/form/inputs/ObjectInput/__tests__/test-utils.tsx @@ -1,7 +1,4 @@ /* eslint-disable import/export */ -// eslint-disable-next-line import/no-unassigned-import -import '@testing-library/jest-dom/jest-globals' - import {LayerProvider, studioTheme, ThemeProvider} from '@sanity/ui' import {render, type RenderOptions} from '@testing-library/react' import {type ReactElement} from 'react' diff --git a/packages/sanity/src/core/form/inputs/PortableText/_legacyDefaultParts/__tests__/BlockExtras.test.tsx b/packages/sanity/src/core/form/inputs/PortableText/_legacyDefaultParts/__tests__/BlockExtras.test.tsx index d6bd2e1d2bb..e591f225221 100644 --- a/packages/sanity/src/core/form/inputs/PortableText/_legacyDefaultParts/__tests__/BlockExtras.test.tsx +++ b/packages/sanity/src/core/form/inputs/PortableText/_legacyDefaultParts/__tests__/BlockExtras.test.tsx @@ -1,12 +1,10 @@ -import {describe, jest, test} from '@jest/globals' +import {describe, test} from 'vitest' import {type PortableTextMarker} from '../../../../types' // import {renderInput} from '../../../../test/renderInput' // import {PortableTextInput, PortableTextInputProps} from '../../PortableTextInput' // import {portableTextType} from './schema' -jest.setTimeout(10000) - const value = [ { _type: 'myTestBlockType', diff --git a/packages/sanity/src/core/form/inputs/ReferenceInput/__tests__/ReferenceInput.test.tsx b/packages/sanity/src/core/form/inputs/ReferenceInput/__tests__/ReferenceInput.test.tsx index 445081edd44..c331be8c98c 100644 --- a/packages/sanity/src/core/form/inputs/ReferenceInput/__tests__/ReferenceInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/ReferenceInput/__tests__/ReferenceInput.test.tsx @@ -1,4 +1,3 @@ -import {describe, expect, jest, test} from '@jest/globals' import {Schema} from '@sanity/schema' import {type Reference} from '@sanity/types' import {LayerProvider, studioTheme, ThemeProvider, ToastProvider} from '@sanity/ui' @@ -7,6 +6,7 @@ import {noop} from 'lodash' import {forwardRef, useImperativeHandle} from 'react' import {of} from 'rxjs' import {route, RouterProvider} from 'sanity/router' +import {describe, expect, test, vi} from 'vitest' import {ReferenceInput} from '../ReferenceInput' import {type ReferenceInfo, type ReferenceInputProps} from '../types' @@ -41,8 +41,8 @@ type PartialExcept = Partial & Pick function ReferenceInputTester( props: PartialExcept, ) { - const onFocus = jest.fn() - const onChange = jest.fn() + const onFocus = vi.fn() + const onChange = vi.fn() return ( diff --git a/packages/sanity/src/core/form/inputs/StringInput.test.tsx b/packages/sanity/src/core/form/inputs/StringInput.test.tsx index 5dbe35c2cc0..2bd20812f60 100644 --- a/packages/sanity/src/core/form/inputs/StringInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/StringInput.test.tsx @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import userEvent from '@testing-library/user-event' +import {describe, expect, it} from 'vitest' import {renderStringInput} from '../../../../test/form/renderStringInput' import {StringInput} from './StringInput' diff --git a/packages/sanity/src/core/form/inputs/arrays/ArrayOfPrimitivesInput/utils/nearestIndex.test.ts b/packages/sanity/src/core/form/inputs/arrays/ArrayOfPrimitivesInput/utils/nearestIndex.test.ts index eac789502ee..5532170b8ee 100644 --- a/packages/sanity/src/core/form/inputs/arrays/ArrayOfPrimitivesInput/utils/nearestIndex.test.ts +++ b/packages/sanity/src/core/form/inputs/arrays/ArrayOfPrimitivesInput/utils/nearestIndex.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {nearestIndexOf} from './nearestIndex' diff --git a/packages/sanity/src/core/form/inputs/files/FileInput/__tests__/fileInput.test.tsx b/packages/sanity/src/core/form/inputs/files/FileInput/__tests__/fileInput.test.tsx index 2494de30f0f..c1864479c6a 100644 --- a/packages/sanity/src/core/form/inputs/files/FileInput/__tests__/fileInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/files/FileInput/__tests__/fileInput.test.tsx @@ -1,8 +1,8 @@ -import {describe, expect, it} from '@jest/globals' /* eslint-disable @typescript-eslint/no-non-null-assertion */ import {type FileAsset, type FileSchemaType} from '@sanity/types' import {fireEvent, waitFor} from '@testing-library/react' import {type Observable, of} from 'rxjs' +import {describe, expect, it} from 'vitest' import {renderFileInput} from '../../../../../../../test/form' import {BaseFileInput} from '../FileInput' diff --git a/packages/sanity/src/core/form/inputs/files/ImageInput/__tests__/imageInput.test.tsx b/packages/sanity/src/core/form/inputs/files/ImageInput/__tests__/imageInput.test.tsx index 3fcef04cd5a..4c825c7a787 100644 --- a/packages/sanity/src/core/form/inputs/files/ImageInput/__tests__/imageInput.test.tsx +++ b/packages/sanity/src/core/form/inputs/files/ImageInput/__tests__/imageInput.test.tsx @@ -1,9 +1,9 @@ -import {describe, expect, it} from '@jest/globals' /* eslint-disable @typescript-eslint/no-non-null-assertion */ // import {SanityClient} from '@sanity/client' // import imageUrlBuilder from '@sanity/image-url' // import {EMPTY, of} from 'rxjs' import {type ConditionalPropertyCallbackContext, defineField, defineType} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {renderImageInput} from '../../../../../../../test/form' // import {UploadOptions} from '../../../../studio/uploads/types' diff --git a/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/__tests__/calculateStyles.test.ts b/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/__tests__/calculateStyles.test.ts index cedf31286b5..dd192438676 100644 --- a/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/__tests__/calculateStyles.test.ts +++ b/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/__tests__/calculateStyles.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {calculateStyles} from '../calculateStyles' diff --git a/packages/sanity/src/core/form/members/object/fields/PrimitiveField.test.tsx b/packages/sanity/src/core/form/members/object/fields/PrimitiveField.test.tsx index 00ecf5f298e..d69192b37bd 100644 --- a/packages/sanity/src/core/form/members/object/fields/PrimitiveField.test.tsx +++ b/packages/sanity/src/core/form/members/object/fields/PrimitiveField.test.tsx @@ -1,10 +1,10 @@ -import {describe, expect, it, jest} from '@jest/globals' import {type ObjectSchemaType} from '@sanity/types' import {LayerProvider, studioTheme, ThemeProvider} from '@sanity/ui' import {render} from '@testing-library/react' import userEvent from '@testing-library/user-event' import {type PropsWithChildren} from 'react' import {FormBuilderContext} from 'sanity/_singletons' +import {describe, expect, it, vi} from 'vitest' import {type FIXME} from '../../../../FIXME' import {DocumentIdProvider} from '../../../contexts/DocumentIdProvider' @@ -231,13 +231,13 @@ function setupTest(type: string, value: string | number | boolean | undefined) { } const formCallbacks: FormCallbacksValue = { - onChange: jest.fn(), - onPathFocus: jest.fn(), - onPathBlur: jest.fn(), - onPathOpen: jest.fn(), - onSetPathCollapsed: jest.fn(), - onSetFieldSetCollapsed: jest.fn(), - onFieldGroupSelect: jest.fn(), + onChange: vi.fn(), + onPathFocus: vi.fn(), + onPathBlur: vi.fn(), + onPathOpen: vi.fn(), + onSetPathCollapsed: vi.fn(), + onSetFieldSetCollapsed: vi.fn(), + onFieldGroupSelect: vi.fn(), } const formBuilder: FormBuilderContextValue = { diff --git a/packages/sanity/src/core/form/store/__tests__/collapsible.test.ts b/packages/sanity/src/core/form/store/__tests__/collapsible.test.ts index 4dceb7e077b..3bb67809cdc 100644 --- a/packages/sanity/src/core/form/store/__tests__/collapsible.test.ts +++ b/packages/sanity/src/core/form/store/__tests__/collapsible.test.ts @@ -1,6 +1,6 @@ -import {beforeEach, describe, expect, it, test} from '@jest/globals' import {Schema} from '@sanity/schema' import {type ObjectSchemaType, type Path} from '@sanity/types' +import {beforeEach, describe, expect, it, test} from 'vitest' import {pathToString} from '../../../field' import {createPrepareFormState, type PrepareFormState} from '../formState' diff --git a/packages/sanity/src/core/form/store/__tests__/equality.test.ts b/packages/sanity/src/core/form/store/__tests__/equality.test.ts index b458360c2c3..d6cfd3a1e38 100644 --- a/packages/sanity/src/core/form/store/__tests__/equality.test.ts +++ b/packages/sanity/src/core/form/store/__tests__/equality.test.ts @@ -1,6 +1,6 @@ -import {beforeEach, expect, test} from '@jest/globals' import {Schema} from '@sanity/schema' import {type ConditionalProperty} from '@sanity/types' +import {beforeEach, expect, test} from 'vitest' import {createPrepareFormState, type PrepareFormState} from '../formState' import {DEFAULT_PROPS} from './shared' diff --git a/packages/sanity/src/core/form/store/__tests__/formState.test.ts b/packages/sanity/src/core/form/store/__tests__/formState.test.ts index b902457a10c..6c50629218f 100644 --- a/packages/sanity/src/core/form/store/__tests__/formState.test.ts +++ b/packages/sanity/src/core/form/store/__tests__/formState.test.ts @@ -1,4 +1,3 @@ -import {beforeEach, describe, expect, jest, test} from '@jest/globals' import { type CurrentUser, defineField, @@ -9,6 +8,7 @@ import { type Path, } from '@sanity/types' import {startsWith, toString} from '@sanity/util/paths' +import {beforeEach, describe, expect, test, vi} from 'vitest' import {createSchema} from '../../../schema/createSchema' import { @@ -37,13 +37,13 @@ type RemoveFirstChar = S extends `${infer _}${infer R}` ? R : beforeEach(() => { prepareFormState = createPrepareFormState({ decorators: { - prepareArrayOfObjectsInputState: jest.fn, - prepareArrayOfObjectsMember: jest.fn, - prepareArrayOfPrimitivesInputState: jest.fn, - prepareArrayOfPrimitivesMember: jest.fn, - prepareFieldMember: jest.fn, - prepareObjectInputState: jest.fn, - preparePrimitiveInputState: jest.fn, + prepareArrayOfObjectsInputState: vi.fn, + prepareArrayOfObjectsMember: vi.fn, + prepareArrayOfPrimitivesInputState: vi.fn, + prepareArrayOfPrimitivesMember: vi.fn, + prepareFieldMember: vi.fn, + prepareObjectInputState: vi.fn, + preparePrimitiveInputState: vi.fn, }, }) }) @@ -447,7 +447,7 @@ describe.each( const initialNodes = new Set(Array.from(traverseForm(initialFormState)).map(([node]) => node)) // reset toHaveBeenCalledTimes amount - jest.clearAllMocks() + vi.clearAllMocks() const updatedFormState = prepareFormState({ ...defaultOptions, @@ -550,7 +550,7 @@ describe('hidden', () => { const initialNodes = new Set(Array.from(traverseForm(initialFormState)).map(([node]) => node)) // reset toHaveBeenCalledTimes amount - jest.clearAllMocks() + vi.clearAllMocks() const updatedFormState = prepareFormState({ ...defaultOptions, @@ -639,7 +639,7 @@ describe('collapsedPaths', () => { prepareFormState(defaultOptions) // reset toHaveBeenCalledTimes amount - jest.clearAllMocks() + vi.clearAllMocks() // Prepare updated form state with collapsedPaths set const updatedFormState = prepareFormState({ @@ -693,7 +693,7 @@ describe('collapsedFieldSets', () => { // Prepare initial form state prepareFormState(defaultOptions) - jest.clearAllMocks() + vi.clearAllMocks() // Prepare updated form state with collapsedFieldSets set const updatedFormState = prepareFormState({ @@ -730,7 +730,7 @@ describe('fieldGroupState', () => { const initialNodes = new Set(Array.from(traverseForm(initialFormState)).map(([node]) => node)) // Reset call counts - jest.clearAllMocks() + vi.clearAllMocks() const updatedFormState = prepareFormState({ ...defaultOptions, diff --git a/packages/sanity/src/core/form/store/__tests__/members.hidden.test.ts b/packages/sanity/src/core/form/store/__tests__/members.hidden.test.ts index deac7747412..c89a1b6baee 100644 --- a/packages/sanity/src/core/form/store/__tests__/members.hidden.test.ts +++ b/packages/sanity/src/core/form/store/__tests__/members.hidden.test.ts @@ -1,6 +1,6 @@ -import {beforeEach, expect, test} from '@jest/globals' import {Schema} from '@sanity/schema' import {type ConditionalProperty, type ObjectSchemaType} from '@sanity/types' +import {beforeEach, expect, test} from 'vitest' import { createCallbackResolver, diff --git a/packages/sanity/src/core/form/store/utils/__tests__/immutableReconcile.test.ts b/packages/sanity/src/core/form/store/utils/__tests__/immutableReconcile.test.ts index 36cef64f4f7..f7356d7db4a 100644 --- a/packages/sanity/src/core/form/store/utils/__tests__/immutableReconcile.test.ts +++ b/packages/sanity/src/core/form/store/utils/__tests__/immutableReconcile.test.ts @@ -1,13 +1,13 @@ -import {beforeEach, expect, jest, test} from '@jest/globals' import {defineField, defineType} from '@sanity/types' +import {beforeEach, expect, test, vi} from 'vitest' import {createSchema} from '../../../../schema/createSchema' import {createImmutableReconcile} from '../immutableReconcile' -const immutableReconcile = createImmutableReconcile({decorator: jest.fn}) +const immutableReconcile = createImmutableReconcile({decorator: vi.fn}) beforeEach(() => { - ;(immutableReconcile as jest.Mock).mockClear() + ;(immutableReconcile as vi.Mock).mockClear() }) test('it preserves previous value if shallow equal', () => { diff --git a/packages/sanity/src/core/form/studio/FormBuilder.test.tsx b/packages/sanity/src/core/form/studio/FormBuilder.test.tsx index f9bf868b7e9..86ac5c75b11 100644 --- a/packages/sanity/src/core/form/studio/FormBuilder.test.tsx +++ b/packages/sanity/src/core/form/studio/FormBuilder.test.tsx @@ -1,9 +1,9 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' /* eslint-disable camelcase */ import {type SanityClient} from '@sanity/client' import {defineType, type Path} from '@sanity/types' import {render} from '@testing-library/react' import {useMemo} from 'react' +import {beforeEach, describe, expect, it, type Mock, vi} from 'vitest' import {createMockSanityClient} from '../../../../test/mocks/mockSanityClient' import {createTestProvider} from '../../../../test/testUtils/TestProvider' @@ -30,13 +30,13 @@ const schemaTypes = [ }), ] -jest.mock('./tree-editing/context/enabled/useTreeEditingEnabled') +vi.mock('./tree-editing/context/enabled/useTreeEditingEnabled') describe('FormBuilder', () => { - const mockedUseTreeEditingEnabled = useTreeEditingEnabled as jest.Mock + const mockedUseTreeEditingEnabled = useTreeEditingEnabled as Mock beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) it('should render a studio form (without tree editing dialog)', async () => { @@ -56,14 +56,14 @@ describe('FormBuilder', () => { const openPath: Path = [] const documentValue = {_id: 'test', _type: 'test'} - const onChange = jest.fn() - const onFieldGroupSelect = jest.fn() - const onPathBlur = jest.fn() - const onPathFocus = jest.fn() - const onPathOpen = jest.fn() - const onSelectFieldGroup = jest.fn() - const onSetFieldSetCollapsed = jest.fn() - const onSetPathCollapsed = jest.fn() + const onChange = vi.fn() + const onFieldGroupSelect = vi.fn() + const onPathBlur = vi.fn() + const onPathFocus = vi.fn() + const onPathOpen = vi.fn() + const onSelectFieldGroup = vi.fn() + const onSetFieldSetCollapsed = vi.fn() + const onSetPathCollapsed = vi.fn() function TestForm() { const {schema} = useWorkspace() @@ -153,14 +153,14 @@ describe('FormBuilder', () => { const openPath: Path = [] const documentValue = {_id: 'test', _type: 'test'} - const onChange = jest.fn() - const onFieldGroupSelect = jest.fn() - const onPathBlur = jest.fn() - const onPathFocus = jest.fn() - const onPathOpen = jest.fn() - const onSelectFieldGroup = jest.fn() - const onSetFieldSetCollapsed = jest.fn() - const onSetPathCollapsed = jest.fn() + const onChange = vi.fn() + const onFieldGroupSelect = vi.fn() + const onPathBlur = vi.fn() + const onPathFocus = vi.fn() + const onPathOpen = vi.fn() + const onSelectFieldGroup = vi.fn() + const onSetFieldSetCollapsed = vi.fn() + const onSetPathCollapsed = vi.fn() function TestForm() { const {schema} = useWorkspace() diff --git a/packages/sanity/src/core/form/studio/__snapshots__/FormBuilder.test.tsx.snap b/packages/sanity/src/core/form/studio/__snapshots__/FormBuilder.test.tsx.snap index 98cb2019d6d..177d0e8e084 100644 --- a/packages/sanity/src/core/form/studio/__snapshots__/FormBuilder.test.tsx.snap +++ b/packages/sanity/src/core/form/studio/__snapshots__/FormBuilder.test.tsx.snap @@ -1,5 +1,5 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`FormBuilder should render a studio form (with tree editing dialog) 1`] = `"
"`; +exports[`FormBuilder > should render a studio form (with tree editing dialog) 1`] = `"
"`; -exports[`FormBuilder should render a studio form (without tree editing dialog) 1`] = `"
"`; +exports[`FormBuilder > should render a studio form (without tree editing dialog) 1`] = `"
"`; diff --git a/packages/sanity/src/core/form/studio/inputResolver/helpers.test.ts b/packages/sanity/src/core/form/studio/inputResolver/helpers.test.ts index 3ec15a27963..d5730c6ba39 100644 --- a/packages/sanity/src/core/form/studio/inputResolver/helpers.test.ts +++ b/packages/sanity/src/core/form/studio/inputResolver/helpers.test.ts @@ -1,7 +1,7 @@ -import {describe, expect, it} from '@jest/globals' /* eslint max-nested-callbacks: */ import {groupProblems, validateSchema} from '@sanity/schema/_internal' import {defineField, defineType, type ObjectSchemaType} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {createSchema} from '../../../schema' import {getFieldLevel} from './helpers' diff --git a/packages/sanity/src/core/form/studio/tree-editing/__tests__/__snapshots__/buildTreeEditingState.test.ts.snap b/packages/sanity/src/core/form/studio/tree-editing/__tests__/__snapshots__/buildTreeEditingState.test.ts.snap index a49d4502e12..d7b8c65c945 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__tests__/__snapshots__/buildTreeEditingState.test.ts.snap +++ b/packages/sanity/src/core/form/studio/tree-editing/__tests__/__snapshots__/buildTreeEditingState.test.ts.snap @@ -1,30 +1,30 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`tree-editing: buildTreeEditingState should build tree editing state for an array of objects 1`] = ` -Object { - "breadcrumbs": Array [ - Object { - "children": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { +exports[`tree-editing: buildTreeEditingState > should build tree editing state for an array of objects 1`] = ` +{ + "breadcrumbs": [ + { + "children": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32,28 +32,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -62,20 +62,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -86,20 +86,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -108,13 +108,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -123,30 +123,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -155,29 +155,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -187,29 +187,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -218,20 +218,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -242,20 +242,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -264,13 +264,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -279,33 +279,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -314,10 +314,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -325,20 +325,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -347,13 +347,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -362,33 +362,33 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "array1", - Object { + { "_key": "123", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -396,28 +396,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -426,20 +426,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -450,20 +450,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -472,13 +472,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -487,30 +487,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -519,29 +519,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -551,29 +551,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -582,20 +582,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -606,20 +606,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -628,13 +628,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -643,33 +643,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -678,10 +678,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -689,20 +689,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -711,54 +711,54 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "123", "_type": "array1Object", - "array1Object1Array": Array [ - Object { + "array1Object1Array": [ + { "_key": "123", "_type": "array1Object1Object", "array1Object1ObjectString": "Test string", }, ], "array1Object1String": "Test string", - "arrayOfPrimitives": Array [ + "arrayOfPrimitives": [ "Test string", ], }, }, ], - "parentSchemaType": Object { + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -766,28 +766,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -796,20 +796,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -820,20 +820,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -842,13 +842,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -857,30 +857,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -889,29 +889,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -921,29 +921,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -952,20 +952,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -976,20 +976,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -998,13 +998,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -1013,33 +1013,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1048,10 +1048,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -1059,20 +1059,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -1081,13 +1081,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -1096,33 +1096,33 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "array1", - Object { + { "_key": "123", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1130,28 +1130,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1160,20 +1160,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1184,20 +1184,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -1206,13 +1206,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -1221,30 +1221,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1253,29 +1253,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1285,29 +1285,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1316,20 +1316,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1340,20 +1340,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -1362,13 +1362,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -1377,33 +1377,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1412,10 +1412,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -1423,20 +1423,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -1445,61 +1445,61 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "123", "_type": "array1Object", - "array1Object1Array": Array [ - Object { + "array1Object1Array": [ + { "_key": "123", "_type": "array1Object1Object", "array1Object1ObjectString": "Test string", }, ], "array1Object1String": "Test string", - "arrayOfPrimitives": Array [ + "arrayOfPrimitives": [ "Test string", ], }, }, ], - "menuItems": Array [ - Object { - "children": Array [ - Object { - "children": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { + "menuItems": [ + { + "children": [ + { + "children": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1508,20 +1508,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1532,20 +1532,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -1554,13 +1554,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -1569,37 +1569,37 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "array1", - Object { + { "_key": "123", }, "array1Object1Array", - Object { + { "_key": "123", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1608,20 +1608,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1632,20 +1632,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -1654,40 +1654,40 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "123", "_type": "array1Object1Object", "array1Object1ObjectString": "Test string", }, }, ], - "parentSchemaType": Object { - "fields": Array [ - Object { + "parentSchemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1695,28 +1695,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1725,20 +1725,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1749,20 +1749,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -1771,13 +1771,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -1786,30 +1786,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1818,29 +1818,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1850,29 +1850,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1881,20 +1881,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1905,20 +1905,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -1927,13 +1927,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -1942,33 +1942,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -1977,10 +1977,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -1988,20 +1988,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -2010,48 +2010,48 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "path": Array [ + "path": [ "array1", - Object { + { "_key": "123", }, "array1Object1Array", ], - "schemaType": Object { + "schemaType": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2060,20 +2060,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2084,20 +2084,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -2106,13 +2106,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -2121,16 +2121,16 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - "value": Array [ - Object { + "value": [ + { "_key": "123", "_type": "array1Object1Object", "array1Object1ObjectString": "Test string", @@ -2138,24 +2138,24 @@ Object { ], }, ], - "parentSchemaType": Object { + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2163,28 +2163,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2193,20 +2193,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2217,20 +2217,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -2239,13 +2239,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -2254,30 +2254,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2286,29 +2286,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2318,29 +2318,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2349,20 +2349,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2373,20 +2373,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -2395,13 +2395,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -2410,33 +2410,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2445,10 +2445,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -2456,20 +2456,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -2478,13 +2478,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -2493,33 +2493,33 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "array1", - Object { + { "_key": "123", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2527,28 +2527,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2557,20 +2557,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2581,20 +2581,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -2603,13 +2603,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -2618,30 +2618,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2650,29 +2650,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2682,29 +2682,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2713,20 +2713,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2737,20 +2737,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -2759,13 +2759,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -2774,33 +2774,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2809,10 +2809,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -2820,20 +2820,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -2842,39 +2842,39 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "123", "_type": "array1Object", - "array1Object1Array": Array [ - Object { + "array1Object1Array": [ + { "_key": "123", "_type": "array1Object1Object", "array1Object1ObjectString": "Test string", }, ], "array1Object1String": "Test string", - "arrayOfPrimitives": Array [ + "arrayOfPrimitives": [ "Test string", ], }, }, ], - "relativePath": Array [ + "relativePath": [ "array1", - Object { + { "_key": "123", }, ], @@ -2882,53 +2882,53 @@ Object { } `; -exports[`tree-editing: buildTreeEditingState should build tree editing state for an array with array fields in nested objects 1`] = ` -Object { - "breadcrumbs": Array [ - Object { - "children": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { +exports[`tree-editing: buildTreeEditingState > should build tree editing state for an array with array fields in nested objects 1`] = ` +{ + "breadcrumbs": [ + { + "children": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2937,20 +2937,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -2961,20 +2961,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -2983,13 +2983,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -2998,39 +2998,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3039,20 +3039,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3063,20 +3063,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -3085,13 +3085,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3100,10 +3100,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -3111,19 +3111,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3132,36 +3132,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3170,20 +3170,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3194,20 +3194,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -3216,13 +3216,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3231,39 +3231,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3272,20 +3272,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3296,20 +3296,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -3318,13 +3318,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3333,10 +3333,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -3344,19 +3344,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3367,19 +3367,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3388,42 +3388,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3432,20 +3432,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3456,20 +3456,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -3478,13 +3478,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3493,39 +3493,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3534,20 +3534,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3558,20 +3558,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -3580,13 +3580,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3595,10 +3595,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -3606,19 +3606,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3627,36 +3627,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3665,20 +3665,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3689,20 +3689,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -3711,13 +3711,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3726,39 +3726,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3767,20 +3767,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3791,20 +3791,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -3813,13 +3813,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3828,10 +3828,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -3839,19 +3839,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3862,19 +3862,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3885,19 +3885,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -3906,55 +3906,55 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "arrayWithArrayFieldInNestedObjects", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3963,20 +3963,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -3987,20 +3987,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -4009,13 +4009,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4024,39 +4024,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4065,20 +4065,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4089,20 +4089,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -4111,13 +4111,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4126,10 +4126,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -4137,19 +4137,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4158,36 +4158,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4196,20 +4196,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4220,20 +4220,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -4242,13 +4242,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4257,39 +4257,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4298,20 +4298,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4322,20 +4322,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -4344,13 +4344,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4359,10 +4359,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -4370,19 +4370,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4393,19 +4393,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4414,42 +4414,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4458,20 +4458,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4482,20 +4482,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -4504,13 +4504,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4519,39 +4519,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4560,20 +4560,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4584,20 +4584,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -4606,13 +4606,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4621,10 +4621,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -4632,19 +4632,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4653,36 +4653,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4691,20 +4691,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4715,20 +4715,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -4737,13 +4737,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4752,39 +4752,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4793,20 +4793,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4817,20 +4817,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -4839,13 +4839,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4854,10 +4854,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -4865,19 +4865,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4888,19 +4888,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -4911,32 +4911,32 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "firstObject", - "secondObject": Object { - "thirdObject": Object { - "nestedArray": Array [ - Object { + "secondObject": { + "thirdObject": { + "nestedArray": [ + { "_key": "key2", "_type": "nestedObject", "nestedString": "Nested string", @@ -4947,46 +4947,46 @@ Object { }, }, ], - "parentSchemaType": Object { + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -4995,20 +4995,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5019,20 +5019,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -5041,13 +5041,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5056,39 +5056,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5097,20 +5097,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5121,20 +5121,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -5143,13 +5143,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5158,10 +5158,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -5169,19 +5169,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5190,36 +5190,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5228,20 +5228,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5252,20 +5252,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -5274,13 +5274,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5289,39 +5289,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5330,20 +5330,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5354,20 +5354,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -5376,13 +5376,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5391,10 +5391,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -5402,19 +5402,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5425,19 +5425,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5446,42 +5446,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5490,20 +5490,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5514,20 +5514,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -5536,13 +5536,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5551,39 +5551,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5592,20 +5592,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5616,20 +5616,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -5638,13 +5638,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5653,10 +5653,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -5664,19 +5664,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5685,36 +5685,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5723,20 +5723,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5747,20 +5747,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -5769,13 +5769,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5784,39 +5784,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5825,20 +5825,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -5849,20 +5849,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -5871,13 +5871,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5886,10 +5886,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -5897,19 +5897,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5920,19 +5920,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5943,19 +5943,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -5964,55 +5964,55 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "arrayWithArrayFieldInNestedObjects", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6021,20 +6021,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6045,20 +6045,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -6067,13 +6067,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6082,39 +6082,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6123,20 +6123,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6147,20 +6147,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -6169,13 +6169,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6184,10 +6184,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -6195,19 +6195,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6216,36 +6216,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6254,20 +6254,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6278,20 +6278,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -6300,13 +6300,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6315,39 +6315,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6356,20 +6356,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6380,20 +6380,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -6402,13 +6402,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6417,10 +6417,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -6428,19 +6428,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6451,19 +6451,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6472,42 +6472,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6516,20 +6516,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6540,20 +6540,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -6562,13 +6562,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6577,39 +6577,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6618,20 +6618,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6642,20 +6642,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -6664,13 +6664,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6679,10 +6679,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -6690,19 +6690,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6711,36 +6711,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6749,20 +6749,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6773,20 +6773,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -6795,13 +6795,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6810,39 +6810,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6851,20 +6851,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -6875,20 +6875,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -6897,13 +6897,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6912,10 +6912,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -6923,19 +6923,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6946,19 +6946,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -6969,32 +6969,32 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "firstObject", - "secondObject": Object { - "thirdObject": Object { - "nestedArray": Array [ - Object { + "secondObject": { + "thirdObject": { + "nestedArray": [ + { "_key": "key2", "_type": "nestedObject", "nestedString": "Nested string", @@ -7004,28 +7004,28 @@ Object { }, }, }, - Object { - "children": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { + { + "children": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7034,20 +7034,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7058,20 +7058,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -7080,13 +7080,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -7095,39 +7095,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "arrayWithArrayFieldInNestedObjects", - Object { + { "_key": "key1", }, "secondObject", "thirdObject", "nestedArray", - Object { + { "_key": "key2", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7136,20 +7136,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7160,20 +7160,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -7182,44 +7182,44 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key2", "_type": "nestedObject", "nestedString": "Nested string", }, }, ], - "parentSchemaType": Object { + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7228,20 +7228,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7252,20 +7252,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -7274,13 +7274,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -7289,39 +7289,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "arrayWithArrayFieldInNestedObjects", - Object { + { "_key": "key1", }, "secondObject", "thirdObject", "nestedArray", - Object { + { "_key": "key2", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7330,20 +7330,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7354,20 +7354,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -7376,51 +7376,51 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key2", "_type": "nestedObject", "nestedString": "Nested string", }, }, ], - "menuItems": Array [ - Object { - "children": Array [ - Object { - "children": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { + "menuItems": [ + { + "children": [ + { + "children": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7429,20 +7429,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7453,20 +7453,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -7475,13 +7475,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -7490,39 +7490,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "arrayWithArrayFieldInNestedObjects", - Object { + { "_key": "key1", }, "secondObject", "thirdObject", "nestedArray", - Object { + { "_key": "key2", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7531,20 +7531,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7555,20 +7555,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -7577,56 +7577,56 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key2", "_type": "nestedObject", "nestedString": "Nested string", }, }, ], - "parentSchemaType": Object { - "fields": Array [ - Object { + "parentSchemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7635,20 +7635,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7659,20 +7659,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -7681,13 +7681,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -7696,39 +7696,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7737,20 +7737,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7761,20 +7761,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -7783,13 +7783,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -7798,10 +7798,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -7809,19 +7809,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -7830,36 +7830,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7868,20 +7868,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7892,20 +7892,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -7914,13 +7914,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -7929,39 +7929,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7970,20 +7970,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -7994,20 +7994,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -8016,13 +8016,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8031,10 +8031,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -8042,19 +8042,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8065,52 +8065,52 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "path": Array [ + "path": [ "arrayWithArrayFieldInNestedObjects", - Object { + { "_key": "key1", }, "secondObject", "thirdObject", "nestedArray", ], - "schemaType": Object { + "schemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8119,20 +8119,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8143,20 +8143,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -8165,13 +8165,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8180,15 +8180,15 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "value": Array [ - Object { + "value": [ + { "_key": "key2", "_type": "nestedObject", "nestedString": "Nested string", @@ -8196,46 +8196,46 @@ Object { ], }, ], - "parentSchemaType": Object { + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8244,20 +8244,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8268,20 +8268,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -8290,13 +8290,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8305,39 +8305,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8346,20 +8346,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8370,20 +8370,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -8392,13 +8392,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8407,10 +8407,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -8418,19 +8418,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8439,36 +8439,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8477,20 +8477,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8501,20 +8501,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -8523,13 +8523,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8538,39 +8538,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8579,20 +8579,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8603,20 +8603,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -8625,13 +8625,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8640,10 +8640,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -8651,19 +8651,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8674,19 +8674,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8695,42 +8695,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8739,20 +8739,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8763,20 +8763,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -8785,13 +8785,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8800,39 +8800,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8841,20 +8841,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8865,20 +8865,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -8887,13 +8887,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8902,10 +8902,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -8913,19 +8913,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -8934,36 +8934,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8972,20 +8972,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -8996,20 +8996,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -9018,13 +9018,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9033,39 +9033,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9074,20 +9074,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9098,20 +9098,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -9120,13 +9120,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9135,10 +9135,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -9146,19 +9146,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9169,19 +9169,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9192,19 +9192,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9213,55 +9213,55 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "arrayWithArrayFieldInNestedObjects", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9270,20 +9270,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9294,20 +9294,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -9316,13 +9316,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9331,39 +9331,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9372,20 +9372,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9396,20 +9396,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -9418,13 +9418,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9433,10 +9433,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -9444,19 +9444,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9465,36 +9465,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9503,20 +9503,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9527,20 +9527,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -9549,13 +9549,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9564,39 +9564,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9605,20 +9605,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9629,20 +9629,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -9651,13 +9651,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9666,10 +9666,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -9677,19 +9677,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9700,19 +9700,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9721,42 +9721,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9765,20 +9765,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9789,20 +9789,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -9811,13 +9811,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9826,39 +9826,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9867,20 +9867,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9891,20 +9891,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -9913,13 +9913,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9928,10 +9928,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -9939,19 +9939,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -9960,36 +9960,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -9998,20 +9998,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10022,20 +10022,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -10044,13 +10044,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -10059,39 +10059,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10100,20 +10100,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10124,20 +10124,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -10146,13 +10146,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -10161,10 +10161,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -10172,19 +10172,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -10195,19 +10195,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -10218,32 +10218,32 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "firstObject", - "secondObject": Object { - "thirdObject": Object { - "nestedArray": Array [ - Object { + "secondObject": { + "thirdObject": { + "nestedArray": [ + { "_key": "key2", "_type": "nestedObject", "nestedString": "Nested string", @@ -10254,15 +10254,15 @@ Object { }, }, ], - "relativePath": Array [ + "relativePath": [ "arrayWithArrayFieldInNestedObjects", - Object { + { "_key": "key1", }, "secondObject", "thirdObject", "nestedArray", - Object { + { "_key": "key2", }, ], @@ -10270,31 +10270,31 @@ Object { } `; -exports[`tree-editing: buildTreeEditingState should build tree editing state for an object with an array 1`] = ` -Object { - "breadcrumbs": Array [ - Object { - "children": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { +exports[`tree-editing: buildTreeEditingState > should build tree editing state for an object with an array 1`] = ` +{ + "breadcrumbs": [ + { + "children": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10303,20 +10303,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10327,20 +10327,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -10349,13 +10349,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -10364,34 +10364,34 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "objectWithArray", "myArray", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10400,20 +10400,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10424,20 +10424,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -10446,44 +10446,44 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "myObject", "myString": "My string 1", }, }, ], - "parentSchemaType": Object { + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10492,20 +10492,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10516,20 +10516,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -10538,13 +10538,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -10553,34 +10553,34 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "objectWithArray", "myArray", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10589,20 +10589,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10613,20 +10613,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -10635,47 +10635,47 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "myObject", "myString": "My string 1", }, }, ], - "menuItems": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { + "menuItems": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10684,20 +10684,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10708,20 +10708,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -10730,13 +10730,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -10745,34 +10745,34 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "objectWithArray", "myArray", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10781,20 +10781,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10805,20 +10805,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -10827,30 +10827,30 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "myObject", "myString": "My string 1", }, }, ], - "relativePath": Array [ + "relativePath": [ "objectWithArray", "myArray", - Object { + { "_key": "key1", }, ], @@ -10858,31 +10858,31 @@ Object { } `; -exports[`tree-editing: buildTreeEditingState should build tree editing state for an object with an array 2`] = ` -Object { - "breadcrumbs": Array [ - Object { - "children": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { +exports[`tree-editing: buildTreeEditingState > should build tree editing state for an object with an array 2`] = ` +{ + "breadcrumbs": [ + { + "children": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10891,20 +10891,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10915,20 +10915,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -10937,13 +10937,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -10952,34 +10952,34 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "objectWithArray", "myArray", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -10988,20 +10988,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11012,20 +11012,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -11034,44 +11034,44 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "myObject", "myString": "My string 1", }, }, ], - "parentSchemaType": Object { + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11080,20 +11080,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11104,20 +11104,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -11126,13 +11126,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -11141,34 +11141,34 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "objectWithArray", "myArray", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11177,20 +11177,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11201,20 +11201,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -11223,47 +11223,47 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "myObject", "myString": "My string 1", }, }, ], - "menuItems": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { + "menuItems": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11272,20 +11272,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11296,20 +11296,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -11318,13 +11318,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -11333,34 +11333,34 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "objectWithArray", "myArray", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11369,20 +11369,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11393,20 +11393,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -11415,30 +11415,30 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "myObject", "myString": "My string 1", }, }, ], - "relativePath": Array [ + "relativePath": [ "objectWithArray", "myArray", - Object { + { "_key": "key1", }, ], @@ -11446,31 +11446,31 @@ Object { } `; -exports[`tree-editing: buildTreeEditingState should build tree editing state for an object with an array of references 1`] = ` -Object { - "breadcrumbs": Array [ - Object { - "children": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { +exports[`tree-editing: buildTreeEditingState > should build tree editing state for an object with an array of references 1`] = ` +{ + "breadcrumbs": [ + { + "children": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11479,20 +11479,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11503,20 +11503,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "mixedArrayObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -11525,31 +11525,31 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Mixed array object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "name": "_ref", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Referenced document ID", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11557,16 +11557,16 @@ Object { }, }, }, - Object { + { "name": "_weak", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Weak reference", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", "title": "Boolean", @@ -11575,18 +11575,18 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "name": "_ref", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Referenced document ID", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11596,17 +11596,17 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "name": "_weak", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Weak reference", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", "title": "Boolean", @@ -11620,83 +11620,83 @@ Object { "jsonType": "object", "name": "reference", "title": "Reference", - "to": Array [ - Object { - "__experimental_search": Array [ - Object { - "path": Array [ + "to": [ + { + "__experimental_search": [ + { + "path": [ "_id", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "_type", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "title", ], "weight": 10, }, - Object { - "path": Array [ + { + "path": [ "objectWithArray", "myArray", - Array [], + [], "myString", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "array1Object1String", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "arrayOfPrimitives", - Array [], + [], ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "mixedArray", - Array [], + [], "title", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "legacyArrayEditingArray", - Array [], + [], "title", ], "weight": 1, }, ], - "fields": Array [ - Object { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11704,34 +11704,34 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11740,20 +11740,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11764,20 +11764,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -11786,13 +11786,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -11801,39 +11801,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11842,20 +11842,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11866,20 +11866,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -11888,13 +11888,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -11903,10 +11903,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -11914,19 +11914,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -11934,28 +11934,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11963,28 +11963,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -11993,20 +11993,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12017,20 +12017,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -12039,13 +12039,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12054,30 +12054,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12086,29 +12086,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12118,29 +12118,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12149,20 +12149,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12173,20 +12173,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -12195,13 +12195,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12210,33 +12210,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12245,10 +12245,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -12256,20 +12256,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -12278,13 +12278,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12293,42 +12293,42 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "mixedArray", "type": [Circular], }, - Object { + { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12337,20 +12337,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12361,20 +12361,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -12383,13 +12383,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12397,62 +12397,62 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12461,20 +12461,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12485,20 +12485,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -12507,13 +12507,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12522,39 +12522,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12563,20 +12563,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12587,20 +12587,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -12609,13 +12609,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12624,10 +12624,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -12635,19 +12635,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12656,36 +12656,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12694,20 +12694,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12718,20 +12718,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -12740,13 +12740,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12755,39 +12755,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12796,20 +12796,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12820,20 +12820,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -12842,13 +12842,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12857,10 +12857,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -12868,19 +12868,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12891,19 +12891,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -12912,42 +12912,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12956,20 +12956,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -12980,20 +12980,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -13002,13 +13002,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13017,39 +13017,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13058,20 +13058,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13082,20 +13082,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -13104,13 +13104,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13119,10 +13119,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -13130,19 +13130,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13151,36 +13151,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13189,20 +13189,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13213,20 +13213,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -13235,13 +13235,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13250,39 +13250,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13291,20 +13291,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13315,20 +13315,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -13337,13 +13337,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13352,10 +13352,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -13363,19 +13363,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13386,19 +13386,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13409,19 +13409,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13430,29 +13430,29 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13462,35 +13462,35 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13499,20 +13499,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13523,20 +13523,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -13545,13 +13545,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13560,39 +13560,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13601,20 +13601,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13625,20 +13625,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -13647,13 +13647,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13662,10 +13662,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -13673,19 +13673,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13695,29 +13695,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13725,28 +13725,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13755,20 +13755,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13779,20 +13779,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -13801,13 +13801,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13816,30 +13816,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13848,29 +13848,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13880,29 +13880,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13911,20 +13911,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -13935,20 +13935,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -13957,13 +13957,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -13972,33 +13972,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14007,10 +14007,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -14018,20 +14018,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -14040,13 +14040,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14055,18 +14055,18 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "mixedArray", @@ -14074,29 +14074,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14105,20 +14105,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14129,20 +14129,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -14151,13 +14151,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14165,65 +14165,65 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14232,20 +14232,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14256,20 +14256,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -14278,13 +14278,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14293,39 +14293,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14334,20 +14334,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14358,20 +14358,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -14380,13 +14380,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14395,10 +14395,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -14406,19 +14406,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14427,36 +14427,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14465,20 +14465,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14489,20 +14489,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -14511,13 +14511,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14526,39 +14526,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14567,20 +14567,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14591,20 +14591,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -14613,13 +14613,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14628,10 +14628,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -14639,19 +14639,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14662,19 +14662,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14683,42 +14683,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14727,20 +14727,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14751,20 +14751,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -14773,13 +14773,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14788,39 +14788,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14829,20 +14829,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14853,20 +14853,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -14875,13 +14875,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14890,10 +14890,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -14901,19 +14901,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -14922,36 +14922,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14960,20 +14960,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -14984,20 +14984,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -15006,13 +15006,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15021,39 +15021,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15062,20 +15062,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15086,20 +15086,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -15108,13 +15108,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15123,10 +15123,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -15134,19 +15134,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15157,19 +15157,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15180,19 +15180,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15201,10 +15201,10 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -15212,20 +15212,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "testDocument", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -15234,26 +15234,26 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Document", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15261,34 +15261,34 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15297,20 +15297,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15321,20 +15321,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -15343,13 +15343,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15358,39 +15358,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15399,20 +15399,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15423,20 +15423,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -15445,13 +15445,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15460,10 +15460,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -15471,19 +15471,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15491,28 +15491,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15520,28 +15520,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15550,20 +15550,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15574,20 +15574,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -15596,13 +15596,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15611,30 +15611,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15643,29 +15643,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15675,29 +15675,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15706,20 +15706,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15730,20 +15730,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -15752,13 +15752,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15767,33 +15767,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15802,10 +15802,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -15813,20 +15813,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -15835,13 +15835,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15850,42 +15850,42 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "mixedArray", "type": [Circular], }, - Object { + { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15894,20 +15894,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -15918,20 +15918,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -15940,13 +15940,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -15954,62 +15954,62 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16018,20 +16018,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16042,20 +16042,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -16064,13 +16064,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16079,39 +16079,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16120,20 +16120,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16144,20 +16144,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -16166,13 +16166,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16181,10 +16181,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -16192,19 +16192,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16213,36 +16213,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16251,20 +16251,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16275,20 +16275,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -16297,13 +16297,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16312,39 +16312,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16353,20 +16353,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16377,20 +16377,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -16399,13 +16399,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16414,10 +16414,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -16425,19 +16425,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16448,19 +16448,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16469,42 +16469,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16513,20 +16513,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16537,20 +16537,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -16559,13 +16559,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16574,39 +16574,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16615,20 +16615,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16639,20 +16639,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -16661,13 +16661,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16676,10 +16676,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -16687,19 +16687,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16708,36 +16708,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16746,20 +16746,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16770,20 +16770,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -16792,13 +16792,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16807,39 +16807,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16848,20 +16848,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -16872,20 +16872,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -16894,13 +16894,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16909,10 +16909,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -16920,19 +16920,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16943,19 +16943,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16966,19 +16966,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -16987,29 +16987,29 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17019,35 +17019,35 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17056,20 +17056,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17080,20 +17080,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -17102,13 +17102,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17117,39 +17117,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17158,20 +17158,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17182,20 +17182,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -17204,13 +17204,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17219,10 +17219,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -17230,19 +17230,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17252,29 +17252,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17282,28 +17282,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17312,20 +17312,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17336,20 +17336,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -17358,13 +17358,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17373,30 +17373,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17405,29 +17405,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17437,29 +17437,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17468,20 +17468,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17492,20 +17492,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -17514,13 +17514,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17529,33 +17529,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17564,10 +17564,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -17575,20 +17575,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -17597,13 +17597,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17612,18 +17612,18 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "mixedArray", @@ -17631,29 +17631,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17662,20 +17662,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17686,20 +17686,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -17708,13 +17708,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17722,65 +17722,65 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17789,20 +17789,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17813,20 +17813,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -17835,13 +17835,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17850,39 +17850,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17891,20 +17891,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -17915,20 +17915,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -17937,13 +17937,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17952,10 +17952,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -17963,19 +17963,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -17984,36 +17984,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18022,20 +18022,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18046,20 +18046,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -18068,13 +18068,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18083,39 +18083,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18124,20 +18124,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18148,20 +18148,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -18170,13 +18170,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18185,10 +18185,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -18196,19 +18196,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18219,19 +18219,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18240,42 +18240,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18284,20 +18284,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18308,20 +18308,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -18330,13 +18330,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18345,39 +18345,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18386,20 +18386,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18410,20 +18410,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -18432,13 +18432,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18447,10 +18447,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -18458,19 +18458,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18479,36 +18479,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18517,20 +18517,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18541,20 +18541,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -18563,13 +18563,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18578,39 +18578,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18619,20 +18619,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18643,20 +18643,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -18665,13 +18665,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18680,10 +18680,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -18691,19 +18691,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18714,19 +18714,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18737,19 +18737,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -18758,10 +18758,10 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -18769,20 +18769,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "testDocument", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -18791,75 +18791,75 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Document", - "type": Object { + "type": { "jsonType": "object", "name": "document", "title": "Document", "type": null, }, - Symbol(__cachedStringFields_4): Array [ - Object { - "path": Array [ + Symbol(__cachedStringFields_4): [ + { + "path": [ "_id", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "_type", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "title", ], "weight": 10, }, - Object { - "path": Array [ + { + "path": [ "objectWithArray", "myArray", - Array [], + [], "myString", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "array1Object1String", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "arrayOfPrimitives", - Array [], + [], ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "mixedArray", - Array [], + [], "title", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "legacyArrayEditingArray", - Array [], + [], "title", ], "weight": 1, @@ -18868,7 +18868,7 @@ Object { }, }, ], - "type": Object { + "type": { "jsonType": "object", "name": "reference", "title": "Reference", @@ -18877,33 +18877,33 @@ Object { }, ], "title": "Mixed array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "mixedArray", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18912,20 +18912,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -18936,20 +18936,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "mixedArrayObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -18958,44 +18958,44 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Mixed array object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "mixedArrayObject", "title": "Mixed array object 1", }, }, ], - "parentSchemaType": Object { + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19004,20 +19004,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19028,20 +19028,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "mixedArrayObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -19050,31 +19050,31 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Mixed array object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "name": "_ref", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Referenced document ID", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19082,16 +19082,16 @@ Object { }, }, }, - Object { + { "name": "_weak", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Weak reference", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", "title": "Boolean", @@ -19100,18 +19100,18 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "name": "_ref", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Referenced document ID", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19121,17 +19121,17 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "name": "_weak", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Weak reference", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", "title": "Boolean", @@ -19145,83 +19145,83 @@ Object { "jsonType": "object", "name": "reference", "title": "Reference", - "to": Array [ - Object { - "__experimental_search": Array [ - Object { - "path": Array [ + "to": [ + { + "__experimental_search": [ + { + "path": [ "_id", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "_type", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "title", ], "weight": 10, }, - Object { - "path": Array [ + { + "path": [ "objectWithArray", "myArray", - Array [], + [], "myString", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "array1Object1String", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "arrayOfPrimitives", - Array [], + [], ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "mixedArray", - Array [], + [], "title", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "legacyArrayEditingArray", - Array [], + [], "title", ], "weight": 1, }, ], - "fields": Array [ - Object { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19229,34 +19229,34 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19265,20 +19265,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19289,20 +19289,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -19311,13 +19311,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -19326,39 +19326,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19367,20 +19367,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19391,20 +19391,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -19413,13 +19413,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -19428,10 +19428,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -19439,19 +19439,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -19459,28 +19459,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19488,28 +19488,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19518,20 +19518,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19542,20 +19542,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -19564,13 +19564,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -19579,30 +19579,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19611,29 +19611,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19643,29 +19643,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19674,20 +19674,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19698,20 +19698,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -19720,13 +19720,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -19735,33 +19735,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19770,10 +19770,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -19781,20 +19781,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -19803,13 +19803,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -19818,42 +19818,42 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "mixedArray", "type": [Circular], }, - Object { + { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19862,20 +19862,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19886,20 +19886,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -19908,13 +19908,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -19922,62 +19922,62 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -19986,20 +19986,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20010,20 +20010,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -20032,13 +20032,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20047,39 +20047,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20088,20 +20088,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20112,20 +20112,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -20134,13 +20134,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20149,10 +20149,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -20160,19 +20160,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20181,36 +20181,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20219,20 +20219,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20243,20 +20243,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -20265,13 +20265,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20280,39 +20280,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20321,20 +20321,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20345,20 +20345,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -20367,13 +20367,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20382,10 +20382,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -20393,19 +20393,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20416,19 +20416,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20437,42 +20437,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20481,20 +20481,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20505,20 +20505,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -20527,13 +20527,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20542,39 +20542,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20583,20 +20583,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20607,20 +20607,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -20629,13 +20629,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20644,10 +20644,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -20655,19 +20655,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20676,36 +20676,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20714,20 +20714,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20738,20 +20738,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -20760,13 +20760,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20775,39 +20775,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20816,20 +20816,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20840,20 +20840,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -20862,13 +20862,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20877,10 +20877,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -20888,19 +20888,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20911,19 +20911,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20934,19 +20934,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -20955,29 +20955,29 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -20987,35 +20987,35 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21024,20 +21024,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21048,20 +21048,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -21070,13 +21070,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21085,39 +21085,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21126,20 +21126,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21150,20 +21150,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -21172,13 +21172,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21187,10 +21187,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -21198,19 +21198,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21220,29 +21220,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21250,28 +21250,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21280,20 +21280,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21304,20 +21304,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -21326,13 +21326,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21341,30 +21341,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21373,29 +21373,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21405,29 +21405,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21436,20 +21436,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21460,20 +21460,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -21482,13 +21482,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21497,33 +21497,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21532,10 +21532,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -21543,20 +21543,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -21565,13 +21565,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21580,18 +21580,18 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "mixedArray", @@ -21599,29 +21599,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21630,20 +21630,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21654,20 +21654,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -21676,13 +21676,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21690,65 +21690,65 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21757,20 +21757,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21781,20 +21781,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -21803,13 +21803,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21818,39 +21818,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21859,20 +21859,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21883,20 +21883,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -21905,13 +21905,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21920,10 +21920,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -21931,19 +21931,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -21952,36 +21952,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -21990,20 +21990,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22014,20 +22014,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -22036,13 +22036,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22051,39 +22051,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22092,20 +22092,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22116,20 +22116,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -22138,13 +22138,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22153,10 +22153,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -22164,19 +22164,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22187,19 +22187,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22208,42 +22208,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22252,20 +22252,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22276,20 +22276,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -22298,13 +22298,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22313,39 +22313,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22354,20 +22354,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22378,20 +22378,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -22400,13 +22400,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22415,10 +22415,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -22426,19 +22426,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22447,36 +22447,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22485,20 +22485,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22509,20 +22509,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -22531,13 +22531,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22546,39 +22546,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22587,20 +22587,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22611,20 +22611,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -22633,13 +22633,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22648,10 +22648,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -22659,19 +22659,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22682,19 +22682,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22705,19 +22705,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22726,10 +22726,10 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -22737,20 +22737,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "testDocument", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -22759,26 +22759,26 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Document", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22786,34 +22786,34 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22822,20 +22822,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22846,20 +22846,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -22868,13 +22868,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22883,39 +22883,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22924,20 +22924,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -22948,20 +22948,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -22970,13 +22970,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -22985,10 +22985,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -22996,19 +22996,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23016,28 +23016,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23045,28 +23045,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23075,20 +23075,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23099,20 +23099,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -23121,13 +23121,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23136,30 +23136,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23168,29 +23168,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23200,29 +23200,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23231,20 +23231,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23255,20 +23255,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -23277,13 +23277,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23292,33 +23292,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23327,10 +23327,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -23338,20 +23338,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -23360,13 +23360,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23375,42 +23375,42 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "mixedArray", "type": [Circular], }, - Object { + { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23419,20 +23419,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23443,20 +23443,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -23465,13 +23465,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23479,62 +23479,62 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23543,20 +23543,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23567,20 +23567,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -23589,13 +23589,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23604,39 +23604,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23645,20 +23645,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23669,20 +23669,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -23691,13 +23691,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23706,10 +23706,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -23717,19 +23717,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23738,36 +23738,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23776,20 +23776,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23800,20 +23800,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -23822,13 +23822,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23837,39 +23837,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23878,20 +23878,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -23902,20 +23902,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -23924,13 +23924,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23939,10 +23939,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -23950,19 +23950,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23973,19 +23973,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -23994,42 +23994,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24038,20 +24038,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24062,20 +24062,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -24084,13 +24084,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24099,39 +24099,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24140,20 +24140,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24164,20 +24164,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -24186,13 +24186,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24201,10 +24201,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -24212,19 +24212,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24233,36 +24233,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24271,20 +24271,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24295,20 +24295,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -24317,13 +24317,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24332,39 +24332,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24373,20 +24373,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24397,20 +24397,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -24419,13 +24419,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24434,10 +24434,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -24445,19 +24445,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24468,19 +24468,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24491,19 +24491,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24512,29 +24512,29 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24544,35 +24544,35 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24581,20 +24581,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24605,20 +24605,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -24627,13 +24627,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24642,39 +24642,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24683,20 +24683,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24707,20 +24707,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -24729,13 +24729,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24744,10 +24744,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -24755,19 +24755,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24777,29 +24777,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24807,28 +24807,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24837,20 +24837,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24861,20 +24861,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -24883,13 +24883,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -24898,30 +24898,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24930,29 +24930,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24962,29 +24962,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -24993,20 +24993,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25017,20 +25017,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -25039,13 +25039,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25054,33 +25054,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25089,10 +25089,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -25100,20 +25100,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -25122,13 +25122,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25137,18 +25137,18 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "mixedArray", @@ -25156,29 +25156,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25187,20 +25187,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25211,20 +25211,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -25233,13 +25233,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25247,65 +25247,65 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25314,20 +25314,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25338,20 +25338,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -25360,13 +25360,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25375,39 +25375,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25416,20 +25416,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25440,20 +25440,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -25462,13 +25462,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25477,10 +25477,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -25488,19 +25488,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25509,36 +25509,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25547,20 +25547,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25571,20 +25571,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -25593,13 +25593,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25608,39 +25608,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25649,20 +25649,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25673,20 +25673,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -25695,13 +25695,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25710,10 +25710,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -25721,19 +25721,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25744,19 +25744,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25765,42 +25765,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25809,20 +25809,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25833,20 +25833,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -25855,13 +25855,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25870,39 +25870,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25911,20 +25911,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -25935,20 +25935,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -25957,13 +25957,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -25972,10 +25972,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -25983,19 +25983,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -26004,36 +26004,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26042,20 +26042,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26066,20 +26066,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -26088,13 +26088,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -26103,39 +26103,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26144,20 +26144,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26168,20 +26168,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -26190,13 +26190,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -26205,10 +26205,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -26216,19 +26216,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -26239,19 +26239,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -26262,19 +26262,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -26283,10 +26283,10 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -26294,20 +26294,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "testDocument", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -26316,75 +26316,75 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Document", - "type": Object { + "type": { "jsonType": "object", "name": "document", "title": "Document", "type": null, }, - Symbol(__cachedStringFields_4): Array [ - Object { - "path": Array [ + Symbol(__cachedStringFields_4): [ + { + "path": [ "_id", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "_type", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "title", ], "weight": 10, }, - Object { - "path": Array [ + { + "path": [ "objectWithArray", "myArray", - Array [], + [], "myString", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "array1Object1String", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "arrayOfPrimitives", - Array [], + [], ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "mixedArray", - Array [], + [], "title", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "legacyArrayEditingArray", - Array [], + [], "title", ], "weight": 1, @@ -26393,7 +26393,7 @@ Object { }, }, ], - "type": Object { + "type": { "jsonType": "object", "name": "reference", "title": "Reference", @@ -26402,33 +26402,33 @@ Object { }, ], "title": "Mixed array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "mixedArray", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26437,20 +26437,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26461,20 +26461,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "mixedArrayObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -26483,47 +26483,47 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Mixed array object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "mixedArrayObject", "title": "Mixed array object 1", }, }, ], - "menuItems": Array [ - Object { - "children": Array [], - "parentSchemaType": Object { + "menuItems": [ + { + "children": [], + "parentSchemaType": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26532,20 +26532,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26556,20 +26556,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "mixedArrayObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -26578,31 +26578,31 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Mixed array object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "name": "_ref", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Referenced document ID", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26610,16 +26610,16 @@ Object { }, }, }, - Object { + { "name": "_weak", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Weak reference", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", "title": "Boolean", @@ -26628,18 +26628,18 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "name": "_ref", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Referenced document ID", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26649,17 +26649,17 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "name": "_weak", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Weak reference", - "type": Object { + "type": { "jsonType": "boolean", "name": "boolean", "title": "Boolean", @@ -26673,83 +26673,83 @@ Object { "jsonType": "object", "name": "reference", "title": "Reference", - "to": Array [ - Object { - "__experimental_search": Array [ - Object { - "path": Array [ + "to": [ + { + "__experimental_search": [ + { + "path": [ "_id", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "_type", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "title", ], "weight": 10, }, - Object { - "path": Array [ + { + "path": [ "objectWithArray", "myArray", - Array [], + [], "myString", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "array1Object1String", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "arrayOfPrimitives", - Array [], + [], ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "mixedArray", - Array [], + [], "title", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "legacyArrayEditingArray", - Array [], + [], "title", ], "weight": 1, }, ], - "fields": Array [ - Object { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26757,34 +26757,34 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26793,20 +26793,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26817,20 +26817,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -26839,13 +26839,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -26854,39 +26854,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26895,20 +26895,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -26919,20 +26919,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -26941,13 +26941,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -26956,10 +26956,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -26967,19 +26967,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -26987,28 +26987,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27016,28 +27016,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27046,20 +27046,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27070,20 +27070,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -27092,13 +27092,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27107,30 +27107,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27139,29 +27139,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27171,29 +27171,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27202,20 +27202,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27226,20 +27226,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -27248,13 +27248,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27263,33 +27263,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27298,10 +27298,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -27309,20 +27309,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -27331,13 +27331,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27346,42 +27346,42 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "mixedArray", "type": [Circular], }, - Object { + { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27390,20 +27390,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27414,20 +27414,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -27436,13 +27436,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27450,62 +27450,62 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27514,20 +27514,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27538,20 +27538,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -27560,13 +27560,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27575,39 +27575,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27616,20 +27616,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27640,20 +27640,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -27662,13 +27662,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27677,10 +27677,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -27688,19 +27688,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27709,36 +27709,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27747,20 +27747,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27771,20 +27771,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -27793,13 +27793,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27808,39 +27808,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27849,20 +27849,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -27873,20 +27873,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -27895,13 +27895,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27910,10 +27910,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -27921,19 +27921,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27944,19 +27944,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -27965,42 +27965,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28009,20 +28009,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28033,20 +28033,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -28055,13 +28055,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28070,39 +28070,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28111,20 +28111,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28135,20 +28135,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -28157,13 +28157,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28172,10 +28172,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -28183,19 +28183,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28204,36 +28204,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28242,20 +28242,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28266,20 +28266,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -28288,13 +28288,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28303,39 +28303,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28344,20 +28344,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28368,20 +28368,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -28390,13 +28390,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28405,10 +28405,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -28416,19 +28416,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28439,19 +28439,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28462,19 +28462,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28483,29 +28483,29 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28515,35 +28515,35 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28552,20 +28552,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28576,20 +28576,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -28598,13 +28598,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28613,39 +28613,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28654,20 +28654,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28678,20 +28678,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -28700,13 +28700,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28715,10 +28715,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -28726,19 +28726,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28748,29 +28748,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28778,28 +28778,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28808,20 +28808,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28832,20 +28832,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -28854,13 +28854,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -28869,30 +28869,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28901,29 +28901,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28933,29 +28933,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28964,20 +28964,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -28988,20 +28988,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -29010,13 +29010,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29025,33 +29025,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29060,10 +29060,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -29071,20 +29071,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -29093,13 +29093,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29108,18 +29108,18 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "mixedArray", @@ -29127,29 +29127,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29158,20 +29158,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29182,20 +29182,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -29204,13 +29204,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29218,65 +29218,65 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29285,20 +29285,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29309,20 +29309,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -29331,13 +29331,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29346,39 +29346,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29387,20 +29387,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29411,20 +29411,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -29433,13 +29433,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29448,10 +29448,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -29459,19 +29459,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29480,36 +29480,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29518,20 +29518,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29542,20 +29542,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -29564,13 +29564,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29579,39 +29579,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29620,20 +29620,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29644,20 +29644,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -29666,13 +29666,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29681,10 +29681,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -29692,19 +29692,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29715,19 +29715,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29736,42 +29736,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29780,20 +29780,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29804,20 +29804,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -29826,13 +29826,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29841,39 +29841,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29882,20 +29882,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -29906,20 +29906,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -29928,13 +29928,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29943,10 +29943,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -29954,19 +29954,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -29975,36 +29975,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30013,20 +30013,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30037,20 +30037,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -30059,13 +30059,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30074,39 +30074,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30115,20 +30115,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30139,20 +30139,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -30161,13 +30161,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30176,10 +30176,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -30187,19 +30187,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30210,19 +30210,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30233,19 +30233,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30254,10 +30254,10 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -30265,20 +30265,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "testDocument", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -30287,26 +30287,26 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Document", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30314,34 +30314,34 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30350,20 +30350,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30374,20 +30374,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -30396,13 +30396,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30411,39 +30411,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30452,20 +30452,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30476,20 +30476,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -30498,13 +30498,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30513,10 +30513,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -30524,19 +30524,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30544,28 +30544,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30573,28 +30573,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30603,20 +30603,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30627,20 +30627,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -30649,13 +30649,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30664,30 +30664,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30696,29 +30696,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30728,29 +30728,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30759,20 +30759,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30783,20 +30783,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -30805,13 +30805,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30820,33 +30820,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30855,10 +30855,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -30866,20 +30866,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -30888,13 +30888,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -30903,42 +30903,42 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "mixedArray", "type": [Circular], }, - Object { + { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30947,20 +30947,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -30971,20 +30971,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -30993,13 +30993,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31007,62 +31007,62 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31071,20 +31071,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31095,20 +31095,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -31117,13 +31117,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31132,39 +31132,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31173,20 +31173,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31197,20 +31197,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -31219,13 +31219,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31234,10 +31234,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -31245,19 +31245,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31266,36 +31266,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31304,20 +31304,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31328,20 +31328,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -31350,13 +31350,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31365,39 +31365,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31406,20 +31406,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31430,20 +31430,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -31452,13 +31452,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31467,10 +31467,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -31478,19 +31478,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31501,19 +31501,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31522,42 +31522,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31566,20 +31566,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31590,20 +31590,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -31612,13 +31612,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31627,39 +31627,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31668,20 +31668,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31692,20 +31692,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -31714,13 +31714,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31729,10 +31729,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -31740,19 +31740,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31761,36 +31761,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31799,20 +31799,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31823,20 +31823,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -31845,13 +31845,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31860,39 +31860,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31901,20 +31901,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -31925,20 +31925,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -31947,13 +31947,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31962,10 +31962,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -31973,19 +31973,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -31996,19 +31996,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32019,19 +32019,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32040,29 +32040,29 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32072,35 +32072,35 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "objectWithArray", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32109,20 +32109,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32133,20 +32133,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -32155,13 +32155,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32170,39 +32170,39 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32211,20 +32211,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "myString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32235,20 +32235,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "myObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "myString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.myString", "ns": "studio", }, @@ -32257,13 +32257,13 @@ Object { "title": "My string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "myString", }, }, "title": "Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32272,10 +32272,10 @@ Object { }, ], "title": "Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -32283,19 +32283,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "myArray": "myArray", }, }, "title": "Object with array", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32305,29 +32305,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32335,28 +32335,28 @@ Object { }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32365,20 +32365,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32389,20 +32389,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -32411,13 +32411,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32426,30 +32426,30 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, - Object { + { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32458,29 +32458,29 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1String", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32490,29 +32490,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32521,20 +32521,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "array1Object1ObjectString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Array 1 Object 1 Object String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32545,20 +32545,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1ObjectString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1ObjectString", "ns": "studio", }, @@ -32567,13 +32567,13 @@ Object { "title": "Array 1 object 1 object string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1ObjectString", }, }, "title": "Array 1 Object 1 Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32582,33 +32582,33 @@ Object { }, ], "title": "Array 1 Object 1 Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayOfPrimitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { + "of": [ + { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32617,10 +32617,10 @@ Object { }, ], "title": "Array of primitives", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -32628,20 +32628,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "array1Object", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "array1Object1String", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.array1Object1String", "ns": "studio", }, @@ -32650,13 +32650,13 @@ Object { "title": "Array 1 object 1 string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "array1Object1String", }, }, "title": "Array 1 object 1", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32665,18 +32665,18 @@ Object { }, ], "title": "Array 1", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "mixedArray", @@ -32684,29 +32684,29 @@ Object { }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "legacyArrayEditingArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32715,20 +32715,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32739,20 +32739,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "legacyArrayEditingObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -32761,13 +32761,13 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Legacy array editing object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32775,65 +32775,65 @@ Object { }, }, ], - "options": Object { + "options": { "treeEditing": false, }, "title": "Legacy array editing array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, "single": true, }, - Object { - "field": Object { + { + "field": { "fieldset": undefined, "group": undefined, "name": "arrayWithArrayFieldInNestedObjects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32842,20 +32842,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32866,20 +32866,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -32888,13 +32888,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -32903,39 +32903,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32944,20 +32944,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -32968,20 +32968,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -32990,13 +32990,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33005,10 +33005,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -33016,19 +33016,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33037,36 +33037,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33075,20 +33075,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33099,20 +33099,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -33121,13 +33121,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33136,39 +33136,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33177,20 +33177,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33201,20 +33201,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -33223,13 +33223,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33238,10 +33238,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -33249,19 +33249,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33272,19 +33272,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33293,42 +33293,42 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "secondObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33337,20 +33337,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33361,20 +33361,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -33383,13 +33383,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33398,39 +33398,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33439,20 +33439,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33463,20 +33463,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -33485,13 +33485,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33500,10 +33500,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -33511,19 +33511,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33532,36 +33532,36 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "thirdObject", - "type": Object { - "fields": Array [ - Object { + "type": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33570,20 +33570,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33594,20 +33594,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -33616,13 +33616,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33631,39 +33631,39 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedArray", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [ - Object { - "fields": Array [ - Object { + "of": [ + { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33672,20 +33672,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "nestedString", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Nested String", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33696,20 +33696,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "nestedObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "nestedString", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.nestedString", "ns": "studio", }, @@ -33718,13 +33718,13 @@ Object { "title": "Nested string", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "nestedString", }, }, "title": "Nested Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33733,10 +33733,10 @@ Object { }, ], "title": "Nested Array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -33744,19 +33744,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "nestedArray": "nestedArray", }, }, "title": "Third Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33767,19 +33767,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "object", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "thirdObject": "thirdObject", }, }, "title": "Second Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33790,19 +33790,19 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "firstObject", - "options": Object {}, - "orderings": Array [], - "preview": Object { + "options": {}, + "orderings": [], + "preview": { "prepare": [Function], - "select": Object { + "select": { "secondObject": "secondObject", }, }, "title": "First Object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", @@ -33811,10 +33811,10 @@ Object { }, ], "title": "Array With Array Field In Nested Objects", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, @@ -33822,20 +33822,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "testDocument", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -33844,75 +33844,75 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Document", - "type": Object { + "type": { "jsonType": "object", "name": "document", "title": "Document", "type": null, }, - Symbol(__cachedStringFields_4): Array [ - Object { - "path": Array [ + Symbol(__cachedStringFields_4): [ + { + "path": [ "_id", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "_type", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "title", ], "weight": 10, }, - Object { - "path": Array [ + { + "path": [ "objectWithArray", "myArray", - Array [], + [], "myString", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "array1Object1String", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "array1", - Array [], + [], "arrayOfPrimitives", - Array [], + [], ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "mixedArray", - Array [], + [], "title", ], "weight": 1, }, - Object { - "path": Array [ + { + "path": [ "legacyArrayEditingArray", - Array [], + [], "title", ], "weight": 1, @@ -33921,7 +33921,7 @@ Object { }, }, ], - "type": Object { + "type": { "jsonType": "object", "name": "reference", "title": "Reference", @@ -33930,33 +33930,33 @@ Object { }, ], "title": "Mixed array", - "type": Object { + "type": { "jsonType": "array", "name": "array", - "of": Array [], + "of": [], "type": null, }, }, - "path": Array [ + "path": [ "mixedArray", - Object { + { "_key": "key1", }, ], - "schemaType": Object { - "fields": Array [ - Object { + "schemaType": { + "fields": [ + { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33965,20 +33965,20 @@ Object { }, }, ], - "fieldsets": Array [ - Object { - "field": Object { + "fieldsets": [ + { + "field": { "fieldset": undefined, "group": undefined, "name": "title", - "type": Object { + "type": { "jsonType": "string", "name": "string", - "preview": Object { + "preview": { "prepare": [Function], }, "title": "Title", - "type": Object { + "type": { "jsonType": "string", "name": "string", "title": "String", @@ -33989,20 +33989,20 @@ Object { "single": true, }, ], - "groups": Array [], + "groups": [], "jsonType": "object", "name": "mixedArrayObject", - "options": Object {}, - "orderings": Array [ - Object { - "by": Array [ - Object { + "options": {}, + "orderings": [ + { + "by": [ + { "direction": "asc", "field": "title", }, ], - "i18n": Object { - "title": Object { + "i18n": { + "title": { "key": "default-orderings.title", "ns": "studio", }, @@ -34011,29 +34011,29 @@ Object { "title": "Title", }, ], - "preview": Object { - "select": Object { + "preview": { + "select": { "title": "title", }, }, "title": "Mixed array object", - "type": Object { + "type": { "jsonType": "object", "name": "object", "title": "Object", "type": null, }, }, - "value": Object { + "value": { "_key": "key1", "_type": "mixedArrayObject", "title": "Mixed array object 1", }, }, ], - "relativePath": Array [ + "relativePath": [ "mixedArray", - Object { + { "_key": "key1", }, ], diff --git a/packages/sanity/src/core/form/studio/tree-editing/__tests__/buildTreeEditingState.test.ts b/packages/sanity/src/core/form/studio/tree-editing/__tests__/buildTreeEditingState.test.ts index eeb8aea5a63..724b06a1d8c 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__tests__/buildTreeEditingState.test.ts +++ b/packages/sanity/src/core/form/studio/tree-editing/__tests__/buildTreeEditingState.test.ts @@ -1,6 +1,6 @@ -import {describe, expect, test} from '@jest/globals' import {Schema} from '@sanity/schema' import {type SanityDocumentLike} from '@sanity/types' +import {describe, expect, test} from 'vitest' import {buildTreeEditingState} from '../utils' diff --git a/packages/sanity/src/core/form/studio/tree-editing/__tests__/findArrayTypePaths.test.ts b/packages/sanity/src/core/form/studio/tree-editing/__tests__/findArrayTypePaths.test.ts index fd163585f80..a00680fea50 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__tests__/findArrayTypePaths.test.ts +++ b/packages/sanity/src/core/form/studio/tree-editing/__tests__/findArrayTypePaths.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, test} from '@jest/globals' import {Schema} from '@sanity/schema' +import {describe, expect, test} from 'vitest' import {findArrayTypePaths} from '../utils' diff --git a/packages/sanity/src/core/form/studio/tree-editing/__tests__/treeEditingSearch.test.ts b/packages/sanity/src/core/form/studio/tree-editing/__tests__/treeEditingSearch.test.ts index d1e21d69381..35df30bf670 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__tests__/treeEditingSearch.test.ts +++ b/packages/sanity/src/core/form/studio/tree-editing/__tests__/treeEditingSearch.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {type SearchableTreeEditingMenuItem} from '../components/search/types' import {treeEditingSearch} from '../components/search/utils' diff --git a/packages/sanity/src/core/form/studio/tree-editing/__tests__/useTreeEditingEnabled.test.tsx b/packages/sanity/src/core/form/studio/tree-editing/__tests__/useTreeEditingEnabled.test.tsx index 83ba96acb9d..f3b22291411 100644 --- a/packages/sanity/src/core/form/studio/tree-editing/__tests__/useTreeEditingEnabled.test.tsx +++ b/packages/sanity/src/core/form/studio/tree-editing/__tests__/useTreeEditingEnabled.test.tsx @@ -1,14 +1,14 @@ -import {describe, expect, jest, test} from '@jest/globals' import {renderHook} from '@testing-library/react' import {type PropsWithChildren} from 'react' import {useSource, useTreeEditingEnabled} from 'sanity' +import {describe, expect, type Mock, test, vi} from 'vitest' import {TreeEditingEnabledProvider} from '../context' // Mock the entire module -jest.mock('../../../../studio/source') +vi.mock('../../../../studio/source') -const mockedUseInnerHook = useSource as jest.Mock +const mockedUseInnerHook = useSource as Mock const wrapper = ({children}: PropsWithChildren) => ( {children} diff --git a/packages/sanity/src/core/form/types/definitionExtensions.test.ts b/packages/sanity/src/core/form/types/definitionExtensions.test.ts index 9c556ff78b4..28ad1fb3c53 100644 --- a/packages/sanity/src/core/form/types/definitionExtensions.test.ts +++ b/packages/sanity/src/core/form/types/definitionExtensions.test.ts @@ -1,4 +1,3 @@ -import {describe, it} from '@jest/globals' /* eslint-disable @typescript-eslint/no-unused-vars */ // noinspection JSUnusedLocalSymbols import { @@ -58,6 +57,7 @@ import type { TextComponents, UrlComponents, } from 'sanity' +import {describe, it} from 'vitest' import {type PreviewProps} from '../../components' import {type CrossDatasetReferenceInputProps, type ReferenceInputProps} from '../studio' diff --git a/packages/sanity/src/core/hooks/__tests__/useFormattedDuration.test.tsx b/packages/sanity/src/core/hooks/__tests__/useFormattedDuration.test.tsx index 5854ef3dafb..7eec8508648 100644 --- a/packages/sanity/src/core/hooks/__tests__/useFormattedDuration.test.tsx +++ b/packages/sanity/src/core/hooks/__tests__/useFormattedDuration.test.tsx @@ -1,7 +1,7 @@ -import {beforeAll, describe, expect, it} from '@jest/globals' import {studioTheme, ThemeProvider} from '@sanity/ui' import {renderHook} from '@testing-library/react' import {type ReactElement} from 'react' +import {beforeAll, describe, expect, it} from 'vitest' import {LocaleProviderBase, usEnglishLocale} from '../../i18n' import {studioDefaultLocaleResources} from '../../i18n/bundles/studio' diff --git a/packages/sanity/src/core/hooks/__tests__/useRelativeTime.test.tsx b/packages/sanity/src/core/hooks/__tests__/useRelativeTime.test.tsx index a7abe126070..bf2172ececa 100644 --- a/packages/sanity/src/core/hooks/__tests__/useRelativeTime.test.tsx +++ b/packages/sanity/src/core/hooks/__tests__/useRelativeTime.test.tsx @@ -1,7 +1,7 @@ -import {beforeAll, describe, expect, it} from '@jest/globals' import {studioTheme, ThemeProvider} from '@sanity/ui' import {renderHook} from '@testing-library/react' import {type ReactElement} from 'react' +import {beforeAll, describe, expect, it} from 'vitest' import {LocaleProviderBase, usEnglishLocale} from '../../i18n' import {studioDefaultLocaleResources} from '../../i18n/bundles/studio' diff --git a/packages/sanity/src/core/hooks/__tests__/useUnitFormatter.test.tsx b/packages/sanity/src/core/hooks/__tests__/useUnitFormatter.test.tsx index 11d279ed7d3..e7027869a6a 100644 --- a/packages/sanity/src/core/hooks/__tests__/useUnitFormatter.test.tsx +++ b/packages/sanity/src/core/hooks/__tests__/useUnitFormatter.test.tsx @@ -1,7 +1,7 @@ -import {beforeAll, beforeEach, describe, expect, it} from '@jest/globals' import {studioTheme, ThemeProvider} from '@sanity/ui' import {renderHook} from '@testing-library/react' import {type ReactElement} from 'react' +import {beforeAll, beforeEach, describe, expect, it} from 'vitest' import {LocaleProviderBase, usEnglishLocale} from '../../i18n' import {studioDefaultLocaleResources} from '../../i18n/bundles/studio' diff --git a/packages/sanity/src/core/i18n/__tests__/Translate.test.tsx b/packages/sanity/src/core/i18n/__tests__/Translate.test.tsx index 3d7ca99c77d..553b485268a 100644 --- a/packages/sanity/src/core/i18n/__tests__/Translate.test.tsx +++ b/packages/sanity/src/core/i18n/__tests__/Translate.test.tsx @@ -1,7 +1,7 @@ -import {describe, expect, it} from '@jest/globals' import {studioTheme, ThemeProvider} from '@sanity/ui' import {render} from '@testing-library/react' import {type ComponentProps, type ReactNode} from 'react' +import {describe, expect, it} from 'vitest' import {LocaleProviderBase} from '../components/LocaleProvider' import {useTranslation} from '../hooks/useTranslation' diff --git a/packages/sanity/src/core/i18n/__tests__/simpleParser.test.ts b/packages/sanity/src/core/i18n/__tests__/simpleParser.test.ts index 9f3a7ed46c7..615610b7a42 100644 --- a/packages/sanity/src/core/i18n/__tests__/simpleParser.test.ts +++ b/packages/sanity/src/core/i18n/__tests__/simpleParser.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {simpleParser} from '../simpleParser' diff --git a/packages/sanity/src/core/preview/__test__/observeFields.test.ts b/packages/sanity/src/core/preview/__test__/observeFields.test.ts index 63d863187fd..f558f094201 100644 --- a/packages/sanity/src/core/preview/__test__/observeFields.test.ts +++ b/packages/sanity/src/core/preview/__test__/observeFields.test.ts @@ -1,6 +1,6 @@ -import {describe, expect, it} from '@jest/globals' import {firstValueFrom, of, Subject} from 'rxjs' import {take, tap} from 'rxjs/operators' +import {describe, expect, it} from 'vitest' import {type ClientLike, createObserveFields} from '../observeFields' import {type InvalidationChannelEvent} from '../types' diff --git a/packages/sanity/src/core/preview/utils/getPreviewPaths.test.ts b/packages/sanity/src/core/preview/utils/getPreviewPaths.test.ts index 81f277ec0ac..2926441e648 100644 --- a/packages/sanity/src/core/preview/utils/getPreviewPaths.test.ts +++ b/packages/sanity/src/core/preview/utils/getPreviewPaths.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {type SchemaType} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {getPreviewPaths} from './getPreviewPaths' diff --git a/packages/sanity/src/core/preview/utils/shareReplayLatest.test.ts b/packages/sanity/src/core/preview/utils/shareReplayLatest.test.ts index 03796d77b38..5b0b52f3f21 100644 --- a/packages/sanity/src/core/preview/utils/shareReplayLatest.test.ts +++ b/packages/sanity/src/core/preview/utils/shareReplayLatest.test.ts @@ -1,6 +1,6 @@ -import {expect, test} from '@jest/globals' import {concat, from, lastValueFrom, of, share, timer} from 'rxjs' import {concatMap, delay, mergeMap, take, toArray} from 'rxjs/operators' +import {expect, test} from 'vitest' import {shareReplayLatest} from './shareReplayLatest' diff --git a/packages/sanity/src/core/scheduledPublishing/tool/contexts/ScheduledPublishingEnabledProvider.test.tsx b/packages/sanity/src/core/scheduledPublishing/tool/contexts/ScheduledPublishingEnabledProvider.test.tsx index 05b3551fa50..edf10c6d437 100644 --- a/packages/sanity/src/core/scheduledPublishing/tool/contexts/ScheduledPublishingEnabledProvider.test.tsx +++ b/packages/sanity/src/core/scheduledPublishing/tool/contexts/ScheduledPublishingEnabledProvider.test.tsx @@ -1,45 +1,39 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import {renderHook} from '@testing-library/react' +import {useWorkspace} from 'sanity' +import {beforeEach, describe, expect, it, vi} from 'vitest' +import {useFeatureEnabled} from '../../../hooks' import { ScheduledPublishingEnabledProvider, useScheduledPublishingEnabled, } from './ScheduledPublishingEnabledProvider' -jest.mock('../../../hooks', () => { - // eslint-disable-next-line @typescript-eslint/consistent-type-imports - const actual: typeof import('../../../hooks') = jest.requireActual('../../../hooks') - const mock = jest.fn() +vi.mock('../../../hooks/useFeatureEnabled', () => ({ + ...(vi.importActual('sanity') || {}), + useFeatureEnabled: vi.fn().mockReturnValue({}), +})) - return new Proxy(actual, { - get: (target, property: keyof typeof actual) => { - if (property === 'useFeatureEnabled') return mock - return target[property] - }, - }) -}) +vi.mock('../../../studio/workspace', () => ({ + ...(vi.importActual('sanity') || {}), + useWorkspace: vi.fn().mockReturnValue({}), +})) -jest.mock('../../../studio', () => { - // eslint-disable-next-line @typescript-eslint/consistent-type-imports - const actual: typeof import('../../../studio') = jest.requireActual('../../../studio') - const mock = jest.fn() - - return new Proxy(actual, { - get: (target, property: keyof typeof actual) => { - if (property === 'useWorkspace') return mock - return target[property] - }, - }) -}) +const useFeatureEnabledMock = useFeatureEnabled as ReturnType +const useWorkspaceMock = useWorkspace as ReturnType describe('ScheduledPublishingEnabledProvider', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) - it('should not show scheduled publishing if user opt out and the feature is not enabled (any plan)', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: false, isLoading: false}) - require('../../../studio').useWorkspace.mockReturnValue({scheduledPublishing: {enabled: false}}) + it('should not show scheduled publishing if user opt out and the feature is not enabled (any plan)', async () => { + useFeatureEnabledMock.mockReturnValue({ + enabled: false, + isLoading: false, + }) + useWorkspaceMock.mockReturnValue({ + scheduledPublishing: {enabled: false}, + }) const value = renderHook(useScheduledPublishingEnabled, { wrapper: ScheduledPublishingEnabledProvider, @@ -48,8 +42,8 @@ describe('ScheduledPublishingEnabledProvider', () => { expect(value.result.current).toEqual({enabled: false, mode: null}) }) it('should not show scheduled publishing if user opt out and the feature is enabled (any plan)', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: true, isLoading: false}) - require('../../../studio').useWorkspace.mockReturnValue({scheduledPublishing: {enabled: false}}) + useFeatureEnabledMock.mockReturnValue({enabled: true, isLoading: false}) + useWorkspaceMock.mockReturnValue({scheduledPublishing: {enabled: false}}) const value = renderHook(useScheduledPublishingEnabled, { wrapper: ScheduledPublishingEnabledProvider, @@ -59,8 +53,8 @@ describe('ScheduledPublishingEnabledProvider', () => { }) it('should show default mode if user hasnt opted out and the feature is enabled (growth or above)', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: true, isLoading: false}) - require('../../../studio').useWorkspace.mockReturnValue({scheduledPublishing: {enabled: true}}) + useFeatureEnabledMock.mockReturnValue({enabled: true, isLoading: false}) + useWorkspaceMock.mockReturnValue({scheduledPublishing: {enabled: true}}) const value = renderHook(useScheduledPublishingEnabled, { wrapper: ScheduledPublishingEnabledProvider, @@ -70,8 +64,8 @@ describe('ScheduledPublishingEnabledProvider', () => { }) it('should show upsell mode if user has not opt out and the feature is not enabled (free plans)', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: false, isLoading: false}) - require('../../../studio').useWorkspace.mockReturnValue({scheduledPublishing: {enabled: true}}) + useFeatureEnabledMock.mockReturnValue({enabled: false, isLoading: false}) + useWorkspaceMock.mockReturnValue({scheduledPublishing: {enabled: true}}) const value = renderHook(useScheduledPublishingEnabled, { wrapper: ScheduledPublishingEnabledProvider, @@ -81,8 +75,8 @@ describe('ScheduledPublishingEnabledProvider', () => { }) it('should not show tasks if it is loading the feature', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: false, isLoading: true}) - require('../../../studio').useWorkspace.mockReturnValue({scheduledPublishing: {enabled: true}}) + useFeatureEnabledMock.mockReturnValue({enabled: false, isLoading: true}) + useWorkspaceMock.mockReturnValue({scheduledPublishing: {enabled: true}}) const value = renderHook(useScheduledPublishingEnabled, { wrapper: ScheduledPublishingEnabledProvider, @@ -92,10 +86,8 @@ describe('ScheduledPublishingEnabledProvider', () => { }) it('should call "useFeatureEnabled" with "scheduledPublishing"', () => { - require('../../../studio').useWorkspace.mockReturnValue({scheduledPublishing: {enabled: false}}) - - const useFeatureEnabled = require('../../../hooks').useFeatureEnabled - useFeatureEnabled.mockReturnValue({enabled: false, isLoading: false}) + useWorkspaceMock.mockReturnValue({scheduledPublishing: {enabled: false}}) + useFeatureEnabledMock.mockReturnValue({enabled: false, isLoading: false}) renderHook(useScheduledPublishingEnabled, { wrapper: ScheduledPublishingEnabledProvider, diff --git a/packages/sanity/src/core/scheduledPublishing/tool/contexts/ScheduledPublishingEnabledProvider.tsx b/packages/sanity/src/core/scheduledPublishing/tool/contexts/ScheduledPublishingEnabledProvider.tsx index fc405a172a1..3625a1909ed 100644 --- a/packages/sanity/src/core/scheduledPublishing/tool/contexts/ScheduledPublishingEnabledProvider.tsx +++ b/packages/sanity/src/core/scheduledPublishing/tool/contexts/ScheduledPublishingEnabledProvider.tsx @@ -1,8 +1,8 @@ import {useContext, useMemo} from 'react' import {ScheduledPublishingEnabledContext} from 'sanity/_singletons' -import {useFeatureEnabled} from '../../../hooks' -import {useWorkspace} from '../../../studio' +import {useFeatureEnabled} from '../../../hooks/useFeatureEnabled' +import {useWorkspace} from '../../../studio/workspace' /** * @internal diff --git a/packages/sanity/src/core/search/common/__tests__/deriveSearchWeightsFromType.test.ts b/packages/sanity/src/core/search/common/__tests__/deriveSearchWeightsFromType.test.ts index d03414db65f..ee254236010 100644 --- a/packages/sanity/src/core/search/common/__tests__/deriveSearchWeightsFromType.test.ts +++ b/packages/sanity/src/core/search/common/__tests__/deriveSearchWeightsFromType.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {type CrossDatasetReferenceSchemaType, defineField, defineType} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {createSchema} from '../../../schema' import {deriveSearchWeightsFromType} from '../deriveSearchWeightsFromType' diff --git a/packages/sanity/src/core/search/common/__tests__/getSearchableTypes.test.ts b/packages/sanity/src/core/search/common/__tests__/getSearchableTypes.test.ts index 3cc52c1ee79..8d4e278579b 100644 --- a/packages/sanity/src/core/search/common/__tests__/getSearchableTypes.test.ts +++ b/packages/sanity/src/core/search/common/__tests__/getSearchableTypes.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {defineType, type Schema} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {createSchema} from '../../../schema' import {getSearchableTypes} from '../getSearchableTypes' diff --git a/packages/sanity/src/core/search/text-search/createTextSearch.test.ts b/packages/sanity/src/core/search/text-search/createTextSearch.test.ts index 785c8557bf5..b8bca154ad5 100644 --- a/packages/sanity/src/core/search/text-search/createTextSearch.test.ts +++ b/packages/sanity/src/core/search/text-search/createTextSearch.test.ts @@ -1,6 +1,6 @@ -import {describe, expect, it} from '@jest/globals' import {Schema} from '@sanity/schema' import {defineField, defineType} from '@sanity/types' +import {describe, expect, it} from 'vitest' import { getDocumentTypeConfiguration, diff --git a/packages/sanity/src/core/search/weighted/applyWeights.test.ts b/packages/sanity/src/core/search/weighted/applyWeights.test.ts index 8cfd8230900..d2ac6e9c498 100644 --- a/packages/sanity/src/core/search/weighted/applyWeights.test.ts +++ b/packages/sanity/src/core/search/weighted/applyWeights.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import { calculatePhraseScore, diff --git a/packages/sanity/src/core/search/weighted/createSearchQuery.test.ts b/packages/sanity/src/core/search/weighted/createSearchQuery.test.ts index 93b56c5f38e..449d03e3c80 100644 --- a/packages/sanity/src/core/search/weighted/createSearchQuery.test.ts +++ b/packages/sanity/src/core/search/weighted/createSearchQuery.test.ts @@ -1,7 +1,7 @@ /* eslint-disable camelcase */ -import {describe, expect, it, test} from '@jest/globals' import {Schema} from '@sanity/schema' import {defineArrayMember, defineField, defineType} from '@sanity/types' +import {describe, expect, it, test} from 'vitest' import {FINDABILITY_MVI} from '../constants' import { diff --git a/packages/sanity/src/core/search/weighted/createWeightedSearch.test.ts b/packages/sanity/src/core/search/weighted/createWeightedSearch.test.ts index 5aa1435c2b8..65a193cfa1e 100644 --- a/packages/sanity/src/core/search/weighted/createWeightedSearch.test.ts +++ b/packages/sanity/src/core/search/weighted/createWeightedSearch.test.ts @@ -1,15 +1,15 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import {Schema} from '@sanity/schema' import {renderHook} from '@testing-library/react' import {defer, lastValueFrom, of} from 'rxjs' +import {beforeEach, describe, expect, it, type Mock, vi} from 'vitest' import {useClient} from '../../hooks' import {getSearchableTypes, type SearchTerms} from '../common' import {createWeightedSearch} from './createWeightedSearch' // Mock client -jest.mock('../../hooks', () => ({ - useClient: () => ({observable: {fetch: jest.fn()}}), +vi.mock('../../hooks', () => ({ + useClient: () => ({observable: {fetch: vi.fn()}}), })) const mockSchema = Schema.compile({ @@ -32,8 +32,8 @@ const { const search = createWeightedSearch(getSearchableTypes(mockSchema), client, {unique: true}) beforeEach(() => { - ;(client.observable.fetch as jest.Mock).mockReset() - ;(client.observable.fetch as jest.Mock).mockReturnValue(searchHits) + ;(client.observable.fetch as Mock).mockReset() + ;(client.observable.fetch as Mock).mockReturnValue(searchHits) }) describe('createWeightedSearch', () => { diff --git a/packages/sanity/src/core/store/_legacy/__tests__/createMultiKeyWeakMap.test.ts b/packages/sanity/src/core/store/_legacy/__tests__/createMultiKeyWeakMap.test.ts index 8d81319598c..14413c9d666 100644 --- a/packages/sanity/src/core/store/_legacy/__tests__/createMultiKeyWeakMap.test.ts +++ b/packages/sanity/src/core/store/_legacy/__tests__/createMultiKeyWeakMap.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {createMultiKeyWeakMap} from '../createMultiKeyWeakMap' diff --git a/packages/sanity/src/core/store/_legacy/document/document-pair/checkoutPair.test.ts b/packages/sanity/src/core/store/_legacy/document/document-pair/checkoutPair.test.ts index 3bb97b2eff2..69ed67437e2 100644 --- a/packages/sanity/src/core/store/_legacy/document/document-pair/checkoutPair.test.ts +++ b/packages/sanity/src/core/store/_legacy/document/document-pair/checkoutPair.test.ts @@ -1,12 +1,12 @@ -import {beforeEach, describe, expect, jest, test} from '@jest/globals' import {type SanityClient} from '@sanity/client' import {merge, of} from 'rxjs' import {delay} from 'rxjs/operators' +import {beforeEach, describe, expect, test, vi} from 'vitest' import {checkoutPair} from './checkoutPair' -const mockedDataRequest = jest.fn(() => of({})) -const mockedActionRequest = jest.fn(() => of({})) +const mockedDataRequest = vi.fn(() => of({})) +const mockedActionRequest = vi.fn(() => of({})) const client = { observable: { @@ -19,13 +19,13 @@ const client = { action: mockedActionRequest, }, dataRequest: mockedDataRequest, - withConfig: jest.fn(() => client), + withConfig: vi.fn(() => client), } const idPair = {publishedId: 'publishedId', draftId: 'draftId'} beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) describe('checkoutPair -- local actions', () => { diff --git a/packages/sanity/src/core/store/_legacy/document/document-pair/operations/__snapshots__/publish.test.ts.snap b/packages/sanity/src/core/store/_legacy/document/document-pair/operations/__snapshots__/publish.test.ts.snap index ac365b6da72..698eba95c23 100644 --- a/packages/sanity/src/core/store/_legacy/document/document-pair/operations/__snapshots__/publish.test.ts.snap +++ b/packages/sanity/src/core/store/_legacy/document/document-pair/operations/__snapshots__/publish.test.ts.snap @@ -1,31 +1,31 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`publish execute calls createOrReplace with _revision_lock_pseudo_field_ if there is an already published document 1`] = ` -Object { - "listen": Array [], - "observable": Object { - "action": Array [], - "fetch": Array [], - "getDocuments": Array [], - "listen": Array [], - "request": Array [], +exports[`publish > execute > calls createOrReplace with _revision_lock_pseudo_field_ if there is an already published document 1`] = ` +{ + "listen": [], + "observable": { + "action": [], + "fetch": [], + "getDocuments": [], + "listen": [], + "request": [], }, - "request": Array [], - "transaction": Array [ - Object { - "commit": Array [ - Array [ - Object { + "request": [], + "transaction": [ + { + "commit": [ + [ + { "tag": "document.publish", "visibility": "async", }, ], ], - "create": Array [], - "createIfNotExists": Array [], - "createOrReplace": Array [ - Array [ - Object { + "create": [], + "createIfNotExists": [], + "createOrReplace": [ + [ + { "_createdAt": "2021-09-14T22:48:02.303Z", "_id": "my-id", "_rev": "exampleRev", @@ -34,18 +34,18 @@ Object { }, ], ], - "delete": Array [ - Array [ + "delete": [ + [ "drafts.my-id", ], ], "id": 1, - "patch": Array [ - Array [ + "patch": [ + [ "my-id", - Object { + { "ifRevisionID": "exampleRev", - "unset": Array [ + "unset": [ "_revision_lock_pseudo_field_", ], }, @@ -56,30 +56,30 @@ Object { } `; -exports[`publish execute removes the \`_updatedAt\` field 1`] = ` -Object { - "listen": Array [], - "observable": Object { - "action": Array [], - "fetch": Array [], - "getDocuments": Array [], - "listen": Array [], - "request": Array [], +exports[`publish > execute > removes the \`_updatedAt\` field 1`] = ` +{ + "listen": [], + "observable": { + "action": [], + "fetch": [], + "getDocuments": [], + "listen": [], + "request": [], }, - "request": Array [], - "transaction": Array [ - Object { - "commit": Array [ - Array [ - Object { + "request": [], + "transaction": [ + { + "commit": [ + [ + { "tag": "document.publish", "visibility": "async", }, ], ], - "create": Array [ - Array [ - Object { + "create": [ + [ + { "_createdAt": "2021-09-14T22:48:02.303Z", "_id": "my-id", "_rev": "exampleRev", @@ -88,87 +88,87 @@ Object { }, ], ], - "createIfNotExists": Array [], - "createOrReplace": Array [], - "delete": Array [ - Array [ + "createIfNotExists": [], + "createOrReplace": [], + "delete": [ + [ "drafts.my-id", ], ], "id": 1, - "patch": Array [], + "patch": [], }, ], } `; -exports[`publish execute takes in any and strengthens references where _strengthenOnPublish is true 1`] = ` -Object { - "listen": Array [], - "observable": Object { - "action": Array [], - "fetch": Array [], - "getDocuments": Array [], - "listen": Array [], - "request": Array [], +exports[`publish > execute > takes in any and strengthens references where _strengthenOnPublish is true 1`] = ` +{ + "listen": [], + "observable": { + "action": [], + "fetch": [], + "getDocuments": [], + "listen": [], + "request": [], }, - "request": Array [], - "transaction": Array [ - Object { - "commit": Array [ - Array [ - Object { + "request": [], + "transaction": [ + { + "commit": [ + [ + { "tag": "document.publish", "visibility": "async", }, ], ], - "create": Array [ - Array [ - Object { + "create": [ + [ + { "_createdAt": "2021-09-14T22:48:02.303Z", "_id": "my-id", "_rev": "exampleRev", "_type": "my-type", - "inAn": Array [ - Object { + "inAn": [ + { "_key": "my-key", "_ref": "my-ref-in-an-", "_type": "reference", }, - Object { + { "_key": "my-other-key", "_type": "nestedObj", - "myRef": Object { + "myRef": { "_ref": "my-ref-in-an--nested", }, }, - Object { + { "_ref": "my-ref-in-an--no-key", "_type": "reference", }, ], - "notToBeStrengthened": Object { + "notToBeStrengthened": { "_ref": "my-ref", "_type": "reference", "_weak": true, }, - "simpleRef": Object { + "simpleRef": { "_ref": "my-ref", "_type": "reference", }, }, ], ], - "createIfNotExists": Array [], - "createOrReplace": Array [], - "delete": Array [ - Array [ + "createIfNotExists": [], + "createOrReplace": [], + "delete": [ + [ "drafts.my-id", ], ], "id": 1, - "patch": Array [], + "patch": [], }, ], } diff --git a/packages/sanity/src/core/store/_legacy/document/document-pair/operations/publish.test.ts b/packages/sanity/src/core/store/_legacy/document/document-pair/operations/publish.test.ts index 6d9774e5d0a..76a4a31b373 100644 --- a/packages/sanity/src/core/store/_legacy/document/document-pair/operations/publish.test.ts +++ b/packages/sanity/src/core/store/_legacy/document/document-pair/operations/publish.test.ts @@ -1,22 +1,22 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import {type SanityDocument} from '@sanity/types' +import {beforeEach, describe, expect, it, type Mock, vi} from 'vitest' import {createMockSanityClient} from '../../../../../../../test/mocks/mockSanityClient' import {isLiveEditEnabled} from '../utils/isLiveEditEnabled' import {publish} from './publish' import {type OperationArgs} from './types' -jest.mock('../utils/isLiveEditEnabled', () => ({isLiveEditEnabled: jest.fn()})) +vi.mock('../utils/isLiveEditEnabled', () => ({isLiveEditEnabled: vi.fn()})) beforeEach(() => { - ;(isLiveEditEnabled as jest.Mock).mockClear() + ;(isLiveEditEnabled as Mock).mockClear() }) describe('publish', () => { describe('disabled', () => { // kind of a useless test but preserves the order at least it('returns with LIVE_EDIT_ENABLED if isLiveEditEnabled', () => { - ;(isLiveEditEnabled as jest.Mock).mockImplementation( + ;(isLiveEditEnabled as Mock).mockImplementation( // eslint-disable-next-line max-nested-callbacks () => true, ) @@ -30,7 +30,7 @@ describe('publish', () => { }) it('returns ALREADY_PUBLISHED if there is no draft and there is a published version', () => { - ;(isLiveEditEnabled as jest.Mock).mockImplementation( + ;(isLiveEditEnabled as Mock).mockImplementation( // eslint-disable-next-line max-nested-callbacks () => false, ) @@ -47,7 +47,7 @@ describe('publish', () => { }) it('returns NO_CHANGES if there is no draft and there is no published version', () => { - ;(isLiveEditEnabled as jest.Mock).mockImplementation( + ;(isLiveEditEnabled as Mock).mockImplementation( // eslint-disable-next-line max-nested-callbacks () => false, ) @@ -64,7 +64,7 @@ describe('publish', () => { }) it("otherwise the operation isn't disabled", () => { - ;(isLiveEditEnabled as jest.Mock).mockImplementation( + ;(isLiveEditEnabled as Mock).mockImplementation( // eslint-disable-next-line max-nested-callbacks () => false, ) diff --git a/packages/sanity/src/core/store/_legacy/document/document-pair/serverOperations/__snapshots__/publish.test.ts.snap b/packages/sanity/src/core/store/_legacy/document/document-pair/serverOperations/__snapshots__/publish.test.ts.snap index 3d573d38d0d..3045d2ab85a 100644 --- a/packages/sanity/src/core/store/_legacy/document/document-pair/serverOperations/__snapshots__/publish.test.ts.snap +++ b/packages/sanity/src/core/store/_legacy/document/document-pair/serverOperations/__snapshots__/publish.test.ts.snap @@ -1,97 +1,97 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`publish execute calls createOrReplace with _revision_lock_pseudo_field_ if there is an already published document 1`] = ` -Object { - "listen": Array [], - "observable": Object { - "action": Array [ - Object { - "actions": Object { +exports[`publish > execute > calls createOrReplace with _revision_lock_pseudo_field_ if there is an already published document 1`] = ` +{ + "listen": [], + "observable": { + "action": [ + { + "actions": { "actionType": "sanity.action.document.publish", "draftId": "drafts.my-id", "ifPublishedRevisionId": "exampleRev", "publishedId": "my-id", }, - "options": Object { + "options": { "tag": "document.publish", }, }, ], - "fetch": Array [], - "getDocuments": Array [], - "listen": Array [], - "request": Array [], + "fetch": [], + "getDocuments": [], + "listen": [], + "request": [], }, - "request": Array [], - "transaction": Array [], + "request": [], + "transaction": [], } `; -exports[`publish execute removes the \`_updatedAt\` field 1`] = ` -Object { - "listen": Array [], - "observable": Object { - "action": Array [ - Object { - "actions": Object { +exports[`publish > execute > removes the \`_updatedAt\` field 1`] = ` +{ + "listen": [], + "observable": { + "action": [ + { + "actions": { "actionType": "sanity.action.document.publish", "draftId": "drafts.my-id", "ifPublishedRevisionId": undefined, "publishedId": "my-id", }, - "options": Object { + "options": { "tag": "document.publish", }, }, ], - "fetch": Array [], - "getDocuments": Array [], - "listen": Array [], - "request": Array [], + "fetch": [], + "getDocuments": [], + "listen": [], + "request": [], }, - "request": Array [], - "transaction": Array [], + "request": [], + "transaction": [], } `; -exports[`publish execute takes in any and strengthens references where _strengthenOnPublish is true 1`] = ` -Object { - "listen": Array [], - "observable": Object { - "action": Array [ - Object { - "actions": Object { +exports[`publish > execute > takes in any and strengthens references where _strengthenOnPublish is true 1`] = ` +{ + "listen": [], + "observable": { + "action": [ + { + "actions": { "actionType": "sanity.action.document.publish", "draftId": "drafts.my-id", "ifPublishedRevisionId": undefined, "publishedId": "my-id", }, - "options": Object { + "options": { "tag": "document.publish", }, }, ], - "fetch": Array [], - "getDocuments": Array [], - "listen": Array [], - "request": Array [], + "fetch": [], + "getDocuments": [], + "listen": [], + "request": [], }, - "request": Array [], - "transaction": Array [], + "request": [], + "transaction": [], } `; -exports[`publish execute throws an error if the client has no draft snaphot 1`] = ` -Object { - "listen": Array [], - "observable": Object { - "action": Array [], - "fetch": Array [], - "getDocuments": Array [], - "listen": Array [], - "request": Array [], +exports[`publish > execute > throws an error if the client has no draft snaphot 1`] = ` +{ + "listen": [], + "observable": { + "action": [], + "fetch": [], + "getDocuments": [], + "listen": [], + "request": [], }, - "request": Array [], - "transaction": Array [], + "request": [], + "transaction": [], } `; diff --git a/packages/sanity/src/core/store/_legacy/document/document-pair/serverOperations/publish.test.ts b/packages/sanity/src/core/store/_legacy/document/document-pair/serverOperations/publish.test.ts index 1c42e153749..aadda6317a5 100644 --- a/packages/sanity/src/core/store/_legacy/document/document-pair/serverOperations/publish.test.ts +++ b/packages/sanity/src/core/store/_legacy/document/document-pair/serverOperations/publish.test.ts @@ -1,21 +1,21 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import {type SanityDocument} from 'sanity' +import {beforeEach, describe, expect, it, type Mock, vi} from 'vitest' import {createMockSanityClient} from '../../../../../../../test/mocks/mockSanityClient' import {type OperationArgs} from '../operations/types' import {isLiveEditEnabled} from '../utils/isLiveEditEnabled' import {publish} from './publish' -jest.mock('../utils/isLiveEditEnabled', () => ({isLiveEditEnabled: jest.fn()})) +vi.mock('../utils/isLiveEditEnabled', () => ({isLiveEditEnabled: vi.fn()})) beforeEach(() => { - ;(isLiveEditEnabled as jest.Mock).mockClear() + ;(isLiveEditEnabled as Mock).mockClear() }) describe('publish', () => { describe('disabled', () => { it('returns with LIVE_EDIT_ENABLED if isLiveEditEnabled', () => { - ;(isLiveEditEnabled as jest.Mock).mockImplementation( + ;(isLiveEditEnabled as Mock).mockImplementation( // eslint-disable-next-line max-nested-callbacks () => true, ) @@ -29,7 +29,7 @@ describe('publish', () => { }) it('returns ALREADY_PUBLISHED if there is no draft and there is a published version', () => { - ;(isLiveEditEnabled as jest.Mock).mockImplementation( + ;(isLiveEditEnabled as Mock).mockImplementation( // eslint-disable-next-line max-nested-callbacks () => false, ) @@ -46,7 +46,7 @@ describe('publish', () => { }) it("otherwise the operation isn't disabled", () => { - ;(isLiveEditEnabled as jest.Mock).mockImplementation( + ;(isLiveEditEnabled as Mock).mockImplementation( // eslint-disable-next-line max-nested-callbacks () => false, ) diff --git a/packages/sanity/src/core/store/_legacy/document/document-pair/utils/fetchFeatureToggle.test.ts b/packages/sanity/src/core/store/_legacy/document/document-pair/utils/fetchFeatureToggle.test.ts index 195e2524edd..4f84c281348 100644 --- a/packages/sanity/src/core/store/_legacy/document/document-pair/utils/fetchFeatureToggle.test.ts +++ b/packages/sanity/src/core/store/_legacy/document/document-pair/utils/fetchFeatureToggle.test.ts @@ -1,9 +1,9 @@ -import {describe, expect, it, jest} from '@jest/globals' import {firstValueFrom, from} from 'rxjs' +import {describe, expect, it, vi} from 'vitest' import {type ActionsFeatureToggle, mapResponse} from './fetchFeatureToggle' -jest.mock('sanity', () => ({ +vi.mock('sanity', () => ({ SANITY_VERSION: '3.47.0', })) diff --git a/packages/sanity/src/core/store/_legacy/document/document-pair/validation.test.ts b/packages/sanity/src/core/store/_legacy/document/document-pair/validation.test.ts index b0ee94d54d1..070c4946573 100644 --- a/packages/sanity/src/core/store/_legacy/document/document-pair/validation.test.ts +++ b/packages/sanity/src/core/store/_legacy/document/document-pair/validation.test.ts @@ -1,4 +1,3 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import {type SanityClient} from '@sanity/client' import { concat, @@ -12,6 +11,7 @@ import { timer, } from 'rxjs' import {buffer, publish, takeWhile} from 'rxjs/operators' +import {beforeEach, describe, expect, it, vi} from 'vitest' import {createMockSanityClient} from '../../../../../../test/mocks/mockSanityClient' import {getFallbackLocaleSource} from '../../../../i18n/fallback' @@ -21,8 +21,8 @@ import {editState, type EditStateFor} from './editState' import {validation} from './validation' // Mock `./editState` -const mockEditState = editState as jest.Mock -jest.mock('./editState', () => ({editState: jest.fn()})) +const mockEditState = editState as vi.Mock +vi.mock('./editState', () => ({editState: vi.fn()})) const schema = createSchema({ name: 'default', @@ -297,7 +297,7 @@ describe('validation', () => { client, schema, getClient: () => client, - observeDocumentPairAvailability: jest.fn(() => EMPTY), + observeDocumentPairAvailability: vi.fn(() => EMPTY), i18n: getFallbackLocaleSource(), serverActionsEnabled: false, }, diff --git a/packages/sanity/src/core/store/_legacy/document/hooks/__tests__/useDocumentType.test.tsx b/packages/sanity/src/core/store/_legacy/document/hooks/__tests__/useDocumentType.test.tsx index 9ccdc48c362..7be2e5aa5ba 100644 --- a/packages/sanity/src/core/store/_legacy/document/hooks/__tests__/useDocumentType.test.tsx +++ b/packages/sanity/src/core/store/_legacy/document/hooks/__tests__/useDocumentType.test.tsx @@ -1,8 +1,8 @@ -import {expect, jest, test} from '@jest/globals' import {type SanityClient} from '@sanity/client' import {renderHook, waitFor} from '@testing-library/react' import {asyncScheduler, defer, of} from 'rxjs' import {delay, observeOn, tap} from 'rxjs/operators' +import {expect, test, vi} from 'vitest' import {createMockSanityClient} from '../../../../../../../test/mocks/mockSanityClient' import {createTestProvider} from '../../../../../../../test/testUtils/TestProvider' @@ -33,7 +33,7 @@ test('should resolve document type from API on undefined type (with loading stat const client = createMockSanityClient() const response = defer(() => of(['book']).pipe(observeOn(asyncScheduler))) - client.observable.fetch = jest.fn(() => response) + client.observable.fetch = vi.fn(() => response) const {result} = renderHook(() => useDocumentType('asoiaf-got', undefined), { wrapper: await createWrapperComponent(client as any), @@ -50,7 +50,7 @@ test('should resolve document type from API on undefined type (with loading stat test('should return correct document type on document type transition', async () => { const client = createMockSanityClient() - client.observable.fetch = jest.fn() + client.observable.fetch = vi.fn() let documentType = 'book' @@ -104,7 +104,7 @@ test('should return correct document type when transitioning from undefined type const responseGrrm = defer(() => of(['author']).pipe(observeOn(asyncScheduler))) - client.observable.fetch = jest.fn().mockReturnValue(responseGrrm) + client.observable.fetch = vi.fn().mockReturnValue(responseGrrm) // eslint-disable-next-line no-undef-init let documentType: string | undefined = undefined @@ -134,7 +134,7 @@ test('should return correct document type when transitioning from specified to u const responseGrrm = defer(() => of(['person']).pipe(observeOn(asyncScheduler))) - client.observable.fetch = jest.fn().mockReturnValue(responseGrrm) + client.observable.fetch = vi.fn().mockReturnValue(responseGrrm) // eslint-disable-next-line no-undef-init let documentType: string | undefined = 'author' @@ -162,13 +162,13 @@ test('should return correct document type when transitioning from specified to u test('should cancel ongoing requests when transitioning document ID', async () => { const client = createMockSanityClient() - const hasResolvedFirst = jest.fn() + const hasResolvedFirst = vi.fn() const responseDelayedGrrm = defer(() => of(['person']).pipe(observeOn(asyncScheduler), delay(5000), tap(hasResolvedFirst)), ) const responseGot = defer(() => of(['book']).pipe(observeOn(asyncScheduler))) - client.observable.fetch = jest + client.observable.fetch = vi .fn() .mockReturnValueOnce(responseDelayedGrrm) .mockReturnValueOnce(responseGot) diff --git a/packages/sanity/src/core/store/_legacy/grants/__tests__/createGrantsStore.test.ts b/packages/sanity/src/core/store/_legacy/grants/__tests__/createGrantsStore.test.ts index a7336c36de7..47135bf6764 100644 --- a/packages/sanity/src/core/store/_legacy/grants/__tests__/createGrantsStore.test.ts +++ b/packages/sanity/src/core/store/_legacy/grants/__tests__/createGrantsStore.test.ts @@ -1,7 +1,7 @@ -import {describe, expect, it, jest} from '@jest/globals' import {type SanityClient} from '@sanity/client' import {firstValueFrom, lastValueFrom} from 'rxjs' import {first} from 'rxjs/operators' +import {describe, expect, it, type Mock, vi} from 'vitest' import {viewer} from '../debug/exampleGrants' import {createGrantsStore} from '../grantsStore' @@ -20,7 +20,7 @@ function createMockClient(data: {requests?: Record} = {}): SanityCl const mockClient = { config: () => mockConfig, withConfig: () => mockClient, - request: jest.fn((opts: {uri: string; tag?: string; withCredentials: boolean}) => { + request: vi.fn((opts: {uri: string; tag?: string; withCredentials: boolean}) => { const path = opts.uri.slice(requestUriPrefix.length) if (data?.requests?.[path]) { @@ -60,7 +60,7 @@ describe('checkDocumentPermission', () => { reason: 'Matching grant', }) - expect((client.request as jest.Mock).mock.calls).toEqual([ + expect((client.request as Mock).mock.calls).toEqual([ [ { tag: 'acl.get', diff --git a/packages/sanity/src/core/store/_legacy/grants/__tests__/templatePermissions.test.ts b/packages/sanity/src/core/store/_legacy/grants/__tests__/templatePermissions.test.ts index 0c445167286..2bcfb217b6a 100644 --- a/packages/sanity/src/core/store/_legacy/grants/__tests__/templatePermissions.test.ts +++ b/packages/sanity/src/core/store/_legacy/grants/__tests__/templatePermissions.test.ts @@ -1,8 +1,8 @@ -import {describe, expect, it} from '@jest/globals' /* eslint-disable camelcase */ import {type SanityClient} from '@sanity/client' import {type InitialValueResolverContext} from '@sanity/types' import {firstValueFrom} from 'rxjs' +import {describe, expect, it} from 'vitest' import {createMockSanityClient} from '../../../../../../test/mocks/mockSanityClient' import {createSchema} from '../../../../schema' diff --git a/packages/sanity/src/core/store/_legacy/history/__snapshots__/history.test.ts.snap b/packages/sanity/src/core/store/_legacy/history/__snapshots__/history.test.ts.snap index 1dbf78de889..8860f4e7cb4 100644 --- a/packages/sanity/src/core/store/_legacy/history/__snapshots__/history.test.ts.snap +++ b/packages/sanity/src/core/store/_legacy/history/__snapshots__/history.test.ts.snap @@ -1,23 +1,23 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`removeMissingReferences removes references to missing docs, deeply 1`] = ` -Object { +exports[`removeMissingReferences > removes references to missing docs, deeply 1`] = ` +{ "_createdAt": "", "_id": "foo", "_rev": "foo", "_type": "test", "_updatedAt": "", - "arrayOfObjects": Array [ - Object { + "arrayOfObjects": [ + { "_type": "foo", "prop": "yes", }, - Object { + { "_type": "foo", "prop": "no", }, ], - "arrayOfStrings": Array [ + "arrayOfStrings": [ "a", "b", "c", @@ -25,16 +25,16 @@ Object { "bool": true, "number": 123, "string": "value", - "subObject": Object { + "subObject": { "_type": "sub", - "nested": Object { - "array": Array [ + "nested": { + "array": [ "contents", - Object { + { "_ref": "abc123", "_type": "reference", }, - Object { + { "_type": "nonref", "someProp": "yes-it-exists", }, diff --git a/packages/sanity/src/core/store/_legacy/history/history.test.ts b/packages/sanity/src/core/store/_legacy/history/history.test.ts index b8d62186800..e27b3fec076 100644 --- a/packages/sanity/src/core/store/_legacy/history/history.test.ts +++ b/packages/sanity/src/core/store/_legacy/history/history.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {removeMissingReferences} from './createHistoryStore' diff --git a/packages/sanity/src/core/store/_legacy/user/__tests__/userStore.test.ts b/packages/sanity/src/core/store/_legacy/user/__tests__/userStore.test.ts index c7913bc247f..f7fe15e3577 100644 --- a/packages/sanity/src/core/store/_legacy/user/__tests__/userStore.test.ts +++ b/packages/sanity/src/core/store/_legacy/user/__tests__/userStore.test.ts @@ -1,6 +1,6 @@ -import {describe, expect, it, jest} from '@jest/globals' import {type SanityClient} from '@sanity/client' import {type CurrentUser} from 'sanity' +import {describe, expect, it, vi} from 'vitest' import {createUserStore} from '../userStore' @@ -15,7 +15,7 @@ export class HttpError extends Error { // Mock client which always throws 403 Forbidden errors on `request` const failingClient = { - request: jest.fn(() => { + request: vi.fn(() => { const error = new HttpError('Forbidden') error.statusCode = 403 throw error @@ -26,7 +26,7 @@ const failingClient = { // Mock client which always throws 403 Forbidden errors on `request` const getClient = () => { const client = { - request: jest.fn((options: {uri: string}) => { + request: vi.fn((options: {uri: string}) => { const userIds = options.uri.slice(options.uri.lastIndexOf('/') + 1).split(',') return Promise.resolve( userIds diff --git a/packages/sanity/src/core/studio/Studio.test.tsx b/packages/sanity/src/core/studio/Studio.test.tsx index 34ae2d1c4ec..5557d3f838a 100644 --- a/packages/sanity/src/core/studio/Studio.test.tsx +++ b/packages/sanity/src/core/studio/Studio.test.tsx @@ -1,4 +1,3 @@ -import {describe, expect, it, jest} from '@jest/globals' /** * SSR Hydration is hard to get right. * It's not a concern when using `sanity dev`, `sanity build` or `sanity deploy` as we ship a client-only application @@ -22,6 +21,7 @@ import {act} from 'react' import {hydrateRoot} from 'react-dom/client' import {renderToStaticMarkup, renderToString} from 'react-dom/server' import {ServerStyleSheet} from 'styled-components' +import {describe, expect, it, vi} from 'vitest' import {createMockSanityClient} from '../../../test/mocks/mockSanityClient' import {createMockAuthStore} from '../store/_legacy/authStore/createMockAuthStore' @@ -34,12 +34,12 @@ const config = { auth: createMockAuthStore({client, currentUser: null}), } -jest.mock('./components/navbar/new-document') -jest.mock('./components/navbar/presence/PresenceMenu') +vi.mock('./components/navbar/new-document') +vi.mock('./components/navbar/presence/PresenceMenu') describe('Studio', () => { it(`SSR to static markup doesn't throw or warn`, () => { - const spy = jest.spyOn(console, 'error') + const spy = vi.spyOn(console, 'error') const sheet = new ServerStyleSheet() try { renderToStaticMarkup(sheet.collectStyles()) @@ -53,7 +53,7 @@ describe('Studio', () => { spy.mockRestore() }) it(`SSR to markup for hydration doesn't throw`, () => { - const spy = jest.spyOn(console, 'error') + const spy = vi.spyOn(console, 'error') const node = document.createElement('div') document.body.appendChild(node) diff --git a/packages/sanity/src/core/studio/activeWorkspaceMatcher/__tests__/matchWorkspace.test.ts b/packages/sanity/src/core/studio/activeWorkspaceMatcher/__tests__/matchWorkspace.test.ts index bb3abc76927..391b1eab5bd 100644 --- a/packages/sanity/src/core/studio/activeWorkspaceMatcher/__tests__/matchWorkspace.test.ts +++ b/packages/sanity/src/core/studio/activeWorkspaceMatcher/__tests__/matchWorkspace.test.ts @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import assert from 'node:assert' -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {type WorkspaceLike} from '../../workspaces' import {createCommonBasePathRegex} from '../createCommonBasePathRegex' diff --git a/packages/sanity/src/core/studio/components/navbar/new-document/__tests__/newDocumentFilter.test.ts b/packages/sanity/src/core/studio/components/navbar/new-document/__tests__/newDocumentFilter.test.ts index 055cebe3d60..6846852cd78 100644 --- a/packages/sanity/src/core/studio/components/navbar/new-document/__tests__/newDocumentFilter.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/new-document/__tests__/newDocumentFilter.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {startCase} from 'lodash' +import {describe, expect, it} from 'vitest' import {filterOptions} from '../filter' import {type NewDocumentOption} from '../types' diff --git a/packages/sanity/src/core/studio/components/navbar/search/contexts/search/reducer.test.ts b/packages/sanity/src/core/studio/components/navbar/search/contexts/search/reducer.test.ts index af92a43dadb..b626d9b7f0b 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/contexts/search/reducer.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/contexts/search/reducer.test.ts @@ -1,7 +1,7 @@ -import {describe, expect, it} from '@jest/globals' import {type CurrentUser, type SchemaType} from '@sanity/types' import {act, renderHook} from '@testing-library/react' import {useReducer} from 'react' +import {describe, expect, it} from 'vitest' import {type RecentSearch} from '../../datastores/recentSearches' import {type SearchOrdering} from '../../types' @@ -137,11 +137,11 @@ describe('searchReducer', () => { const [state] = result.current expect(state.ordering).toMatchInlineSnapshot(` -Object { - "customMeasurementLabel": "relevance", - "titleKey": "search.ordering.best-match-label", -} -`) + { + "customMeasurementLabel": "relevance", + "titleKey": "search.ordering.best-match-label", + } + `) }) it('should order by `_updatedAt` when using GROQ Query API strategy and ordering by relevance', () => { @@ -158,15 +158,15 @@ Object { const [state] = result.current expect(state.ordering).toMatchInlineSnapshot(` -Object { - "customMeasurementLabel": "relevance", - "sort": Object { - "direction": "desc", - "field": "_updatedAt", - }, - "titleKey": "search.ordering.best-match-label", -} -`) + { + "customMeasurementLabel": "relevance", + "sort": { + "direction": "desc", + "field": "_updatedAt", + }, + "titleKey": "search.ordering.best-match-label", + } + `) }) it('should merge results after fetching an additional page', () => { @@ -218,27 +218,27 @@ Object { const [state] = result.current expect(state.result.hits).toMatchInlineSnapshot(` -Array [ - Object { - "hit": Object { - "_id": "personA", - "_type": "person", - }, - }, - Object { - "hit": Object { - "_id": "personB", - "_type": "person", - }, - }, - Object { - "hit": Object { - "_id": "personC", - "_type": "person", - }, - }, -] -`) + [ + { + "hit": { + "_id": "personA", + "_type": "person", + }, + }, + { + "hit": { + "_id": "personB", + "_type": "person", + }, + }, + { + "hit": { + "_id": "personC", + "_type": "person", + }, + }, + ] + `) }) }) @@ -327,23 +327,20 @@ it.each([ const [stateA] = result.current - expect(stateA.result.hits).toMatchInlineSnapshot(` -Array [ - Object { - "hit": Object { - "_id": "personA", - "_type": "person", + expect(stateA.result.hits).toEqual([ + { + hit: { + _id: 'personA', + _type: 'person', + }, }, - }, - Object { - "hit": Object { - "_id": "personB", - "_type": "person", + { + hit: { + _id: 'personB', + _type: 'person', + }, }, - }, -] -`) - + ]) act(() => dispatch(action)) act(() => @@ -369,20 +366,18 @@ Array [ const [stateB] = result.current - expect(stateB.result.hits).toMatchInlineSnapshot(` -Array [ - Object { - "hit": Object { - "_id": "personB", - "_type": "person", + expect(stateB.result.hits).toEqual([ + { + hit: { + _id: 'personB', + _type: 'person', + }, }, - }, - Object { - "hit": Object { - "_id": "personC", - "_type": "person", + { + hit: { + _id: 'personC', + _type: 'person', + }, }, - }, -] -`) + ]) }) diff --git a/packages/sanity/src/core/studio/components/navbar/search/datastores/recentSearches.test.tsx b/packages/sanity/src/core/studio/components/navbar/search/datastores/recentSearches.test.tsx index 9b872bccfbc..3b2eb88dd89 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/datastores/recentSearches.test.tsx +++ b/packages/sanity/src/core/studio/components/navbar/search/datastores/recentSearches.test.tsx @@ -1,8 +1,8 @@ /* eslint-disable max-nested-callbacks */ -import {afterEach, beforeEach, describe, expect, it, jest} from '@jest/globals' import {Schema} from '@sanity/schema' import {defineType, type ObjectSchemaType} from '@sanity/types' import {act, renderHook} from '@testing-library/react' +import {afterEach, beforeEach, describe, expect, it, type MockedFunction, vi} from 'vitest' import {createTestProvider} from '../../../../../../../test/testUtils/TestProvider' import {type SearchTerms} from '../../../../../search' @@ -14,8 +14,9 @@ import * as useStoredSearchModule from './useStoredSearch' import {RECENT_SEARCH_VERSION, type StoredSearch} from './useStoredSearch' // Mock useStoredSearch -jest.mock('./useStoredSearch', () => ({ - useStoredSearch: jest.fn(), +vi.mock('./useStoredSearch', async () => ({ + ...((await vi.importActual('./useStoredSearch')) || {}), + useStoredSearch: vi.fn(), })) const mockSchemaTypes = [ @@ -78,19 +79,20 @@ afterEach(() => { describe('search-store', () => { let mockStoredSearch: StoredSearch - let mockSetStoredSearch: jest.MockedFunction<(newValue: StoredSearch) => void> + let mockSetStoredSearch: MockedFunction<(newValue: StoredSearch) => void> beforeEach(() => { mockStoredSearch = { version: RECENT_SEARCH_VERSION, recentSearches: [], } - mockSetStoredSearch = jest.fn((newValue: StoredSearch) => { + mockSetStoredSearch = vi.fn((newValue: StoredSearch) => { mockStoredSearch = newValue }) - jest - .spyOn(useStoredSearchModule, 'useStoredSearch') - .mockImplementation(() => [mockStoredSearch, mockSetStoredSearch]) + vi.spyOn(useStoredSearchModule, 'useStoredSearch').mockImplementation(() => [ + mockStoredSearch, + mockSetStoredSearch, + ]) }) describe('getRecentSearchTerms', () => { diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/fields.test.tsx b/packages/sanity/src/core/studio/components/navbar/search/definitions/fields.test.tsx index 59fbbda5aae..6243bdfb779 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/fields.test.tsx +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/fields.test.tsx @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {Schema} from '@sanity/schema' +import {describe, expect, it} from 'vitest' import {filterDefinitions} from './defaultFilters' import {createFieldDefinitions, generateFieldId, MAX_OBJECT_TRAVERSAL_DEPTH} from './fields' diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/arrayOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/arrayOperators.test.ts index da9b4531606..06d2fd8ea56 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/arrayOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/arrayOperators.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {type ReferenceValue} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {arrayOperators} from './arrayOperators' import {type OperatorNumberRangeValue} from './common' diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/assetOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/assetOperators.test.ts index b16e3bcd3a6..93efbbcac1e 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/assetOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/assetOperators.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {type ReferenceValue} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {assetOperators} from './assetOperators' diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/booleanOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/booleanOperators.test.ts index 7856b4e6690..84ae0a68f04 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/booleanOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/booleanOperators.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {booleanOperators} from './booleanOperators' diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/dateOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/dateOperators.test.ts index 9bf92e044fa..8ec663da51e 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/dateOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/dateOperators.test.ts @@ -1,6 +1,6 @@ -import {afterAll, beforeAll, describe, expect, it, jest} from '@jest/globals' /* eslint-disable max-nested-callbacks */ import {endOfDay, endOfMinute, startOfDay, startOfMinute, sub} from 'date-fns' +import {afterAll, beforeAll, describe, expect, it, vi} from 'vitest' import { dateOperators, @@ -18,12 +18,12 @@ const fieldPath = 'dateField' describe('dateOperators', () => { beforeAll(() => { - jest.useFakeTimers() - jest.setSystemTime(new Date('2023-01-01T00:00:00.000Z')) + vi.useFakeTimers() + vi.setSystemTime(new Date('2023-01-01T00:00:00.000Z')) }) afterAll(() => { - jest.useRealTimers() + vi.useRealTimers() }) describe('(date)', () => { diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/definedOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/definedOperators.test.ts index 9c00f09c119..86146572646 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/definedOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/definedOperators.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {definedOperators} from './definedOperators' diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/numberOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/numberOperators.test.ts index a53992e299c..f19442160af 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/numberOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/numberOperators.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {type OperatorNumberRangeValue} from './common' import {numberOperators} from './numberOperators' diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/portableTextOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/portableTextOperators.test.ts index edd3a3afcd8..a6ea1b8ab61 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/portableTextOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/portableTextOperators.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {portableTextOperators} from './portableTextOperators' diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/referenceOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/referenceOperators.test.ts index e728380c532..37b8ea9c023 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/referenceOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/referenceOperators.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {type ReferenceValue} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {referenceOperators} from './referenceOperators' diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/slugOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/slugOperators.test.ts index 829811e0cb1..6612de114ea 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/slugOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/slugOperators.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {slugOperators} from './slugOperators' diff --git a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/stringOperators.test.ts b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/stringOperators.test.ts index 1853d912e1e..95d09b9273e 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/stringOperators.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/definitions/operators/stringOperators.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {stringOperators} from './stringOperators' diff --git a/packages/sanity/src/core/studio/components/navbar/search/utils/filterUtils.test.ts b/packages/sanity/src/core/studio/components/navbar/search/utils/filterUtils.test.ts index 38008ca36be..d673fedaed5 100644 --- a/packages/sanity/src/core/studio/components/navbar/search/utils/filterUtils.test.ts +++ b/packages/sanity/src/core/studio/components/navbar/search/utils/filterUtils.test.ts @@ -1,6 +1,6 @@ -import {describe, expect, it} from '@jest/globals' import {Schema} from '@sanity/schema' import {type SchemaType} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {filterDefinitions} from '../definitions/defaultFilters' import {createFieldDefinitionDictionary, createFieldDefinitions} from '../definitions/fields' diff --git a/packages/sanity/src/core/studio/copyPaste/__test__/mockClient.ts b/packages/sanity/src/core/studio/copyPaste/__test__/mockClient.ts index 62e3866984b..18e487a7d47 100644 --- a/packages/sanity/src/core/studio/copyPaste/__test__/mockClient.ts +++ b/packages/sanity/src/core/studio/copyPaste/__test__/mockClient.ts @@ -1,6 +1,6 @@ -import {jest} from '@jest/globals' import {evaluate, parse, type ParseOptions} from 'groq-js' import {type FIXME} from 'sanity' +import {vi} from 'vitest' export interface ClientWithFetch { withConfig: FIXME @@ -9,8 +9,8 @@ export interface ClientWithFetch { } export function createMockClient(mockData: FIXME[]): ClientWithFetch { return { - withConfig: jest.fn(() => createMockClient(mockData)), - config: jest.fn(() => { + withConfig: vi.fn(() => createMockClient(mockData)), + config: vi.fn(() => { return { url: 'https://mock.sanity.studio', apiVersion: '2021-03-25', @@ -18,7 +18,7 @@ export function createMockClient(mockData: FIXME[]): ClientWithFetch { projectId: 'mock', } }), - fetch: jest.fn( + fetch: vi.fn( async >(query: string, params?: Q): Promise => { try { const parseOptions: ParseOptions = { diff --git a/packages/sanity/src/core/studio/copyPaste/__test__/resolveSchemaFromPath.test.ts b/packages/sanity/src/core/studio/copyPaste/__test__/resolveSchemaFromPath.test.ts index 463efaf7149..d051372a53e 100644 --- a/packages/sanity/src/core/studio/copyPaste/__test__/resolveSchemaFromPath.test.ts +++ b/packages/sanity/src/core/studio/copyPaste/__test__/resolveSchemaFromPath.test.ts @@ -1,12 +1,12 @@ -import {beforeEach, describe, expect, jest, test} from '@jest/globals' import {type ObjectSchemaType, type ReferenceSchemaType, type StringSchemaType} from '@sanity/types' +import {beforeEach, describe, expect, test, vi} from 'vitest' import {resolveSchemaTypeForPath} from '../resolveSchemaTypeForPath' import {schema} from './schema' beforeEach(() => { - jest.resetModules() - jest.clearAllMocks() + vi.resetModules() + vi.clearAllMocks() }) describe('resolveSchemaTypeForPath', () => { @@ -160,7 +160,7 @@ describe('resolveSchemaTypeForPath', () => { expect(schemaTypeObject?.name).toEqual('color') expect(schemaTypeObject?.jsonType).toEqual('object') }) - test.failing( + test.fails( 'fail to get schema type from nested path in array with multiple types without providing value', () => { const authorSchema = schema.get('editor')! diff --git a/packages/sanity/src/core/studio/copyPaste/__test__/transferValue.test.ts b/packages/sanity/src/core/studio/copyPaste/__test__/transferValue.test.ts index fbb4bf20d74..cab13a7fc49 100644 --- a/packages/sanity/src/core/studio/copyPaste/__test__/transferValue.test.ts +++ b/packages/sanity/src/core/studio/copyPaste/__test__/transferValue.test.ts @@ -1,7 +1,7 @@ -import {beforeAll, beforeEach, describe, expect, jest, test} from '@jest/globals' import {type ConditionalPropertyCallbackContext, type TypedObject} from '@sanity/types' import {omit} from 'lodash' import {createSchema} from 'sanity' +import {beforeAll, beforeEach, describe, expect, test, vi} from 'vitest' import {resolveSchemaTypeForPath} from '../resolveSchemaTypeForPath' import {transferValue} from '../transferValue' @@ -9,8 +9,8 @@ import {createMockClient} from './mockClient' import {schema} from './schema' beforeEach(() => { - jest.resetModules() - jest.clearAllMocks() + vi.resetModules() + vi.clearAllMocks() }) beforeAll(() => { diff --git a/packages/sanity/src/core/studio/copyPaste/__test__/useCopyPaste.test.tsx b/packages/sanity/src/core/studio/copyPaste/__test__/useCopyPaste.test.tsx index 2171d3f3392..0be5e1be9bb 100644 --- a/packages/sanity/src/core/studio/copyPaste/__test__/useCopyPaste.test.tsx +++ b/packages/sanity/src/core/studio/copyPaste/__test__/useCopyPaste.test.tsx @@ -1,24 +1,23 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import {type ObjectSchemaType} from '@sanity/types' import {useToast} from '@sanity/ui' import {act, renderHook} from '@testing-library/react' import {type FIXME, PatchEvent, type SanityClient} from 'sanity' +import {beforeEach, describe, expect, it, vi} from 'vitest' import {createTestProvider} from '../../../../../test/testUtils/TestProvider' import {useCopyPaste} from '../CopyPasteProvider' import {type SanityClipboardItem} from '../types' import {getClipboardItem} from '../utils' -import {setupClipboard, writeItemsToClipboard} from './jestClipboard' import {createMockClient} from './mockClient' import {mockTypes, schema} from './schema' +import {setupClipboard, writeItemsToClipboard} from './viClipboard' -jest.mock('@sanity/ui', () => { +vi.mock('@sanity/ui', async () => { // eslint-disable-next-line @typescript-eslint/consistent-type-imports - const actual = jest.requireActual('@sanity/ui') - + const actual = await vi.importActual('@sanity/ui') return { ...actual, - useToast: jest.fn(), + useToast: vi.fn(), } }) @@ -41,11 +40,11 @@ const setupMockClipboardRead = async (mockClipboardItem: SanityClipboardItem) => let mockClient: SanityClient describe('useCopyPaste', () => { - const mockToast = {push: jest.fn(), version: 0 as const} - const mockOnChange = jest.fn() + const mockToast = {push: vi.fn(), version: 0 as const} + const mockOnChange = vi.fn() beforeEach(() => { - ;(useToast as jest.Mock).mockReturnValue(mockToast) + ;(useToast as ReturnType).mockReturnValue(mockToast) mockClient = createMockClient([ {_id: 'doc1', _type: 'author', name: 'John Doe'}, @@ -54,7 +53,7 @@ describe('useCopyPaste', () => { {_id: 'file1', _type: 'sanity.fileAsset', mimeType: 'application/pdf'}, ]) as FIXME as SanityClient - jest.clearAllMocks() + vi.clearAllMocks() }) const setupUseCopyPaste = async () => { diff --git a/packages/sanity/src/core/studio/copyPaste/__test__/jestClipboard.ts b/packages/sanity/src/core/studio/copyPaste/__test__/viClipboard.ts similarity index 100% rename from packages/sanity/src/core/studio/copyPaste/__test__/jestClipboard.ts rename to packages/sanity/src/core/studio/copyPaste/__test__/viClipboard.ts diff --git a/packages/sanity/src/core/studio/router/helpers.test.ts b/packages/sanity/src/core/studio/router/helpers.test.ts index 1d471ffbaa0..43ec8623407 100644 --- a/packages/sanity/src/core/studio/router/helpers.test.ts +++ b/packages/sanity/src/core/studio/router/helpers.test.ts @@ -1,6 +1,6 @@ -import {describe, expect, it} from '@jest/globals' import {type Tool} from 'sanity' import {type RouterState} from 'sanity/router' +import {describe, expect, it} from 'vitest' import {resolveIntentState} from './helpers' diff --git a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsCard.test.tsx b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsCard.test.tsx index f3e8c716e55..8039b36b5a5 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsCard.test.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsCard.test.tsx @@ -1,9 +1,9 @@ /* eslint-disable camelcase */ -import {afterEach, describe, expect, jest, test} from '@jest/globals' import {Menu} from '@sanity/ui' import {fireEvent, render, screen} from '@testing-library/react' import {type ReactNode} from 'react' import {defineConfig} from 'sanity' +import {afterEach, describe, expect, test, vi} from 'vitest' import {createTestProvider} from '../../../../../test/testUtils/TestProvider' import {ProductAnnouncementCardSeen} from '../__telemetry__/studioAnnouncements.telemetry' @@ -23,13 +23,13 @@ async function createAnnouncementWrapper() { return ({children}: {children: ReactNode}) => wrapper({children: {children}}) } -jest.mock('@sanity/telemetry/react', () => ({ - useTelemetry: jest.fn().mockReturnValue({ - log: jest.fn(), +vi.mock('@sanity/telemetry/react', () => ({ + useTelemetry: vi.fn().mockReturnValue({ + log: vi.fn(), }), })) -jest.mock('../../../version', () => ({ +vi.mock('../../../version', () => ({ SANITY_VERSION: '3.57.0', })) @@ -42,15 +42,15 @@ const announcementCardProps = { describe('StudioAnnouncementsCard', () => { afterEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) test('renders correctly when isOpen is true', async () => { - const onCardClickMock = jest.fn() - const onCardDismissMock = jest.fn() + const onCardClickMock = vi.fn() + const onCardDismissMock = vi.fn() - const mockLog = jest.fn() - const {useTelemetry} = require('@sanity/telemetry/react') - useTelemetry.mockReturnValue({log: mockLog}) + const mockLog = vi.fn() + const {useTelemetry} = await import('@sanity/telemetry/react') + ;(useTelemetry as ReturnType).mockReturnValue({log: mockLog}) const wrapper = await createAnnouncementWrapper() render( @@ -74,8 +74,8 @@ describe('StudioAnnouncementsCard', () => { expect(screen.getByText(announcementCardProps.title)).toBeInTheDocument() }) test('renders a different preHeader', async () => { - const onCardClickMock = jest.fn() - const onCardDismissMock = jest.fn() + const onCardClickMock = vi.fn() + const onCardDismissMock = vi.fn() const preHeader = 'Check out the new features' const wrapper = await createAnnouncementWrapper() @@ -94,8 +94,8 @@ describe('StudioAnnouncementsCard', () => { expect(screen.getByText(announcementCardProps.title)).toBeInTheDocument() }) test('does not render when isOpen is false', async () => { - const onCardClickMock = jest.fn() - const onCardDismissMock = jest.fn() + const onCardClickMock = vi.fn() + const onCardDismissMock = vi.fn() const wrapper = await createAnnouncementWrapper() @@ -113,8 +113,8 @@ describe('StudioAnnouncementsCard', () => { expect(queryByText(announcementCardProps.title)).toBeNull() }) test('calls onCardClick when the card is clicked', async () => { - const onCardClickMock = jest.fn() - const onCardDismissMock = jest.fn() + const onCardClickMock = vi.fn() + const onCardDismissMock = vi.fn() const wrapper = await createAnnouncementWrapper() @@ -134,8 +134,8 @@ describe('StudioAnnouncementsCard', () => { expect(onCardClickMock).toHaveBeenCalled() }) test('calls onCardDismiss when the close button is clicked', async () => { - const onCardClickMock = jest.fn() - const onCardDismissMock = jest.fn() + const onCardClickMock = vi.fn() + const onCardDismissMock = vi.fn() const wrapper = await createAnnouncementWrapper() render( diff --git a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsDialog.test.tsx b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsDialog.test.tsx index 70e11546943..2e73e430117 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsDialog.test.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsDialog.test.tsx @@ -1,8 +1,8 @@ /* eslint-disable camelcase */ -import {afterEach, describe, expect, jest, test} from '@jest/globals' import {fireEvent, render, screen} from '@testing-library/react' import {type ReactNode} from 'react' import {defineConfig} from 'sanity' +import {afterEach, describe, expect, test, vi} from 'vitest' import {createTestProvider} from '../../../../../test/testUtils/TestProvider' import { @@ -12,13 +12,13 @@ import { import {StudioAnnouncementsDialog} from '../StudioAnnouncementsDialog' import {type StudioAnnouncementDocument} from '../types' -jest.mock('@sanity/telemetry/react', () => ({ - useTelemetry: jest.fn().mockReturnValue({ - log: jest.fn(), +vi.mock('@sanity/telemetry/react', () => ({ + useTelemetry: vi.fn().mockReturnValue({ + log: vi.fn(), }), })) -jest.mock('../../../version', () => ({ +vi.mock('../../../version', () => ({ SANITY_VERSION: '3.57.0', })) @@ -103,10 +103,10 @@ async function createAnnouncementWrapper() { describe('StudioAnnouncementsCard', () => { afterEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) test('renders correctly with unseen documents', async () => { - const onCloseMock = jest.fn() + const onCloseMock = vi.fn() const wrapper = await createAnnouncementWrapper() await render( @@ -139,7 +139,7 @@ describe('StudioAnnouncementsCard', () => { expect(closeButton).toBeInTheDocument() }) test('calls onClose when the close button is clicked', async () => { - const onCloseMock = jest.fn() + const onCloseMock = vi.fn() const wrapper = await createAnnouncementWrapper() await render( @@ -158,10 +158,10 @@ describe('StudioAnnouncementsCard', () => { }) test('logs telemetry when link is clicked and announcement viewed', async () => { - const onCloseMock = jest.fn() - const mockLog = jest.fn() - const {useTelemetry} = require('@sanity/telemetry/react') - useTelemetry.mockReturnValue({log: mockLog}) + const onCloseMock = vi.fn() + const mockLog = vi.fn() + const {useTelemetry} = await import('@sanity/telemetry/react') + ;(useTelemetry as ReturnType).mockReturnValue({log: mockLog}) const wrapper = await createAnnouncementWrapper() await render( ({ - useTelemetry: jest.fn().mockReturnValue({ - log: jest.fn(), +vi.mock('../useStudioAnnouncements') +vi.mock('@sanity/telemetry/react', () => ({ + useTelemetry: vi.fn().mockReturnValue({ + log: vi.fn(), }), })) -jest.mock('../../../version', () => ({ +vi.mock('../../../version', () => ({ SANITY_VERSION: '3.57.0', })) @@ -36,9 +36,7 @@ const MOCKED_ANNOUNCEMENT: StudioAnnouncementDocument = { preHeader: "What's new", name: 'announcement-1', } -const useStudioAnnouncementsMock = useStudioAnnouncements as jest.Mock< - typeof useStudioAnnouncements -> +const useStudioAnnouncementsMock = useStudioAnnouncements as ReturnType const config = defineConfig({ projectId: 'test', dataset: 'test', @@ -55,14 +53,14 @@ async function createAnnouncementWrapper() { describe('StudioAnnouncementsMenuItem', () => { afterEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) test('renders null when there are no studio announcements', async () => { useStudioAnnouncementsMock.mockReturnValue({ studioAnnouncements: [], unseenAnnouncements: [], - onDialogOpen: jest.fn(), + onDialogOpen: vi.fn(), }) const wrapper = await createAnnouncementWrapper() @@ -78,7 +76,7 @@ describe('StudioAnnouncementsMenuItem', () => { useStudioAnnouncementsMock.mockReturnValue({ studioAnnouncements: [MOCKED_ANNOUNCEMENT], unseenAnnouncements: [], - onDialogOpen: jest.fn(), + onDialogOpen: vi.fn(), }) const wrapper = await createAnnouncementWrapper() @@ -91,10 +89,10 @@ describe('StudioAnnouncementsMenuItem', () => { }) test('clicking on MenuItem calls onDialogOpen with "all"', async () => { - const onDialogOpenMock = jest.fn() - const mockLog = jest.fn() - const {useTelemetry} = require('@sanity/telemetry/react') - useTelemetry.mockReturnValue({log: mockLog}) + const onDialogOpenMock = vi.fn() + const mockLog = vi.fn() + const {useTelemetry} = await import('@sanity/telemetry/react') + ;(useTelemetry as ReturnType).mockReturnValue({log: mockLog}) useStudioAnnouncementsMock.mockReturnValue({ studioAnnouncements: [MOCKED_ANNOUNCEMENT], diff --git a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsProvider.test.tsx b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsProvider.test.tsx index b318af372a8..fe31abdbaee 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsProvider.test.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/StudioAnnouncementsProvider.test.tsx @@ -1,9 +1,9 @@ /* eslint-disable camelcase */ -import {beforeAll, beforeEach, describe, expect, jest, test} from '@jest/globals' import {fireEvent, render, renderHook, waitFor} from '@testing-library/react' import {type ReactNode} from 'react' import {of} from 'rxjs' import {defineConfig} from 'sanity' +import {beforeAll, beforeEach, describe, expect, test, vi} from 'vitest' import {createTestProvider} from '../../../../../test/testUtils/TestProvider' import {useClient} from '../../../hooks/useClient' @@ -19,36 +19,35 @@ import {type StudioAnnouncementDocument} from '../types' import {useSeenAnnouncements} from '../useSeenAnnouncements' import {useStudioAnnouncements} from '../useStudioAnnouncements' -jest.mock('@sanity/telemetry/react', () => ({ - useTelemetry: jest.fn().mockReturnValue({ - log: jest.fn(), +vi.mock('@sanity/telemetry/react', () => ({ + useTelemetry: vi.fn().mockReturnValue({ + log: vi.fn(), }), })) -jest.mock('@sanity/client', () => ({ - createClient: jest.fn().mockReturnValue({ +vi.mock('@sanity/client', () => ({ + createClient: vi.fn().mockReturnValue({ observable: { - fetch: jest.fn(), + fetch: vi.fn(), }, }), })) -jest.mock('../../../hooks/useClient') -const useClientMock = useClient as jest.Mock +vi.mock('../../../hooks/useClient') +const useClientMock = useClient as ReturnType const mockClient = (announcements: StudioAnnouncementDocument[]) => { useClientMock.mockReturnValue({ observable: { - // @ts-expect-error this intents to mock only the observable. request: () => of(announcements), }, }) } -jest.mock('../useSeenAnnouncements') -const seenAnnouncementsMock = useSeenAnnouncements as jest.Mock +vi.mock('../useSeenAnnouncements') +const seenAnnouncementsMock = useSeenAnnouncements as ReturnType -jest.mock('../../../version', () => ({ +vi.mock('../../../version', () => ({ SANITY_VERSION: '3.57.0', })) @@ -104,10 +103,10 @@ describe('StudioAnnouncementsProvider', () => { }) describe('if seen announcements is loading', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() seenAnnouncementsMock.mockReturnValue([ of({loading: true, value: null, error: null}), - jest.fn(), + vi.fn(), ]) mockClient(mockAnnouncements) }) @@ -126,10 +125,10 @@ describe('StudioAnnouncementsProvider', () => { }) describe('if seen announcements failed', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() seenAnnouncementsMock.mockReturnValue([ of({loading: false, value: null, error: new Error('something went wrong')}), - jest.fn(), + vi.fn(), ]) mockClient(mockAnnouncements) }) @@ -148,11 +147,8 @@ describe('StudioAnnouncementsProvider', () => { }) describe('if seen announcements is not loading and has no values', () => { beforeEach(() => { - jest.clearAllMocks() - seenAnnouncementsMock.mockReturnValue([ - of({value: [], error: null, loading: false}), - jest.fn(), - ]) + vi.clearAllMocks() + seenAnnouncementsMock.mockReturnValue([of({value: [], error: null, loading: false}), vi.fn()]) mockClient(mockAnnouncements) }) test('returns unseen announcements', () => { @@ -171,11 +167,11 @@ describe('StudioAnnouncementsProvider', () => { }) describe('if seen announcements has values', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() // It doesn't show the first element seenAnnouncementsMock.mockReturnValue([ of({value: ['studioAnnouncement-1'], error: null, loading: false}), - jest.fn(), + vi.fn(), ]) mockClient(mockAnnouncements) @@ -196,19 +192,19 @@ describe('StudioAnnouncementsProvider', () => { }) describe('test components interactions', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() // It doesn't show the first element seenAnnouncementsMock.mockReturnValue([ of({value: ['studioAnnouncement-1'], error: null, loading: false}), - jest.fn(), + vi.fn(), ]) mockClient(mockAnnouncements) }) test('clicks on card, it opens dialog and card is hidden, shows only the unseen announcements', async () => { - const mockLog = jest.fn() - const {useTelemetry} = require('@sanity/telemetry/react') - useTelemetry.mockReturnValue({log: mockLog}) + const mockLog = vi.fn() + const {useTelemetry} = await import('@sanity/telemetry/react') + ;(useTelemetry as ReturnType).mockReturnValue({log: mockLog}) const {queryByText, getByLabelText} = render(null, {wrapper}) @@ -253,9 +249,9 @@ describe('StudioAnnouncementsProvider', () => { }) test("dismisses card, then it's hidden, dialog doesn't render", async () => { - const mockLog = jest.fn() - const {useTelemetry} = require('@sanity/telemetry/react') - useTelemetry.mockReturnValue({log: mockLog}) + const mockLog = vi.fn() + const {useTelemetry} = await import('@sanity/telemetry/react') + ;(useTelemetry as ReturnType).mockReturnValue({log: mockLog}) const {queryByText, getByLabelText} = render(null, {wrapper}) @@ -287,9 +283,9 @@ describe('StudioAnnouncementsProvider', () => { }) test('dismisses dialog, card and dialog are hidden', async () => { - const mockLog = jest.fn() - const {useTelemetry} = require('@sanity/telemetry/react') - useTelemetry.mockReturnValue({log: mockLog}) + const mockLog = vi.fn() + const {useTelemetry} = await import('@sanity/telemetry/react') + ;(useTelemetry as ReturnType).mockReturnValue({log: mockLog}) const {queryByText, getByLabelText} = render(null, {wrapper}) @@ -371,12 +367,9 @@ describe('StudioAnnouncementsProvider', () => { }) describe('tests audiences - studio version is 3.57.0', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() // It doesn't show the first element - seenAnnouncementsMock.mockReturnValue([ - of({value: [], error: null, loading: false}), - jest.fn(), - ]) + seenAnnouncementsMock.mockReturnValue([of({value: [], error: null, loading: false}), vi.fn()]) }) test('if the audience is everyone, it shows the announcement regardless the version', () => { @@ -570,10 +563,10 @@ describe('StudioAnnouncementsProvider', () => { }) describe('storing seen announcements', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) test('when the card is dismissed, and only 1 announcement received', () => { - const saveSeenAnnouncementsMock = jest.fn() + const saveSeenAnnouncementsMock = vi.fn() seenAnnouncementsMock.mockReturnValue([ of({value: [], error: null, loading: false}), saveSeenAnnouncementsMock, @@ -587,7 +580,7 @@ describe('StudioAnnouncementsProvider', () => { expect(saveSeenAnnouncementsMock).toHaveBeenCalledWith([mockAnnouncements[0]._id]) }) test('when the card is dismissed, and 2 announcements are received', () => { - const saveSeenAnnouncementsMock = jest.fn() + const saveSeenAnnouncementsMock = vi.fn() seenAnnouncementsMock.mockReturnValue([ of({value: [], error: null, loading: false}), saveSeenAnnouncementsMock, @@ -601,7 +594,7 @@ describe('StudioAnnouncementsProvider', () => { expect(saveSeenAnnouncementsMock).toHaveBeenCalledWith(mockAnnouncements.map((d) => d._id)) }) test("when the card is dismissed, doesn't persist previous stored values", () => { - const saveSeenAnnouncementsMock = jest.fn() + const saveSeenAnnouncementsMock = vi.fn() // The id received here is not present anymore in the mock announcements, this id won't be stored in next save. seenAnnouncementsMock.mockReturnValue([ of({value: ['not-to-be-persisted'], error: null, loading: false}), @@ -615,7 +608,7 @@ describe('StudioAnnouncementsProvider', () => { expect(saveSeenAnnouncementsMock).toHaveBeenCalledWith(mockAnnouncements.map((d) => d._id)) }) test('when the card is dismissed, persist previous stored values', () => { - const saveSeenAnnouncementsMock = jest.fn() + const saveSeenAnnouncementsMock = vi.fn() // The id received here is present in the mock announcements, this id will be persisted in next save. seenAnnouncementsMock.mockReturnValue([ of({value: [mockAnnouncements[0]._id], error: null, loading: false}), @@ -630,7 +623,7 @@ describe('StudioAnnouncementsProvider', () => { expect(saveSeenAnnouncementsMock).toHaveBeenCalledWith(mockAnnouncements.map((d) => d._id)) }) test('when the dialog is closed', () => { - const saveSeenAnnouncementsMock = jest.fn() + const saveSeenAnnouncementsMock = vi.fn() seenAnnouncementsMock.mockReturnValue([ of({value: [], error: null, loading: false}), saveSeenAnnouncementsMock, diff --git a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/useSeenAnnouncements.test.tsx b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/useSeenAnnouncements.test.tsx index ba610997ad2..bd866a84b14 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/useSeenAnnouncements.test.tsx +++ b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/useSeenAnnouncements.test.tsx @@ -1,29 +1,29 @@ -import {beforeEach, describe, expect, jest, test} from '@jest/globals' import {act, renderHook, waitFor} from '@testing-library/react' import {of, Subject} from 'rxjs' import {useRouter} from 'sanity/router' +import {beforeEach, describe, expect, test, vi} from 'vitest' import {useKeyValueStore} from '../../../store/_legacy/datastores' import {type SeenAnnouncementsState, useSeenAnnouncements} from '../useSeenAnnouncements' -jest.mock('../../../store/_legacy/datastores', () => ({ - useKeyValueStore: jest.fn(), +vi.mock('../../../store/_legacy/datastores', () => ({ + useKeyValueStore: vi.fn(), })) -const useKeyValueStoreMock = useKeyValueStore as jest.Mock -jest.mock('sanity/router', () => ({ - useRouter: jest.fn().mockReturnValue({state: {}}), +const useKeyValueStoreMock = useKeyValueStore as ReturnType +vi.mock('sanity/router', () => ({ + useRouter: vi.fn().mockReturnValue({state: {}}), })) -const useRouterMock = useRouter as jest.Mock +const useRouterMock = useRouter as ReturnType describe('useSeenAnnouncements', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) test('should return "loading" initially and update when observable emits', async () => { const observable = new Subject() - const getKeyMock = jest.fn().mockReturnValue(observable) - const setKeyMock = jest.fn() + const getKeyMock = vi.fn().mockReturnValue(observable) + const setKeyMock = vi.fn() useKeyValueStoreMock.mockReturnValue({getKey: getKeyMock, setKey: setKeyMock}) const {result} = renderHook(() => useSeenAnnouncements()) @@ -47,8 +47,8 @@ describe('useSeenAnnouncements', () => { }) test('should handle errors on the keyValueStore', async () => { const observable = new Subject() - const getKeyMock = jest.fn().mockReturnValue(observable) - const setKeyMock = jest.fn() + const getKeyMock = vi.fn().mockReturnValue(observable) + const setKeyMock = vi.fn() useKeyValueStoreMock.mockReturnValue({getKey: getKeyMock, setKey: setKeyMock}) @@ -74,9 +74,9 @@ describe('useSeenAnnouncements', () => { test('should call the getKey function with the correct key when the hook is called', () => { const observable = new Subject() - const getKeyMock = jest.fn().mockImplementation(() => observable) + const getKeyMock = vi.fn().mockImplementation(() => observable) - const setKeyMock = jest.fn().mockReturnValue(of([])) + const setKeyMock = vi.fn().mockReturnValue(of([])) useKeyValueStoreMock.mockReturnValue({getKey: getKeyMock, setKey: setKeyMock}) @@ -87,8 +87,8 @@ describe('useSeenAnnouncements', () => { test('should call setKey with the correct arguments when setSeenAnnouncements is called', () => { const newSeenAnnouncements = ['announcement1', 'announcement2'] - const getKeyMock = jest.fn().mockImplementation(() => of([])) - const setKeyMock = jest.fn().mockReturnValue(of([])) + const getKeyMock = vi.fn().mockImplementation(() => of([])) + const setKeyMock = vi.fn().mockReturnValue(of([])) useKeyValueStoreMock.mockReturnValue({getKey: getKeyMock, setKey: setKeyMock}) const {result} = renderHook(() => useSeenAnnouncements()) @@ -105,8 +105,8 @@ describe('useSeenAnnouncements', () => { useRouterMock.mockReturnValue({ state: {_searchParams: [['reset-announcements', 'foo,bar']]}, }) - const getKeyMock = jest.fn().mockImplementation(() => of([])) - const setKeyMock = jest.fn().mockReturnValue(of([])) + const getKeyMock = vi.fn().mockImplementation(() => of([])) + const setKeyMock = vi.fn().mockReturnValue(of([])) useKeyValueStoreMock.mockReturnValue({getKey: getKeyMock, setKey: setKeyMock}) renderHook(() => useSeenAnnouncements()) @@ -119,8 +119,8 @@ describe('useSeenAnnouncements', () => { useRouterMock.mockReturnValue({ state: {_searchParams: [['reset-announcements', '']]}, }) - const getKeyMock = jest.fn().mockImplementation(() => of([])) - const setKeyMock = jest.fn().mockReturnValue(of([])) + const getKeyMock = vi.fn().mockImplementation(() => of([])) + const setKeyMock = vi.fn().mockReturnValue(of([])) useKeyValueStoreMock.mockReturnValue({getKey: getKeyMock, setKey: setKeyMock}) renderHook(() => useSeenAnnouncements()) @@ -134,8 +134,8 @@ describe('useSeenAnnouncements', () => { useRouterMock.mockReturnValue({ state: {_searchParams: []}, }) - const getKeyMock = jest.fn().mockImplementation(() => of([])) - const setKeyMock = jest.fn().mockReturnValue(of([])) + const getKeyMock = vi.fn().mockImplementation(() => of([])) + const setKeyMock = vi.fn().mockReturnValue(of([])) useKeyValueStoreMock.mockReturnValue({getKey: getKeyMock, setKey: setKeyMock}) renderHook(() => useSeenAnnouncements()) diff --git a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/utils.test.ts b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/utils.test.ts index 823a80a5de6..563d4870abc 100644 --- a/packages/sanity/src/core/studio/studioAnnouncements/__tests__/utils.test.ts +++ b/packages/sanity/src/core/studio/studioAnnouncements/__tests__/utils.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {isValidAnnouncementAudience, isValidAnnouncementRole} from '../utils' diff --git a/packages/sanity/src/core/studio/workspaces/__tests__/validateWorkspaces.test.ts b/packages/sanity/src/core/studio/workspaces/__tests__/validateWorkspaces.test.ts index 49eac470163..7d52be6bed2 100644 --- a/packages/sanity/src/core/studio/workspaces/__tests__/validateWorkspaces.test.ts +++ b/packages/sanity/src/core/studio/workspaces/__tests__/validateWorkspaces.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {validateBasePaths, validateNames} from '../validateWorkspaces' @@ -13,13 +13,13 @@ describe('validateBasePaths', () => { expect(() => { validateBasePaths([{name: 'first'}, {name: 'second', basePath: '/2nd'}]) }).toThrowErrorMatchingInlineSnapshot( - `"If more than one workspace is defined, every workspace must have a \`basePath\` defined. Workspace \`first\` is missing a \`basePath\`"`, + `[WorkspaceValidationError: If more than one workspace is defined, every workspace must have a \`basePath\` defined. Workspace \`first\` is missing a \`basePath\`]`, ) expect(() => { validateBasePaths([{name: 'first', basePath: '/1st'}, {name: 'second'}]) }).toThrowErrorMatchingInlineSnapshot( - `"If more than one workspace is defined, every workspace must have a \`basePath\` defined. Workspace \`second\` is missing a \`basePath\`"`, + `[WorkspaceValidationError: If more than one workspace is defined, every workspace must have a \`basePath\` defined. Workspace \`second\` is missing a \`basePath\`]`, ) expect(() => { @@ -28,7 +28,7 @@ describe('validateBasePaths', () => { {name: 'second', basePath: ''}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"If more than one workspace is defined, every workspace must have a \`basePath\` defined. Workspace \`second\` has an invalid \`basePath\` (must be a non-empty string)"`, + `[WorkspaceValidationError: If more than one workspace is defined, every workspace must have a \`basePath\` defined. Workspace \`second\` has an invalid \`basePath\` (must be a non-empty string)]`, ) }) @@ -36,7 +36,7 @@ describe('validateBasePaths', () => { expect(() => { validateBasePaths([{name: 'foo', basePath: '\tinvalid.characters%everywhere '}]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`basePath\`s must start with a leading \`/\`, consist of only URL safe characters, and cannot end with a trailing \`/\`. Workspace \`foo\`'s basePath is \` invalid.characters%everywhere \`"`, + `[WorkspaceValidationError: All workspace \`basePath\`s must start with a leading \`/\`, consist of only URL safe characters, and cannot end with a trailing \`/\`. Workspace \`foo\`'s basePath is \` invalid.characters%everywhere \`]`, ) }) @@ -44,7 +44,7 @@ describe('validateBasePaths', () => { expect(() => { validateBasePaths([{name: 'foo', basePath: 'no-leading-slash'}]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`basePath\`s must start with a leading \`/\`, consist of only URL safe characters, and cannot end with a trailing \`/\`. Workspace \`foo\`'s basePath is \`no-leading-slash\`"`, + `[WorkspaceValidationError: All workspace \`basePath\`s must start with a leading \`/\`, consist of only URL safe characters, and cannot end with a trailing \`/\`. Workspace \`foo\`'s basePath is \`no-leading-slash\`]`, ) }) @@ -52,7 +52,7 @@ describe('validateBasePaths', () => { expect(() => { validateBasePaths([{name: 'foo', basePath: '/has-trailing-slash/'}]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`basePath\`s must start with a leading \`/\`, consist of only URL safe characters, and cannot end with a trailing \`/\`. Workspace \`foo\`'s basePath is \`/has-trailing-slash/\`"`, + `[WorkspaceValidationError: All workspace \`basePath\`s must start with a leading \`/\`, consist of only URL safe characters, and cannot end with a trailing \`/\`. Workspace \`foo\`'s basePath is \`/has-trailing-slash/\`]`, ) }) @@ -71,7 +71,7 @@ describe('validateBasePaths', () => { {name: 'threeSegments', basePath: '/one/two/three'}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`basePath\`s must have the same amount of segments. Workspace \`twoSegments\` had 2 segments \`/one/two\` but workspace \`threeSegments\` had 3 segments \`/one/two/three\`"`, + `[WorkspaceValidationError: All workspace \`basePath\`s must have the same amount of segments. Workspace \`twoSegments\` had 2 segments \`/one/two\` but workspace \`threeSegments\` had 3 segments \`/one/two/three\`]`, ) expect(() => { @@ -80,7 +80,7 @@ describe('validateBasePaths', () => { {name: 'oneSegment', basePath: '/one'}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`basePath\`s must have the same amount of segments. Workspace \`noSegments\` had 0 segments \`/\` but workspace \`oneSegment\` had 1 segment \`/one\`"`, + `[WorkspaceValidationError: All workspace \`basePath\`s must have the same amount of segments. Workspace \`noSegments\` had 0 segments \`/\` but workspace \`oneSegment\` had 1 segment \`/one\`]`, ) }) @@ -92,7 +92,7 @@ describe('validateBasePaths', () => { {name: 'fooAgain', basePath: '/OnE/TwO'}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"\`basePath\`s must be unique. Workspaces \`foo\` and \`fooAgain\` both have the \`basePath\` \`/one/two\`"`, + `[WorkspaceValidationError: \`basePath\`s must be unique. Workspaces \`foo\` and \`fooAgain\` both have the \`basePath\` \`/one/two\`]`, ) }) }) @@ -107,7 +107,7 @@ describe('validateNames', () => { expect(() => { validateNames([{basePath: '/first'}, {name: 'second', basePath: '/2nd'}]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 0 did not define a \`name\`."`, + `[WorkspaceValidationError: All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 0 did not define a \`name\`.]`, ) expect(() => { @@ -116,13 +116,13 @@ describe('validateNames', () => { {name: 'second', basePath: '/2nd'}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 0 (titled \\"First\\") did not define a \`name\`."`, + `[WorkspaceValidationError: All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 0 (titled "First") did not define a \`name\`.]`, ) expect(() => { validateNames([{name: 'first', basePath: '/1st'}, {basePath: '/second'}]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 1 did not define a \`name\`."`, + `[WorkspaceValidationError: All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 1 did not define a \`name\`.]`, ) expect(() => { @@ -131,7 +131,7 @@ describe('validateNames', () => { {basePath: '/second', title: 'Second'}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 1 (titled \\"Second\\") did not define a \`name\`."`, + `[WorkspaceValidationError: All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 1 (titled "Second") did not define a \`name\`.]`, ) expect(() => { @@ -140,7 +140,7 @@ describe('validateNames', () => { {name: '', basePath: '/2nd'}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 1 did not define a \`name\`."`, + `[WorkspaceValidationError: All workspaces must have a \`name\`, unless only a single workspace is defined. Workspace at index 1 did not define a \`name\`.]`, ) }) @@ -148,13 +148,13 @@ describe('validateNames', () => { expect(() => { validateNames([{name: '/nope', basePath: '/niet'}]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 has the invalid name \`/nope\`"`, + `[WorkspaceValidationError: All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 has the invalid name \`/nope\`]`, ) expect(() => { validateNames([{name: '/nope', basePath: '/niet', title: 'Nei'}]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 (titled \\"Nei\\") has the invalid name \`/nope\`"`, + `[WorkspaceValidationError: All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 (titled "Nei") has the invalid name \`/nope\`]`, ) }) @@ -162,13 +162,13 @@ describe('validateNames', () => { expect(() => { validateNames([{name: '-no-leading-dash', basePath: '/okay'}]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 has the invalid name \`-no-leading-dash\`"`, + `[WorkspaceValidationError: All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 has the invalid name \`-no-leading-dash\`]`, ) expect(() => { validateNames([{name: '_no_leading_underscore', basePath: '/okay'}]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 has the invalid name \`_no_leading_underscore\`"`, + `[WorkspaceValidationError: All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 has the invalid name \`_no_leading_underscore\`]`, ) expect(() => { @@ -176,7 +176,7 @@ describe('validateNames', () => { {name: '_no_leading_underscore', basePath: '/okay', title: 'The Leading Underscore'}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 (titled \\"The Leading Underscore\\") has the invalid name \`_no_leading_underscore\`"`, + `[WorkspaceValidationError: All workspace \`name\`s must consist of only a-z, 0-9, underscore and dashes, and cannot begin with an underscore or dash. Workspace at index 0 (titled "The Leading Underscore") has the invalid name \`_no_leading_underscore\`]`, ) }) @@ -197,7 +197,7 @@ describe('validateNames', () => { {name: 'foO', basePath: '/3rd'}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"\`name\`s must be unique. Workspace at index 0 and workspace at index 2 both have the \`name\` \`foO\`"`, + `[WorkspaceValidationError: \`name\`s must be unique. Workspace at index 0 and workspace at index 2 both have the \`name\` \`foO\`]`, ) expect(() => { @@ -207,7 +207,7 @@ describe('validateNames', () => { {name: 'foO', basePath: '/3rd', title: 'Third'}, ]) }).toThrowErrorMatchingInlineSnapshot( - `"\`name\`s must be unique. Workspace at index 0 (titled \\"First\\") and workspace at index 1 (titled \\"Second\\") both have the \`name\` \`bar\`"`, + `[WorkspaceValidationError: \`name\`s must be unique. Workspace at index 0 (titled "First") and workspace at index 1 (titled "Second") both have the \`name\` \`bar\`]`, ) }) }) diff --git a/packages/sanity/src/core/tasks/components/activity/helpers/groupChanges.test.ts b/packages/sanity/src/core/tasks/components/activity/helpers/groupChanges.test.ts index b540d374e87..a54eb636321 100644 --- a/packages/sanity/src/core/tasks/components/activity/helpers/groupChanges.test.ts +++ b/packages/sanity/src/core/tasks/components/activity/helpers/groupChanges.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {groupChanges} from './groupChanges' import {type FieldChange} from './parseTransactions' diff --git a/packages/sanity/src/core/tasks/components/form/tasksFormBuilder/TaskNotificationTarget.test.tsx b/packages/sanity/src/core/tasks/components/form/tasksFormBuilder/TaskNotificationTarget.test.tsx index e83cbb73466..8df3fc94079 100644 --- a/packages/sanity/src/core/tasks/components/form/tasksFormBuilder/TaskNotificationTarget.test.tsx +++ b/packages/sanity/src/core/tasks/components/form/tasksFormBuilder/TaskNotificationTarget.test.tsx @@ -1,4 +1,4 @@ -import {beforeAll, describe, expect, it} from '@jest/globals' +import {beforeAll, describe, expect, it} from 'vitest' import {getTaskURL} from './TasksNotificationTarget' diff --git a/packages/sanity/src/core/tasks/context/enabled/TasksEnabledProvider.test.tsx b/packages/sanity/src/core/tasks/context/enabled/TasksEnabledProvider.test.tsx index 90a8273aa16..c08378a0430 100644 --- a/packages/sanity/src/core/tasks/context/enabled/TasksEnabledProvider.test.tsx +++ b/packages/sanity/src/core/tasks/context/enabled/TasksEnabledProvider.test.tsx @@ -1,51 +1,39 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import {renderHook} from '@testing-library/react' +import {useFeatureEnabled, useWorkspace} from 'sanity' +import {beforeEach, describe, expect, it, vi} from 'vitest' import {TasksEnabledProvider} from './TasksEnabledProvider' import {useTasksEnabled} from './useTasksEnabled' -jest.mock('../../../hooks', () => { - // eslint-disable-next-line @typescript-eslint/consistent-type-imports - const actual: typeof import('../../../hooks') = jest.requireActual('../../../hooks') - const mock = jest.fn() +vi.mock('../../../hooks/useFeatureEnabled', () => ({ + ...(vi.importActual('sanity') || {}), + useFeatureEnabled: vi.fn().mockReturnValue({}), +})) - return new Proxy(actual, { - get: (target, property: keyof typeof actual) => { - if (property === 'useFeatureEnabled') return mock - return target[property] - }, - }) -}) - -jest.mock('../../../studio', () => { - // eslint-disable-next-line @typescript-eslint/consistent-type-imports - const actual: typeof import('../../../studio') = jest.requireActual('../../../studio') - const mock = jest.fn() +vi.mock('../../../studio/workspace', () => ({ + ...(vi.importActual('sanity') || {}), + useWorkspace: vi.fn().mockReturnValue({}), +})) - return new Proxy(actual, { - get: (target, property: keyof typeof actual) => { - if (property === 'useWorkspace') return mock - return target[property] - }, - }) -}) +const useFeatureEnabledMock = useFeatureEnabled as ReturnType +const useWorkspaceMock = useWorkspace as ReturnType describe('TasksEnabledProvider', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) it('should not show tasks if user opt out and the feature is not enabled (any plan)', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: false, isLoading: false}) - require('../../../studio').useWorkspace.mockReturnValue({tasks: {enabled: false}}) + useFeatureEnabledMock.mockReturnValue({enabled: false, isLoading: false}) + useWorkspaceMock.mockReturnValue({tasks: {enabled: false}}) const value = renderHook(useTasksEnabled, {wrapper: TasksEnabledProvider}) expect(value.result.current).toEqual({enabled: false, mode: null}) }) it('should not show tasks if user opt out and the feature is enabled (any plan)', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: true, isLoading: false}) - require('../../../studio').useWorkspace.mockReturnValue({tasks: {enabled: false}}) + useFeatureEnabledMock.mockReturnValue({enabled: true, isLoading: false}) + useWorkspaceMock.mockReturnValue({tasks: {enabled: false}}) const value = renderHook(useTasksEnabled, {wrapper: TasksEnabledProvider}) @@ -53,8 +41,8 @@ describe('TasksEnabledProvider', () => { }) it('should show default mode if user hasnt opted out and the feature is enabled (growth or above)', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: true, isLoading: false}) - require('../../../studio').useWorkspace.mockReturnValue({tasks: {enabled: true}}) + useFeatureEnabledMock.mockReturnValue({enabled: true, isLoading: false}) + useWorkspaceMock.mockReturnValue({tasks: {enabled: true}}) const value = renderHook(useTasksEnabled, {wrapper: TasksEnabledProvider}) @@ -62,8 +50,8 @@ describe('TasksEnabledProvider', () => { }) it('should show upsell mode if user has not opt out and the feature is not enabled (free plans)', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: false, isLoading: false}) - require('../../../studio').useWorkspace.mockReturnValue({tasks: {enabled: true}}) + useFeatureEnabledMock.mockReturnValue({enabled: false, isLoading: false}) + useWorkspaceMock.mockReturnValue({tasks: {enabled: true}}) const value = renderHook(useTasksEnabled, {wrapper: TasksEnabledProvider}) @@ -71,8 +59,8 @@ describe('TasksEnabledProvider', () => { }) it('should not show tasks if it is loading the feature', () => { - require('../../../hooks').useFeatureEnabled.mockReturnValue({enabled: false, isLoading: true}) - require('../../../studio').useWorkspace.mockReturnValue({tasks: {enabled: true}}) + useFeatureEnabledMock.mockReturnValue({enabled: false, isLoading: true}) + useWorkspaceMock.mockReturnValue({tasks: {enabled: true}}) const value = renderHook(useTasksEnabled, {wrapper: TasksEnabledProvider}) @@ -80,10 +68,9 @@ describe('TasksEnabledProvider', () => { }) it('should call "useFeatureEnabled" with "sanityTasks"', () => { - require('../../../studio').useWorkspace.mockReturnValue({tasks: {enabled: false}}) + useWorkspaceMock.mockReturnValue({tasks: {enabled: false}}) - const useFeatureEnabled = require('../../../hooks').useFeatureEnabled - useFeatureEnabled.mockReturnValue({enabled: false, isLoading: false}) + useFeatureEnabledMock.mockReturnValue({enabled: false, isLoading: false}) renderHook(useTasksEnabled, {wrapper: TasksEnabledProvider}) expect(useFeatureEnabled).toHaveBeenCalledWith('sanityTasks') diff --git a/packages/sanity/src/core/tasks/context/enabled/TasksEnabledProvider.tsx b/packages/sanity/src/core/tasks/context/enabled/TasksEnabledProvider.tsx index ea26fb6b437..3f103bd17c7 100644 --- a/packages/sanity/src/core/tasks/context/enabled/TasksEnabledProvider.tsx +++ b/packages/sanity/src/core/tasks/context/enabled/TasksEnabledProvider.tsx @@ -1,8 +1,8 @@ import {useMemo} from 'react' import {TasksEnabledContext} from 'sanity/_singletons' -import {useFeatureEnabled} from '../../../hooks' -import {useWorkspace} from '../../../studio' +import {useFeatureEnabled} from '../../../hooks/useFeatureEnabled' +import {useWorkspace} from '../../../studio/workspace' import {type TasksEnabledContextValue} from './types' interface TaksEnabledProviderProps { diff --git a/packages/sanity/src/core/tasks/plugin/TasksFooterOpenTasks.test.tsx b/packages/sanity/src/core/tasks/plugin/TasksFooterOpenTasks.test.tsx index b313ce7687b..eef41fd2cf5 100644 --- a/packages/sanity/src/core/tasks/plugin/TasksFooterOpenTasks.test.tsx +++ b/packages/sanity/src/core/tasks/plugin/TasksFooterOpenTasks.test.tsx @@ -1,8 +1,8 @@ -import {beforeAll, beforeEach, describe, expect, it, jest} from '@jest/globals' import {LayerProvider, studioTheme, ThemeProvider, useMediaIndex} from '@sanity/ui' import {uuid} from '@sanity/uuid' -import {render, screen, waitFor} from '@testing-library/react' +import {render, screen} from '@testing-library/react' import {act} from 'react' +import {beforeAll, beforeEach, describe, expect, it, vi} from 'vitest' import {TasksEnabledProvider, TasksNavigationProvider, TasksProvider} from '../context' import {useTasksStore} from '../store' @@ -10,21 +10,20 @@ import {type TaskDocument} from '../types' import {SetActiveDocument} from './structure/SetActiveDocument' import {TasksFooterOpenTasks} from './TasksFooterOpenTasks' -jest.mock('../../hooks/useFeatureEnabled', () => ({ - useFeatureEnabled: jest.fn().mockReturnValue({enabled: true, isLoading: false}), +vi.mock('../../hooks/useFeatureEnabled', () => ({ + useFeatureEnabled: vi.fn().mockReturnValue({enabled: true, isLoading: false}), })) -jest.mock('../../studio/workspace', () => ({ - useWorkspace: jest.fn().mockReturnValue({tasks: {enabled: true}}), +vi.mock('../../studio/workspace', () => ({ + useWorkspace: vi.fn().mockReturnValue({tasks: {enabled: true}}), })) -jest.mock('../store', () => ({useTasksStore: jest.fn()})) -jest.mock('../context/isLastPane/useIsLastPane', () => ({ - useIsLastPane: jest.fn().mockReturnValue(true), +vi.mock('../store', () => ({useTasksStore: vi.fn()})) +vi.mock('../context/isLastPane/useIsLastPane', () => ({ + useIsLastPane: vi.fn().mockReturnValue(true), })) -jest.mock('@sanity/ui', () => { - // eslint-disable-next-line @typescript-eslint/consistent-type-imports - const actual: typeof import('@sanity/ui') = jest.requireActual('@sanity/ui') - const useToastMock = jest.fn() - const useMediaIndexMock = jest.fn() +vi.mock('@sanity/ui', async () => { + const actual = await vi.importActual('@sanity/ui') + const useToastMock = vi.fn() + const useMediaIndexMock = vi.fn() return new Proxy(actual, { get: (target, property: keyof typeof actual) => { if (property === 'useToast') return useToastMock @@ -33,10 +32,9 @@ jest.mock('@sanity/ui', () => { }, }) }) -jest.mock('sanity/router', () => { - // eslint-disable-next-line @typescript-eslint/consistent-type-imports - const actual: typeof import('sanity/router') = jest.requireActual('sanity/router') - const mock = jest.fn().mockReturnValue({asPath: '/', state: {}}) +vi.mock('sanity/router', async () => { + const actual = await vi.importActual('sanity/router') + const mock = vi.fn().mockReturnValue({asPath: '/', state: {}}) return new Proxy(actual, { get: (target, property: keyof typeof actual) => { if (property === 'useRouter') return mock @@ -45,8 +43,8 @@ jest.mock('sanity/router', () => { }) }) -const mockUseMediaIndex = useMediaIndex as jest.Mock -const mockUseTasksStore = useTasksStore as jest.Mock +const mockUseMediaIndex = useMediaIndex as ReturnType +const mockUseTasksStore = useTasksStore as ReturnType const createTaskMock = ({ targetDocumentId, @@ -106,15 +104,15 @@ describe('TasksFooterOpenTasks', () => { data: tasks, error: null, isLoading: false, - dispatch: jest.fn(), + dispatch: vi.fn(), }) mockUseMediaIndex.mockReturnValue(mediaIndex) } beforeAll(() => { - jest.useFakeTimers() + vi.useFakeTimers() }) beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) it('renders null if there are no pending tasks', () => { @@ -133,18 +131,16 @@ describe('TasksFooterOpenTasks', () => { ) act(() => { - jest.advanceTimersByTime(1000) - }) - await waitFor(() => { - expect(screen.getByRole('button')).toBeInTheDocument() + vi.advanceTimersByTime(1000) }) + expect(screen.getByRole('button')).toBeInTheDocument() }) it('should not render the button if it has tasks and no active document', async () => { setUpMocks({tasks: [createTaskMock({targetDocumentId: 'doc1'})]}) const {container} = render(, {wrapper}) act(() => { - jest.advanceTimersByTime(1000) + vi.advanceTimersByTime(1000) }) expect(container).toBeEmptyDOMElement() }) @@ -160,11 +156,10 @@ describe('TasksFooterOpenTasks', () => { ) act(() => { - jest.advanceTimersByTime(1000) - }) - await waitFor(() => { - expect(screen.getByRole('button')).toBeInTheDocument() - expect(screen.getByText('1')).toBeInTheDocument() + vi.advanceTimersByTime(1000) }) + + expect(screen.getByRole('button')).toBeInTheDocument() + expect(screen.getByTestId('tasks-badge')).toBeInTheDocument() }) }) diff --git a/packages/sanity/src/core/tasks/plugin/TasksFooterOpenTasks.tsx b/packages/sanity/src/core/tasks/plugin/TasksFooterOpenTasks.tsx index 6faf291fbd8..9e8c3734dad 100644 --- a/packages/sanity/src/core/tasks/plugin/TasksFooterOpenTasks.tsx +++ b/packages/sanity/src/core/tasks/plugin/TasksFooterOpenTasks.tsx @@ -62,7 +62,7 @@ export function TasksFooterOpenTasks() { }), }} /> - + {pendingTasks.length} diff --git a/packages/sanity/src/core/templates/__tests__/__snapshots__/prepare.test.ts.snap b/packages/sanity/src/core/templates/__tests__/__snapshots__/prepare.test.ts.snap index 81fc4baa320..9a4205029e7 100644 --- a/packages/sanity/src/core/templates/__tests__/__snapshots__/prepare.test.ts.snap +++ b/packages/sanity/src/core/templates/__tests__/__snapshots__/prepare.test.ts.snap @@ -1,33 +1,33 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`getTemplates returns defaults if part is not implemented 1`] = ` -Array [ - Object { +exports[`getTemplates > returns defaults if part is not implemented 1`] = ` +[ + { "icon": [Function], "id": "author", "schemaType": "author", "title": "Author", "value": [Function], }, - Object { + { "icon": [Function], "id": "person", "schemaType": "person", "title": "Person", - "value": Object { + "value": { "_type": "person", }, }, - Object { + { "icon": [Function], "id": "post", "schemaType": "post", "title": "Post", - "value": Object { + "value": { "_type": "post", }, }, - Object { + { "icon": undefined, "id": "developer", "schemaType": "developer", @@ -37,21 +37,21 @@ Array [ ] `; -exports[`getTemplates returns defined templates if part implemented 1`] = ` -Array [ - Object { +exports[`getTemplates > returns defined templates if part implemented 1`] = ` +[ + { "id": "author", "schemaType": "author", "title": "Author", - "value": Object { + "value": { "title": "here", }, }, - Object { + { "id": "developer", "schemaType": "developer", "title": "Developer", - "value": Object { + "value": { "title": "Foo", }, }, diff --git a/packages/sanity/src/core/templates/__tests__/prepare.test.ts b/packages/sanity/src/core/templates/__tests__/prepare.test.ts index d598afd4a6a..e06cefc7023 100644 --- a/packages/sanity/src/core/templates/__tests__/prepare.test.ts +++ b/packages/sanity/src/core/templates/__tests__/prepare.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {defaultTemplatesForSchema, prepareTemplates} from '../' import {schema} from './schema' diff --git a/packages/sanity/src/core/templates/__tests__/resolve.test.ts b/packages/sanity/src/core/templates/__tests__/resolve.test.ts index a2d9ce61c05..37afe50455c 100644 --- a/packages/sanity/src/core/templates/__tests__/resolve.test.ts +++ b/packages/sanity/src/core/templates/__tests__/resolve.test.ts @@ -1,18 +1,18 @@ -import {beforeEach, describe, expect, jest, test} from '@jest/globals' import {Schema as SchemaBuilder} from '@sanity/schema' import {type InitialValueResolverContext} from '@sanity/types' import {omit} from 'lodash' +import {beforeEach, describe, expect, test, vi} from 'vitest' import {type resolveInitialValue as resolveInitialValueType, type Template} from '../' import {schema} from './schema' let resolveInitialValue: typeof resolveInitialValueType -beforeEach(() => { - jest.resetModules() - jest.clearAllMocks() +beforeEach(async () => { + vi.resetModules() + vi.clearAllMocks() - resolveInitialValue = require('../').resolveInitialValue + resolveInitialValue = (await import('../')).resolveInitialValue }) const example: Template = { @@ -340,7 +340,7 @@ describe('resolveInitialValue', () => { }) describe('memoizes function calls', () => { - const initialValue = jest.fn().mockReturnValue('Name') + const initialValue = vi.fn().mockReturnValue('Name') const testSchema = SchemaBuilder.compile({ name: 'default', diff --git a/packages/sanity/src/core/templates/__tests__/resolveDeep.test.ts b/packages/sanity/src/core/templates/__tests__/resolveDeep.test.ts index bfc412377ff..8358142c63e 100644 --- a/packages/sanity/src/core/templates/__tests__/resolveDeep.test.ts +++ b/packages/sanity/src/core/templates/__tests__/resolveDeep.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, test} from '@jest/globals' import {type InitialValueResolverContext} from '@sanity/types' +import {describe, expect, test} from 'vitest' import {resolveInitialValue} from '../' import {defaultTemplatesForSchema} from '../prepare' diff --git a/packages/sanity/src/core/templates/util/deepAssign.test.ts b/packages/sanity/src/core/templates/util/deepAssign.test.ts index 2de7f1a9b6e..7bc1ca10e36 100644 --- a/packages/sanity/src/core/templates/util/deepAssign.test.ts +++ b/packages/sanity/src/core/templates/util/deepAssign.test.ts @@ -1,4 +1,4 @@ -import {expect, it} from '@jest/globals' +import {expect, it} from 'vitest' import deepAssign from './deepAssign' diff --git a/packages/sanity/src/core/user-color/__tests__/userColorManager.test.ts b/packages/sanity/src/core/user-color/__tests__/userColorManager.test.ts index c944ea426a9..bbb156a6c0a 100644 --- a/packages/sanity/src/core/user-color/__tests__/userColorManager.test.ts +++ b/packages/sanity/src/core/user-color/__tests__/userColorManager.test.ts @@ -1,7 +1,7 @@ -import {describe, expect, test} from '@jest/globals' /* eslint-disable max-nested-callbacks */ import {omit} from 'lodash' import {BehaviorSubject, type Observable} from 'rxjs' +import {describe, expect, test} from 'vitest' import {createUserColorManager, type UserColorManagerOptions} from '../manager' import {type UserColor} from '../types' @@ -172,7 +172,9 @@ describe('user color manager', () => { expect(() => { createUserColorManager({...options, colors: incompleteColors}) - }).toThrowErrorMatchingInlineSnapshot(`"'colors' must contain 'currentUserColor' (blue)"`) + }).toThrowErrorMatchingInlineSnapshot( + `[Error: 'colors' must contain 'currentUserColor' (blue)]`, + ) }) test('can return sync value', () => { diff --git a/packages/sanity/src/core/util/__tests__/createHookFromObservableFactory.test.tsx b/packages/sanity/src/core/util/__tests__/createHookFromObservableFactory.test.tsx index 80154f285fc..997ec8729c2 100644 --- a/packages/sanity/src/core/util/__tests__/createHookFromObservableFactory.test.tsx +++ b/packages/sanity/src/core/util/__tests__/createHookFromObservableFactory.test.tsx @@ -1,7 +1,7 @@ -import {describe, expect, it, jest} from '@jest/globals' import {render, renderHook, waitFor} from '@testing-library/react' import {Component, memo, Profiler, type PropsWithChildren, useDeferredValue} from 'react' import * as Rx from 'rxjs' +import {describe, expect, it, vi} from 'vitest' import {createHookFromObservableFactory} from '../createHookFromObservableFactory' @@ -42,7 +42,7 @@ describe('createHookFromObservableFactory', () => { }) it('flips the loading state if the hook argument changes', async () => { - const observableFactory = jest.fn((value: string) => + const observableFactory = vi.fn((value: string) => Rx.from(tick().then(() => ({value: `hello, ${value}`}))), ) const useHook = createHookFromObservableFactory(observableFactory) @@ -90,7 +90,7 @@ describe('createHookFromObservableFactory', () => { // great end-results as pairing `startTransition` + `` boundaries in apps that don't have external state. // And this test demonstrates how to do that. it('Using React.memo + useDeferrableValue should interrupt and reduce re-renders down the tree similar to startTransition + Suspense', async () => { - const observableFactory = jest.fn((value: string) => + const observableFactory = vi.fn((value: string) => Rx.from(tick().then(() => ({value: `hello, ${value}`}))), ) const useHook = createHookFromObservableFactory(observableFactory) @@ -158,7 +158,7 @@ describe('createHookFromObservableFactory', () => { }) it('accepts an initial value and will return that immediately', async () => { - const observableFactory = jest.fn((value: string) => + const observableFactory = vi.fn((value: string) => Rx.from(tick().then(() => `hello, ${value}`)), ) @@ -186,7 +186,7 @@ describe('createHookFromObservableFactory', () => { it('bubbles errors throws in the observable factory', async () => { // Error is hoisted. To prevent it from being printed as uncaught in terminal, // we explicitly catch it and suppress it, recording that it has been called. - const preventer = jest.fn((evt: ErrorEvent) => evt.preventDefault()) + const preventer = vi.fn((evt: ErrorEvent) => evt.preventDefault()) if (typeof window !== 'undefined') { window.addEventListener('error', preventer, false) } diff --git a/packages/sanity/src/core/util/draftUtils.test.ts b/packages/sanity/src/core/util/draftUtils.test.ts index d87d8f1de33..18f68a2f278 100644 --- a/packages/sanity/src/core/util/draftUtils.test.ts +++ b/packages/sanity/src/core/util/draftUtils.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it, test} from '@jest/globals' import {type SanityDocument} from '@sanity/types' +import {describe, expect, it, test} from 'vitest' import { collate, diff --git a/packages/sanity/src/core/util/searchUtils.test.ts b/packages/sanity/src/core/util/searchUtils.test.ts index f2bdd3549b2..e4af3a3eb54 100644 --- a/packages/sanity/src/core/util/searchUtils.test.ts +++ b/packages/sanity/src/core/util/searchUtils.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {escapeField, fieldNeedsEscape, joinPath} from './searchUtils' diff --git a/packages/sanity/src/core/util/userHasRole.test.ts b/packages/sanity/src/core/util/userHasRole.test.ts index 7a3a5edd1c6..4758fd08d8a 100644 --- a/packages/sanity/src/core/util/userHasRole.test.ts +++ b/packages/sanity/src/core/util/userHasRole.test.ts @@ -1,5 +1,5 @@ -import {expect, test} from '@jest/globals' import {type ConditionalPropertyCallbackContext, type CurrentUser} from '@sanity/types' +import {expect, test} from 'vitest' import {userHasRole} from './userHasRole' diff --git a/packages/sanity/src/core/validation/util/__tests__/createBatchedGetDocumentExists.test.ts b/packages/sanity/src/core/validation/util/__tests__/createBatchedGetDocumentExists.test.ts index d5e06bae9b2..7211feecd8f 100644 --- a/packages/sanity/src/core/validation/util/__tests__/createBatchedGetDocumentExists.test.ts +++ b/packages/sanity/src/core/validation/util/__tests__/createBatchedGetDocumentExists.test.ts @@ -1,6 +1,6 @@ -import {describe, expect, it, jest} from '@jest/globals' import {type SanityClient} from '@sanity/client' import {from, map, of} from 'rxjs' +import {describe, expect, it, vi} from 'vitest' import { createBatchedGetDocumentExists, @@ -16,7 +16,7 @@ describe('createBatchedGetDocumentExists', () => { const mockClient = { getDataUrl: (operation: string, path?: string) => `https://example.com/${operation}/${path}`, observable: { - request: jest.fn(() => of({omitted: [{id: 'baz', reason: 'existence'}]})), + request: vi.fn(() => of({omitted: [{id: 'baz', reason: 'existence'}]})), }, } @@ -40,7 +40,7 @@ describe('createBatchedGetDocumentExists', () => { getDataUrl: (operation: string, path?: string) => `https://example.com/${operation}/${path}`, observable: { // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any - request: jest.fn((_params: any) => of({omitted: []})), + request: vi.fn((_params: any) => of({omitted: []})), }, } @@ -69,7 +69,7 @@ describe('createBatchedGetDocumentExists', () => { getDataUrl: (operation: string, path?: string) => `https://example.com/${operation}/${path}`, observable: { // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/no-explicit-any - request: jest.fn((_params: any) => from(promise).pipe(map(() => ({omitted: []})))), + request: vi.fn((_params: any) => from(promise).pipe(map(() => ({omitted: []})))), }, } diff --git a/packages/sanity/src/router/IntentLink.test.tsx b/packages/sanity/src/router/IntentLink.test.tsx index a08cbd9b344..f8be89d1f55 100644 --- a/packages/sanity/src/router/IntentLink.test.tsx +++ b/packages/sanity/src/router/IntentLink.test.tsx @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {render} from '@testing-library/react' +import {describe, expect, it} from 'vitest' import {IntentLink} from './IntentLink' import {route} from './route' diff --git a/packages/sanity/src/router/__test__/api.test.ts b/packages/sanity/src/router/__test__/api.test.ts index b585e1306c1..857a2527785 100644 --- a/packages/sanity/src/router/__test__/api.test.ts +++ b/packages/sanity/src/router/__test__/api.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {route} from '../route' diff --git a/packages/sanity/src/router/__test__/base64url.test.ts b/packages/sanity/src/router/__test__/base64url.test.ts index 16545b02cbd..c4f5abd1f29 100644 --- a/packages/sanity/src/router/__test__/base64url.test.ts +++ b/packages/sanity/src/router/__test__/base64url.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {decodeBase64Url, encodeBase64Url} from '../utils/base64url' diff --git a/packages/sanity/src/router/__test__/basepath.test.ts b/packages/sanity/src/router/__test__/basepath.test.ts index 051e8ce91f2..e53e3c47f94 100644 --- a/packages/sanity/src/router/__test__/basepath.test.ts +++ b/packages/sanity/src/router/__test__/basepath.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {route} from '../route' diff --git a/packages/sanity/src/router/__test__/errors.test.ts b/packages/sanity/src/router/__test__/errors.test.ts index c7c7f779fae..f60b411b557 100644 --- a/packages/sanity/src/router/__test__/errors.test.ts +++ b/packages/sanity/src/router/__test__/errors.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {route} from '../route' diff --git a/packages/sanity/src/router/__test__/factory.test.ts b/packages/sanity/src/router/__test__/factory.test.ts index a439ffade18..3e2142f7341 100644 --- a/packages/sanity/src/router/__test__/factory.test.ts +++ b/packages/sanity/src/router/__test__/factory.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {route} from '../route' diff --git a/packages/sanity/src/router/__test__/findMatchingNodes.test.ts b/packages/sanity/src/router/__test__/findMatchingNodes.test.ts index 4c444c23e29..542438809fd 100644 --- a/packages/sanity/src/router/__test__/findMatchingNodes.test.ts +++ b/packages/sanity/src/router/__test__/findMatchingNodes.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {_findMatchingRoutes} from '../_findMatchingRoutes' import {type RouterNode} from '../types' diff --git a/packages/sanity/src/router/__test__/resolvePathFromState.test.ts b/packages/sanity/src/router/__test__/resolvePathFromState.test.ts index bf85e1cb71f..a336a894091 100644 --- a/packages/sanity/src/router/__test__/resolvePathFromState.test.ts +++ b/packages/sanity/src/router/__test__/resolvePathFromState.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {_resolvePathFromState} from '../_resolvePathFromState' import {route} from '../route' diff --git a/packages/sanity/src/router/__test__/resolveStateFromPath.test.ts b/packages/sanity/src/router/__test__/resolveStateFromPath.test.ts index 9d8dbd59515..af47811a997 100644 --- a/packages/sanity/src/router/__test__/resolveStateFromPath.test.ts +++ b/packages/sanity/src/router/__test__/resolveStateFromPath.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {_resolveStateFromPath} from '../_resolveStateFromPath' import {type RouterNode} from '../types' diff --git a/packages/sanity/src/router/__test__/scope.test.ts b/packages/sanity/src/router/__test__/scope.test.ts index ab9dee1a955..90a36bc6186 100644 --- a/packages/sanity/src/router/__test__/scope.test.ts +++ b/packages/sanity/src/router/__test__/scope.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {route} from '../route' diff --git a/packages/sanity/src/router/__test__/transform.test.ts b/packages/sanity/src/router/__test__/transform.test.ts index ba5e903cb0a..5435f2035ff 100644 --- a/packages/sanity/src/router/__test__/transform.test.ts +++ b/packages/sanity/src/router/__test__/transform.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {route} from '../route' import {decodeParams, encodeParams} from '../utils/paramsEncoding' diff --git a/packages/sanity/src/router/__test__/urlSearchParams.test.ts b/packages/sanity/src/router/__test__/urlSearchParams.test.ts index 1d6dc76f108..617f49fdaa9 100644 --- a/packages/sanity/src/router/__test__/urlSearchParams.test.ts +++ b/packages/sanity/src/router/__test__/urlSearchParams.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {route} from '../route' diff --git a/packages/sanity/src/router/__test__/usage.test.ts b/packages/sanity/src/router/__test__/usage.test.ts index dbf289d7176..c27220b9fce 100644 --- a/packages/sanity/src/router/__test__/usage.test.ts +++ b/packages/sanity/src/router/__test__/usage.test.ts @@ -1,4 +1,4 @@ -import {expect, test} from '@jest/globals' +import {expect, test} from 'vitest' import {route} from '../route' diff --git a/packages/sanity/src/structure/__tests__/router.test.ts b/packages/sanity/src/structure/__tests__/router.test.ts index 6a5b307f8c6..fd186b91980 100644 --- a/packages/sanity/src/structure/__tests__/router.test.ts +++ b/packages/sanity/src/structure/__tests__/router.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {toPath, toState} from '../router' diff --git a/packages/sanity/src/structure/components/confirmDeleteDialog/__tests__/index.test.tsx b/packages/sanity/src/structure/components/confirmDeleteDialog/__tests__/index.test.tsx index fb3b699b76b..ba5dbe8c482 100644 --- a/packages/sanity/src/structure/components/confirmDeleteDialog/__tests__/index.test.tsx +++ b/packages/sanity/src/structure/components/confirmDeleteDialog/__tests__/index.test.tsx @@ -1,4 +1,4 @@ -import {describe, it} from '@jest/globals' +import {describe, it} from 'vitest' describe('confirmDeleteDialog', () => { it.todo('works') diff --git a/packages/sanity/src/structure/components/pane/helpers/_calcPaneResize.test.ts b/packages/sanity/src/structure/components/pane/helpers/_calcPaneResize.test.ts index 4d48bb043cd..73ed7a3df32 100644 --- a/packages/sanity/src/structure/components/pane/helpers/_calcPaneResize.test.ts +++ b/packages/sanity/src/structure/components/pane/helpers/_calcPaneResize.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {type PaneConfigOpts, type PaneResizeCache} from '../types' import {_calcPaneResize} from './_calcPaneResize' diff --git a/packages/sanity/src/structure/components/pane/paneLayoutController.test.ts b/packages/sanity/src/structure/components/pane/paneLayoutController.test.ts index 82e35d521ba..096c79a7940 100644 --- a/packages/sanity/src/structure/components/pane/paneLayoutController.test.ts +++ b/packages/sanity/src/structure/components/pane/paneLayoutController.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it, jest} from '@jest/globals' +import {describe, expect, it, vi} from 'vitest' import {createPaneLayoutController} from './paneLayoutController' @@ -7,7 +7,7 @@ describe('paneLayoutController', () => { const ctrl = createPaneLayoutController() // Subscribe to state changes - const setStateFn = jest.fn() + const setStateFn = vi.fn() ctrl.subscribe(setStateFn) // Set root element (layout containing panes) diff --git a/packages/sanity/src/structure/components/structureTool/StructureTitle.test.tsx b/packages/sanity/src/structure/components/structureTool/StructureTitle.test.tsx index 84a07afb39e..9adc87bf10e 100644 --- a/packages/sanity/src/structure/components/structureTool/StructureTitle.test.tsx +++ b/packages/sanity/src/structure/components/structureTool/StructureTitle.test.tsx @@ -1,6 +1,6 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import {render} from '@testing-library/react' import * as SANITY from 'sanity' +import {beforeEach, describe, expect, it, vi} from 'vitest' import {createMockSanityClient} from '../../../../test/mocks/mockSanityClient' import {createTestProvider} from '../../../../test/testUtils/TestProvider' @@ -10,13 +10,13 @@ import {type Panes} from '../../structureResolvers' import * as USE_STRUCTURE_TOOL from '../../useStructureTool' import {StructureTitle} from './StructureTitle' -jest.mock('sanity', () => { - const actual: typeof SANITY = jest.requireActual('sanity') +vi.mock('sanity', async () => { + const actual = await vi.importActual('sanity') return { ...actual, - useEditState: jest.fn(), - useSchema: jest.fn(), - unstable_useValuePreview: jest.fn(), + useEditState: vi.fn(), + useSchema: vi.fn(), + unstable_useValuePreview: vi.fn(), } }) @@ -36,7 +36,7 @@ function createWrapperComponent(client: SANITY.SanityClient) { describe('StructureTitle', () => { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore it's a minimal mock implementation of useStructureTool - jest.spyOn(USE_STRUCTURE_TOOL, 'useStructureTool').mockImplementation(() => ({ + vi.spyOn(USE_STRUCTURE_TOOL, 'useStructureTool').mockImplementation(() => ({ structureContext: {title: 'My Structure Tool'} as StructureContext, })) describe('Non document panes', () => { @@ -159,9 +159,9 @@ describe('StructureTitle', () => { it('should not update the when the document is still loading', async () => { const useEditStateMock = () => ({...editState, ready: false}) const useValuePreviewMock = () => valuePreview - jest.spyOn(SANITY, 'useSchema').mockImplementationOnce(useSchemaMock) - jest.spyOn(SANITY, 'useEditState').mockImplementationOnce(useEditStateMock) - jest.spyOn(SANITY, 'unstable_useValuePreview').mockImplementationOnce(useValuePreviewMock) + vi.spyOn(SANITY, 'useSchema').mockImplementationOnce(useSchemaMock) + vi.spyOn(SANITY, 'useEditState').mockImplementationOnce(useEditStateMock) + vi.spyOn(SANITY, 'unstable_useValuePreview').mockImplementationOnce(useValuePreviewMock) const client = createMockSanityClient() const wrapper = await createWrapperComponent(client as any) @@ -174,9 +174,9 @@ describe('StructureTitle', () => { it('renders the correct title when the document pane has a title', async () => { const useEditStateMock = () => editState const useValuePreviewMock = () => valuePreview - jest.spyOn(SANITY, 'useSchema').mockImplementationOnce(useSchemaMock) - jest.spyOn(SANITY, 'useEditState').mockImplementationOnce(useEditStateMock) - jest.spyOn(SANITY, 'unstable_useValuePreview').mockImplementationOnce(useValuePreviewMock) + vi.spyOn(SANITY, 'useSchema').mockImplementationOnce(useSchemaMock) + vi.spyOn(SANITY, 'useEditState').mockImplementationOnce(useEditStateMock) + vi.spyOn(SANITY, 'unstable_useValuePreview').mockImplementationOnce(useValuePreviewMock) const client = createMockSanityClient() const wrapper = await createWrapperComponent(client as any) @@ -188,9 +188,9 @@ describe('StructureTitle', () => { it('renders the correct title when the document is new', async () => { const useEditStateMock = () => ({...editState, draft: null}) const useValuePreviewMock = () => valuePreview - jest.spyOn(SANITY, 'useSchema').mockImplementationOnce(useSchemaMock) - jest.spyOn(SANITY, 'useEditState').mockImplementationOnce(useEditStateMock) - jest.spyOn(SANITY, 'unstable_useValuePreview').mockImplementationOnce(useValuePreviewMock) + vi.spyOn(SANITY, 'useSchema').mockImplementationOnce(useSchemaMock) + vi.spyOn(SANITY, 'useEditState').mockImplementationOnce(useEditStateMock) + vi.spyOn(SANITY, 'unstable_useValuePreview').mockImplementationOnce(useValuePreviewMock) const client = createMockSanityClient() const wrapper = await createWrapperComponent(client as any) @@ -205,9 +205,9 @@ describe('StructureTitle', () => { isLoading: false, value: {title: ''}, }) - jest.spyOn(SANITY, 'useSchema').mockImplementation(useSchemaMock) - jest.spyOn(SANITY, 'useEditState').mockImplementation(useEditStateMock) - jest.spyOn(SANITY, 'unstable_useValuePreview').mockImplementation(useValuePreviewMock) + vi.spyOn(SANITY, 'useSchema').mockImplementation(useSchemaMock) + vi.spyOn(SANITY, 'useEditState').mockImplementation(useEditStateMock) + vi.spyOn(SANITY, 'unstable_useValuePreview').mockImplementation(useValuePreviewMock) const client = createMockSanityClient() const wrapper = await createWrapperComponent(client as any) diff --git a/packages/sanity/src/structure/panes/document/documentPanel/header/DocumentHeaderTitle.test.tsx b/packages/sanity/src/structure/panes/document/documentPanel/header/DocumentHeaderTitle.test.tsx index d34ec969a32..724a73fe390 100644 --- a/packages/sanity/src/structure/panes/document/documentPanel/header/DocumentHeaderTitle.test.tsx +++ b/packages/sanity/src/structure/panes/document/documentPanel/header/DocumentHeaderTitle.test.tsx @@ -1,6 +1,6 @@ -import {afterEach, beforeEach, describe, expect, it, jest} from '@jest/globals' import {render, waitFor} from '@testing-library/react' import {defineConfig, type SanityClient, unstable_useValuePreview as useValuePreview} from 'sanity' +import {afterEach, beforeEach, describe, expect, it, vi} from 'vitest' import {createMockSanityClient} from '../../../../../../test/mocks/mockSanityClient' import {createTestProvider} from '../../../../../../test/testUtils/TestProvider' @@ -22,19 +22,19 @@ function createWrapperComponent(client: SanityClient) { }) } -jest.mock('../../useDocumentPane') -jest.mock('sanity', () => { +vi.mock('../../useDocumentPane') +vi.mock('sanity', async () => { // eslint-disable-next-line @typescript-eslint/consistent-type-imports - const actual = jest.requireActual('sanity') + const actual = await vi.importActual('sanity') return { ...actual, - unstable_useValuePreview: jest.fn(), + unstable_useValuePreview: vi.fn(), } }) describe('DocumentHeaderTitle', () => { - const mockUseDocumentPane = useDocumentPane as jest.MockedFunction - const mockUseValuePreview = useValuePreview as jest.MockedFunction + const mockUseDocumentPane = useDocumentPane as vi.MockedFunction + const mockUseValuePreview = useValuePreview as vi.MockedFunction const defaultProps = { connectionState: 'connected', @@ -52,7 +52,7 @@ describe('DocumentHeaderTitle', () => { }) afterEach(() => { - jest.resetAllMocks() + vi.resetAllMocks() }) it('should render without crashing', async () => { diff --git a/packages/sanity/src/structure/panes/documentList/__tests__/PaneContainer.test.tsx b/packages/sanity/src/structure/panes/documentList/__tests__/PaneContainer.test.tsx index c712ac1bfe7..ca3596f042f 100644 --- a/packages/sanity/src/structure/panes/documentList/__tests__/PaneContainer.test.tsx +++ b/packages/sanity/src/structure/panes/documentList/__tests__/PaneContainer.test.tsx @@ -1,42 +1,39 @@ -import {describe, expect, it, jest} from '@jest/globals' -import {act, render, screen} from '@testing-library/react' -import type * as SANITY from 'sanity' +import {act, render, screen, waitFor} from '@testing-library/react' import {defineConfig, useSearchState} from 'sanity' import {type DocumentListPaneNode, type StructureToolContextValue} from 'sanity/structure' +import {describe, expect, it, type Mock, vi} from 'vitest' import {createTestProvider} from '../../../../../test/testUtils/TestProvider' import {structureUsEnglishLocaleBundle} from '../../../i18n' import {useStructureToolSetting} from '../../../useStructureToolSetting' import {PaneContainer} from '../PaneContainer' -jest.mock('../../../useStructureToolSetting', () => ({ - useStructureToolSetting: jest.fn(), +vi.mock('../../../useStructureToolSetting', () => ({ + useStructureToolSetting: vi.fn(), })) -jest.mock('../../../useStructureTool', () => ({ - useStructureTool: jest.fn().mockReturnValue({features: {}} as StructureToolContextValue), +vi.mock('../../../useStructureTool', () => ({ + useStructureTool: vi.fn().mockReturnValue({features: {}} as StructureToolContextValue), })) -jest.mock('../../../components/pane/usePaneLayout', () => ({ - usePaneLayout: jest.fn().mockReturnValue({panes: [], mount: jest.fn()}), +vi.mock('../../../components/pane/usePaneLayout', () => ({ + usePaneLayout: vi.fn().mockReturnValue({panes: [], mount: vi.fn()}), })) -jest.mock('../sheetList/useDocumentSheetList', () => ({ - useDocumentSheetList: jest.fn().mockReturnValue({data: [], isLoading: false}), +vi.mock('../sheetList/useDocumentSheetList', () => ({ + useDocumentSheetList: vi.fn().mockReturnValue({data: [], isLoading: false}), })) -jest.mock('sanity', () => { - const actual: typeof SANITY = jest.requireActual('sanity') +vi.mock('sanity', async () => { + const actual = await vi.importActual('sanity') return { ...actual, - useSearchState: jest.fn(), + useSearchState: vi.fn(), } }) -const mockUseSearchState = useSearchState as jest.Mock +const mockUseSearchState = useSearchState as Mock -const mockUseStructureToolSetting = useStructureToolSetting as jest.Mock< - typeof useStructureToolSetting -> +const mockUseStructureToolSetting = useStructureToolSetting as Mock describe('PaneContainer', () => { it('should show the document list pane when a list layout is selected', async () => { @@ -49,7 +46,7 @@ describe('PaneContainer', () => { config, resources: [structureUsEnglishLocaleBundle], }) - mockUseStructureToolSetting.mockReturnValue(['compact', jest.fn()]) + mockUseStructureToolSetting.mockReturnValue(['compact', vi.fn()]) render( { {wrapper}, ) - screen.getByTestId('document-list-pane') + await waitFor(() => expect(screen.getByTestId('document-list-pane')).toBeInTheDocument()) expect(screen.queryByTestId('document-sheet-list-pane')).toBeNull() }) it('should show the document sheet list pane when the sheet layout is selected', async () => { - const mockDispatch = jest.fn() + const mockDispatch = vi.fn() const config = defineConfig({ projectId: 'test', dataset: 'test', @@ -84,7 +81,7 @@ describe('PaneContainer', () => { config, resources: [structureUsEnglishLocaleBundle], }) - mockUseStructureToolSetting.mockReturnValue(['sheetList', jest.fn()]) + mockUseStructureToolSetting.mockReturnValue(['sheetList', vi.fn()]) // Mock return value for useSearchState mockUseSearchState.mockReturnValue({ state: { diff --git a/packages/sanity/src/structure/panes/documentList/__tests__/helpers.test.ts b/packages/sanity/src/structure/panes/documentList/__tests__/helpers.test.ts index f2a472ef355..732303cc14d 100644 --- a/packages/sanity/src/structure/panes/documentList/__tests__/helpers.test.ts +++ b/packages/sanity/src/structure/panes/documentList/__tests__/helpers.test.ts @@ -1,6 +1,6 @@ -import {describe, expect, test} from '@jest/globals' import {Schema} from '@sanity/schema' import {type ObjectSchemaType} from '@sanity/types' +import {describe, expect, test} from 'vitest' import {applyOrderingFunctions, fieldExtendsType, findStaticTypesInFilter} from '../helpers' diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/ColumnsControl.test.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/ColumnsControl.test.tsx index 0a90bd218c9..04641e65ca2 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/ColumnsControl.test.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/ColumnsControl.test.tsx @@ -1,8 +1,8 @@ -import {afterEach, beforeEach, describe, expect, it, jest} from '@jest/globals' import {studioTheme, ThemeProvider} from '@sanity/ui' import {type ColumnDef, useReactTable} from '@tanstack/react-table' import {fireEvent, render, screen} from '@testing-library/react' import {type SanityDocument} from 'sanity' +import {afterEach, beforeEach, describe, expect, it, vi} from 'vitest' import {ColumnsControl} from '../ColumnsControl' @@ -56,7 +56,7 @@ describe('ColumnsControl', () => { }) afterEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) it('should set default column visibilities', () => { diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/DocumentSheetListPane.test.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/DocumentSheetListPane.test.tsx index 20b66135edb..2e4364988cb 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/DocumentSheetListPane.test.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/DocumentSheetListPane.test.tsx @@ -1,16 +1,16 @@ -import {describe, expect, it, jest} from '@jest/globals' import {fireEvent, render, screen, within} from '@testing-library/react' import userEvent from '@testing-library/user-event' import {act} from 'react' import {defineConfig} from 'sanity' import {type DocumentListPaneNode} from 'sanity/structure' +import {describe, expect, it, vi} from 'vitest' import {createTestProvider} from '../../../../../../test/testUtils/TestProvider' import {structureUsEnglishLocaleBundle} from '../../../../i18n' import {DocumentSheetListPane} from '../DocumentSheetListPane' -jest.mock('../useDocumentSheetList', () => ({ - useDocumentSheetList: jest.fn().mockReturnValue({ +vi.mock('../useDocumentSheetList', () => ({ + useDocumentSheetList: vi.fn().mockReturnValue({ data: [ { _id: '123', @@ -29,10 +29,10 @@ jest.mock('../useDocumentSheetList', () => ({ }), })) -jest.mock('sanity', () => ({ - ...(jest.requireActual('sanity') || {}), - useDocumentPreviewStore: jest.fn().mockReturnValue({ - observeForPreview: jest.fn().mockReturnValue([]), +vi.mock('sanity', async () => ({ + ...((await vi.importActual('sanity')) || {}), + useDocumentPreviewStore: vi.fn().mockReturnValue({ + observeForPreview: vi.fn().mockReturnValue([]), }), })) @@ -78,7 +78,7 @@ const renderTest = async () => { Object.assign(navigator, { clipboard: { - writeText: jest.fn(), + writeText: vi.fn(), }, }) @@ -319,7 +319,7 @@ describe('DocumentSheetListPane', () => { expect( within(screen.getByTestId('header-name')).getByTestId('field-menu-button'), - ).toBeVisible() + ).toBeInTheDocument() fireEvent.click(within(screen.getByTestId('header-name')).getByTestId('field-menu-button')) fireEvent.click(screen.getByText('Remove from table')) diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/DocumentSheetListSelect.test.tsx b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/DocumentSheetListSelect.test.tsx index 0a5e62d8285..a82978335bc 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/DocumentSheetListSelect.test.tsx +++ b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/DocumentSheetListSelect.test.tsx @@ -1,14 +1,14 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import {type SanityDocument} from '@sanity/types' import {studioTheme, ThemeProvider} from '@sanity/ui' import {type CellContext} from '@tanstack/react-table' import {fireEvent, render, screen} from '@testing-library/react' +import {beforeEach, describe, expect, it, vi} from 'vitest' import {DocumentSheetListSelect} from '../DocumentSheetListSelect' -const mockToggleSelected = jest.fn() -const mockSetSelectedAnchor = jest.fn() -const mockSetRowSelection = jest.fn() +const mockToggleSelected = vi.fn() +const mockSetSelectedAnchor = vi.fn() +const mockSetRowSelection = vi.fn() const props = { table: { @@ -42,7 +42,7 @@ const renderTest = (renderProps?: Partial>) describe('DocumentSheetListSelect', () => { beforeEach(() => { - jest.clearAllMocks() + vi.clearAllMocks() }) it('selects only current checkbox if shift key is not pressed', async () => { diff --git a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/useDocumentSheetColumns.test.ts b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/useDocumentSheetColumns.test.ts index 0a5abe97b56..5ecef6757ca 100644 --- a/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/useDocumentSheetColumns.test.ts +++ b/packages/sanity/src/structure/panes/documentList/sheetList/__tests__/useDocumentSheetColumns.test.ts @@ -1,12 +1,12 @@ -import {describe, expect, it, jest} from '@jest/globals' import {type ObjectSchemaType} from '@sanity/types' import {renderHook} from '@testing-library/react' +import {describe, expect, it, vi} from 'vitest' import {useDocumentSheetColumns} from '../useDocumentSheetColumns' -jest.mock('sanity', () => ({ - ...(jest.requireActual('sanity') || {}), - useDocumentPreviewStore: jest.fn().mockReturnValue({}), +vi.mock('sanity', () => ({ + ...(vi.importActual('sanity') || {}), + useDocumentPreviewStore: vi.fn().mockReturnValue({}), })) describe('useDocumentSheetColumns', () => { diff --git a/packages/sanity/src/structure/structureBuilder/util/__tests__/getStructureNodeId.test.ts b/packages/sanity/src/structure/structureBuilder/util/__tests__/getStructureNodeId.test.ts index 24f95beadf1..5ebb5eb86b8 100644 --- a/packages/sanity/src/structure/structureBuilder/util/__tests__/getStructureNodeId.test.ts +++ b/packages/sanity/src/structure/structureBuilder/util/__tests__/getStructureNodeId.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {getStructureNodeId} from '../getStructureNodeId' diff --git a/packages/sanity/src/structure/structureResolvers/__tests__/assignId.test.ts b/packages/sanity/src/structure/structureResolvers/__tests__/assignId.test.ts index b111b60c28b..5aa2d9708bb 100644 --- a/packages/sanity/src/structure/structureResolvers/__tests__/assignId.test.ts +++ b/packages/sanity/src/structure/structureResolvers/__tests__/assignId.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {assignId} from '../assignId' diff --git a/packages/sanity/src/structure/structureResolvers/__tests__/memoBind.test.ts b/packages/sanity/src/structure/structureResolvers/__tests__/memoBind.test.ts index dfe71609677..57543058e87 100644 --- a/packages/sanity/src/structure/structureResolvers/__tests__/memoBind.test.ts +++ b/packages/sanity/src/structure/structureResolvers/__tests__/memoBind.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {memoBind} from '../memoBind' diff --git a/packages/sanity/src/structure/structureResolvers/__tests__/resolveIntent.test.ts b/packages/sanity/src/structure/structureResolvers/__tests__/resolveIntent.test.ts index 903ab4aeb08..d20d8333257 100644 --- a/packages/sanity/src/structure/structureResolvers/__tests__/resolveIntent.test.ts +++ b/packages/sanity/src/structure/structureResolvers/__tests__/resolveIntent.test.ts @@ -1,9 +1,9 @@ /* eslint-disable simple-import-sort/imports */ /* this has to be imported after createStructureBuilder due to what looks like a circular import issue */ +import {describe, expect, it, vi} from 'vitest' import {createStructureBuilder, SerializeError} from '../../structureBuilder' -import {type SchemaPluginOptions} from 'sanity' -import {expect, describe, it, jest} from '@jest/globals' +import {type SchemaPluginOptions} from 'sanity' import {getMockSource} from '../../../../test/testUtils/getMockWorkspaceFromConfig' /* eslint-enable import/order */ @@ -238,7 +238,7 @@ describe('resolveIntent', () => { // this disables the default intent checker so we can try out matching // without relying on it - const canHandleIntentSpy = jest.spyOn(rootPaneNode, 'canHandleIntent').mockReturnValue(false) + const canHandleIntentSpy = vi.spyOn(rootPaneNode, 'canHandleIntent').mockReturnValue(false) const routerPanes = await resolveIntent({ intent: 'edit', @@ -261,7 +261,7 @@ describe('resolveIntent', () => { .title('My List') .serialize() - const canHandleIntentSpy = jest.spyOn(list, 'canHandleIntent') + const canHandleIntentSpy = vi.spyOn(list, 'canHandleIntent') const rootPaneNode = S.list() .title('Content') @@ -303,7 +303,7 @@ describe('resolveIntent', () => { .title('My Component') .serialize() - const canHandleIntentSpy = jest.spyOn(customComponent, 'canHandleIntent') + const canHandleIntentSpy = vi.spyOn(customComponent, 'canHandleIntent') const rootPaneNode = S.list() .title('Content') diff --git a/packages/sanity/test/cli/graphql/__snapshots__/extract.test.ts.snap b/packages/sanity/test/cli/graphql/__snapshots__/extract.test.ts.snap index 36b4d186bf8..7a86f80d5f0 100644 --- a/packages/sanity/test/cli/graphql/__snapshots__/extract.test.ts.snap +++ b/packages/sanity/test/cli/graphql/__snapshots__/extract.test.ts.snap @@ -1,36 +1,36 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`GraphQL - Schema extraction Should be able to extract schema 1`] = ` -Object { - "interfaces": Array [ - Object { +exports[`GraphQL - Schema extraction > Should be able to extract schema 1`] = ` +{ + "interfaces": [ + { "description": "A Sanity document", - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, @@ -41,65 +41,65 @@ Object { "name": "Document", }, ], - "types": Array [ - Object { + "types": [ + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "awards", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "bestFriend", "isReference": true, "type": "Author", }, - Object { + { "fieldName": "image", "type": "Image", }, - Object { - "children": Object { + { + "children": { "type": "Block", }, "description": undefined, @@ -109,58 +109,58 @@ Object { "originalName": "minimalBlock", "type": "JSON", }, - Object { + { "description": undefined, "fieldName": "name", "type": "String", }, - Object { + { "description": undefined, "fieldName": "role", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Author", "originalName": "author", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Span", }, "description": undefined, "fieldName": "children", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "level", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "listItem", "type": "String", }, - Object { + { "description": undefined, "fieldName": "style", "type": "String", @@ -170,43 +170,43 @@ Object { "name": "Block", "originalName": "block", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -216,40 +216,40 @@ Object { "name": "CdrPersonReference", "originalName": "cdrPersonReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "code", "type": "Text", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Float", }, "description": undefined, "fieldName": "highlightedLines", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "language", "type": "String", @@ -259,40 +259,40 @@ Object { "name": "Code", "originalName": "code", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alpha", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "hex", "type": "String", }, - Object { + { "fieldName": "hsl", "type": "HslaColor", }, - Object { + { "fieldName": "hsv", "type": "HsvaColor", }, - Object { + { "fieldName": "rgb", "type": "RgbaColor", }, @@ -301,37 +301,37 @@ Object { "name": "Color", "originalName": "color", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -341,36 +341,36 @@ Object { "name": "CrossDatasetReference", "originalName": "crossDatasetReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "excerpt", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "name", @@ -381,114 +381,114 @@ Object { "name": "DeprecatedObject", "originalName": "deprecatedObject", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "This object type has been deprecated", }, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentActionsTest", "originalName": "documentActionsTest", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "Entire \`Document actions\` document type deprecated", }, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", "place", ], @@ -496,10 +496,10 @@ Object { "fieldName": "cdrFieldInline", "type": "CrossDatasetReference", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, @@ -507,29 +507,29 @@ Object { "type": "CdrPersonReference", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentWithCdrField", "originalName": "documentWithCdrField", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -540,32 +540,32 @@ Object { "name": "File", "originalName": "file", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alt", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lat", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lng", "type": "Float", @@ -575,37 +575,37 @@ Object { "name": "Geopoint", "originalName": "geopoint", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "l", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", @@ -615,37 +615,37 @@ Object { "name": "HslaColor", "originalName": "hslaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "v", "type": "Float", @@ -655,32 +655,32 @@ Object { "name": "HsvaColor", "originalName": "hsvaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, "type": "SanityImageAsset", }, - Object { + { "fieldName": "crop", "type": "SanityImageCrop", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspot", }, @@ -689,22 +689,22 @@ Object { "name": "Image", "originalName": "image", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -715,42 +715,42 @@ Object { "name": "MuxVideo", "originalName": "mux.video", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "playbackId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "status", "type": "String", }, - Object { + { "description": undefined, "fieldName": "thumbTime", "type": "Float", @@ -760,147 +760,147 @@ Object { "name": "MuxVideoAsset", "originalName": "mux.videoAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo1", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo11", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo13", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo15", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo17", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo19", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo3", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo5", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo7", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo9", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "fieldNo0", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo10", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo12", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo14", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo16", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo18", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo2", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo4", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo6", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo8", "type": "String", @@ -910,37 +910,37 @@ Object { "name": "ObjectWithNestedArray", "originalName": "objectWithNestedArray", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "calculated", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "nominal", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "optimistic", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "pessimistic", "type": "Float", @@ -950,109 +950,109 @@ Object { "name": "PertEstimate", "originalName": "pertEstimate", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "primitives", "kind": "List", }, - Object { + { "deprecationReason": "This object type has been deprecated", "fieldName": "someObject", "type": "DeprecatedObject", }, - Object { + { "deprecationReason": "This string type has been deprecated", "description": undefined, "fieldName": "someString", "type": "String", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Poppers", "originalName": "poppers", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "b", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "g", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "r", "type": "Float", @@ -1062,33 +1062,33 @@ Object { "name": "RgbaColor", "originalName": "rgbaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": "The unique ID for the asset within the originating source so you can programatically find back to it", "fieldName": "id", "type": "String", }, - Object { + { "deprecationReason": "This field is no longer used", "description": "A canonical name for the source this asset is originating from", "fieldName": "name", "type": "String", }, - Object { + { "description": "A URL to find more information about this asset in the originating source", "fieldName": "url", "type": "String", @@ -1098,270 +1098,270 @@ Object { "name": "SanityAssetSourceData", "originalName": "sanity.assetSourceData", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityFileAsset", "originalName": "sanity.fileAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadata", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "uploadId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityImageAsset", "originalName": "sanity.imageAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "bottom", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "left", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "right", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "top", "type": "Float", @@ -1371,32 +1371,32 @@ Object { "name": "SanityImageCrop", "originalName": "sanity.imageCrop", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "aspectRatio", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", @@ -1406,37 +1406,37 @@ Object { "name": "SanityImageDimensions", "originalName": "sanity.imageDimensions", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "x", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "y", "type": "Float", @@ -1446,50 +1446,50 @@ Object { "name": "SanityImageHotspot", "originalName": "sanity.imageHotspot", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "blurHash", "type": "String", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensions", }, - Object { + { "description": undefined, "fieldName": "hasAlpha", "type": "Boolean", }, - Object { + { "description": undefined, "fieldName": "isOpaque", "type": "Boolean", }, - Object { + { "fieldName": "location", "type": "Geopoint", }, - Object { + { "description": undefined, "fieldName": "lqip", "type": "String", }, - Object { + { "fieldName": "palette", "type": "SanityImagePalette", }, @@ -1498,46 +1498,46 @@ Object { "name": "SanityImageMetadata", "originalName": "sanity.imageMetadata", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatch", }, @@ -1546,37 +1546,37 @@ Object { "name": "SanityImagePalette", "originalName": "sanity.imagePalette", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "background", "type": "String", }, - Object { + { "description": undefined, "fieldName": "foreground", "type": "String", }, - Object { + { "description": undefined, "fieldName": "population", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", @@ -1586,22 +1586,22 @@ Object { "name": "SanityImagePaletteSwatch", "originalName": "sanity.imagePaletteSwatch", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "current", "type": "String", @@ -1611,30 +1611,30 @@ Object { "name": "Slug", "originalName": "slug", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "marks", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "text", "type": "String", @@ -1644,7 +1644,7 @@ Object { "name": "Span", "originalName": "span", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, ], } diff --git a/packages/sanity/test/cli/graphql/__snapshots__/gen2.test.ts.snap b/packages/sanity/test/cli/graphql/__snapshots__/gen2.test.ts.snap index cc9fa450d33..1185f09166e 100644 --- a/packages/sanity/test/cli/graphql/__snapshots__/gen2.test.ts.snap +++ b/packages/sanity/test/cli/graphql/__snapshots__/gen2.test.ts.snap @@ -1,37 +1,37 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`GraphQL - Generation 2 Should be able to generate graphql schema 1`] = ` -Object { +exports[`GraphQL - Generation 2 > Should be able to generate graphql schema 1`] = ` +{ "generation": "gen2", - "interfaces": Array [ - Object { + "interfaces": [ + { "description": "A Sanity document", - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, @@ -42,21 +42,21 @@ Object { "name": "Document", }, ], - "queries": Array [ - Object { - "args": Array [ - Object { + "queries": [ + { + "args": [ + { "description": "Author document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -65,20 +65,20 @@ Object { "fieldName": "Author", "type": "Author", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -87,20 +87,20 @@ Object { "fieldName": "Document", "type": "Document", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentActionsTest document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -109,20 +109,20 @@ Object { "fieldName": "DocumentActionsTest", "type": "DocumentActionsTest", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentWithCdrField document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -131,20 +131,20 @@ Object { "fieldName": "DocumentWithCdrField", "type": "DocumentWithCdrField", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Poppers document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -153,20 +153,20 @@ Object { "fieldName": "Poppers", "type": "Poppers", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityFileAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -175,20 +175,20 @@ Object { "fieldName": "SanityFileAsset", "type": "SanityFileAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityImageAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -197,24 +197,24 @@ Object { "fieldName": "SanityImageAsset", "type": "SanityImageAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "AuthorSorting", }, @@ -222,16 +222,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "AuthorFilter", }, ], "fieldName": "allAuthor", - "filter": "_type == \\"author\\"", - "type": Object { - "children": Object { + "filter": "_type == "author"", + "type": { + "children": { "isNullable": false, "type": "Author", }, @@ -239,24 +239,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTestSorting", }, @@ -264,16 +264,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentActionsTestFilter", }, ], "fieldName": "allDocumentActionsTest", - "filter": "_type == \\"documentActionsTest\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentActionsTest"", + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTest", }, @@ -281,24 +281,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrFieldSorting", }, @@ -306,16 +306,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentWithCdrFieldFilter", }, ], "fieldName": "allDocumentWithCdrField", - "filter": "_type == \\"documentWithCdrField\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentWithCdrField"", + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrField", }, @@ -323,24 +323,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "PoppersSorting", }, @@ -348,16 +348,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "PoppersFilter", }, ], "fieldName": "allPoppers", - "filter": "_type == \\"poppers\\"", - "type": Object { - "children": Object { + "filter": "_type == "poppers"", + "type": { + "children": { "isNullable": false, "type": "Poppers", }, @@ -365,24 +365,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityFileAssetSorting", }, @@ -390,16 +390,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityFileAssetFilter", }, ], "fieldName": "allSanityFileAsset", - "filter": "_type == \\"sanity.fileAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.fileAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityFileAsset", }, @@ -407,24 +407,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityImageAssetSorting", }, @@ -432,16 +432,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityImageAssetFilter", }, ], "fieldName": "allSanityImageAsset", - "filter": "_type == \\"sanity.imageAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.imageAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityImageAsset", }, @@ -450,65 +450,65 @@ Object { }, }, ], - "types": Array [ - Object { + "types": [ + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "awards", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "bestFriend", "isReference": true, "type": "Author", }, - Object { + { "fieldName": "image", "type": "Image", }, - Object { - "children": Object { + { + "children": { "type": "Block", }, "description": undefined, @@ -518,79 +518,79 @@ Object { "originalName": "minimalBlock", "type": "JSON", }, - Object { + { "description": undefined, "fieldName": "name", "type": "String", }, - Object { + { "description": undefined, "fieldName": "role", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Author", "originalName": "author", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "bestFriend", "isReference": true, "type": "AuthorFilter", }, - Object { + { "fieldName": "image", "isReference": undefined, "type": "ImageFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "role", "isReference": undefined, "type": "StringFilter", @@ -599,41 +599,41 @@ Object { "kind": "InputObject", "name": "AuthorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "image", "type": "ImageSorting", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "role", "type": "SortOrder", }, @@ -641,38 +641,38 @@ Object { "kind": "InputObject", "name": "AuthorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Span", }, "description": undefined, "fieldName": "children", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "level", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "listItem", "type": "String", }, - Object { + { "description": undefined, "fieldName": "style", "type": "String", @@ -682,21 +682,21 @@ Object { "name": "Block", "originalName": "block", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Boolean", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Boolean", @@ -706,41 +706,41 @@ Object { "kind": "InputObject", "name": "BooleanFilter", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -750,36 +750,36 @@ Object { "name": "CdrPersonReference", "originalName": "cdrPersonReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -788,29 +788,29 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -818,38 +818,38 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "code", "type": "Text", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Float", }, "description": undefined, "fieldName": "highlightedLines", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "language", "type": "String", @@ -859,31 +859,31 @@ Object { "name": "Code", "originalName": "code", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "code", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "language", "isReference": undefined, "type": "StringFilter", @@ -892,25 +892,25 @@ Object { "kind": "InputObject", "name": "CodeFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "code", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "language", "type": "SortOrder", }, @@ -918,38 +918,38 @@ Object { "kind": "InputObject", "name": "CodeSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alpha", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "hex", "type": "String", }, - Object { + { "fieldName": "hsl", "type": "HslaColor", }, - Object { + { "fieldName": "hsv", "type": "HsvaColor", }, - Object { + { "fieldName": "rgb", "type": "RgbaColor", }, @@ -958,41 +958,41 @@ Object { "name": "Color", "originalName": "color", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alpha", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "hex", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "hsl", "isReference": undefined, "type": "HslaColorFilter", }, - Object { + { "fieldName": "hsv", "isReference": undefined, "type": "HsvaColorFilter", }, - Object { + { "fieldName": "rgb", "isReference": undefined, "type": "RgbaColorFilter", @@ -1001,33 +1001,33 @@ Object { "kind": "InputObject", "name": "ColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alpha", "type": "SortOrder", }, - Object { + { "fieldName": "hex", "type": "SortOrder", }, - Object { + { "fieldName": "hsl", "type": "HslaColorSorting", }, - Object { + { "fieldName": "hsv", "type": "HsvaColorSorting", }, - Object { + { "fieldName": "rgb", "type": "RgbaColorSorting", }, @@ -1035,35 +1035,35 @@ Object { "kind": "InputObject", "name": "ColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -1073,36 +1073,36 @@ Object { "name": "CrossDatasetReference", "originalName": "crossDatasetReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -1111,29 +1111,29 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -1141,39 +1141,39 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Date", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Date", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Date", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Date", @@ -1183,39 +1183,39 @@ Object { "kind": "InputObject", "name": "DateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Datetime", @@ -1225,34 +1225,34 @@ Object { "kind": "InputObject", "name": "DatetimeFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "excerpt", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "name", @@ -1263,33 +1263,33 @@ Object { "name": "DeprecatedObject", "originalName": "deprecatedObject", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "This object type has been deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "excerpt", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", @@ -1298,25 +1298,25 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "excerpt", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, @@ -1324,106 +1324,106 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentActionsTest", "originalName": "documentActionsTest", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "Entire \`Document actions\` document type deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -1432,33 +1432,33 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -1466,14 +1466,14 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "All documents that are drafts.", "fieldName": "is_draft", "type": "Boolean", }, - Object { + { "description": "All documents referencing the given document ID.", "fieldName": "references", "type": "ID", @@ -1483,48 +1483,48 @@ Object { "kind": "InputObject", "name": "DocumentFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", "place", ], @@ -1532,10 +1532,10 @@ Object { "fieldName": "cdrFieldInline", "type": "CrossDatasetReference", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, @@ -1543,58 +1543,58 @@ Object { "type": "CdrPersonReference", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentWithCdrField", "originalName": "documentWithCdrField", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "cdrFieldInline", "isReference": undefined, "type": "CrossDatasetReferenceFilter", }, - Object { + { "fieldName": "cdrFieldNamed", "isReference": undefined, "type": "CdrPersonReferenceFilter", @@ -1603,37 +1603,37 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "cdrFieldInline", "type": "CrossDatasetReferenceSorting", }, - Object { + { "fieldName": "cdrFieldNamed", "type": "CdrPersonReferenceSorting", }, @@ -1641,20 +1641,20 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -1665,21 +1665,21 @@ Object { "name": "File", "originalName": "file", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityFileAssetFilter", @@ -1688,13 +1688,13 @@ Object { "kind": "InputObject", "name": "FileFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -1702,39 +1702,39 @@ Object { "kind": "InputObject", "name": "FileSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Float", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Float", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Float", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Float", @@ -1744,30 +1744,30 @@ Object { "kind": "InputObject", "name": "FloatFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alt", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lat", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lng", "type": "Float", @@ -1777,31 +1777,31 @@ Object { "name": "Geopoint", "originalName": "geopoint", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alt", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lat", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lng", "isReference": undefined, "type": "FloatFilter", @@ -1810,25 +1810,25 @@ Object { "kind": "InputObject", "name": "GeopointFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alt", "type": "SortOrder", }, - Object { + { "fieldName": "lat", "type": "SortOrder", }, - Object { + { "fieldName": "lng", "type": "SortOrder", }, @@ -1836,35 +1836,35 @@ Object { "kind": "InputObject", "name": "GeopointSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "l", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", @@ -1874,36 +1874,36 @@ Object { "name": "HslaColor", "originalName": "hslaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "l", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", @@ -1912,29 +1912,29 @@ Object { "kind": "InputObject", "name": "HslaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "l", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, @@ -1942,35 +1942,35 @@ Object { "kind": "InputObject", "name": "HslaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "v", "type": "Float", @@ -1980,36 +1980,36 @@ Object { "name": "HsvaColor", "originalName": "hsvaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "v", "isReference": undefined, "type": "FloatFilter", @@ -2018,29 +2018,29 @@ Object { "kind": "InputObject", "name": "HsvaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, - Object { + { "fieldName": "v", "type": "SortOrder", }, @@ -2048,15 +2048,15 @@ Object { "kind": "InputObject", "name": "HsvaColorSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -2064,18 +2064,18 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "ID", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -2088,30 +2088,30 @@ Object { "kind": "InputObject", "name": "IDFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, "type": "SanityImageAsset", }, - Object { + { "fieldName": "crop", "type": "SanityImageCrop", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspot", }, @@ -2120,31 +2120,31 @@ Object { "name": "Image", "originalName": "image", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityImageAssetFilter", }, - Object { + { "fieldName": "crop", "isReference": undefined, "type": "SanityImageCropFilter", }, - Object { + { "fieldName": "hotspot", "isReference": undefined, "type": "SanityImageHotspotFilter", @@ -2153,21 +2153,21 @@ Object { "kind": "InputObject", "name": "ImageFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "crop", "type": "SanityImageCropSorting", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspotSorting", }, @@ -2175,39 +2175,39 @@ Object { "kind": "InputObject", "name": "ImageSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Int", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Int", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Int", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Int", @@ -2217,20 +2217,20 @@ Object { "kind": "InputObject", "name": "IntFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -2241,42 +2241,42 @@ Object { "name": "MuxVideo", "originalName": "mux.video", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "playbackId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "status", "type": "String", }, - Object { + { "description": undefined, "fieldName": "thumbTime", "type": "Float", @@ -2286,41 +2286,41 @@ Object { "name": "MuxVideoAsset", "originalName": "mux.videoAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "playbackId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "status", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "thumbTime", "isReference": undefined, "type": "FloatFilter", @@ -2329,33 +2329,33 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "playbackId", "type": "SortOrder", }, - Object { + { "fieldName": "status", "type": "SortOrder", }, - Object { + { "fieldName": "thumbTime", "type": "SortOrder", }, @@ -2363,19 +2363,19 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "MuxVideoAssetFilter", @@ -2384,13 +2384,13 @@ Object { "kind": "InputObject", "name": "MuxVideoFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -2398,145 +2398,145 @@ Object { "kind": "InputObject", "name": "MuxVideoSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo1", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo11", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo13", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo15", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo17", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo19", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo3", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo5", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo7", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo9", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "fieldNo0", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo10", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo12", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo14", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo16", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo18", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo2", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo4", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo6", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo8", "type": "String", @@ -2546,66 +2546,66 @@ Object { "name": "ObjectWithNestedArray", "originalName": "objectWithNestedArray", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo0", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo10", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo12", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo14", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo16", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo18", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo2", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo4", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo6", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo8", "isReference": undefined, "type": "StringFilter", @@ -2614,53 +2614,53 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArrayFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo0", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo10", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo12", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo14", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo16", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo18", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo2", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo4", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo6", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo8", "type": "SortOrder", }, @@ -2668,35 +2668,35 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArraySorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "calculated", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "nominal", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "optimistic", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "pessimistic", "type": "Float", @@ -2706,36 +2706,36 @@ Object { "name": "PertEstimate", "originalName": "pertEstimate", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "calculated", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "nominal", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "optimistic", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "pessimistic", "isReference": undefined, "type": "FloatFilter", @@ -2744,29 +2744,29 @@ Object { "kind": "InputObject", "name": "PertEstimateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "calculated", "type": "SortOrder", }, - Object { + { "fieldName": "nominal", "type": "SortOrder", }, - Object { + { "fieldName": "optimistic", "type": "SortOrder", }, - Object { + { "fieldName": "pessimistic", "type": "SortOrder", }, @@ -2774,126 +2774,126 @@ Object { "kind": "InputObject", "name": "PertEstimateSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "primitives", "kind": "List", }, - Object { + { "deprecationReason": "This object type has been deprecated", "fieldName": "someObject", "type": "DeprecatedObject", }, - Object { + { "deprecationReason": "This string type has been deprecated", "description": undefined, "fieldName": "someString", "type": "String", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Poppers", "originalName": "poppers", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "someObject", "isReference": undefined, "type": "DeprecatedObjectFilter", }, - Object { + { "fieldName": "someString", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -2902,41 +2902,41 @@ Object { "kind": "InputObject", "name": "PoppersFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "someObject", "type": "DeprecatedObjectSorting", }, - Object { + { "fieldName": "someString", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -2944,35 +2944,35 @@ Object { "kind": "InputObject", "name": "PoppersSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "b", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "g", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "r", "type": "Float", @@ -2982,36 +2982,36 @@ Object { "name": "RgbaColor", "originalName": "rgbaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "b", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "g", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "r", "isReference": undefined, "type": "FloatFilter", @@ -3020,29 +3020,29 @@ Object { "kind": "InputObject", "name": "RgbaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "b", "type": "SortOrder", }, - Object { + { "fieldName": "g", "type": "SortOrder", }, - Object { + { "fieldName": "r", "type": "SortOrder", }, @@ -3050,31 +3050,31 @@ Object { "kind": "InputObject", "name": "RgbaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": "The unique ID for the asset within the originating source so you can programatically find back to it", "fieldName": "id", "type": "String", }, - Object { + { "deprecationReason": "This field is no longer used", "description": "A canonical name for the source this asset is originating from", "fieldName": "name", "type": "String", }, - Object { + { "description": "A URL to find more information about this asset in the originating source", "fieldName": "url", "type": "String", @@ -3084,31 +3084,31 @@ Object { "name": "SanityAssetSourceData", "originalName": "sanity.assetSourceData", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "id", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -3117,25 +3117,25 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "id", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -3143,216 +3143,216 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityFileAsset", "originalName": "sanity.fileAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -3361,81 +3361,81 @@ Object { "kind": "InputObject", "name": "SanityFileAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -3443,235 +3443,235 @@ Object { "kind": "InputObject", "name": "SanityFileAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadata", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "uploadId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityImageAsset", "originalName": "sanity.imageAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "metadata", "isReference": undefined, "type": "SanityImageMetadataFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "uploadId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -3680,89 +3680,89 @@ Object { "kind": "InputObject", "name": "SanityImageAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadataSorting", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "uploadId", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -3770,35 +3770,35 @@ Object { "kind": "InputObject", "name": "SanityImageAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "bottom", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "left", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "right", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "top", "type": "Float", @@ -3808,36 +3808,36 @@ Object { "name": "SanityImageCrop", "originalName": "sanity.imageCrop", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "bottom", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "left", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "right", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "top", "isReference": undefined, "type": "FloatFilter", @@ -3846,29 +3846,29 @@ Object { "kind": "InputObject", "name": "SanityImageCropFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "bottom", "type": "SortOrder", }, - Object { + { "fieldName": "left", "type": "SortOrder", }, - Object { + { "fieldName": "right", "type": "SortOrder", }, - Object { + { "fieldName": "top", "type": "SortOrder", }, @@ -3876,30 +3876,30 @@ Object { "kind": "InputObject", "name": "SanityImageCropSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "aspectRatio", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", @@ -3909,31 +3909,31 @@ Object { "name": "SanityImageDimensions", "originalName": "sanity.imageDimensions", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "aspectRatio", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", @@ -3942,25 +3942,25 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "aspectRatio", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, @@ -3968,35 +3968,35 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "x", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "y", "type": "Float", @@ -4006,36 +4006,36 @@ Object { "name": "SanityImageHotspot", "originalName": "sanity.imageHotspot", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "x", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "y", "isReference": undefined, "type": "FloatFilter", @@ -4044,29 +4044,29 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, - Object { + { "fieldName": "x", "type": "SortOrder", }, - Object { + { "fieldName": "y", "type": "SortOrder", }, @@ -4074,48 +4074,48 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "blurHash", "type": "String", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensions", }, - Object { + { "description": undefined, "fieldName": "hasAlpha", "type": "Boolean", }, - Object { + { "description": undefined, "fieldName": "isOpaque", "type": "Boolean", }, - Object { + { "fieldName": "location", "type": "Geopoint", }, - Object { + { "description": undefined, "fieldName": "lqip", "type": "String", }, - Object { + { "fieldName": "palette", "type": "SanityImagePalette", }, @@ -4124,51 +4124,51 @@ Object { "name": "SanityImageMetadata", "originalName": "sanity.imageMetadata", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "blurHash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "dimensions", "isReference": undefined, "type": "SanityImageDimensionsFilter", }, - Object { + { "fieldName": "hasAlpha", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "isOpaque", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "location", "isReference": undefined, "type": "GeopointFilter", }, - Object { + { "fieldName": "lqip", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "palette", "isReference": undefined, "type": "SanityImagePaletteFilter", @@ -4177,41 +4177,41 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "blurHash", "type": "SortOrder", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensionsSorting", }, - Object { + { "fieldName": "hasAlpha", "type": "SortOrder", }, - Object { + { "fieldName": "isOpaque", "type": "SortOrder", }, - Object { + { "fieldName": "location", "type": "GeopointSorting", }, - Object { + { "fieldName": "lqip", "type": "SortOrder", }, - Object { + { "fieldName": "palette", "type": "SanityImagePaletteSorting", }, @@ -4219,44 +4219,44 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatch", }, @@ -4265,51 +4265,51 @@ Object { "name": "SanityImagePalette", "originalName": "sanity.imagePalette", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "darkMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "darkVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "dominant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "muted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "vibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", @@ -4318,41 +4318,41 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatchSorting", }, @@ -4360,35 +4360,35 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "background", "type": "String", }, - Object { + { "description": undefined, "fieldName": "foreground", "type": "String", }, - Object { + { "description": undefined, "fieldName": "population", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", @@ -4398,36 +4398,36 @@ Object { "name": "SanityImagePaletteSwatch", "originalName": "sanity.imagePaletteSwatch", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "background", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "foreground", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "population", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -4436,29 +4436,29 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "background", "type": "SortOrder", }, - Object { + { "fieldName": "foreground", "type": "SortOrder", }, - Object { + { "fieldName": "population", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -4466,20 +4466,20 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "current", "type": "String", @@ -4489,21 +4489,21 @@ Object { "name": "Slug", "originalName": "slug", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "current", "isReference": undefined, "type": "StringFilter", @@ -4512,17 +4512,17 @@ Object { "kind": "InputObject", "name": "SlugFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "current", "type": "SortOrder", }, @@ -4530,45 +4530,45 @@ Object { "kind": "InputObject", "name": "SlugSorting", }, - Object { - "fields": Array [], + { + "fields": [], "kind": "Enum", "name": "SortOrder", - "values": Array [ - Object { + "values": [ + { "description": "Sorts on the value in ascending order.", "name": "ASC", "value": 1, }, - Object { + { "description": "Sorts on the value in descending order.", "name": "DESC", "value": 2, }, ], }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "marks", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "text", "type": "String", @@ -4578,17 +4578,17 @@ Object { "name": "Span", "originalName": "span", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -4596,23 +4596,23 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "String", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, diff --git a/packages/sanity/test/cli/graphql/__snapshots__/gen3.test.ts.snap b/packages/sanity/test/cli/graphql/__snapshots__/gen3.test.ts.snap index 1489c6c37fa..62aa26df54e 100644 --- a/packages/sanity/test/cli/graphql/__snapshots__/gen3.test.ts.snap +++ b/packages/sanity/test/cli/graphql/__snapshots__/gen3.test.ts.snap @@ -1,37 +1,37 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`GraphQL - Generation 3 Should be able to generate graphql schema 1`] = ` -Object { +exports[`GraphQL - Generation 3 > Should be able to generate graphql schema 1`] = ` +{ "generation": "gen3", - "interfaces": Array [ - Object { + "interfaces": [ + { "description": "A Sanity document", - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, @@ -42,21 +42,21 @@ Object { "name": "Document", }, ], - "queries": Array [ - Object { - "args": Array [ - Object { + "queries": [ + { + "args": [ + { "description": "Author document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -65,20 +65,20 @@ Object { "fieldName": "Author", "type": "Author", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Document document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -87,20 +87,20 @@ Object { "fieldName": "Document", "type": "Document", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentActionsTest document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -110,20 +110,20 @@ Object { "fieldName": "DocumentActionsTest", "type": "DocumentActionsTest", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentWithCdrField document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -132,20 +132,20 @@ Object { "fieldName": "DocumentWithCdrField", "type": "DocumentWithCdrField", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Poppers document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -154,20 +154,20 @@ Object { "fieldName": "Poppers", "type": "Poppers", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityFileAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -176,20 +176,20 @@ Object { "fieldName": "SanityFileAsset", "type": "SanityFileAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityImageAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -198,24 +198,24 @@ Object { "fieldName": "SanityImageAsset", "type": "SanityImageAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "AuthorSorting", }, @@ -223,16 +223,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "AuthorFilter", }, ], "fieldName": "allAuthor", - "filter": "_type == \\"author\\"", - "type": Object { - "children": Object { + "filter": "_type == "author"", + "type": { + "children": { "isNullable": false, "type": "Author", }, @@ -240,24 +240,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentSorting", }, @@ -265,16 +265,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentFilter", }, ], "fieldName": "allDocument", - "filter": "_type in [\\"sanity.imageAsset\\", \\"sanity.fileAsset\\", \\"documentActionsTest\\", \\"poppers\\", \\"author\\", \\"documentWithCdrField\\"]", - "type": Object { - "children": Object { + "filter": "_type in ["sanity.imageAsset", "sanity.fileAsset", "documentActionsTest", "poppers", "author", "documentWithCdrField"]", + "type": { + "children": { "isNullable": false, "type": "Document", }, @@ -282,24 +282,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTestSorting", }, @@ -307,7 +307,7 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentActionsTestFilter", @@ -315,9 +315,9 @@ Object { ], "deprecationReason": "Entire \`Document actions\` document type deprecated", "fieldName": "allDocumentActionsTest", - "filter": "_type == \\"documentActionsTest\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentActionsTest"", + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTest", }, @@ -325,24 +325,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrFieldSorting", }, @@ -350,16 +350,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentWithCdrFieldFilter", }, ], "fieldName": "allDocumentWithCdrField", - "filter": "_type == \\"documentWithCdrField\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentWithCdrField"", + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrField", }, @@ -367,24 +367,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "PoppersSorting", }, @@ -392,16 +392,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "PoppersFilter", }, ], "fieldName": "allPoppers", - "filter": "_type == \\"poppers\\"", - "type": Object { - "children": Object { + "filter": "_type == "poppers"", + "type": { + "children": { "isNullable": false, "type": "Poppers", }, @@ -409,24 +409,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityFileAssetSorting", }, @@ -434,16 +434,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityFileAssetFilter", }, ], "fieldName": "allSanityFileAsset", - "filter": "_type == \\"sanity.fileAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.fileAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityFileAsset", }, @@ -451,24 +451,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityImageAssetSorting", }, @@ -476,16 +476,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityImageAssetFilter", }, ], "fieldName": "allSanityImageAsset", - "filter": "_type == \\"sanity.imageAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.imageAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityImageAsset", }, @@ -494,65 +494,65 @@ Object { }, }, ], - "types": Array [ - Object { + "types": [ + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "awards", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "bestFriend", "isReference": true, "type": "Author", }, - Object { + { "fieldName": "image", "type": "Image", }, - Object { - "children": Object { + { + "children": { "type": "Block", }, "description": undefined, @@ -562,79 +562,79 @@ Object { "originalName": "minimalBlock", "type": "JSON", }, - Object { + { "description": undefined, "fieldName": "name", "type": "String", }, - Object { + { "description": undefined, "fieldName": "role", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Author", "originalName": "author", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "bestFriend", "isReference": true, "type": "AuthorFilter", }, - Object { + { "fieldName": "image", "isReference": undefined, "type": "ImageFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "role", "isReference": undefined, "type": "StringFilter", @@ -643,41 +643,41 @@ Object { "kind": "InputObject", "name": "AuthorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "image", "type": "ImageSorting", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "role", "type": "SortOrder", }, @@ -685,38 +685,38 @@ Object { "kind": "InputObject", "name": "AuthorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Span", }, "description": undefined, "fieldName": "children", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "level", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "listItem", "type": "String", }, - Object { + { "description": undefined, "fieldName": "style", "type": "String", @@ -726,21 +726,21 @@ Object { "name": "Block", "originalName": "block", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Boolean", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Boolean", @@ -750,41 +750,41 @@ Object { "kind": "InputObject", "name": "BooleanFilter", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -794,36 +794,36 @@ Object { "name": "CdrPersonReference", "originalName": "cdrPersonReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -832,29 +832,29 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -862,38 +862,38 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "code", "type": "Text", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Float", }, "description": undefined, "fieldName": "highlightedLines", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "language", "type": "String", @@ -903,31 +903,31 @@ Object { "name": "Code", "originalName": "code", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "code", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "language", "isReference": undefined, "type": "StringFilter", @@ -936,25 +936,25 @@ Object { "kind": "InputObject", "name": "CodeFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "code", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "language", "type": "SortOrder", }, @@ -962,38 +962,38 @@ Object { "kind": "InputObject", "name": "CodeSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alpha", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "hex", "type": "String", }, - Object { + { "fieldName": "hsl", "type": "HslaColor", }, - Object { + { "fieldName": "hsv", "type": "HsvaColor", }, - Object { + { "fieldName": "rgb", "type": "RgbaColor", }, @@ -1002,41 +1002,41 @@ Object { "name": "Color", "originalName": "color", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alpha", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "hex", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "hsl", "isReference": undefined, "type": "HslaColorFilter", }, - Object { + { "fieldName": "hsv", "isReference": undefined, "type": "HsvaColorFilter", }, - Object { + { "fieldName": "rgb", "isReference": undefined, "type": "RgbaColorFilter", @@ -1045,33 +1045,33 @@ Object { "kind": "InputObject", "name": "ColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alpha", "type": "SortOrder", }, - Object { + { "fieldName": "hex", "type": "SortOrder", }, - Object { + { "fieldName": "hsl", "type": "HslaColorSorting", }, - Object { + { "fieldName": "hsv", "type": "HsvaColorSorting", }, - Object { + { "fieldName": "rgb", "type": "RgbaColorSorting", }, @@ -1079,35 +1079,35 @@ Object { "kind": "InputObject", "name": "ColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -1117,36 +1117,36 @@ Object { "name": "CrossDatasetReference", "originalName": "crossDatasetReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -1155,29 +1155,29 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -1185,39 +1185,39 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Date", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Date", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Date", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Date", @@ -1227,39 +1227,39 @@ Object { "kind": "InputObject", "name": "DateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Datetime", @@ -1269,34 +1269,34 @@ Object { "kind": "InputObject", "name": "DatetimeFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "excerpt", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "name", @@ -1307,33 +1307,33 @@ Object { "name": "DeprecatedObject", "originalName": "deprecatedObject", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "This object type has been deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "excerpt", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", @@ -1342,25 +1342,25 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "excerpt", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, @@ -1368,106 +1368,106 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentActionsTest", "originalName": "documentActionsTest", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "Entire \`Document actions\` document type deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -1476,33 +1476,33 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -1510,34 +1510,34 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -1546,25 +1546,25 @@ Object { "kind": "InputObject", "name": "DocumentFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -1572,48 +1572,48 @@ Object { "kind": "InputObject", "name": "DocumentSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", "place", ], @@ -1621,10 +1621,10 @@ Object { "fieldName": "cdrFieldInline", "type": "CrossDatasetReference", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, @@ -1632,58 +1632,58 @@ Object { "type": "CdrPersonReference", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentWithCdrField", "originalName": "documentWithCdrField", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "cdrFieldInline", "isReference": undefined, "type": "CrossDatasetReferenceFilter", }, - Object { + { "fieldName": "cdrFieldNamed", "isReference": undefined, "type": "CdrPersonReferenceFilter", @@ -1692,37 +1692,37 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "cdrFieldInline", "type": "CrossDatasetReferenceSorting", }, - Object { + { "fieldName": "cdrFieldNamed", "type": "CdrPersonReferenceSorting", }, @@ -1730,20 +1730,20 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -1754,21 +1754,21 @@ Object { "name": "File", "originalName": "file", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityFileAssetFilter", @@ -1777,13 +1777,13 @@ Object { "kind": "InputObject", "name": "FileFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -1791,39 +1791,39 @@ Object { "kind": "InputObject", "name": "FileSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Float", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Float", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Float", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Float", @@ -1833,30 +1833,30 @@ Object { "kind": "InputObject", "name": "FloatFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alt", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lat", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lng", "type": "Float", @@ -1866,31 +1866,31 @@ Object { "name": "Geopoint", "originalName": "geopoint", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alt", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lat", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lng", "isReference": undefined, "type": "FloatFilter", @@ -1899,25 +1899,25 @@ Object { "kind": "InputObject", "name": "GeopointFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alt", "type": "SortOrder", }, - Object { + { "fieldName": "lat", "type": "SortOrder", }, - Object { + { "fieldName": "lng", "type": "SortOrder", }, @@ -1925,35 +1925,35 @@ Object { "kind": "InputObject", "name": "GeopointSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "l", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", @@ -1963,36 +1963,36 @@ Object { "name": "HslaColor", "originalName": "hslaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "l", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", @@ -2001,29 +2001,29 @@ Object { "kind": "InputObject", "name": "HslaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "l", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, @@ -2031,35 +2031,35 @@ Object { "kind": "InputObject", "name": "HslaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "v", "type": "Float", @@ -2069,36 +2069,36 @@ Object { "name": "HsvaColor", "originalName": "hsvaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "v", "isReference": undefined, "type": "FloatFilter", @@ -2107,29 +2107,29 @@ Object { "kind": "InputObject", "name": "HsvaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, - Object { + { "fieldName": "v", "type": "SortOrder", }, @@ -2137,15 +2137,15 @@ Object { "kind": "InputObject", "name": "HsvaColorSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -2153,18 +2153,18 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "ID", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -2177,30 +2177,30 @@ Object { "kind": "InputObject", "name": "IDFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, "type": "SanityImageAsset", }, - Object { + { "fieldName": "crop", "type": "SanityImageCrop", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspot", }, @@ -2209,31 +2209,31 @@ Object { "name": "Image", "originalName": "image", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityImageAssetFilter", }, - Object { + { "fieldName": "crop", "isReference": undefined, "type": "SanityImageCropFilter", }, - Object { + { "fieldName": "hotspot", "isReference": undefined, "type": "SanityImageHotspotFilter", @@ -2242,21 +2242,21 @@ Object { "kind": "InputObject", "name": "ImageFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "crop", "type": "SanityImageCropSorting", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspotSorting", }, @@ -2264,39 +2264,39 @@ Object { "kind": "InputObject", "name": "ImageSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Int", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Int", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Int", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Int", @@ -2306,20 +2306,20 @@ Object { "kind": "InputObject", "name": "IntFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -2330,42 +2330,42 @@ Object { "name": "MuxVideo", "originalName": "mux.video", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "playbackId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "status", "type": "String", }, - Object { + { "description": undefined, "fieldName": "thumbTime", "type": "Float", @@ -2375,41 +2375,41 @@ Object { "name": "MuxVideoAsset", "originalName": "mux.videoAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "playbackId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "status", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "thumbTime", "isReference": undefined, "type": "FloatFilter", @@ -2418,33 +2418,33 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "playbackId", "type": "SortOrder", }, - Object { + { "fieldName": "status", "type": "SortOrder", }, - Object { + { "fieldName": "thumbTime", "type": "SortOrder", }, @@ -2452,19 +2452,19 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "MuxVideoAssetFilter", @@ -2473,13 +2473,13 @@ Object { "kind": "InputObject", "name": "MuxVideoFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -2487,145 +2487,145 @@ Object { "kind": "InputObject", "name": "MuxVideoSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo1", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo11", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo13", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo15", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo17", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo19", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo3", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo5", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo7", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo9", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "fieldNo0", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo10", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo12", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo14", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo16", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo18", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo2", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo4", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo6", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo8", "type": "String", @@ -2635,66 +2635,66 @@ Object { "name": "ObjectWithNestedArray", "originalName": "objectWithNestedArray", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo0", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo10", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo12", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo14", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo16", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo18", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo2", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo4", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo6", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo8", "isReference": undefined, "type": "StringFilter", @@ -2703,53 +2703,53 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArrayFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo0", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo10", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo12", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo14", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo16", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo18", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo2", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo4", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo6", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo8", "type": "SortOrder", }, @@ -2757,35 +2757,35 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArraySorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "calculated", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "nominal", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "optimistic", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "pessimistic", "type": "Float", @@ -2795,36 +2795,36 @@ Object { "name": "PertEstimate", "originalName": "pertEstimate", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "calculated", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "nominal", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "optimistic", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "pessimistic", "isReference": undefined, "type": "FloatFilter", @@ -2833,29 +2833,29 @@ Object { "kind": "InputObject", "name": "PertEstimateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "calculated", "type": "SortOrder", }, - Object { + { "fieldName": "nominal", "type": "SortOrder", }, - Object { + { "fieldName": "optimistic", "type": "SortOrder", }, - Object { + { "fieldName": "pessimistic", "type": "SortOrder", }, @@ -2863,126 +2863,126 @@ Object { "kind": "InputObject", "name": "PertEstimateSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "primitives", "kind": "List", }, - Object { + { "deprecationReason": "This object type has been deprecated", "fieldName": "someObject", "type": "DeprecatedObject", }, - Object { + { "deprecationReason": "This string type has been deprecated", "description": undefined, "fieldName": "someString", "type": "String", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Poppers", "originalName": "poppers", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "someObject", "isReference": undefined, "type": "DeprecatedObjectFilter", }, - Object { + { "fieldName": "someString", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -2991,41 +2991,41 @@ Object { "kind": "InputObject", "name": "PoppersFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "someObject", "type": "DeprecatedObjectSorting", }, - Object { + { "fieldName": "someString", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -3033,35 +3033,35 @@ Object { "kind": "InputObject", "name": "PoppersSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "b", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "g", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "r", "type": "Float", @@ -3071,36 +3071,36 @@ Object { "name": "RgbaColor", "originalName": "rgbaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "b", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "g", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "r", "isReference": undefined, "type": "FloatFilter", @@ -3109,29 +3109,29 @@ Object { "kind": "InputObject", "name": "RgbaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "b", "type": "SortOrder", }, - Object { + { "fieldName": "g", "type": "SortOrder", }, - Object { + { "fieldName": "r", "type": "SortOrder", }, @@ -3139,31 +3139,31 @@ Object { "kind": "InputObject", "name": "RgbaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": "The unique ID for the asset within the originating source so you can programatically find back to it", "fieldName": "id", "type": "String", }, - Object { + { "deprecationReason": "This field is no longer used", "description": "A canonical name for the source this asset is originating from", "fieldName": "name", "type": "String", }, - Object { + { "description": "A URL to find more information about this asset in the originating source", "fieldName": "url", "type": "String", @@ -3173,31 +3173,31 @@ Object { "name": "SanityAssetSourceData", "originalName": "sanity.assetSourceData", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "id", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -3206,25 +3206,25 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "id", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -3232,216 +3232,216 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityFileAsset", "originalName": "sanity.fileAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -3450,81 +3450,81 @@ Object { "kind": "InputObject", "name": "SanityFileAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -3532,235 +3532,235 @@ Object { "kind": "InputObject", "name": "SanityFileAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadata", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "uploadId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityImageAsset", "originalName": "sanity.imageAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "metadata", "isReference": undefined, "type": "SanityImageMetadataFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "uploadId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -3769,89 +3769,89 @@ Object { "kind": "InputObject", "name": "SanityImageAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadataSorting", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "uploadId", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -3859,35 +3859,35 @@ Object { "kind": "InputObject", "name": "SanityImageAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "bottom", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "left", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "right", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "top", "type": "Float", @@ -3897,36 +3897,36 @@ Object { "name": "SanityImageCrop", "originalName": "sanity.imageCrop", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "bottom", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "left", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "right", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "top", "isReference": undefined, "type": "FloatFilter", @@ -3935,29 +3935,29 @@ Object { "kind": "InputObject", "name": "SanityImageCropFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "bottom", "type": "SortOrder", }, - Object { + { "fieldName": "left", "type": "SortOrder", }, - Object { + { "fieldName": "right", "type": "SortOrder", }, - Object { + { "fieldName": "top", "type": "SortOrder", }, @@ -3965,30 +3965,30 @@ Object { "kind": "InputObject", "name": "SanityImageCropSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "aspectRatio", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", @@ -3998,31 +3998,31 @@ Object { "name": "SanityImageDimensions", "originalName": "sanity.imageDimensions", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "aspectRatio", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", @@ -4031,25 +4031,25 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "aspectRatio", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, @@ -4057,35 +4057,35 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "x", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "y", "type": "Float", @@ -4095,36 +4095,36 @@ Object { "name": "SanityImageHotspot", "originalName": "sanity.imageHotspot", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "x", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "y", "isReference": undefined, "type": "FloatFilter", @@ -4133,29 +4133,29 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, - Object { + { "fieldName": "x", "type": "SortOrder", }, - Object { + { "fieldName": "y", "type": "SortOrder", }, @@ -4163,48 +4163,48 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "blurHash", "type": "String", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensions", }, - Object { + { "description": undefined, "fieldName": "hasAlpha", "type": "Boolean", }, - Object { + { "description": undefined, "fieldName": "isOpaque", "type": "Boolean", }, - Object { + { "fieldName": "location", "type": "Geopoint", }, - Object { + { "description": undefined, "fieldName": "lqip", "type": "String", }, - Object { + { "fieldName": "palette", "type": "SanityImagePalette", }, @@ -4213,51 +4213,51 @@ Object { "name": "SanityImageMetadata", "originalName": "sanity.imageMetadata", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "blurHash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "dimensions", "isReference": undefined, "type": "SanityImageDimensionsFilter", }, - Object { + { "fieldName": "hasAlpha", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "isOpaque", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "location", "isReference": undefined, "type": "GeopointFilter", }, - Object { + { "fieldName": "lqip", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "palette", "isReference": undefined, "type": "SanityImagePaletteFilter", @@ -4266,41 +4266,41 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "blurHash", "type": "SortOrder", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensionsSorting", }, - Object { + { "fieldName": "hasAlpha", "type": "SortOrder", }, - Object { + { "fieldName": "isOpaque", "type": "SortOrder", }, - Object { + { "fieldName": "location", "type": "GeopointSorting", }, - Object { + { "fieldName": "lqip", "type": "SortOrder", }, - Object { + { "fieldName": "palette", "type": "SanityImagePaletteSorting", }, @@ -4308,44 +4308,44 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatch", }, @@ -4354,51 +4354,51 @@ Object { "name": "SanityImagePalette", "originalName": "sanity.imagePalette", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "darkMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "darkVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "dominant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "muted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "vibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", @@ -4407,41 +4407,41 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatchSorting", }, @@ -4449,35 +4449,35 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "background", "type": "String", }, - Object { + { "description": undefined, "fieldName": "foreground", "type": "String", }, - Object { + { "description": undefined, "fieldName": "population", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", @@ -4487,36 +4487,36 @@ Object { "name": "SanityImagePaletteSwatch", "originalName": "sanity.imagePaletteSwatch", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "background", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "foreground", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "population", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -4525,29 +4525,29 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "background", "type": "SortOrder", }, - Object { + { "fieldName": "foreground", "type": "SortOrder", }, - Object { + { "fieldName": "population", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -4555,14 +4555,14 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "All documents that are drafts.", "fieldName": "is_draft", "type": "Boolean", }, - Object { + { "description": "All documents referencing the given document ID.", "fieldName": "references", "type": "ID", @@ -4572,20 +4572,20 @@ Object { "kind": "InputObject", "name": "Sanity_DocumentFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "current", "type": "String", @@ -4595,21 +4595,21 @@ Object { "name": "Slug", "originalName": "slug", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "current", "isReference": undefined, "type": "StringFilter", @@ -4618,17 +4618,17 @@ Object { "kind": "InputObject", "name": "SlugFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "current", "type": "SortOrder", }, @@ -4636,45 +4636,45 @@ Object { "kind": "InputObject", "name": "SlugSorting", }, - Object { - "fields": Array [], + { + "fields": [], "kind": "Enum", "name": "SortOrder", - "values": Array [ - Object { + "values": [ + { "description": "Sorts on the value in ascending order.", "name": "ASC", "value": 1, }, - Object { + { "description": "Sorts on the value in descending order.", "name": "DESC", "value": 2, }, ], }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "marks", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "text", "type": "String", @@ -4684,17 +4684,17 @@ Object { "name": "Span", "originalName": "span", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -4702,23 +4702,23 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "String", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -4735,38 +4735,38 @@ Object { } `; -exports[`GraphQL - Generation 3 Should be able to generate graphql schema with filterType prefix 1`] = ` -Object { +exports[`GraphQL - Generation 3 > Should be able to generate graphql schema with filterType prefix 1`] = ` +{ "generation": "gen3", - "interfaces": Array [ - Object { + "interfaces": [ + { "description": "A Sanity document", - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, @@ -4777,21 +4777,21 @@ Object { "name": "Document", }, ], - "queries": Array [ - Object { - "args": Array [ - Object { + "queries": [ + { + "args": [ + { "description": "Author document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -4800,20 +4800,20 @@ Object { "fieldName": "Author", "type": "Author", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Document document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -4822,20 +4822,20 @@ Object { "fieldName": "Document", "type": "Document", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentActionsTest document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -4845,20 +4845,20 @@ Object { "fieldName": "DocumentActionsTest", "type": "DocumentActionsTest", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentWithCdrField document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -4867,20 +4867,20 @@ Object { "fieldName": "DocumentWithCdrField", "type": "DocumentWithCdrField", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Poppers document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -4889,20 +4889,20 @@ Object { "fieldName": "Poppers", "type": "Poppers", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityFileAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -4911,20 +4911,20 @@ Object { "fieldName": "SanityFileAsset", "type": "SanityFileAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityImageAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -4933,24 +4933,24 @@ Object { "fieldName": "SanityImageAsset", "type": "SanityImageAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "AuthorSorting", }, @@ -4958,16 +4958,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "AuthorCustomFilterSuffix", }, ], "fieldName": "allAuthor", - "filter": "_type == \\"author\\"", - "type": Object { - "children": Object { + "filter": "_type == "author"", + "type": { + "children": { "isNullable": false, "type": "Author", }, @@ -4975,24 +4975,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentSorting", }, @@ -5000,16 +5000,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentCustomFilterSuffix", }, ], "fieldName": "allDocument", - "filter": "_type in [\\"sanity.imageAsset\\", \\"sanity.fileAsset\\", \\"documentActionsTest\\", \\"poppers\\", \\"author\\", \\"documentWithCdrField\\"]", - "type": Object { - "children": Object { + "filter": "_type in ["sanity.imageAsset", "sanity.fileAsset", "documentActionsTest", "poppers", "author", "documentWithCdrField"]", + "type": { + "children": { "isNullable": false, "type": "Document", }, @@ -5017,24 +5017,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTestSorting", }, @@ -5042,7 +5042,7 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentActionsTestCustomFilterSuffix", @@ -5050,9 +5050,9 @@ Object { ], "deprecationReason": "Entire \`Document actions\` document type deprecated", "fieldName": "allDocumentActionsTest", - "filter": "_type == \\"documentActionsTest\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentActionsTest"", + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTest", }, @@ -5060,24 +5060,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrFieldSorting", }, @@ -5085,16 +5085,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentWithCdrFieldCustomFilterSuffix", }, ], "fieldName": "allDocumentWithCdrField", - "filter": "_type == \\"documentWithCdrField\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentWithCdrField"", + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrField", }, @@ -5102,24 +5102,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "PoppersSorting", }, @@ -5127,16 +5127,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "PoppersCustomFilterSuffix", }, ], "fieldName": "allPoppers", - "filter": "_type == \\"poppers\\"", - "type": Object { - "children": Object { + "filter": "_type == "poppers"", + "type": { + "children": { "isNullable": false, "type": "Poppers", }, @@ -5144,24 +5144,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityFileAssetSorting", }, @@ -5169,16 +5169,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityFileAssetCustomFilterSuffix", }, ], "fieldName": "allSanityFileAsset", - "filter": "_type == \\"sanity.fileAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.fileAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityFileAsset", }, @@ -5186,24 +5186,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityImageAssetSorting", }, @@ -5211,16 +5211,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityImageAssetCustomFilterSuffix", }, ], "fieldName": "allSanityImageAsset", - "filter": "_type == \\"sanity.imageAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.imageAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityImageAsset", }, @@ -5229,65 +5229,65 @@ Object { }, }, ], - "types": Array [ - Object { + "types": [ + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "awards", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "bestFriend", "isReference": true, "type": "Author", }, - Object { + { "fieldName": "image", "type": "Image", }, - Object { - "children": Object { + { + "children": { "type": "Block", }, "description": undefined, @@ -5297,79 +5297,79 @@ Object { "originalName": "minimalBlock", "type": "JSON", }, - Object { + { "description": undefined, "fieldName": "name", "type": "String", }, - Object { + { "description": undefined, "fieldName": "role", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Author", "originalName": "author", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "bestFriend", "isReference": true, "type": "AuthorCustomFilterSuffix", }, - Object { + { "fieldName": "image", "isReference": undefined, "type": "ImageCustomFilterSuffix", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "role", "isReference": undefined, "type": "StringFilter", @@ -5378,41 +5378,41 @@ Object { "kind": "InputObject", "name": "AuthorCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "image", "type": "ImageSorting", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "role", "type": "SortOrder", }, @@ -5420,38 +5420,38 @@ Object { "kind": "InputObject", "name": "AuthorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Span", }, "description": undefined, "fieldName": "children", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "level", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "listItem", "type": "String", }, - Object { + { "description": undefined, "fieldName": "style", "type": "String", @@ -5461,21 +5461,21 @@ Object { "name": "Block", "originalName": "block", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Boolean", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Boolean", @@ -5485,41 +5485,41 @@ Object { "kind": "InputObject", "name": "BooleanFilter", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -5529,36 +5529,36 @@ Object { "name": "CdrPersonReference", "originalName": "cdrPersonReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -5567,29 +5567,29 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -5597,38 +5597,38 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "code", "type": "Text", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Float", }, "description": undefined, "fieldName": "highlightedLines", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "language", "type": "String", @@ -5638,31 +5638,31 @@ Object { "name": "Code", "originalName": "code", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "code", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "language", "isReference": undefined, "type": "StringFilter", @@ -5671,25 +5671,25 @@ Object { "kind": "InputObject", "name": "CodeCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "code", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "language", "type": "SortOrder", }, @@ -5697,38 +5697,38 @@ Object { "kind": "InputObject", "name": "CodeSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alpha", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "hex", "type": "String", }, - Object { + { "fieldName": "hsl", "type": "HslaColor", }, - Object { + { "fieldName": "hsv", "type": "HsvaColor", }, - Object { + { "fieldName": "rgb", "type": "RgbaColor", }, @@ -5737,41 +5737,41 @@ Object { "name": "Color", "originalName": "color", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alpha", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "hex", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "hsl", "isReference": undefined, "type": "HslaColorCustomFilterSuffix", }, - Object { + { "fieldName": "hsv", "isReference": undefined, "type": "HsvaColorCustomFilterSuffix", }, - Object { + { "fieldName": "rgb", "isReference": undefined, "type": "RgbaColorCustomFilterSuffix", @@ -5780,33 +5780,33 @@ Object { "kind": "InputObject", "name": "ColorCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alpha", "type": "SortOrder", }, - Object { + { "fieldName": "hex", "type": "SortOrder", }, - Object { + { "fieldName": "hsl", "type": "HslaColorSorting", }, - Object { + { "fieldName": "hsv", "type": "HsvaColorSorting", }, - Object { + { "fieldName": "rgb", "type": "RgbaColorSorting", }, @@ -5814,35 +5814,35 @@ Object { "kind": "InputObject", "name": "ColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -5852,36 +5852,36 @@ Object { "name": "CrossDatasetReference", "originalName": "crossDatasetReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -5890,29 +5890,29 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -5920,39 +5920,39 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Date", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Date", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Date", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Date", @@ -5962,39 +5962,39 @@ Object { "kind": "InputObject", "name": "DateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Datetime", @@ -6004,34 +6004,34 @@ Object { "kind": "InputObject", "name": "DatetimeFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "excerpt", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "name", @@ -6042,33 +6042,33 @@ Object { "name": "DeprecatedObject", "originalName": "deprecatedObject", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "This object type has been deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "excerpt", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", @@ -6077,25 +6077,25 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "excerpt", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, @@ -6103,106 +6103,106 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentActionsTest", "originalName": "documentActionsTest", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "Entire \`Document actions\` document type deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -6211,33 +6211,33 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -6245,34 +6245,34 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -6281,25 +6281,25 @@ Object { "kind": "InputObject", "name": "DocumentCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -6307,48 +6307,48 @@ Object { "kind": "InputObject", "name": "DocumentSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", "place", ], @@ -6356,10 +6356,10 @@ Object { "fieldName": "cdrFieldInline", "type": "CrossDatasetReference", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, @@ -6367,58 +6367,58 @@ Object { "type": "CdrPersonReference", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentWithCdrField", "originalName": "documentWithCdrField", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "cdrFieldInline", "isReference": undefined, "type": "CrossDatasetReferenceCustomFilterSuffix", }, - Object { + { "fieldName": "cdrFieldNamed", "isReference": undefined, "type": "CdrPersonReferenceCustomFilterSuffix", @@ -6427,37 +6427,37 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "cdrFieldInline", "type": "CrossDatasetReferenceSorting", }, - Object { + { "fieldName": "cdrFieldNamed", "type": "CdrPersonReferenceSorting", }, @@ -6465,20 +6465,20 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -6489,21 +6489,21 @@ Object { "name": "File", "originalName": "file", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityFileAssetCustomFilterSuffix", @@ -6512,13 +6512,13 @@ Object { "kind": "InputObject", "name": "FileCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -6526,39 +6526,39 @@ Object { "kind": "InputObject", "name": "FileSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Float", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Float", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Float", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Float", @@ -6568,30 +6568,30 @@ Object { "kind": "InputObject", "name": "FloatFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alt", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lat", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lng", "type": "Float", @@ -6601,31 +6601,31 @@ Object { "name": "Geopoint", "originalName": "geopoint", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alt", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lat", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lng", "isReference": undefined, "type": "FloatFilter", @@ -6634,25 +6634,25 @@ Object { "kind": "InputObject", "name": "GeopointCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alt", "type": "SortOrder", }, - Object { + { "fieldName": "lat", "type": "SortOrder", }, - Object { + { "fieldName": "lng", "type": "SortOrder", }, @@ -6660,35 +6660,35 @@ Object { "kind": "InputObject", "name": "GeopointSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "l", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", @@ -6698,36 +6698,36 @@ Object { "name": "HslaColor", "originalName": "hslaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "l", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", @@ -6736,29 +6736,29 @@ Object { "kind": "InputObject", "name": "HslaColorCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "l", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, @@ -6766,35 +6766,35 @@ Object { "kind": "InputObject", "name": "HslaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "v", "type": "Float", @@ -6804,36 +6804,36 @@ Object { "name": "HsvaColor", "originalName": "hsvaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "v", "isReference": undefined, "type": "FloatFilter", @@ -6842,29 +6842,29 @@ Object { "kind": "InputObject", "name": "HsvaColorCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, - Object { + { "fieldName": "v", "type": "SortOrder", }, @@ -6872,15 +6872,15 @@ Object { "kind": "InputObject", "name": "HsvaColorSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -6888,18 +6888,18 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "ID", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -6912,30 +6912,30 @@ Object { "kind": "InputObject", "name": "IDFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, "type": "SanityImageAsset", }, - Object { + { "fieldName": "crop", "type": "SanityImageCrop", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspot", }, @@ -6944,31 +6944,31 @@ Object { "name": "Image", "originalName": "image", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityImageAssetCustomFilterSuffix", }, - Object { + { "fieldName": "crop", "isReference": undefined, "type": "SanityImageCropCustomFilterSuffix", }, - Object { + { "fieldName": "hotspot", "isReference": undefined, "type": "SanityImageHotspotCustomFilterSuffix", @@ -6977,21 +6977,21 @@ Object { "kind": "InputObject", "name": "ImageCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "crop", "type": "SanityImageCropSorting", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspotSorting", }, @@ -6999,39 +6999,39 @@ Object { "kind": "InputObject", "name": "ImageSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Int", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Int", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Int", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Int", @@ -7041,20 +7041,20 @@ Object { "kind": "InputObject", "name": "IntFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -7065,42 +7065,42 @@ Object { "name": "MuxVideo", "originalName": "mux.video", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "playbackId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "status", "type": "String", }, - Object { + { "description": undefined, "fieldName": "thumbTime", "type": "Float", @@ -7110,41 +7110,41 @@ Object { "name": "MuxVideoAsset", "originalName": "mux.videoAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "playbackId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "status", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "thumbTime", "isReference": undefined, "type": "FloatFilter", @@ -7153,33 +7153,33 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "playbackId", "type": "SortOrder", }, - Object { + { "fieldName": "status", "type": "SortOrder", }, - Object { + { "fieldName": "thumbTime", "type": "SortOrder", }, @@ -7187,19 +7187,19 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "MuxVideoAssetCustomFilterSuffix", @@ -7208,13 +7208,13 @@ Object { "kind": "InputObject", "name": "MuxVideoCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -7222,145 +7222,145 @@ Object { "kind": "InputObject", "name": "MuxVideoSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo1", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo11", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo13", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo15", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo17", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo19", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo3", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo5", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo7", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo9", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "fieldNo0", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo10", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo12", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo14", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo16", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo18", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo2", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo4", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo6", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo8", "type": "String", @@ -7370,66 +7370,66 @@ Object { "name": "ObjectWithNestedArray", "originalName": "objectWithNestedArray", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo0", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo10", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo12", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo14", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo16", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo18", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo2", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo4", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo6", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo8", "isReference": undefined, "type": "StringFilter", @@ -7438,53 +7438,53 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArrayCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo0", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo10", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo12", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo14", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo16", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo18", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo2", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo4", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo6", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo8", "type": "SortOrder", }, @@ -7492,35 +7492,35 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArraySorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "calculated", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "nominal", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "optimistic", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "pessimistic", "type": "Float", @@ -7530,36 +7530,36 @@ Object { "name": "PertEstimate", "originalName": "pertEstimate", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "calculated", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "nominal", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "optimistic", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "pessimistic", "isReference": undefined, "type": "FloatFilter", @@ -7568,29 +7568,29 @@ Object { "kind": "InputObject", "name": "PertEstimateCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "calculated", "type": "SortOrder", }, - Object { + { "fieldName": "nominal", "type": "SortOrder", }, - Object { + { "fieldName": "optimistic", "type": "SortOrder", }, - Object { + { "fieldName": "pessimistic", "type": "SortOrder", }, @@ -7598,126 +7598,126 @@ Object { "kind": "InputObject", "name": "PertEstimateSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "primitives", "kind": "List", }, - Object { + { "deprecationReason": "This object type has been deprecated", "fieldName": "someObject", "type": "DeprecatedObject", }, - Object { + { "deprecationReason": "This string type has been deprecated", "description": undefined, "fieldName": "someString", "type": "String", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Poppers", "originalName": "poppers", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "someObject", "isReference": undefined, "type": "DeprecatedObjectCustomFilterSuffix", }, - Object { + { "fieldName": "someString", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -7726,41 +7726,41 @@ Object { "kind": "InputObject", "name": "PoppersCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "someObject", "type": "DeprecatedObjectSorting", }, - Object { + { "fieldName": "someString", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -7768,35 +7768,35 @@ Object { "kind": "InputObject", "name": "PoppersSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "b", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "g", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "r", "type": "Float", @@ -7806,36 +7806,36 @@ Object { "name": "RgbaColor", "originalName": "rgbaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "b", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "g", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "r", "isReference": undefined, "type": "FloatFilter", @@ -7844,29 +7844,29 @@ Object { "kind": "InputObject", "name": "RgbaColorCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "b", "type": "SortOrder", }, - Object { + { "fieldName": "g", "type": "SortOrder", }, - Object { + { "fieldName": "r", "type": "SortOrder", }, @@ -7874,31 +7874,31 @@ Object { "kind": "InputObject", "name": "RgbaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": "The unique ID for the asset within the originating source so you can programatically find back to it", "fieldName": "id", "type": "String", }, - Object { + { "deprecationReason": "This field is no longer used", "description": "A canonical name for the source this asset is originating from", "fieldName": "name", "type": "String", }, - Object { + { "description": "A URL to find more information about this asset in the originating source", "fieldName": "url", "type": "String", @@ -7908,31 +7908,31 @@ Object { "name": "SanityAssetSourceData", "originalName": "sanity.assetSourceData", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "id", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -7941,25 +7941,25 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "id", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -7967,216 +7967,216 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityFileAsset", "originalName": "sanity.fileAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataCustomFilterSuffix", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -8185,81 +8185,81 @@ Object { "kind": "InputObject", "name": "SanityFileAssetCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -8267,235 +8267,235 @@ Object { "kind": "InputObject", "name": "SanityFileAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadata", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "uploadId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityImageAsset", "originalName": "sanity.imageAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "metadata", "isReference": undefined, "type": "SanityImageMetadataCustomFilterSuffix", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataCustomFilterSuffix", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "uploadId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -8504,89 +8504,89 @@ Object { "kind": "InputObject", "name": "SanityImageAssetCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadataSorting", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "uploadId", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -8594,35 +8594,35 @@ Object { "kind": "InputObject", "name": "SanityImageAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "bottom", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "left", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "right", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "top", "type": "Float", @@ -8632,36 +8632,36 @@ Object { "name": "SanityImageCrop", "originalName": "sanity.imageCrop", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "bottom", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "left", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "right", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "top", "isReference": undefined, "type": "FloatFilter", @@ -8670,29 +8670,29 @@ Object { "kind": "InputObject", "name": "SanityImageCropCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "bottom", "type": "SortOrder", }, - Object { + { "fieldName": "left", "type": "SortOrder", }, - Object { + { "fieldName": "right", "type": "SortOrder", }, - Object { + { "fieldName": "top", "type": "SortOrder", }, @@ -8700,30 +8700,30 @@ Object { "kind": "InputObject", "name": "SanityImageCropSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "aspectRatio", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", @@ -8733,31 +8733,31 @@ Object { "name": "SanityImageDimensions", "originalName": "sanity.imageDimensions", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "aspectRatio", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", @@ -8766,25 +8766,25 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "aspectRatio", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, @@ -8792,35 +8792,35 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "x", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "y", "type": "Float", @@ -8830,36 +8830,36 @@ Object { "name": "SanityImageHotspot", "originalName": "sanity.imageHotspot", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "x", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "y", "isReference": undefined, "type": "FloatFilter", @@ -8868,29 +8868,29 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, - Object { + { "fieldName": "x", "type": "SortOrder", }, - Object { + { "fieldName": "y", "type": "SortOrder", }, @@ -8898,48 +8898,48 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "blurHash", "type": "String", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensions", }, - Object { + { "description": undefined, "fieldName": "hasAlpha", "type": "Boolean", }, - Object { + { "description": undefined, "fieldName": "isOpaque", "type": "Boolean", }, - Object { + { "fieldName": "location", "type": "Geopoint", }, - Object { + { "description": undefined, "fieldName": "lqip", "type": "String", }, - Object { + { "fieldName": "palette", "type": "SanityImagePalette", }, @@ -8948,51 +8948,51 @@ Object { "name": "SanityImageMetadata", "originalName": "sanity.imageMetadata", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "blurHash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "dimensions", "isReference": undefined, "type": "SanityImageDimensionsCustomFilterSuffix", }, - Object { + { "fieldName": "hasAlpha", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "isOpaque", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "location", "isReference": undefined, "type": "GeopointCustomFilterSuffix", }, - Object { + { "fieldName": "lqip", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "palette", "isReference": undefined, "type": "SanityImagePaletteCustomFilterSuffix", @@ -9001,41 +9001,41 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "blurHash", "type": "SortOrder", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensionsSorting", }, - Object { + { "fieldName": "hasAlpha", "type": "SortOrder", }, - Object { + { "fieldName": "isOpaque", "type": "SortOrder", }, - Object { + { "fieldName": "location", "type": "GeopointSorting", }, - Object { + { "fieldName": "lqip", "type": "SortOrder", }, - Object { + { "fieldName": "palette", "type": "SanityImagePaletteSorting", }, @@ -9043,44 +9043,44 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatch", }, @@ -9089,51 +9089,51 @@ Object { "name": "SanityImagePalette", "originalName": "sanity.imagePalette", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "darkMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchCustomFilterSuffix", }, - Object { + { "fieldName": "darkVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchCustomFilterSuffix", }, - Object { + { "fieldName": "dominant", "isReference": undefined, "type": "SanityImagePaletteSwatchCustomFilterSuffix", }, - Object { + { "fieldName": "lightMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchCustomFilterSuffix", }, - Object { + { "fieldName": "lightVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchCustomFilterSuffix", }, - Object { + { "fieldName": "muted", "isReference": undefined, "type": "SanityImagePaletteSwatchCustomFilterSuffix", }, - Object { + { "fieldName": "vibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchCustomFilterSuffix", @@ -9142,41 +9142,41 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatchSorting", }, @@ -9184,35 +9184,35 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "background", "type": "String", }, - Object { + { "description": undefined, "fieldName": "foreground", "type": "String", }, - Object { + { "description": undefined, "fieldName": "population", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", @@ -9222,36 +9222,36 @@ Object { "name": "SanityImagePaletteSwatch", "originalName": "sanity.imagePaletteSwatch", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "background", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "foreground", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "population", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -9260,29 +9260,29 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "background", "type": "SortOrder", }, - Object { + { "fieldName": "foreground", "type": "SortOrder", }, - Object { + { "fieldName": "population", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -9290,14 +9290,14 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "All documents that are drafts.", "fieldName": "is_draft", "type": "Boolean", }, - Object { + { "description": "All documents referencing the given document ID.", "fieldName": "references", "type": "ID", @@ -9307,20 +9307,20 @@ Object { "kind": "InputObject", "name": "Sanity_DocumentFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "current", "type": "String", @@ -9330,21 +9330,21 @@ Object { "name": "Slug", "originalName": "slug", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "current", "isReference": undefined, "type": "StringFilter", @@ -9353,17 +9353,17 @@ Object { "kind": "InputObject", "name": "SlugCustomFilterSuffix", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "current", "type": "SortOrder", }, @@ -9371,45 +9371,45 @@ Object { "kind": "InputObject", "name": "SlugSorting", }, - Object { - "fields": Array [], + { + "fields": [], "kind": "Enum", "name": "SortOrder", - "values": Array [ - Object { + "values": [ + { "description": "Sorts on the value in ascending order.", "name": "ASC", "value": 1, }, - Object { + { "description": "Sorts on the value in descending order.", "name": "DESC", "value": 2, }, ], }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "marks", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "text", "type": "String", @@ -9419,17 +9419,17 @@ Object { "name": "Span", "originalName": "span", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -9437,23 +9437,23 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "String", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -9470,38 +9470,38 @@ Object { } `; -exports[`GraphQL - Generation 3 Union cache: sanitySchema: manySelfRefsSchema Should be able to generate graphql schema, withUnionCache: false 1`] = ` -Object { +exports[`GraphQL - Generation 3 > Union cache: sanitySchema: 'manySelfRefsSchema' > Should be able to generate graphql schema, withUnionCache: %p false 1`] = ` +{ "generation": "gen3", - "interfaces": Array [ - Object { + "interfaces": [ + { "description": "A Sanity document", - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, @@ -9512,21 +9512,21 @@ Object { "name": "Document", }, ], - "queries": Array [ - Object { - "args": Array [ - Object { + "queries": [ + { + "args": [ + { "description": "Document document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9535,20 +9535,20 @@ Object { "fieldName": "Document", "type": "Document", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityFileAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9557,20 +9557,20 @@ Object { "fieldName": "SanityFileAsset", "type": "SanityFileAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityImageAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9579,20 +9579,20 @@ Object { "fieldName": "SanityImageAsset", "type": "SanityImageAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType0 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9601,20 +9601,20 @@ Object { "fieldName": "SchemaType0", "type": "SchemaType0", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType1 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9623,20 +9623,20 @@ Object { "fieldName": "SchemaType1", "type": "SchemaType1", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType10 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9645,20 +9645,20 @@ Object { "fieldName": "SchemaType10", "type": "SchemaType10", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType11 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9667,20 +9667,20 @@ Object { "fieldName": "SchemaType11", "type": "SchemaType11", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType12 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9689,20 +9689,20 @@ Object { "fieldName": "SchemaType12", "type": "SchemaType12", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType13 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9711,20 +9711,20 @@ Object { "fieldName": "SchemaType13", "type": "SchemaType13", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType14 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9733,20 +9733,20 @@ Object { "fieldName": "SchemaType14", "type": "SchemaType14", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType15 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9755,20 +9755,20 @@ Object { "fieldName": "SchemaType15", "type": "SchemaType15", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType16 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9777,20 +9777,20 @@ Object { "fieldName": "SchemaType16", "type": "SchemaType16", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType17 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9799,20 +9799,20 @@ Object { "fieldName": "SchemaType17", "type": "SchemaType17", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType18 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9821,20 +9821,20 @@ Object { "fieldName": "SchemaType18", "type": "SchemaType18", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType19 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9843,20 +9843,20 @@ Object { "fieldName": "SchemaType19", "type": "SchemaType19", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType2 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9865,20 +9865,20 @@ Object { "fieldName": "SchemaType2", "type": "SchemaType2", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType20 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9887,20 +9887,20 @@ Object { "fieldName": "SchemaType20", "type": "SchemaType20", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType21 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9909,20 +9909,20 @@ Object { "fieldName": "SchemaType21", "type": "SchemaType21", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType22 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9931,20 +9931,20 @@ Object { "fieldName": "SchemaType22", "type": "SchemaType22", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType23 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9953,20 +9953,20 @@ Object { "fieldName": "SchemaType23", "type": "SchemaType23", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType24 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9975,20 +9975,20 @@ Object { "fieldName": "SchemaType24", "type": "SchemaType24", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType25 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -9997,20 +9997,20 @@ Object { "fieldName": "SchemaType25", "type": "SchemaType25", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType26 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10019,20 +10019,20 @@ Object { "fieldName": "SchemaType26", "type": "SchemaType26", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType27 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10041,20 +10041,20 @@ Object { "fieldName": "SchemaType27", "type": "SchemaType27", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType28 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10063,20 +10063,20 @@ Object { "fieldName": "SchemaType28", "type": "SchemaType28", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType29 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10085,20 +10085,20 @@ Object { "fieldName": "SchemaType29", "type": "SchemaType29", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType3 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10107,20 +10107,20 @@ Object { "fieldName": "SchemaType3", "type": "SchemaType3", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType30 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10129,20 +10129,20 @@ Object { "fieldName": "SchemaType30", "type": "SchemaType30", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType31 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10151,20 +10151,20 @@ Object { "fieldName": "SchemaType31", "type": "SchemaType31", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType32 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10173,20 +10173,20 @@ Object { "fieldName": "SchemaType32", "type": "SchemaType32", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType33 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10195,20 +10195,20 @@ Object { "fieldName": "SchemaType33", "type": "SchemaType33", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType34 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10217,20 +10217,20 @@ Object { "fieldName": "SchemaType34", "type": "SchemaType34", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType35 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10239,20 +10239,20 @@ Object { "fieldName": "SchemaType35", "type": "SchemaType35", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType36 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10261,20 +10261,20 @@ Object { "fieldName": "SchemaType36", "type": "SchemaType36", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType37 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10283,20 +10283,20 @@ Object { "fieldName": "SchemaType37", "type": "SchemaType37", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType38 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10305,20 +10305,20 @@ Object { "fieldName": "SchemaType38", "type": "SchemaType38", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType39 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10327,20 +10327,20 @@ Object { "fieldName": "SchemaType39", "type": "SchemaType39", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType4 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10349,20 +10349,20 @@ Object { "fieldName": "SchemaType4", "type": "SchemaType4", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType5 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10371,20 +10371,20 @@ Object { "fieldName": "SchemaType5", "type": "SchemaType5", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType6 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10393,20 +10393,20 @@ Object { "fieldName": "SchemaType6", "type": "SchemaType6", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType7 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10415,20 +10415,20 @@ Object { "fieldName": "SchemaType7", "type": "SchemaType7", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType8 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10437,20 +10437,20 @@ Object { "fieldName": "SchemaType8", "type": "SchemaType8", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType9 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -10459,24 +10459,24 @@ Object { "fieldName": "SchemaType9", "type": "SchemaType9", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentSorting", }, @@ -10484,16 +10484,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentFilter", }, ], "fieldName": "allDocument", - "filter": "_type in [\\"sanity.fileAsset\\", \\"sanity.imageAsset\\", \\"schemaType0\\", \\"schemaType1\\", \\"schemaType2\\", \\"schemaType3\\", \\"schemaType4\\", \\"schemaType5\\", \\"schemaType6\\", \\"schemaType7\\", \\"schemaType8\\", \\"schemaType9\\", \\"schemaType10\\", \\"schemaType11\\", \\"schemaType12\\", \\"schemaType13\\", \\"schemaType14\\", \\"schemaType15\\", \\"schemaType16\\", \\"schemaType17\\", \\"schemaType18\\", \\"schemaType19\\", \\"schemaType20\\", \\"schemaType21\\", \\"schemaType22\\", \\"schemaType23\\", \\"schemaType24\\", \\"schemaType25\\", \\"schemaType26\\", \\"schemaType27\\", \\"schemaType28\\", \\"schemaType29\\", \\"schemaType30\\", \\"schemaType31\\", \\"schemaType32\\", \\"schemaType33\\", \\"schemaType34\\", \\"schemaType35\\", \\"schemaType36\\", \\"schemaType37\\", \\"schemaType38\\", \\"schemaType39\\"]", - "type": Object { - "children": Object { + "filter": "_type in ["sanity.fileAsset", "sanity.imageAsset", "schemaType0", "schemaType1", "schemaType2", "schemaType3", "schemaType4", "schemaType5", "schemaType6", "schemaType7", "schemaType8", "schemaType9", "schemaType10", "schemaType11", "schemaType12", "schemaType13", "schemaType14", "schemaType15", "schemaType16", "schemaType17", "schemaType18", "schemaType19", "schemaType20", "schemaType21", "schemaType22", "schemaType23", "schemaType24", "schemaType25", "schemaType26", "schemaType27", "schemaType28", "schemaType29", "schemaType30", "schemaType31", "schemaType32", "schemaType33", "schemaType34", "schemaType35", "schemaType36", "schemaType37", "schemaType38", "schemaType39"]", + "type": { + "children": { "isNullable": false, "type": "Document", }, @@ -10501,24 +10501,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityFileAssetSorting", }, @@ -10526,16 +10526,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityFileAssetFilter", }, ], "fieldName": "allSanityFileAsset", - "filter": "_type == \\"sanity.fileAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.fileAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityFileAsset", }, @@ -10543,24 +10543,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityImageAssetSorting", }, @@ -10568,16 +10568,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityImageAssetFilter", }, ], "fieldName": "allSanityImageAsset", - "filter": "_type == \\"sanity.imageAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.imageAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityImageAsset", }, @@ -10585,24 +10585,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType0Sorting", }, @@ -10610,16 +10610,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType0Filter", }, ], "fieldName": "allSchemaType0", - "filter": "_type == \\"schemaType0\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType0"", + "type": { + "children": { "isNullable": false, "type": "SchemaType0", }, @@ -10627,24 +10627,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType1Sorting", }, @@ -10652,16 +10652,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType1Filter", }, ], "fieldName": "allSchemaType1", - "filter": "_type == \\"schemaType1\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType1"", + "type": { + "children": { "isNullable": false, "type": "SchemaType1", }, @@ -10669,24 +10669,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType10Sorting", }, @@ -10694,16 +10694,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType10Filter", }, ], "fieldName": "allSchemaType10", - "filter": "_type == \\"schemaType10\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType10"", + "type": { + "children": { "isNullable": false, "type": "SchemaType10", }, @@ -10711,24 +10711,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType11Sorting", }, @@ -10736,16 +10736,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType11Filter", }, ], "fieldName": "allSchemaType11", - "filter": "_type == \\"schemaType11\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType11"", + "type": { + "children": { "isNullable": false, "type": "SchemaType11", }, @@ -10753,24 +10753,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType12Sorting", }, @@ -10778,16 +10778,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType12Filter", }, ], "fieldName": "allSchemaType12", - "filter": "_type == \\"schemaType12\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType12"", + "type": { + "children": { "isNullable": false, "type": "SchemaType12", }, @@ -10795,24 +10795,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType13Sorting", }, @@ -10820,16 +10820,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType13Filter", }, ], "fieldName": "allSchemaType13", - "filter": "_type == \\"schemaType13\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType13"", + "type": { + "children": { "isNullable": false, "type": "SchemaType13", }, @@ -10837,24 +10837,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType14Sorting", }, @@ -10862,16 +10862,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType14Filter", }, ], "fieldName": "allSchemaType14", - "filter": "_type == \\"schemaType14\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType14"", + "type": { + "children": { "isNullable": false, "type": "SchemaType14", }, @@ -10879,24 +10879,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType15Sorting", }, @@ -10904,16 +10904,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType15Filter", }, ], "fieldName": "allSchemaType15", - "filter": "_type == \\"schemaType15\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType15"", + "type": { + "children": { "isNullable": false, "type": "SchemaType15", }, @@ -10921,24 +10921,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType16Sorting", }, @@ -10946,16 +10946,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType16Filter", }, ], "fieldName": "allSchemaType16", - "filter": "_type == \\"schemaType16\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType16"", + "type": { + "children": { "isNullable": false, "type": "SchemaType16", }, @@ -10963,24 +10963,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType17Sorting", }, @@ -10988,16 +10988,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType17Filter", }, ], "fieldName": "allSchemaType17", - "filter": "_type == \\"schemaType17\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType17"", + "type": { + "children": { "isNullable": false, "type": "SchemaType17", }, @@ -11005,24 +11005,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType18Sorting", }, @@ -11030,16 +11030,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType18Filter", }, ], "fieldName": "allSchemaType18", - "filter": "_type == \\"schemaType18\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType18"", + "type": { + "children": { "isNullable": false, "type": "SchemaType18", }, @@ -11047,24 +11047,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType19Sorting", }, @@ -11072,16 +11072,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType19Filter", }, ], "fieldName": "allSchemaType19", - "filter": "_type == \\"schemaType19\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType19"", + "type": { + "children": { "isNullable": false, "type": "SchemaType19", }, @@ -11089,24 +11089,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType2Sorting", }, @@ -11114,16 +11114,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType2Filter", }, ], "fieldName": "allSchemaType2", - "filter": "_type == \\"schemaType2\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType2"", + "type": { + "children": { "isNullable": false, "type": "SchemaType2", }, @@ -11131,24 +11131,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType20Sorting", }, @@ -11156,16 +11156,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType20Filter", }, ], "fieldName": "allSchemaType20", - "filter": "_type == \\"schemaType20\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType20"", + "type": { + "children": { "isNullable": false, "type": "SchemaType20", }, @@ -11173,24 +11173,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType21Sorting", }, @@ -11198,16 +11198,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType21Filter", }, ], "fieldName": "allSchemaType21", - "filter": "_type == \\"schemaType21\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType21"", + "type": { + "children": { "isNullable": false, "type": "SchemaType21", }, @@ -11215,24 +11215,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType22Sorting", }, @@ -11240,16 +11240,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType22Filter", }, ], "fieldName": "allSchemaType22", - "filter": "_type == \\"schemaType22\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType22"", + "type": { + "children": { "isNullable": false, "type": "SchemaType22", }, @@ -11257,24 +11257,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType23Sorting", }, @@ -11282,16 +11282,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType23Filter", }, ], "fieldName": "allSchemaType23", - "filter": "_type == \\"schemaType23\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType23"", + "type": { + "children": { "isNullable": false, "type": "SchemaType23", }, @@ -11299,24 +11299,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType24Sorting", }, @@ -11324,16 +11324,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType24Filter", }, ], "fieldName": "allSchemaType24", - "filter": "_type == \\"schemaType24\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType24"", + "type": { + "children": { "isNullable": false, "type": "SchemaType24", }, @@ -11341,24 +11341,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType25Sorting", }, @@ -11366,16 +11366,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType25Filter", }, ], "fieldName": "allSchemaType25", - "filter": "_type == \\"schemaType25\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType25"", + "type": { + "children": { "isNullable": false, "type": "SchemaType25", }, @@ -11383,24 +11383,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType26Sorting", }, @@ -11408,16 +11408,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType26Filter", }, ], "fieldName": "allSchemaType26", - "filter": "_type == \\"schemaType26\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType26"", + "type": { + "children": { "isNullable": false, "type": "SchemaType26", }, @@ -11425,24 +11425,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType27Sorting", }, @@ -11450,16 +11450,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType27Filter", }, ], "fieldName": "allSchemaType27", - "filter": "_type == \\"schemaType27\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType27"", + "type": { + "children": { "isNullable": false, "type": "SchemaType27", }, @@ -11467,24 +11467,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType28Sorting", }, @@ -11492,16 +11492,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType28Filter", }, ], "fieldName": "allSchemaType28", - "filter": "_type == \\"schemaType28\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType28"", + "type": { + "children": { "isNullable": false, "type": "SchemaType28", }, @@ -11509,24 +11509,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType29Sorting", }, @@ -11534,16 +11534,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType29Filter", }, ], "fieldName": "allSchemaType29", - "filter": "_type == \\"schemaType29\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType29"", + "type": { + "children": { "isNullable": false, "type": "SchemaType29", }, @@ -11551,24 +11551,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType3Sorting", }, @@ -11576,16 +11576,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType3Filter", }, ], "fieldName": "allSchemaType3", - "filter": "_type == \\"schemaType3\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType3"", + "type": { + "children": { "isNullable": false, "type": "SchemaType3", }, @@ -11593,24 +11593,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType30Sorting", }, @@ -11618,16 +11618,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType30Filter", }, ], "fieldName": "allSchemaType30", - "filter": "_type == \\"schemaType30\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType30"", + "type": { + "children": { "isNullable": false, "type": "SchemaType30", }, @@ -11635,24 +11635,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType31Sorting", }, @@ -11660,16 +11660,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType31Filter", }, ], "fieldName": "allSchemaType31", - "filter": "_type == \\"schemaType31\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType31"", + "type": { + "children": { "isNullable": false, "type": "SchemaType31", }, @@ -11677,24 +11677,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType32Sorting", }, @@ -11702,16 +11702,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType32Filter", }, ], "fieldName": "allSchemaType32", - "filter": "_type == \\"schemaType32\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType32"", + "type": { + "children": { "isNullable": false, "type": "SchemaType32", }, @@ -11719,24 +11719,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType33Sorting", }, @@ -11744,16 +11744,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType33Filter", }, ], "fieldName": "allSchemaType33", - "filter": "_type == \\"schemaType33\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType33"", + "type": { + "children": { "isNullable": false, "type": "SchemaType33", }, @@ -11761,24 +11761,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType34Sorting", }, @@ -11786,16 +11786,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType34Filter", }, ], "fieldName": "allSchemaType34", - "filter": "_type == \\"schemaType34\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType34"", + "type": { + "children": { "isNullable": false, "type": "SchemaType34", }, @@ -11803,24 +11803,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType35Sorting", }, @@ -11828,16 +11828,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType35Filter", }, ], "fieldName": "allSchemaType35", - "filter": "_type == \\"schemaType35\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType35"", + "type": { + "children": { "isNullable": false, "type": "SchemaType35", }, @@ -11845,24 +11845,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType36Sorting", }, @@ -11870,16 +11870,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType36Filter", }, ], "fieldName": "allSchemaType36", - "filter": "_type == \\"schemaType36\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType36"", + "type": { + "children": { "isNullable": false, "type": "SchemaType36", }, @@ -11887,24 +11887,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType37Sorting", }, @@ -11912,16 +11912,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType37Filter", }, ], "fieldName": "allSchemaType37", - "filter": "_type == \\"schemaType37\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType37"", + "type": { + "children": { "isNullable": false, "type": "SchemaType37", }, @@ -11929,24 +11929,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType38Sorting", }, @@ -11954,16 +11954,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType38Filter", }, ], "fieldName": "allSchemaType38", - "filter": "_type == \\"schemaType38\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType38"", + "type": { + "children": { "isNullable": false, "type": "SchemaType38", }, @@ -11971,24 +11971,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType39Sorting", }, @@ -11996,16 +11996,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType39Filter", }, ], "fieldName": "allSchemaType39", - "filter": "_type == \\"schemaType39\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType39"", + "type": { + "children": { "isNullable": false, "type": "SchemaType39", }, @@ -12013,24 +12013,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType4Sorting", }, @@ -12038,16 +12038,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType4Filter", }, ], "fieldName": "allSchemaType4", - "filter": "_type == \\"schemaType4\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType4"", + "type": { + "children": { "isNullable": false, "type": "SchemaType4", }, @@ -12055,24 +12055,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType5Sorting", }, @@ -12080,16 +12080,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType5Filter", }, ], "fieldName": "allSchemaType5", - "filter": "_type == \\"schemaType5\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType5"", + "type": { + "children": { "isNullable": false, "type": "SchemaType5", }, @@ -12097,24 +12097,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType6Sorting", }, @@ -12122,16 +12122,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType6Filter", }, ], "fieldName": "allSchemaType6", - "filter": "_type == \\"schemaType6\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType6"", + "type": { + "children": { "isNullable": false, "type": "SchemaType6", }, @@ -12139,24 +12139,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType7Sorting", }, @@ -12164,16 +12164,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType7Filter", }, ], "fieldName": "allSchemaType7", - "filter": "_type == \\"schemaType7\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType7"", + "type": { + "children": { "isNullable": false, "type": "SchemaType7", }, @@ -12181,24 +12181,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType8Sorting", }, @@ -12206,16 +12206,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType8Filter", }, ], "fieldName": "allSchemaType8", - "filter": "_type == \\"schemaType8\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType8"", + "type": { + "children": { "isNullable": false, "type": "SchemaType8", }, @@ -12223,24 +12223,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType9Sorting", }, @@ -12248,16 +12248,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType9Filter", }, ], "fieldName": "allSchemaType9", - "filter": "_type == \\"schemaType9\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType9"", + "type": { + "children": { "isNullable": false, "type": "SchemaType9", }, @@ -12266,39 +12266,39 @@ Object { }, }, ], - "types": Array [ - Object { + "types": [ + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Span", }, "description": undefined, "fieldName": "children", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "level", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "listItem", "type": "String", }, - Object { + { "description": undefined, "fieldName": "style", "type": "String", @@ -12308,21 +12308,21 @@ Object { "name": "Block", "originalName": "block", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Boolean", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Boolean", @@ -12332,35 +12332,35 @@ Object { "kind": "InputObject", "name": "BooleanFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -12370,36 +12370,36 @@ Object { "name": "CrossDatasetReference", "originalName": "crossDatasetReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -12408,29 +12408,29 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -12438,39 +12438,39 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Date", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Date", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Date", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Date", @@ -12480,39 +12480,39 @@ Object { "kind": "InputObject", "name": "DateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Datetime", @@ -12522,34 +12522,34 @@ Object { "kind": "InputObject", "name": "DatetimeFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -12558,25 +12558,25 @@ Object { "kind": "InputObject", "name": "DocumentFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -12584,20 +12584,20 @@ Object { "kind": "InputObject", "name": "DocumentSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -12608,21 +12608,21 @@ Object { "name": "File", "originalName": "file", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityFileAssetFilter", @@ -12631,13 +12631,13 @@ Object { "kind": "InputObject", "name": "FileFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -12645,39 +12645,39 @@ Object { "kind": "InputObject", "name": "FileSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Float", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Float", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Float", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Float", @@ -12687,30 +12687,30 @@ Object { "kind": "InputObject", "name": "FloatFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alt", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lat", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lng", "type": "Float", @@ -12720,31 +12720,31 @@ Object { "name": "Geopoint", "originalName": "geopoint", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alt", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lat", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lng", "isReference": undefined, "type": "FloatFilter", @@ -12753,25 +12753,25 @@ Object { "kind": "InputObject", "name": "GeopointFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alt", "type": "SortOrder", }, - Object { + { "fieldName": "lat", "type": "SortOrder", }, - Object { + { "fieldName": "lng", "type": "SortOrder", }, @@ -12779,15 +12779,15 @@ Object { "kind": "InputObject", "name": "GeopointSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -12795,18 +12795,18 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "ID", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -12819,30 +12819,30 @@ Object { "kind": "InputObject", "name": "IDFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, "type": "SanityImageAsset", }, - Object { + { "fieldName": "crop", "type": "SanityImageCrop", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspot", }, @@ -12851,31 +12851,31 @@ Object { "name": "Image", "originalName": "image", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityImageAssetFilter", }, - Object { + { "fieldName": "crop", "isReference": undefined, "type": "SanityImageCropFilter", }, - Object { + { "fieldName": "hotspot", "isReference": undefined, "type": "SanityImageHotspotFilter", @@ -12884,21 +12884,21 @@ Object { "kind": "InputObject", "name": "ImageFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "crop", "type": "SanityImageCropSorting", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspotSorting", }, @@ -12906,39 +12906,39 @@ Object { "kind": "InputObject", "name": "ImageSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Int", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Int", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Int", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Int", @@ -12948,30 +12948,30 @@ Object { "kind": "InputObject", "name": "IntFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": "The unique ID for the asset within the originating source so you can programatically find back to it", "fieldName": "id", "type": "String", }, - Object { + { "description": "A canonical name for the source this asset is originating from", "fieldName": "name", "type": "String", }, - Object { + { "description": "A URL to find more information about this asset in the originating source", "fieldName": "url", "type": "String", @@ -12981,31 +12981,31 @@ Object { "name": "SanityAssetSourceData", "originalName": "sanity.assetSourceData", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "id", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -13014,25 +13014,25 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "id", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -13040,216 +13040,216 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityFileAsset", "originalName": "sanity.fileAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -13258,81 +13258,81 @@ Object { "kind": "InputObject", "name": "SanityFileAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -13340,235 +13340,235 @@ Object { "kind": "InputObject", "name": "SanityFileAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadata", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "uploadId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityImageAsset", "originalName": "sanity.imageAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "metadata", "isReference": undefined, "type": "SanityImageMetadataFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "uploadId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -13577,89 +13577,89 @@ Object { "kind": "InputObject", "name": "SanityImageAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadataSorting", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "uploadId", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -13667,35 +13667,35 @@ Object { "kind": "InputObject", "name": "SanityImageAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "bottom", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "left", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "right", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "top", "type": "Float", @@ -13705,36 +13705,36 @@ Object { "name": "SanityImageCrop", "originalName": "sanity.imageCrop", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "bottom", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "left", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "right", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "top", "isReference": undefined, "type": "FloatFilter", @@ -13743,29 +13743,29 @@ Object { "kind": "InputObject", "name": "SanityImageCropFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "bottom", "type": "SortOrder", }, - Object { + { "fieldName": "left", "type": "SortOrder", }, - Object { + { "fieldName": "right", "type": "SortOrder", }, - Object { + { "fieldName": "top", "type": "SortOrder", }, @@ -13773,30 +13773,30 @@ Object { "kind": "InputObject", "name": "SanityImageCropSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "aspectRatio", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", @@ -13806,31 +13806,31 @@ Object { "name": "SanityImageDimensions", "originalName": "sanity.imageDimensions", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "aspectRatio", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", @@ -13839,25 +13839,25 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "aspectRatio", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, @@ -13865,35 +13865,35 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "x", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "y", "type": "Float", @@ -13903,36 +13903,36 @@ Object { "name": "SanityImageHotspot", "originalName": "sanity.imageHotspot", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "x", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "y", "isReference": undefined, "type": "FloatFilter", @@ -13941,29 +13941,29 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, - Object { + { "fieldName": "x", "type": "SortOrder", }, - Object { + { "fieldName": "y", "type": "SortOrder", }, @@ -13971,48 +13971,48 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "blurHash", "type": "String", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensions", }, - Object { + { "description": undefined, "fieldName": "hasAlpha", "type": "Boolean", }, - Object { + { "description": undefined, "fieldName": "isOpaque", "type": "Boolean", }, - Object { + { "fieldName": "location", "type": "Geopoint", }, - Object { + { "description": undefined, "fieldName": "lqip", "type": "String", }, - Object { + { "fieldName": "palette", "type": "SanityImagePalette", }, @@ -14021,51 +14021,51 @@ Object { "name": "SanityImageMetadata", "originalName": "sanity.imageMetadata", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "blurHash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "dimensions", "isReference": undefined, "type": "SanityImageDimensionsFilter", }, - Object { + { "fieldName": "hasAlpha", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "isOpaque", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "location", "isReference": undefined, "type": "GeopointFilter", }, - Object { + { "fieldName": "lqip", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "palette", "isReference": undefined, "type": "SanityImagePaletteFilter", @@ -14074,41 +14074,41 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "blurHash", "type": "SortOrder", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensionsSorting", }, - Object { + { "fieldName": "hasAlpha", "type": "SortOrder", }, - Object { + { "fieldName": "isOpaque", "type": "SortOrder", }, - Object { + { "fieldName": "location", "type": "GeopointSorting", }, - Object { + { "fieldName": "lqip", "type": "SortOrder", }, - Object { + { "fieldName": "palette", "type": "SanityImagePaletteSorting", }, @@ -14116,44 +14116,44 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatch", }, @@ -14162,51 +14162,51 @@ Object { "name": "SanityImagePalette", "originalName": "sanity.imagePalette", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "darkMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "darkVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "dominant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "muted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "vibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", @@ -14215,41 +14215,41 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatchSorting", }, @@ -14257,35 +14257,35 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "background", "type": "String", }, - Object { + { "description": undefined, "fieldName": "foreground", "type": "String", }, - Object { + { "description": undefined, "fieldName": "population", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", @@ -14295,36 +14295,36 @@ Object { "name": "SanityImagePaletteSwatch", "originalName": "sanity.imagePaletteSwatch", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "background", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "foreground", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "population", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -14333,29 +14333,29 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "background", "type": "SortOrder", }, - Object { + { "fieldName": "foreground", "type": "SortOrder", }, - Object { + { "fieldName": "population", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -14363,14 +14363,14 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "All documents that are drafts.", "fieldName": "is_draft", "type": "Boolean", }, - Object { + { "description": "All documents referencing the given document ID.", "fieldName": "references", "type": "ID", @@ -14380,52 +14380,52 @@ Object { "kind": "InputObject", "name": "Sanity_DocumentFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -14433,48 +14433,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType0", "originalName": "schemaType0", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -14483,12 +14483,12 @@ Object { "kind": "InputObject", "name": "SchemaType0Filter", }, - Object { - "fields": Array [], + { + "fields": [], "interfaces": undefined, "kind": "Union", "name": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", - "types": Array [ + "types": [ "SchemaType0", "SchemaType1", "SchemaType10", @@ -14531,29 +14531,29 @@ Object { "SchemaType9", ], }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -14561,52 +14561,52 @@ Object { "kind": "InputObject", "name": "SchemaType0Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -14614,61 +14614,61 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType1", "originalName": "schemaType1", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -14676,48 +14676,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType10", "originalName": "schemaType10", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -14726,29 +14726,29 @@ Object { "kind": "InputObject", "name": "SchemaType10Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -14756,52 +14756,52 @@ Object { "kind": "InputObject", "name": "SchemaType10Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -14809,48 +14809,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType11", "originalName": "schemaType11", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -14859,29 +14859,29 @@ Object { "kind": "InputObject", "name": "SchemaType11Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -14889,52 +14889,52 @@ Object { "kind": "InputObject", "name": "SchemaType11Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -14942,48 +14942,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType12", "originalName": "schemaType12", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -14992,29 +14992,29 @@ Object { "kind": "InputObject", "name": "SchemaType12Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -15022,52 +15022,52 @@ Object { "kind": "InputObject", "name": "SchemaType12Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -15075,48 +15075,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType13", "originalName": "schemaType13", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -15125,29 +15125,29 @@ Object { "kind": "InputObject", "name": "SchemaType13Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -15155,52 +15155,52 @@ Object { "kind": "InputObject", "name": "SchemaType13Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -15208,48 +15208,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType14", "originalName": "schemaType14", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -15258,29 +15258,29 @@ Object { "kind": "InputObject", "name": "SchemaType14Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -15288,52 +15288,52 @@ Object { "kind": "InputObject", "name": "SchemaType14Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -15341,48 +15341,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType15", "originalName": "schemaType15", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -15391,29 +15391,29 @@ Object { "kind": "InputObject", "name": "SchemaType15Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -15421,52 +15421,52 @@ Object { "kind": "InputObject", "name": "SchemaType15Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -15474,48 +15474,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType16", "originalName": "schemaType16", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -15524,29 +15524,29 @@ Object { "kind": "InputObject", "name": "SchemaType16Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -15554,52 +15554,52 @@ Object { "kind": "InputObject", "name": "SchemaType16Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -15607,48 +15607,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType17", "originalName": "schemaType17", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -15657,29 +15657,29 @@ Object { "kind": "InputObject", "name": "SchemaType17Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -15687,52 +15687,52 @@ Object { "kind": "InputObject", "name": "SchemaType17Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -15740,48 +15740,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType18", "originalName": "schemaType18", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -15790,29 +15790,29 @@ Object { "kind": "InputObject", "name": "SchemaType18Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -15820,52 +15820,52 @@ Object { "kind": "InputObject", "name": "SchemaType18Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -15873,48 +15873,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType19", "originalName": "schemaType19", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -15923,29 +15923,29 @@ Object { "kind": "InputObject", "name": "SchemaType19Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -15953,39 +15953,39 @@ Object { "kind": "InputObject", "name": "SchemaType19Sorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -15994,29 +15994,29 @@ Object { "kind": "InputObject", "name": "SchemaType1Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -16024,52 +16024,52 @@ Object { "kind": "InputObject", "name": "SchemaType1Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -16077,61 +16077,61 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType2", "originalName": "schemaType2", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -16139,48 +16139,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType20", "originalName": "schemaType20", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -16189,29 +16189,29 @@ Object { "kind": "InputObject", "name": "SchemaType20Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -16219,52 +16219,52 @@ Object { "kind": "InputObject", "name": "SchemaType20Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -16272,48 +16272,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType21", "originalName": "schemaType21", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -16322,29 +16322,29 @@ Object { "kind": "InputObject", "name": "SchemaType21Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -16352,52 +16352,52 @@ Object { "kind": "InputObject", "name": "SchemaType21Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -16405,48 +16405,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType22", "originalName": "schemaType22", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -16455,29 +16455,29 @@ Object { "kind": "InputObject", "name": "SchemaType22Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -16485,52 +16485,52 @@ Object { "kind": "InputObject", "name": "SchemaType22Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -16538,48 +16538,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType23", "originalName": "schemaType23", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -16588,29 +16588,29 @@ Object { "kind": "InputObject", "name": "SchemaType23Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -16618,52 +16618,52 @@ Object { "kind": "InputObject", "name": "SchemaType23Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -16671,48 +16671,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType24", "originalName": "schemaType24", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -16721,29 +16721,29 @@ Object { "kind": "InputObject", "name": "SchemaType24Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -16751,52 +16751,52 @@ Object { "kind": "InputObject", "name": "SchemaType24Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -16804,48 +16804,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType25", "originalName": "schemaType25", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -16854,29 +16854,29 @@ Object { "kind": "InputObject", "name": "SchemaType25Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -16884,52 +16884,52 @@ Object { "kind": "InputObject", "name": "SchemaType25Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -16937,48 +16937,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType26", "originalName": "schemaType26", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -16987,29 +16987,29 @@ Object { "kind": "InputObject", "name": "SchemaType26Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -17017,52 +17017,52 @@ Object { "kind": "InputObject", "name": "SchemaType26Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -17070,48 +17070,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType27", "originalName": "schemaType27", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -17120,29 +17120,29 @@ Object { "kind": "InputObject", "name": "SchemaType27Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -17150,52 +17150,52 @@ Object { "kind": "InputObject", "name": "SchemaType27Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -17203,48 +17203,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType28", "originalName": "schemaType28", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -17253,29 +17253,29 @@ Object { "kind": "InputObject", "name": "SchemaType28Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -17283,52 +17283,52 @@ Object { "kind": "InputObject", "name": "SchemaType28Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -17336,48 +17336,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType29", "originalName": "schemaType29", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -17386,29 +17386,29 @@ Object { "kind": "InputObject", "name": "SchemaType29Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -17416,39 +17416,39 @@ Object { "kind": "InputObject", "name": "SchemaType29Sorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -17457,29 +17457,29 @@ Object { "kind": "InputObject", "name": "SchemaType2Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -17487,52 +17487,52 @@ Object { "kind": "InputObject", "name": "SchemaType2Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -17540,61 +17540,61 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType3", "originalName": "schemaType3", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -17602,48 +17602,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType30", "originalName": "schemaType30", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -17652,29 +17652,29 @@ Object { "kind": "InputObject", "name": "SchemaType30Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -17682,52 +17682,52 @@ Object { "kind": "InputObject", "name": "SchemaType30Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -17735,48 +17735,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType31", "originalName": "schemaType31", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -17785,29 +17785,29 @@ Object { "kind": "InputObject", "name": "SchemaType31Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -17815,52 +17815,52 @@ Object { "kind": "InputObject", "name": "SchemaType31Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -17868,48 +17868,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType32", "originalName": "schemaType32", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -17918,29 +17918,29 @@ Object { "kind": "InputObject", "name": "SchemaType32Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -17948,52 +17948,52 @@ Object { "kind": "InputObject", "name": "SchemaType32Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -18001,48 +18001,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType33", "originalName": "schemaType33", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -18051,29 +18051,29 @@ Object { "kind": "InputObject", "name": "SchemaType33Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -18081,52 +18081,52 @@ Object { "kind": "InputObject", "name": "SchemaType33Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -18134,48 +18134,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType34", "originalName": "schemaType34", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -18184,29 +18184,29 @@ Object { "kind": "InputObject", "name": "SchemaType34Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -18214,52 +18214,52 @@ Object { "kind": "InputObject", "name": "SchemaType34Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -18267,48 +18267,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType35", "originalName": "schemaType35", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -18317,29 +18317,29 @@ Object { "kind": "InputObject", "name": "SchemaType35Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -18347,52 +18347,52 @@ Object { "kind": "InputObject", "name": "SchemaType35Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -18400,48 +18400,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType36", "originalName": "schemaType36", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -18450,29 +18450,29 @@ Object { "kind": "InputObject", "name": "SchemaType36Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -18480,52 +18480,52 @@ Object { "kind": "InputObject", "name": "SchemaType36Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -18533,48 +18533,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType37", "originalName": "schemaType37", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -18583,29 +18583,29 @@ Object { "kind": "InputObject", "name": "SchemaType37Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -18613,52 +18613,52 @@ Object { "kind": "InputObject", "name": "SchemaType37Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -18666,48 +18666,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType38", "originalName": "schemaType38", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -18716,29 +18716,29 @@ Object { "kind": "InputObject", "name": "SchemaType38Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -18746,52 +18746,52 @@ Object { "kind": "InputObject", "name": "SchemaType38Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -18799,48 +18799,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType39", "originalName": "schemaType39", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -18849,29 +18849,29 @@ Object { "kind": "InputObject", "name": "SchemaType39Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -18879,39 +18879,39 @@ Object { "kind": "InputObject", "name": "SchemaType39Sorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -18920,29 +18920,29 @@ Object { "kind": "InputObject", "name": "SchemaType3Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -18950,52 +18950,52 @@ Object { "kind": "InputObject", "name": "SchemaType3Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -19003,48 +19003,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType4", "originalName": "schemaType4", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -19053,29 +19053,29 @@ Object { "kind": "InputObject", "name": "SchemaType4Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -19083,52 +19083,52 @@ Object { "kind": "InputObject", "name": "SchemaType4Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -19136,48 +19136,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType5", "originalName": "schemaType5", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -19186,29 +19186,29 @@ Object { "kind": "InputObject", "name": "SchemaType5Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -19216,52 +19216,52 @@ Object { "kind": "InputObject", "name": "SchemaType5Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -19269,48 +19269,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType6", "originalName": "schemaType6", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -19319,29 +19319,29 @@ Object { "kind": "InputObject", "name": "SchemaType6Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -19349,52 +19349,52 @@ Object { "kind": "InputObject", "name": "SchemaType6Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -19402,48 +19402,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType7", "originalName": "schemaType7", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -19452,29 +19452,29 @@ Object { "kind": "InputObject", "name": "SchemaType7Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -19482,52 +19482,52 @@ Object { "kind": "InputObject", "name": "SchemaType7Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -19535,48 +19535,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType8", "originalName": "schemaType8", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -19585,29 +19585,29 @@ Object { "kind": "InputObject", "name": "SchemaType8Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -19615,52 +19615,52 @@ Object { "kind": "InputObject", "name": "SchemaType8Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -19668,48 +19668,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType9", "originalName": "schemaType9", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -19718,29 +19718,29 @@ Object { "kind": "InputObject", "name": "SchemaType9Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -19748,45 +19748,45 @@ Object { "kind": "InputObject", "name": "SchemaType9Sorting", }, - Object { - "fields": Array [], + { + "fields": [], "kind": "Enum", "name": "SortOrder", - "values": Array [ - Object { + "values": [ + { "description": "Sorts on the value in ascending order.", "name": "ASC", "value": 1, }, - Object { + { "description": "Sorts on the value in descending order.", "name": "DESC", "value": 2, }, ], }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "marks", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "text", "type": "String", @@ -19796,17 +19796,17 @@ Object { "name": "Span", "originalName": "span", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -19814,23 +19814,23 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "String", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -19847,38 +19847,38 @@ Object { } `; -exports[`GraphQL - Generation 3 Union cache: sanitySchema: manySelfRefsSchema Should be able to generate graphql schema, withUnionCache: true 1`] = ` -Object { +exports[`GraphQL - Generation 3 > Union cache: sanitySchema: 'manySelfRefsSchema' > Should be able to generate graphql schema, withUnionCache: %p true 1`] = ` +{ "generation": "gen3", - "interfaces": Array [ - Object { + "interfaces": [ + { "description": "A Sanity document", - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, @@ -19889,21 +19889,21 @@ Object { "name": "Document", }, ], - "queries": Array [ - Object { - "args": Array [ - Object { + "queries": [ + { + "args": [ + { "description": "Document document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -19912,20 +19912,20 @@ Object { "fieldName": "Document", "type": "Document", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityFileAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -19934,20 +19934,20 @@ Object { "fieldName": "SanityFileAsset", "type": "SanityFileAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityImageAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -19956,20 +19956,20 @@ Object { "fieldName": "SanityImageAsset", "type": "SanityImageAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType0 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -19978,20 +19978,20 @@ Object { "fieldName": "SchemaType0", "type": "SchemaType0", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType1 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20000,20 +20000,20 @@ Object { "fieldName": "SchemaType1", "type": "SchemaType1", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType10 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20022,20 +20022,20 @@ Object { "fieldName": "SchemaType10", "type": "SchemaType10", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType11 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20044,20 +20044,20 @@ Object { "fieldName": "SchemaType11", "type": "SchemaType11", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType12 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20066,20 +20066,20 @@ Object { "fieldName": "SchemaType12", "type": "SchemaType12", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType13 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20088,20 +20088,20 @@ Object { "fieldName": "SchemaType13", "type": "SchemaType13", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType14 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20110,20 +20110,20 @@ Object { "fieldName": "SchemaType14", "type": "SchemaType14", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType15 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20132,20 +20132,20 @@ Object { "fieldName": "SchemaType15", "type": "SchemaType15", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType16 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20154,20 +20154,20 @@ Object { "fieldName": "SchemaType16", "type": "SchemaType16", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType17 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20176,20 +20176,20 @@ Object { "fieldName": "SchemaType17", "type": "SchemaType17", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType18 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20198,20 +20198,20 @@ Object { "fieldName": "SchemaType18", "type": "SchemaType18", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType19 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20220,20 +20220,20 @@ Object { "fieldName": "SchemaType19", "type": "SchemaType19", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType2 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20242,20 +20242,20 @@ Object { "fieldName": "SchemaType2", "type": "SchemaType2", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType20 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20264,20 +20264,20 @@ Object { "fieldName": "SchemaType20", "type": "SchemaType20", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType21 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20286,20 +20286,20 @@ Object { "fieldName": "SchemaType21", "type": "SchemaType21", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType22 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20308,20 +20308,20 @@ Object { "fieldName": "SchemaType22", "type": "SchemaType22", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType23 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20330,20 +20330,20 @@ Object { "fieldName": "SchemaType23", "type": "SchemaType23", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType24 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20352,20 +20352,20 @@ Object { "fieldName": "SchemaType24", "type": "SchemaType24", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType25 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20374,20 +20374,20 @@ Object { "fieldName": "SchemaType25", "type": "SchemaType25", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType26 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20396,20 +20396,20 @@ Object { "fieldName": "SchemaType26", "type": "SchemaType26", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType27 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20418,20 +20418,20 @@ Object { "fieldName": "SchemaType27", "type": "SchemaType27", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType28 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20440,20 +20440,20 @@ Object { "fieldName": "SchemaType28", "type": "SchemaType28", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType29 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20462,20 +20462,20 @@ Object { "fieldName": "SchemaType29", "type": "SchemaType29", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType3 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20484,20 +20484,20 @@ Object { "fieldName": "SchemaType3", "type": "SchemaType3", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType30 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20506,20 +20506,20 @@ Object { "fieldName": "SchemaType30", "type": "SchemaType30", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType31 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20528,20 +20528,20 @@ Object { "fieldName": "SchemaType31", "type": "SchemaType31", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType32 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20550,20 +20550,20 @@ Object { "fieldName": "SchemaType32", "type": "SchemaType32", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType33 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20572,20 +20572,20 @@ Object { "fieldName": "SchemaType33", "type": "SchemaType33", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType34 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20594,20 +20594,20 @@ Object { "fieldName": "SchemaType34", "type": "SchemaType34", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType35 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20616,20 +20616,20 @@ Object { "fieldName": "SchemaType35", "type": "SchemaType35", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType36 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20638,20 +20638,20 @@ Object { "fieldName": "SchemaType36", "type": "SchemaType36", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType37 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20660,20 +20660,20 @@ Object { "fieldName": "SchemaType37", "type": "SchemaType37", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType38 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20682,20 +20682,20 @@ Object { "fieldName": "SchemaType38", "type": "SchemaType38", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType39 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20704,20 +20704,20 @@ Object { "fieldName": "SchemaType39", "type": "SchemaType39", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType4 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20726,20 +20726,20 @@ Object { "fieldName": "SchemaType4", "type": "SchemaType4", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType5 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20748,20 +20748,20 @@ Object { "fieldName": "SchemaType5", "type": "SchemaType5", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType6 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20770,20 +20770,20 @@ Object { "fieldName": "SchemaType6", "type": "SchemaType6", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType7 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20792,20 +20792,20 @@ Object { "fieldName": "SchemaType7", "type": "SchemaType7", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType8 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20814,20 +20814,20 @@ Object { "fieldName": "SchemaType8", "type": "SchemaType8", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SchemaType9 document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -20836,24 +20836,24 @@ Object { "fieldName": "SchemaType9", "type": "SchemaType9", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentSorting", }, @@ -20861,16 +20861,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentFilter", }, ], "fieldName": "allDocument", - "filter": "_type in [\\"sanity.fileAsset\\", \\"sanity.imageAsset\\", \\"schemaType0\\", \\"schemaType1\\", \\"schemaType2\\", \\"schemaType3\\", \\"schemaType4\\", \\"schemaType5\\", \\"schemaType6\\", \\"schemaType7\\", \\"schemaType8\\", \\"schemaType9\\", \\"schemaType10\\", \\"schemaType11\\", \\"schemaType12\\", \\"schemaType13\\", \\"schemaType14\\", \\"schemaType15\\", \\"schemaType16\\", \\"schemaType17\\", \\"schemaType18\\", \\"schemaType19\\", \\"schemaType20\\", \\"schemaType21\\", \\"schemaType22\\", \\"schemaType23\\", \\"schemaType24\\", \\"schemaType25\\", \\"schemaType26\\", \\"schemaType27\\", \\"schemaType28\\", \\"schemaType29\\", \\"schemaType30\\", \\"schemaType31\\", \\"schemaType32\\", \\"schemaType33\\", \\"schemaType34\\", \\"schemaType35\\", \\"schemaType36\\", \\"schemaType37\\", \\"schemaType38\\", \\"schemaType39\\"]", - "type": Object { - "children": Object { + "filter": "_type in ["sanity.fileAsset", "sanity.imageAsset", "schemaType0", "schemaType1", "schemaType2", "schemaType3", "schemaType4", "schemaType5", "schemaType6", "schemaType7", "schemaType8", "schemaType9", "schemaType10", "schemaType11", "schemaType12", "schemaType13", "schemaType14", "schemaType15", "schemaType16", "schemaType17", "schemaType18", "schemaType19", "schemaType20", "schemaType21", "schemaType22", "schemaType23", "schemaType24", "schemaType25", "schemaType26", "schemaType27", "schemaType28", "schemaType29", "schemaType30", "schemaType31", "schemaType32", "schemaType33", "schemaType34", "schemaType35", "schemaType36", "schemaType37", "schemaType38", "schemaType39"]", + "type": { + "children": { "isNullable": false, "type": "Document", }, @@ -20878,24 +20878,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityFileAssetSorting", }, @@ -20903,16 +20903,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityFileAssetFilter", }, ], "fieldName": "allSanityFileAsset", - "filter": "_type == \\"sanity.fileAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.fileAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityFileAsset", }, @@ -20920,24 +20920,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityImageAssetSorting", }, @@ -20945,16 +20945,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityImageAssetFilter", }, ], "fieldName": "allSanityImageAsset", - "filter": "_type == \\"sanity.imageAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.imageAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityImageAsset", }, @@ -20962,24 +20962,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType0Sorting", }, @@ -20987,16 +20987,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType0Filter", }, ], "fieldName": "allSchemaType0", - "filter": "_type == \\"schemaType0\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType0"", + "type": { + "children": { "isNullable": false, "type": "SchemaType0", }, @@ -21004,24 +21004,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType1Sorting", }, @@ -21029,16 +21029,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType1Filter", }, ], "fieldName": "allSchemaType1", - "filter": "_type == \\"schemaType1\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType1"", + "type": { + "children": { "isNullable": false, "type": "SchemaType1", }, @@ -21046,24 +21046,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType10Sorting", }, @@ -21071,16 +21071,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType10Filter", }, ], "fieldName": "allSchemaType10", - "filter": "_type == \\"schemaType10\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType10"", + "type": { + "children": { "isNullable": false, "type": "SchemaType10", }, @@ -21088,24 +21088,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType11Sorting", }, @@ -21113,16 +21113,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType11Filter", }, ], "fieldName": "allSchemaType11", - "filter": "_type == \\"schemaType11\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType11"", + "type": { + "children": { "isNullable": false, "type": "SchemaType11", }, @@ -21130,24 +21130,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType12Sorting", }, @@ -21155,16 +21155,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType12Filter", }, ], "fieldName": "allSchemaType12", - "filter": "_type == \\"schemaType12\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType12"", + "type": { + "children": { "isNullable": false, "type": "SchemaType12", }, @@ -21172,24 +21172,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType13Sorting", }, @@ -21197,16 +21197,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType13Filter", }, ], "fieldName": "allSchemaType13", - "filter": "_type == \\"schemaType13\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType13"", + "type": { + "children": { "isNullable": false, "type": "SchemaType13", }, @@ -21214,24 +21214,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType14Sorting", }, @@ -21239,16 +21239,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType14Filter", }, ], "fieldName": "allSchemaType14", - "filter": "_type == \\"schemaType14\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType14"", + "type": { + "children": { "isNullable": false, "type": "SchemaType14", }, @@ -21256,24 +21256,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType15Sorting", }, @@ -21281,16 +21281,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType15Filter", }, ], "fieldName": "allSchemaType15", - "filter": "_type == \\"schemaType15\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType15"", + "type": { + "children": { "isNullable": false, "type": "SchemaType15", }, @@ -21298,24 +21298,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType16Sorting", }, @@ -21323,16 +21323,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType16Filter", }, ], "fieldName": "allSchemaType16", - "filter": "_type == \\"schemaType16\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType16"", + "type": { + "children": { "isNullable": false, "type": "SchemaType16", }, @@ -21340,24 +21340,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType17Sorting", }, @@ -21365,16 +21365,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType17Filter", }, ], "fieldName": "allSchemaType17", - "filter": "_type == \\"schemaType17\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType17"", + "type": { + "children": { "isNullable": false, "type": "SchemaType17", }, @@ -21382,24 +21382,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType18Sorting", }, @@ -21407,16 +21407,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType18Filter", }, ], "fieldName": "allSchemaType18", - "filter": "_type == \\"schemaType18\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType18"", + "type": { + "children": { "isNullable": false, "type": "SchemaType18", }, @@ -21424,24 +21424,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType19Sorting", }, @@ -21449,16 +21449,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType19Filter", }, ], "fieldName": "allSchemaType19", - "filter": "_type == \\"schemaType19\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType19"", + "type": { + "children": { "isNullable": false, "type": "SchemaType19", }, @@ -21466,24 +21466,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType2Sorting", }, @@ -21491,16 +21491,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType2Filter", }, ], "fieldName": "allSchemaType2", - "filter": "_type == \\"schemaType2\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType2"", + "type": { + "children": { "isNullable": false, "type": "SchemaType2", }, @@ -21508,24 +21508,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType20Sorting", }, @@ -21533,16 +21533,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType20Filter", }, ], "fieldName": "allSchemaType20", - "filter": "_type == \\"schemaType20\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType20"", + "type": { + "children": { "isNullable": false, "type": "SchemaType20", }, @@ -21550,24 +21550,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType21Sorting", }, @@ -21575,16 +21575,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType21Filter", }, ], "fieldName": "allSchemaType21", - "filter": "_type == \\"schemaType21\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType21"", + "type": { + "children": { "isNullable": false, "type": "SchemaType21", }, @@ -21592,24 +21592,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType22Sorting", }, @@ -21617,16 +21617,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType22Filter", }, ], "fieldName": "allSchemaType22", - "filter": "_type == \\"schemaType22\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType22"", + "type": { + "children": { "isNullable": false, "type": "SchemaType22", }, @@ -21634,24 +21634,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType23Sorting", }, @@ -21659,16 +21659,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType23Filter", }, ], "fieldName": "allSchemaType23", - "filter": "_type == \\"schemaType23\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType23"", + "type": { + "children": { "isNullable": false, "type": "SchemaType23", }, @@ -21676,24 +21676,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType24Sorting", }, @@ -21701,16 +21701,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType24Filter", }, ], "fieldName": "allSchemaType24", - "filter": "_type == \\"schemaType24\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType24"", + "type": { + "children": { "isNullable": false, "type": "SchemaType24", }, @@ -21718,24 +21718,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType25Sorting", }, @@ -21743,16 +21743,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType25Filter", }, ], "fieldName": "allSchemaType25", - "filter": "_type == \\"schemaType25\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType25"", + "type": { + "children": { "isNullable": false, "type": "SchemaType25", }, @@ -21760,24 +21760,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType26Sorting", }, @@ -21785,16 +21785,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType26Filter", }, ], "fieldName": "allSchemaType26", - "filter": "_type == \\"schemaType26\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType26"", + "type": { + "children": { "isNullable": false, "type": "SchemaType26", }, @@ -21802,24 +21802,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType27Sorting", }, @@ -21827,16 +21827,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType27Filter", }, ], "fieldName": "allSchemaType27", - "filter": "_type == \\"schemaType27\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType27"", + "type": { + "children": { "isNullable": false, "type": "SchemaType27", }, @@ -21844,24 +21844,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType28Sorting", }, @@ -21869,16 +21869,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType28Filter", }, ], "fieldName": "allSchemaType28", - "filter": "_type == \\"schemaType28\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType28"", + "type": { + "children": { "isNullable": false, "type": "SchemaType28", }, @@ -21886,24 +21886,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType29Sorting", }, @@ -21911,16 +21911,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType29Filter", }, ], "fieldName": "allSchemaType29", - "filter": "_type == \\"schemaType29\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType29"", + "type": { + "children": { "isNullable": false, "type": "SchemaType29", }, @@ -21928,24 +21928,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType3Sorting", }, @@ -21953,16 +21953,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType3Filter", }, ], "fieldName": "allSchemaType3", - "filter": "_type == \\"schemaType3\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType3"", + "type": { + "children": { "isNullable": false, "type": "SchemaType3", }, @@ -21970,24 +21970,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType30Sorting", }, @@ -21995,16 +21995,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType30Filter", }, ], "fieldName": "allSchemaType30", - "filter": "_type == \\"schemaType30\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType30"", + "type": { + "children": { "isNullable": false, "type": "SchemaType30", }, @@ -22012,24 +22012,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType31Sorting", }, @@ -22037,16 +22037,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType31Filter", }, ], "fieldName": "allSchemaType31", - "filter": "_type == \\"schemaType31\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType31"", + "type": { + "children": { "isNullable": false, "type": "SchemaType31", }, @@ -22054,24 +22054,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType32Sorting", }, @@ -22079,16 +22079,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType32Filter", }, ], "fieldName": "allSchemaType32", - "filter": "_type == \\"schemaType32\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType32"", + "type": { + "children": { "isNullable": false, "type": "SchemaType32", }, @@ -22096,24 +22096,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType33Sorting", }, @@ -22121,16 +22121,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType33Filter", }, ], "fieldName": "allSchemaType33", - "filter": "_type == \\"schemaType33\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType33"", + "type": { + "children": { "isNullable": false, "type": "SchemaType33", }, @@ -22138,24 +22138,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType34Sorting", }, @@ -22163,16 +22163,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType34Filter", }, ], "fieldName": "allSchemaType34", - "filter": "_type == \\"schemaType34\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType34"", + "type": { + "children": { "isNullable": false, "type": "SchemaType34", }, @@ -22180,24 +22180,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType35Sorting", }, @@ -22205,16 +22205,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType35Filter", }, ], "fieldName": "allSchemaType35", - "filter": "_type == \\"schemaType35\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType35"", + "type": { + "children": { "isNullable": false, "type": "SchemaType35", }, @@ -22222,24 +22222,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType36Sorting", }, @@ -22247,16 +22247,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType36Filter", }, ], "fieldName": "allSchemaType36", - "filter": "_type == \\"schemaType36\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType36"", + "type": { + "children": { "isNullable": false, "type": "SchemaType36", }, @@ -22264,24 +22264,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType37Sorting", }, @@ -22289,16 +22289,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType37Filter", }, ], "fieldName": "allSchemaType37", - "filter": "_type == \\"schemaType37\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType37"", + "type": { + "children": { "isNullable": false, "type": "SchemaType37", }, @@ -22306,24 +22306,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType38Sorting", }, @@ -22331,16 +22331,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType38Filter", }, ], "fieldName": "allSchemaType38", - "filter": "_type == \\"schemaType38\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType38"", + "type": { + "children": { "isNullable": false, "type": "SchemaType38", }, @@ -22348,24 +22348,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType39Sorting", }, @@ -22373,16 +22373,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType39Filter", }, ], "fieldName": "allSchemaType39", - "filter": "_type == \\"schemaType39\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType39"", + "type": { + "children": { "isNullable": false, "type": "SchemaType39", }, @@ -22390,24 +22390,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType4Sorting", }, @@ -22415,16 +22415,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType4Filter", }, ], "fieldName": "allSchemaType4", - "filter": "_type == \\"schemaType4\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType4"", + "type": { + "children": { "isNullable": false, "type": "SchemaType4", }, @@ -22432,24 +22432,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType5Sorting", }, @@ -22457,16 +22457,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType5Filter", }, ], "fieldName": "allSchemaType5", - "filter": "_type == \\"schemaType5\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType5"", + "type": { + "children": { "isNullable": false, "type": "SchemaType5", }, @@ -22474,24 +22474,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType6Sorting", }, @@ -22499,16 +22499,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType6Filter", }, ], "fieldName": "allSchemaType6", - "filter": "_type == \\"schemaType6\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType6"", + "type": { + "children": { "isNullable": false, "type": "SchemaType6", }, @@ -22516,24 +22516,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType7Sorting", }, @@ -22541,16 +22541,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType7Filter", }, ], "fieldName": "allSchemaType7", - "filter": "_type == \\"schemaType7\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType7"", + "type": { + "children": { "isNullable": false, "type": "SchemaType7", }, @@ -22558,24 +22558,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType8Sorting", }, @@ -22583,16 +22583,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType8Filter", }, ], "fieldName": "allSchemaType8", - "filter": "_type == \\"schemaType8\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType8"", + "type": { + "children": { "isNullable": false, "type": "SchemaType8", }, @@ -22600,24 +22600,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SchemaType9Sorting", }, @@ -22625,16 +22625,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SchemaType9Filter", }, ], "fieldName": "allSchemaType9", - "filter": "_type == \\"schemaType9\\"", - "type": Object { - "children": Object { + "filter": "_type == "schemaType9"", + "type": { + "children": { "isNullable": false, "type": "SchemaType9", }, @@ -22643,39 +22643,39 @@ Object { }, }, ], - "types": Array [ - Object { + "types": [ + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Span", }, "description": undefined, "fieldName": "children", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "level", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "listItem", "type": "String", }, - Object { + { "description": undefined, "fieldName": "style", "type": "String", @@ -22685,21 +22685,21 @@ Object { "name": "Block", "originalName": "block", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Boolean", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Boolean", @@ -22709,35 +22709,35 @@ Object { "kind": "InputObject", "name": "BooleanFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -22747,36 +22747,36 @@ Object { "name": "CrossDatasetReference", "originalName": "crossDatasetReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -22785,29 +22785,29 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -22815,39 +22815,39 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Date", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Date", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Date", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Date", @@ -22857,39 +22857,39 @@ Object { "kind": "InputObject", "name": "DateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Datetime", @@ -22899,34 +22899,34 @@ Object { "kind": "InputObject", "name": "DatetimeFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -22935,25 +22935,25 @@ Object { "kind": "InputObject", "name": "DocumentFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -22961,20 +22961,20 @@ Object { "kind": "InputObject", "name": "DocumentSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -22985,21 +22985,21 @@ Object { "name": "File", "originalName": "file", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityFileAssetFilter", @@ -23008,13 +23008,13 @@ Object { "kind": "InputObject", "name": "FileFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -23022,39 +23022,39 @@ Object { "kind": "InputObject", "name": "FileSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Float", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Float", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Float", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Float", @@ -23064,30 +23064,30 @@ Object { "kind": "InputObject", "name": "FloatFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alt", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lat", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lng", "type": "Float", @@ -23097,31 +23097,31 @@ Object { "name": "Geopoint", "originalName": "geopoint", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alt", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lat", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lng", "isReference": undefined, "type": "FloatFilter", @@ -23130,25 +23130,25 @@ Object { "kind": "InputObject", "name": "GeopointFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alt", "type": "SortOrder", }, - Object { + { "fieldName": "lat", "type": "SortOrder", }, - Object { + { "fieldName": "lng", "type": "SortOrder", }, @@ -23156,15 +23156,15 @@ Object { "kind": "InputObject", "name": "GeopointSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -23172,18 +23172,18 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "ID", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -23196,30 +23196,30 @@ Object { "kind": "InputObject", "name": "IDFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, "type": "SanityImageAsset", }, - Object { + { "fieldName": "crop", "type": "SanityImageCrop", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspot", }, @@ -23228,31 +23228,31 @@ Object { "name": "Image", "originalName": "image", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityImageAssetFilter", }, - Object { + { "fieldName": "crop", "isReference": undefined, "type": "SanityImageCropFilter", }, - Object { + { "fieldName": "hotspot", "isReference": undefined, "type": "SanityImageHotspotFilter", @@ -23261,21 +23261,21 @@ Object { "kind": "InputObject", "name": "ImageFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "crop", "type": "SanityImageCropSorting", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspotSorting", }, @@ -23283,39 +23283,39 @@ Object { "kind": "InputObject", "name": "ImageSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Int", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Int", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Int", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Int", @@ -23325,30 +23325,30 @@ Object { "kind": "InputObject", "name": "IntFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": "The unique ID for the asset within the originating source so you can programatically find back to it", "fieldName": "id", "type": "String", }, - Object { + { "description": "A canonical name for the source this asset is originating from", "fieldName": "name", "type": "String", }, - Object { + { "description": "A URL to find more information about this asset in the originating source", "fieldName": "url", "type": "String", @@ -23358,31 +23358,31 @@ Object { "name": "SanityAssetSourceData", "originalName": "sanity.assetSourceData", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "id", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -23391,25 +23391,25 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "id", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -23417,216 +23417,216 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityFileAsset", "originalName": "sanity.fileAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -23635,81 +23635,81 @@ Object { "kind": "InputObject", "name": "SanityFileAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -23717,235 +23717,235 @@ Object { "kind": "InputObject", "name": "SanityFileAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadata", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "uploadId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityImageAsset", "originalName": "sanity.imageAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "metadata", "isReference": undefined, "type": "SanityImageMetadataFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "uploadId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -23954,89 +23954,89 @@ Object { "kind": "InputObject", "name": "SanityImageAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadataSorting", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "uploadId", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -24044,35 +24044,35 @@ Object { "kind": "InputObject", "name": "SanityImageAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "bottom", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "left", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "right", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "top", "type": "Float", @@ -24082,36 +24082,36 @@ Object { "name": "SanityImageCrop", "originalName": "sanity.imageCrop", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "bottom", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "left", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "right", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "top", "isReference": undefined, "type": "FloatFilter", @@ -24120,29 +24120,29 @@ Object { "kind": "InputObject", "name": "SanityImageCropFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "bottom", "type": "SortOrder", }, - Object { + { "fieldName": "left", "type": "SortOrder", }, - Object { + { "fieldName": "right", "type": "SortOrder", }, - Object { + { "fieldName": "top", "type": "SortOrder", }, @@ -24150,30 +24150,30 @@ Object { "kind": "InputObject", "name": "SanityImageCropSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "aspectRatio", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", @@ -24183,31 +24183,31 @@ Object { "name": "SanityImageDimensions", "originalName": "sanity.imageDimensions", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "aspectRatio", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", @@ -24216,25 +24216,25 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "aspectRatio", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, @@ -24242,35 +24242,35 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "x", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "y", "type": "Float", @@ -24280,36 +24280,36 @@ Object { "name": "SanityImageHotspot", "originalName": "sanity.imageHotspot", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "x", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "y", "isReference": undefined, "type": "FloatFilter", @@ -24318,29 +24318,29 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, - Object { + { "fieldName": "x", "type": "SortOrder", }, - Object { + { "fieldName": "y", "type": "SortOrder", }, @@ -24348,48 +24348,48 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "blurHash", "type": "String", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensions", }, - Object { + { "description": undefined, "fieldName": "hasAlpha", "type": "Boolean", }, - Object { + { "description": undefined, "fieldName": "isOpaque", "type": "Boolean", }, - Object { + { "fieldName": "location", "type": "Geopoint", }, - Object { + { "description": undefined, "fieldName": "lqip", "type": "String", }, - Object { + { "fieldName": "palette", "type": "SanityImagePalette", }, @@ -24398,51 +24398,51 @@ Object { "name": "SanityImageMetadata", "originalName": "sanity.imageMetadata", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "blurHash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "dimensions", "isReference": undefined, "type": "SanityImageDimensionsFilter", }, - Object { + { "fieldName": "hasAlpha", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "isOpaque", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "location", "isReference": undefined, "type": "GeopointFilter", }, - Object { + { "fieldName": "lqip", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "palette", "isReference": undefined, "type": "SanityImagePaletteFilter", @@ -24451,41 +24451,41 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "blurHash", "type": "SortOrder", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensionsSorting", }, - Object { + { "fieldName": "hasAlpha", "type": "SortOrder", }, - Object { + { "fieldName": "isOpaque", "type": "SortOrder", }, - Object { + { "fieldName": "location", "type": "GeopointSorting", }, - Object { + { "fieldName": "lqip", "type": "SortOrder", }, - Object { + { "fieldName": "palette", "type": "SanityImagePaletteSorting", }, @@ -24493,44 +24493,44 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatch", }, @@ -24539,51 +24539,51 @@ Object { "name": "SanityImagePalette", "originalName": "sanity.imagePalette", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "darkMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "darkVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "dominant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "muted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "vibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", @@ -24592,41 +24592,41 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatchSorting", }, @@ -24634,35 +24634,35 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "background", "type": "String", }, - Object { + { "description": undefined, "fieldName": "foreground", "type": "String", }, - Object { + { "description": undefined, "fieldName": "population", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", @@ -24672,36 +24672,36 @@ Object { "name": "SanityImagePaletteSwatch", "originalName": "sanity.imagePaletteSwatch", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "background", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "foreground", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "population", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -24710,29 +24710,29 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "background", "type": "SortOrder", }, - Object { + { "fieldName": "foreground", "type": "SortOrder", }, - Object { + { "fieldName": "population", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -24740,14 +24740,14 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "All documents that are drafts.", "fieldName": "is_draft", "type": "Boolean", }, - Object { + { "description": "All documents referencing the given document ID.", "fieldName": "references", "type": "ID", @@ -24757,52 +24757,52 @@ Object { "kind": "InputObject", "name": "Sanity_DocumentFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -24810,48 +24810,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType0", "originalName": "schemaType0", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -24860,12 +24860,12 @@ Object { "kind": "InputObject", "name": "SchemaType0Filter", }, - Object { - "fields": Array [], + { + "fields": [], "interfaces": undefined, "kind": "Union", "name": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", - "types": Array [ + "types": [ "SchemaType0", "SchemaType1", "SchemaType10", @@ -24908,29 +24908,29 @@ Object { "SchemaType9", ], }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -24938,52 +24938,52 @@ Object { "kind": "InputObject", "name": "SchemaType0Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -24991,61 +24991,61 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType1", "originalName": "schemaType1", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -25053,48 +25053,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType10", "originalName": "schemaType10", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -25103,29 +25103,29 @@ Object { "kind": "InputObject", "name": "SchemaType10Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -25133,52 +25133,52 @@ Object { "kind": "InputObject", "name": "SchemaType10Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -25186,48 +25186,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType11", "originalName": "schemaType11", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -25236,29 +25236,29 @@ Object { "kind": "InputObject", "name": "SchemaType11Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -25266,52 +25266,52 @@ Object { "kind": "InputObject", "name": "SchemaType11Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -25319,48 +25319,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType12", "originalName": "schemaType12", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -25369,29 +25369,29 @@ Object { "kind": "InputObject", "name": "SchemaType12Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -25399,52 +25399,52 @@ Object { "kind": "InputObject", "name": "SchemaType12Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -25452,48 +25452,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType13", "originalName": "schemaType13", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -25502,29 +25502,29 @@ Object { "kind": "InputObject", "name": "SchemaType13Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -25532,52 +25532,52 @@ Object { "kind": "InputObject", "name": "SchemaType13Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -25585,48 +25585,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType14", "originalName": "schemaType14", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -25635,29 +25635,29 @@ Object { "kind": "InputObject", "name": "SchemaType14Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -25665,52 +25665,52 @@ Object { "kind": "InputObject", "name": "SchemaType14Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -25718,48 +25718,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType15", "originalName": "schemaType15", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -25768,29 +25768,29 @@ Object { "kind": "InputObject", "name": "SchemaType15Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -25798,52 +25798,52 @@ Object { "kind": "InputObject", "name": "SchemaType15Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -25851,48 +25851,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType16", "originalName": "schemaType16", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -25901,29 +25901,29 @@ Object { "kind": "InputObject", "name": "SchemaType16Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -25931,52 +25931,52 @@ Object { "kind": "InputObject", "name": "SchemaType16Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -25984,48 +25984,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType17", "originalName": "schemaType17", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -26034,29 +26034,29 @@ Object { "kind": "InputObject", "name": "SchemaType17Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -26064,52 +26064,52 @@ Object { "kind": "InputObject", "name": "SchemaType17Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -26117,48 +26117,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType18", "originalName": "schemaType18", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -26167,29 +26167,29 @@ Object { "kind": "InputObject", "name": "SchemaType18Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -26197,52 +26197,52 @@ Object { "kind": "InputObject", "name": "SchemaType18Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -26250,48 +26250,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType19", "originalName": "schemaType19", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -26300,29 +26300,29 @@ Object { "kind": "InputObject", "name": "SchemaType19Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -26330,39 +26330,39 @@ Object { "kind": "InputObject", "name": "SchemaType19Sorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -26371,29 +26371,29 @@ Object { "kind": "InputObject", "name": "SchemaType1Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -26401,52 +26401,52 @@ Object { "kind": "InputObject", "name": "SchemaType1Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -26454,61 +26454,61 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType2", "originalName": "schemaType2", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -26516,48 +26516,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType20", "originalName": "schemaType20", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -26566,29 +26566,29 @@ Object { "kind": "InputObject", "name": "SchemaType20Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -26596,52 +26596,52 @@ Object { "kind": "InputObject", "name": "SchemaType20Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -26649,48 +26649,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType21", "originalName": "schemaType21", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -26699,29 +26699,29 @@ Object { "kind": "InputObject", "name": "SchemaType21Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -26729,52 +26729,52 @@ Object { "kind": "InputObject", "name": "SchemaType21Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -26782,48 +26782,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType22", "originalName": "schemaType22", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -26832,29 +26832,29 @@ Object { "kind": "InputObject", "name": "SchemaType22Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -26862,52 +26862,52 @@ Object { "kind": "InputObject", "name": "SchemaType22Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -26915,48 +26915,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType23", "originalName": "schemaType23", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -26965,29 +26965,29 @@ Object { "kind": "InputObject", "name": "SchemaType23Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -26995,52 +26995,52 @@ Object { "kind": "InputObject", "name": "SchemaType23Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -27048,48 +27048,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType24", "originalName": "schemaType24", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -27098,29 +27098,29 @@ Object { "kind": "InputObject", "name": "SchemaType24Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -27128,52 +27128,52 @@ Object { "kind": "InputObject", "name": "SchemaType24Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -27181,48 +27181,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType25", "originalName": "schemaType25", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -27231,29 +27231,29 @@ Object { "kind": "InputObject", "name": "SchemaType25Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -27261,52 +27261,52 @@ Object { "kind": "InputObject", "name": "SchemaType25Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -27314,48 +27314,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType26", "originalName": "schemaType26", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -27364,29 +27364,29 @@ Object { "kind": "InputObject", "name": "SchemaType26Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -27394,52 +27394,52 @@ Object { "kind": "InputObject", "name": "SchemaType26Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -27447,48 +27447,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType27", "originalName": "schemaType27", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -27497,29 +27497,29 @@ Object { "kind": "InputObject", "name": "SchemaType27Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -27527,52 +27527,52 @@ Object { "kind": "InputObject", "name": "SchemaType27Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -27580,48 +27580,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType28", "originalName": "schemaType28", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -27630,29 +27630,29 @@ Object { "kind": "InputObject", "name": "SchemaType28Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -27660,52 +27660,52 @@ Object { "kind": "InputObject", "name": "SchemaType28Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -27713,48 +27713,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType29", "originalName": "schemaType29", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -27763,29 +27763,29 @@ Object { "kind": "InputObject", "name": "SchemaType29Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -27793,39 +27793,39 @@ Object { "kind": "InputObject", "name": "SchemaType29Sorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -27834,29 +27834,29 @@ Object { "kind": "InputObject", "name": "SchemaType2Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -27864,52 +27864,52 @@ Object { "kind": "InputObject", "name": "SchemaType2Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -27917,61 +27917,61 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType3", "originalName": "schemaType3", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -27979,48 +27979,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType30", "originalName": "schemaType30", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -28029,29 +28029,29 @@ Object { "kind": "InputObject", "name": "SchemaType30Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -28059,52 +28059,52 @@ Object { "kind": "InputObject", "name": "SchemaType30Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -28112,48 +28112,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType31", "originalName": "schemaType31", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -28162,29 +28162,29 @@ Object { "kind": "InputObject", "name": "SchemaType31Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -28192,52 +28192,52 @@ Object { "kind": "InputObject", "name": "SchemaType31Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -28245,48 +28245,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType32", "originalName": "schemaType32", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -28295,29 +28295,29 @@ Object { "kind": "InputObject", "name": "SchemaType32Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -28325,52 +28325,52 @@ Object { "kind": "InputObject", "name": "SchemaType32Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -28378,48 +28378,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType33", "originalName": "schemaType33", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -28428,29 +28428,29 @@ Object { "kind": "InputObject", "name": "SchemaType33Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -28458,52 +28458,52 @@ Object { "kind": "InputObject", "name": "SchemaType33Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -28511,48 +28511,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType34", "originalName": "schemaType34", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -28561,29 +28561,29 @@ Object { "kind": "InputObject", "name": "SchemaType34Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -28591,52 +28591,52 @@ Object { "kind": "InputObject", "name": "SchemaType34Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -28644,48 +28644,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType35", "originalName": "schemaType35", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -28694,29 +28694,29 @@ Object { "kind": "InputObject", "name": "SchemaType35Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -28724,52 +28724,52 @@ Object { "kind": "InputObject", "name": "SchemaType35Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -28777,48 +28777,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType36", "originalName": "schemaType36", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -28827,29 +28827,29 @@ Object { "kind": "InputObject", "name": "SchemaType36Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -28857,52 +28857,52 @@ Object { "kind": "InputObject", "name": "SchemaType36Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -28910,48 +28910,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType37", "originalName": "schemaType37", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -28960,29 +28960,29 @@ Object { "kind": "InputObject", "name": "SchemaType37Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -28990,52 +28990,52 @@ Object { "kind": "InputObject", "name": "SchemaType37Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -29043,48 +29043,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType38", "originalName": "schemaType38", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -29093,29 +29093,29 @@ Object { "kind": "InputObject", "name": "SchemaType38Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -29123,52 +29123,52 @@ Object { "kind": "InputObject", "name": "SchemaType38Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -29176,48 +29176,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType39", "originalName": "schemaType39", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -29226,29 +29226,29 @@ Object { "kind": "InputObject", "name": "SchemaType39Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -29256,39 +29256,39 @@ Object { "kind": "InputObject", "name": "SchemaType39Sorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -29297,29 +29297,29 @@ Object { "kind": "InputObject", "name": "SchemaType3Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -29327,52 +29327,52 @@ Object { "kind": "InputObject", "name": "SchemaType3Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -29380,48 +29380,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType4", "originalName": "schemaType4", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -29430,29 +29430,29 @@ Object { "kind": "InputObject", "name": "SchemaType4Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -29460,52 +29460,52 @@ Object { "kind": "InputObject", "name": "SchemaType4Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -29513,48 +29513,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType5", "originalName": "schemaType5", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -29563,29 +29563,29 @@ Object { "kind": "InputObject", "name": "SchemaType5Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -29593,52 +29593,52 @@ Object { "kind": "InputObject", "name": "SchemaType5Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -29646,48 +29646,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType6", "originalName": "schemaType6", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -29696,29 +29696,29 @@ Object { "kind": "InputObject", "name": "SchemaType6Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -29726,52 +29726,52 @@ Object { "kind": "InputObject", "name": "SchemaType6Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -29779,48 +29779,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType7", "originalName": "schemaType7", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -29829,29 +29829,29 @@ Object { "kind": "InputObject", "name": "SchemaType7Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -29859,52 +29859,52 @@ Object { "kind": "InputObject", "name": "SchemaType7Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -29912,48 +29912,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType8", "originalName": "schemaType8", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -29962,29 +29962,29 @@ Object { "kind": "InputObject", "name": "SchemaType8Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -29992,52 +29992,52 @@ Object { "kind": "InputObject", "name": "SchemaType8Sorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "reference0", "isReference": true, "references": undefined, "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, - Object { + { "description": undefined, "fieldName": "reference1", "isReference": true, @@ -30045,48 +30045,48 @@ Object { "type": "SchemaType0OrSchemaType1OrSchemaType10OrSchemaType11OrSchemaType12OrSchemaType13OrSchemaType14OrSchemaType15OrSchemaType16OrSchemaType17OrSchemaType18OrSchemaType19OrSchemaType2OrSchemaType20OrSchemaType21OrSchemaType22OrSchemaType23OrSchemaType24OrSchemaType25OrSchemaType26OrSchemaType27OrSchemaType28OrSchemaType29OrSchemaType3OrSchemaType30OrSchemaType31OrSchemaType32OrSchemaType33OrSchemaType34OrSchemaType35OrSchemaType36OrSchemaType37OrSchemaType38OrSchemaType39OrSchemaType4OrSchemaType5OrSchemaType6OrSchemaType7OrSchemaType8OrSchemaType9", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SchemaType9", "originalName": "schemaType9", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -30095,29 +30095,29 @@ Object { "kind": "InputObject", "name": "SchemaType9Filter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -30125,45 +30125,45 @@ Object { "kind": "InputObject", "name": "SchemaType9Sorting", }, - Object { - "fields": Array [], + { + "fields": [], "kind": "Enum", "name": "SortOrder", - "values": Array [ - Object { + "values": [ + { "description": "Sorts on the value in ascending order.", "name": "ASC", "value": 1, }, - Object { + { "description": "Sorts on the value in descending order.", "name": "DESC", "value": 2, }, ], }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "marks", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "text", "type": "String", @@ -30173,17 +30173,17 @@ Object { "name": "Span", "originalName": "span", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -30191,23 +30191,23 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "String", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -30224,38 +30224,38 @@ Object { } `; -exports[`GraphQL - Generation 3 Union cache: sanitySchema: testStudioSchema Should be able to generate graphql schema, withUnionCache: false 1`] = ` -Object { +exports[`GraphQL - Generation 3 > Union cache: sanitySchema: 'testStudioSchema' > Should be able to generate graphql schema, withUnionCache: %p false 1`] = ` +{ "generation": "gen3", - "interfaces": Array [ - Object { + "interfaces": [ + { "description": "A Sanity document", - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, @@ -30266,21 +30266,21 @@ Object { "name": "Document", }, ], - "queries": Array [ - Object { - "args": Array [ - Object { + "queries": [ + { + "args": [ + { "description": "Author document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -30289,20 +30289,20 @@ Object { "fieldName": "Author", "type": "Author", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Document document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -30311,20 +30311,20 @@ Object { "fieldName": "Document", "type": "Document", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentActionsTest document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -30334,20 +30334,20 @@ Object { "fieldName": "DocumentActionsTest", "type": "DocumentActionsTest", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentWithCdrField document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -30356,20 +30356,20 @@ Object { "fieldName": "DocumentWithCdrField", "type": "DocumentWithCdrField", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Poppers document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -30378,20 +30378,20 @@ Object { "fieldName": "Poppers", "type": "Poppers", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityFileAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -30400,20 +30400,20 @@ Object { "fieldName": "SanityFileAsset", "type": "SanityFileAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityImageAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -30422,24 +30422,24 @@ Object { "fieldName": "SanityImageAsset", "type": "SanityImageAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "AuthorSorting", }, @@ -30447,16 +30447,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "AuthorFilter", }, ], "fieldName": "allAuthor", - "filter": "_type == \\"author\\"", - "type": Object { - "children": Object { + "filter": "_type == "author"", + "type": { + "children": { "isNullable": false, "type": "Author", }, @@ -30464,24 +30464,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentSorting", }, @@ -30489,16 +30489,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentFilter", }, ], "fieldName": "allDocument", - "filter": "_type in [\\"sanity.imageAsset\\", \\"sanity.fileAsset\\", \\"documentActionsTest\\", \\"poppers\\", \\"author\\", \\"documentWithCdrField\\"]", - "type": Object { - "children": Object { + "filter": "_type in ["sanity.imageAsset", "sanity.fileAsset", "documentActionsTest", "poppers", "author", "documentWithCdrField"]", + "type": { + "children": { "isNullable": false, "type": "Document", }, @@ -30506,24 +30506,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTestSorting", }, @@ -30531,7 +30531,7 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentActionsTestFilter", @@ -30539,9 +30539,9 @@ Object { ], "deprecationReason": "Entire \`Document actions\` document type deprecated", "fieldName": "allDocumentActionsTest", - "filter": "_type == \\"documentActionsTest\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentActionsTest"", + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTest", }, @@ -30549,24 +30549,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrFieldSorting", }, @@ -30574,16 +30574,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentWithCdrFieldFilter", }, ], "fieldName": "allDocumentWithCdrField", - "filter": "_type == \\"documentWithCdrField\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentWithCdrField"", + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrField", }, @@ -30591,24 +30591,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "PoppersSorting", }, @@ -30616,16 +30616,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "PoppersFilter", }, ], "fieldName": "allPoppers", - "filter": "_type == \\"poppers\\"", - "type": Object { - "children": Object { + "filter": "_type == "poppers"", + "type": { + "children": { "isNullable": false, "type": "Poppers", }, @@ -30633,24 +30633,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityFileAssetSorting", }, @@ -30658,16 +30658,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityFileAssetFilter", }, ], "fieldName": "allSanityFileAsset", - "filter": "_type == \\"sanity.fileAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.fileAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityFileAsset", }, @@ -30675,24 +30675,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityImageAssetSorting", }, @@ -30700,16 +30700,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityImageAssetFilter", }, ], "fieldName": "allSanityImageAsset", - "filter": "_type == \\"sanity.imageAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.imageAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityImageAsset", }, @@ -30718,65 +30718,65 @@ Object { }, }, ], - "types": Array [ - Object { + "types": [ + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "awards", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "bestFriend", "isReference": true, "type": "Author", }, - Object { + { "fieldName": "image", "type": "Image", }, - Object { - "children": Object { + { + "children": { "type": "Block", }, "description": undefined, @@ -30786,79 +30786,79 @@ Object { "originalName": "minimalBlock", "type": "JSON", }, - Object { + { "description": undefined, "fieldName": "name", "type": "String", }, - Object { + { "description": undefined, "fieldName": "role", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Author", "originalName": "author", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "bestFriend", "isReference": true, "type": "AuthorFilter", }, - Object { + { "fieldName": "image", "isReference": undefined, "type": "ImageFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "role", "isReference": undefined, "type": "StringFilter", @@ -30867,41 +30867,41 @@ Object { "kind": "InputObject", "name": "AuthorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "image", "type": "ImageSorting", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "role", "type": "SortOrder", }, @@ -30909,38 +30909,38 @@ Object { "kind": "InputObject", "name": "AuthorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Span", }, "description": undefined, "fieldName": "children", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "level", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "listItem", "type": "String", }, - Object { + { "description": undefined, "fieldName": "style", "type": "String", @@ -30950,21 +30950,21 @@ Object { "name": "Block", "originalName": "block", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Boolean", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Boolean", @@ -30974,41 +30974,41 @@ Object { "kind": "InputObject", "name": "BooleanFilter", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -31018,36 +31018,36 @@ Object { "name": "CdrPersonReference", "originalName": "cdrPersonReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -31056,29 +31056,29 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -31086,38 +31086,38 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "code", "type": "Text", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Float", }, "description": undefined, "fieldName": "highlightedLines", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "language", "type": "String", @@ -31127,31 +31127,31 @@ Object { "name": "Code", "originalName": "code", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "code", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "language", "isReference": undefined, "type": "StringFilter", @@ -31160,25 +31160,25 @@ Object { "kind": "InputObject", "name": "CodeFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "code", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "language", "type": "SortOrder", }, @@ -31186,38 +31186,38 @@ Object { "kind": "InputObject", "name": "CodeSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alpha", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "hex", "type": "String", }, - Object { + { "fieldName": "hsl", "type": "HslaColor", }, - Object { + { "fieldName": "hsv", "type": "HsvaColor", }, - Object { + { "fieldName": "rgb", "type": "RgbaColor", }, @@ -31226,41 +31226,41 @@ Object { "name": "Color", "originalName": "color", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alpha", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "hex", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "hsl", "isReference": undefined, "type": "HslaColorFilter", }, - Object { + { "fieldName": "hsv", "isReference": undefined, "type": "HsvaColorFilter", }, - Object { + { "fieldName": "rgb", "isReference": undefined, "type": "RgbaColorFilter", @@ -31269,33 +31269,33 @@ Object { "kind": "InputObject", "name": "ColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alpha", "type": "SortOrder", }, - Object { + { "fieldName": "hex", "type": "SortOrder", }, - Object { + { "fieldName": "hsl", "type": "HslaColorSorting", }, - Object { + { "fieldName": "hsv", "type": "HsvaColorSorting", }, - Object { + { "fieldName": "rgb", "type": "RgbaColorSorting", }, @@ -31303,35 +31303,35 @@ Object { "kind": "InputObject", "name": "ColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -31341,36 +31341,36 @@ Object { "name": "CrossDatasetReference", "originalName": "crossDatasetReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -31379,29 +31379,29 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -31409,39 +31409,39 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Date", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Date", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Date", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Date", @@ -31451,39 +31451,39 @@ Object { "kind": "InputObject", "name": "DateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Datetime", @@ -31493,34 +31493,34 @@ Object { "kind": "InputObject", "name": "DatetimeFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "excerpt", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "name", @@ -31531,33 +31531,33 @@ Object { "name": "DeprecatedObject", "originalName": "deprecatedObject", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "This object type has been deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "excerpt", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", @@ -31566,25 +31566,25 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "excerpt", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, @@ -31592,106 +31592,106 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentActionsTest", "originalName": "documentActionsTest", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "Entire \`Document actions\` document type deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -31700,33 +31700,33 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -31734,34 +31734,34 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -31770,25 +31770,25 @@ Object { "kind": "InputObject", "name": "DocumentFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -31796,48 +31796,48 @@ Object { "kind": "InputObject", "name": "DocumentSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", "place", ], @@ -31845,10 +31845,10 @@ Object { "fieldName": "cdrFieldInline", "type": "CrossDatasetReference", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, @@ -31856,58 +31856,58 @@ Object { "type": "CdrPersonReference", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentWithCdrField", "originalName": "documentWithCdrField", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "cdrFieldInline", "isReference": undefined, "type": "CrossDatasetReferenceFilter", }, - Object { + { "fieldName": "cdrFieldNamed", "isReference": undefined, "type": "CdrPersonReferenceFilter", @@ -31916,37 +31916,37 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "cdrFieldInline", "type": "CrossDatasetReferenceSorting", }, - Object { + { "fieldName": "cdrFieldNamed", "type": "CdrPersonReferenceSorting", }, @@ -31954,20 +31954,20 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -31978,21 +31978,21 @@ Object { "name": "File", "originalName": "file", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityFileAssetFilter", @@ -32001,13 +32001,13 @@ Object { "kind": "InputObject", "name": "FileFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -32015,39 +32015,39 @@ Object { "kind": "InputObject", "name": "FileSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Float", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Float", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Float", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Float", @@ -32057,30 +32057,30 @@ Object { "kind": "InputObject", "name": "FloatFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alt", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lat", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lng", "type": "Float", @@ -32090,31 +32090,31 @@ Object { "name": "Geopoint", "originalName": "geopoint", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alt", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lat", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lng", "isReference": undefined, "type": "FloatFilter", @@ -32123,25 +32123,25 @@ Object { "kind": "InputObject", "name": "GeopointFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alt", "type": "SortOrder", }, - Object { + { "fieldName": "lat", "type": "SortOrder", }, - Object { + { "fieldName": "lng", "type": "SortOrder", }, @@ -32149,35 +32149,35 @@ Object { "kind": "InputObject", "name": "GeopointSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "l", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", @@ -32187,36 +32187,36 @@ Object { "name": "HslaColor", "originalName": "hslaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "l", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", @@ -32225,29 +32225,29 @@ Object { "kind": "InputObject", "name": "HslaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "l", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, @@ -32255,35 +32255,35 @@ Object { "kind": "InputObject", "name": "HslaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "v", "type": "Float", @@ -32293,36 +32293,36 @@ Object { "name": "HsvaColor", "originalName": "hsvaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "v", "isReference": undefined, "type": "FloatFilter", @@ -32331,29 +32331,29 @@ Object { "kind": "InputObject", "name": "HsvaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, - Object { + { "fieldName": "v", "type": "SortOrder", }, @@ -32361,15 +32361,15 @@ Object { "kind": "InputObject", "name": "HsvaColorSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -32377,18 +32377,18 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "ID", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -32401,30 +32401,30 @@ Object { "kind": "InputObject", "name": "IDFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, "type": "SanityImageAsset", }, - Object { + { "fieldName": "crop", "type": "SanityImageCrop", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspot", }, @@ -32433,31 +32433,31 @@ Object { "name": "Image", "originalName": "image", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityImageAssetFilter", }, - Object { + { "fieldName": "crop", "isReference": undefined, "type": "SanityImageCropFilter", }, - Object { + { "fieldName": "hotspot", "isReference": undefined, "type": "SanityImageHotspotFilter", @@ -32466,21 +32466,21 @@ Object { "kind": "InputObject", "name": "ImageFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "crop", "type": "SanityImageCropSorting", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspotSorting", }, @@ -32488,39 +32488,39 @@ Object { "kind": "InputObject", "name": "ImageSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Int", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Int", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Int", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Int", @@ -32530,20 +32530,20 @@ Object { "kind": "InputObject", "name": "IntFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -32554,42 +32554,42 @@ Object { "name": "MuxVideo", "originalName": "mux.video", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "playbackId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "status", "type": "String", }, - Object { + { "description": undefined, "fieldName": "thumbTime", "type": "Float", @@ -32599,41 +32599,41 @@ Object { "name": "MuxVideoAsset", "originalName": "mux.videoAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "playbackId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "status", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "thumbTime", "isReference": undefined, "type": "FloatFilter", @@ -32642,33 +32642,33 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "playbackId", "type": "SortOrder", }, - Object { + { "fieldName": "status", "type": "SortOrder", }, - Object { + { "fieldName": "thumbTime", "type": "SortOrder", }, @@ -32676,19 +32676,19 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "MuxVideoAssetFilter", @@ -32697,13 +32697,13 @@ Object { "kind": "InputObject", "name": "MuxVideoFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -32711,145 +32711,145 @@ Object { "kind": "InputObject", "name": "MuxVideoSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo1", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo11", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo13", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo15", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo17", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo19", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo3", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo5", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo7", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo9", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "fieldNo0", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo10", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo12", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo14", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo16", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo18", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo2", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo4", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo6", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo8", "type": "String", @@ -32859,66 +32859,66 @@ Object { "name": "ObjectWithNestedArray", "originalName": "objectWithNestedArray", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo0", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo10", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo12", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo14", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo16", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo18", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo2", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo4", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo6", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo8", "isReference": undefined, "type": "StringFilter", @@ -32927,53 +32927,53 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArrayFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo0", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo10", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo12", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo14", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo16", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo18", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo2", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo4", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo6", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo8", "type": "SortOrder", }, @@ -32981,35 +32981,35 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArraySorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "calculated", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "nominal", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "optimistic", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "pessimistic", "type": "Float", @@ -33019,36 +33019,36 @@ Object { "name": "PertEstimate", "originalName": "pertEstimate", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "calculated", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "nominal", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "optimistic", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "pessimistic", "isReference": undefined, "type": "FloatFilter", @@ -33057,29 +33057,29 @@ Object { "kind": "InputObject", "name": "PertEstimateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "calculated", "type": "SortOrder", }, - Object { + { "fieldName": "nominal", "type": "SortOrder", }, - Object { + { "fieldName": "optimistic", "type": "SortOrder", }, - Object { + { "fieldName": "pessimistic", "type": "SortOrder", }, @@ -33087,126 +33087,126 @@ Object { "kind": "InputObject", "name": "PertEstimateSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "primitives", "kind": "List", }, - Object { + { "deprecationReason": "This object type has been deprecated", "fieldName": "someObject", "type": "DeprecatedObject", }, - Object { + { "deprecationReason": "This string type has been deprecated", "description": undefined, "fieldName": "someString", "type": "String", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Poppers", "originalName": "poppers", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "someObject", "isReference": undefined, "type": "DeprecatedObjectFilter", }, - Object { + { "fieldName": "someString", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -33215,41 +33215,41 @@ Object { "kind": "InputObject", "name": "PoppersFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "someObject", "type": "DeprecatedObjectSorting", }, - Object { + { "fieldName": "someString", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -33257,35 +33257,35 @@ Object { "kind": "InputObject", "name": "PoppersSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "b", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "g", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "r", "type": "Float", @@ -33295,36 +33295,36 @@ Object { "name": "RgbaColor", "originalName": "rgbaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "b", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "g", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "r", "isReference": undefined, "type": "FloatFilter", @@ -33333,29 +33333,29 @@ Object { "kind": "InputObject", "name": "RgbaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "b", "type": "SortOrder", }, - Object { + { "fieldName": "g", "type": "SortOrder", }, - Object { + { "fieldName": "r", "type": "SortOrder", }, @@ -33363,31 +33363,31 @@ Object { "kind": "InputObject", "name": "RgbaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": "The unique ID for the asset within the originating source so you can programatically find back to it", "fieldName": "id", "type": "String", }, - Object { + { "deprecationReason": "This field is no longer used", "description": "A canonical name for the source this asset is originating from", "fieldName": "name", "type": "String", }, - Object { + { "description": "A URL to find more information about this asset in the originating source", "fieldName": "url", "type": "String", @@ -33397,31 +33397,31 @@ Object { "name": "SanityAssetSourceData", "originalName": "sanity.assetSourceData", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "id", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -33430,25 +33430,25 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "id", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -33456,216 +33456,216 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityFileAsset", "originalName": "sanity.fileAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -33674,81 +33674,81 @@ Object { "kind": "InputObject", "name": "SanityFileAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -33756,235 +33756,235 @@ Object { "kind": "InputObject", "name": "SanityFileAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadata", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "uploadId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityImageAsset", "originalName": "sanity.imageAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "metadata", "isReference": undefined, "type": "SanityImageMetadataFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "uploadId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -33993,89 +33993,89 @@ Object { "kind": "InputObject", "name": "SanityImageAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadataSorting", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "uploadId", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -34083,35 +34083,35 @@ Object { "kind": "InputObject", "name": "SanityImageAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "bottom", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "left", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "right", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "top", "type": "Float", @@ -34121,36 +34121,36 @@ Object { "name": "SanityImageCrop", "originalName": "sanity.imageCrop", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "bottom", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "left", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "right", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "top", "isReference": undefined, "type": "FloatFilter", @@ -34159,29 +34159,29 @@ Object { "kind": "InputObject", "name": "SanityImageCropFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "bottom", "type": "SortOrder", }, - Object { + { "fieldName": "left", "type": "SortOrder", }, - Object { + { "fieldName": "right", "type": "SortOrder", }, - Object { + { "fieldName": "top", "type": "SortOrder", }, @@ -34189,30 +34189,30 @@ Object { "kind": "InputObject", "name": "SanityImageCropSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "aspectRatio", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", @@ -34222,31 +34222,31 @@ Object { "name": "SanityImageDimensions", "originalName": "sanity.imageDimensions", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "aspectRatio", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", @@ -34255,25 +34255,25 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "aspectRatio", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, @@ -34281,35 +34281,35 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "x", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "y", "type": "Float", @@ -34319,36 +34319,36 @@ Object { "name": "SanityImageHotspot", "originalName": "sanity.imageHotspot", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "x", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "y", "isReference": undefined, "type": "FloatFilter", @@ -34357,29 +34357,29 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, - Object { + { "fieldName": "x", "type": "SortOrder", }, - Object { + { "fieldName": "y", "type": "SortOrder", }, @@ -34387,48 +34387,48 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "blurHash", "type": "String", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensions", }, - Object { + { "description": undefined, "fieldName": "hasAlpha", "type": "Boolean", }, - Object { + { "description": undefined, "fieldName": "isOpaque", "type": "Boolean", }, - Object { + { "fieldName": "location", "type": "Geopoint", }, - Object { + { "description": undefined, "fieldName": "lqip", "type": "String", }, - Object { + { "fieldName": "palette", "type": "SanityImagePalette", }, @@ -34437,51 +34437,51 @@ Object { "name": "SanityImageMetadata", "originalName": "sanity.imageMetadata", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "blurHash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "dimensions", "isReference": undefined, "type": "SanityImageDimensionsFilter", }, - Object { + { "fieldName": "hasAlpha", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "isOpaque", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "location", "isReference": undefined, "type": "GeopointFilter", }, - Object { + { "fieldName": "lqip", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "palette", "isReference": undefined, "type": "SanityImagePaletteFilter", @@ -34490,41 +34490,41 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "blurHash", "type": "SortOrder", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensionsSorting", }, - Object { + { "fieldName": "hasAlpha", "type": "SortOrder", }, - Object { + { "fieldName": "isOpaque", "type": "SortOrder", }, - Object { + { "fieldName": "location", "type": "GeopointSorting", }, - Object { + { "fieldName": "lqip", "type": "SortOrder", }, - Object { + { "fieldName": "palette", "type": "SanityImagePaletteSorting", }, @@ -34532,44 +34532,44 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatch", }, @@ -34578,51 +34578,51 @@ Object { "name": "SanityImagePalette", "originalName": "sanity.imagePalette", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "darkMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "darkVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "dominant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "muted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "vibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", @@ -34631,41 +34631,41 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatchSorting", }, @@ -34673,35 +34673,35 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "background", "type": "String", }, - Object { + { "description": undefined, "fieldName": "foreground", "type": "String", }, - Object { + { "description": undefined, "fieldName": "population", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", @@ -34711,36 +34711,36 @@ Object { "name": "SanityImagePaletteSwatch", "originalName": "sanity.imagePaletteSwatch", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "background", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "foreground", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "population", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -34749,29 +34749,29 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "background", "type": "SortOrder", }, - Object { + { "fieldName": "foreground", "type": "SortOrder", }, - Object { + { "fieldName": "population", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -34779,14 +34779,14 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "All documents that are drafts.", "fieldName": "is_draft", "type": "Boolean", }, - Object { + { "description": "All documents referencing the given document ID.", "fieldName": "references", "type": "ID", @@ -34796,20 +34796,20 @@ Object { "kind": "InputObject", "name": "Sanity_DocumentFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "current", "type": "String", @@ -34819,21 +34819,21 @@ Object { "name": "Slug", "originalName": "slug", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "current", "isReference": undefined, "type": "StringFilter", @@ -34842,17 +34842,17 @@ Object { "kind": "InputObject", "name": "SlugFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "current", "type": "SortOrder", }, @@ -34860,45 +34860,45 @@ Object { "kind": "InputObject", "name": "SlugSorting", }, - Object { - "fields": Array [], + { + "fields": [], "kind": "Enum", "name": "SortOrder", - "values": Array [ - Object { + "values": [ + { "description": "Sorts on the value in ascending order.", "name": "ASC", "value": 1, }, - Object { + { "description": "Sorts on the value in descending order.", "name": "DESC", "value": 2, }, ], }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "marks", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "text", "type": "String", @@ -34908,17 +34908,17 @@ Object { "name": "Span", "originalName": "span", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -34926,23 +34926,23 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "String", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -34959,38 +34959,38 @@ Object { } `; -exports[`GraphQL - Generation 3 Union cache: sanitySchema: testStudioSchema Should be able to generate graphql schema, withUnionCache: true 1`] = ` -Object { +exports[`GraphQL - Generation 3 > Union cache: sanitySchema: 'testStudioSchema' > Should be able to generate graphql schema, withUnionCache: %p true 1`] = ` +{ "generation": "gen3", - "interfaces": Array [ - Object { + "interfaces": [ + { "description": "A Sanity document", - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, @@ -35001,21 +35001,21 @@ Object { "name": "Document", }, ], - "queries": Array [ - Object { - "args": Array [ - Object { + "queries": [ + { + "args": [ + { "description": "Author document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -35024,20 +35024,20 @@ Object { "fieldName": "Author", "type": "Author", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Document document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -35046,20 +35046,20 @@ Object { "fieldName": "Document", "type": "Document", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentActionsTest document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -35069,20 +35069,20 @@ Object { "fieldName": "DocumentActionsTest", "type": "DocumentActionsTest", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "DocumentWithCdrField document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -35091,20 +35091,20 @@ Object { "fieldName": "DocumentWithCdrField", "type": "DocumentWithCdrField", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Poppers document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -35113,20 +35113,20 @@ Object { "fieldName": "Poppers", "type": "Poppers", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityFileAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -35135,20 +35135,20 @@ Object { "fieldName": "SanityFileAsset", "type": "SanityFileAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "SanityImageAsset document ID", "isNullable": false, "name": "id", "type": "ID", }, ], - "constraints": Array [ - Object { + "constraints": [ + { "comparator": "eq", "field": "_id", - "value": Object { + "value": { "argName": "id", "kind": "argumentValue", }, @@ -35157,24 +35157,24 @@ Object { "fieldName": "SanityImageAsset", "type": "SanityImageAsset", }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "AuthorSorting", }, @@ -35182,16 +35182,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "AuthorFilter", }, ], "fieldName": "allAuthor", - "filter": "_type == \\"author\\"", - "type": Object { - "children": Object { + "filter": "_type == "author"", + "type": { + "children": { "isNullable": false, "type": "Author", }, @@ -35199,24 +35199,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentSorting", }, @@ -35224,16 +35224,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentFilter", }, ], "fieldName": "allDocument", - "filter": "_type in [\\"sanity.imageAsset\\", \\"sanity.fileAsset\\", \\"documentActionsTest\\", \\"poppers\\", \\"author\\", \\"documentWithCdrField\\"]", - "type": Object { - "children": Object { + "filter": "_type in ["sanity.imageAsset", "sanity.fileAsset", "documentActionsTest", "poppers", "author", "documentWithCdrField"]", + "type": { + "children": { "isNullable": false, "type": "Document", }, @@ -35241,24 +35241,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTestSorting", }, @@ -35266,7 +35266,7 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentActionsTestFilter", @@ -35274,9 +35274,9 @@ Object { ], "deprecationReason": "Entire \`Document actions\` document type deprecated", "fieldName": "allDocumentActionsTest", - "filter": "_type == \\"documentActionsTest\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentActionsTest"", + "type": { + "children": { "isNullable": false, "type": "DocumentActionsTest", }, @@ -35284,24 +35284,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrFieldSorting", }, @@ -35309,16 +35309,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "DocumentWithCdrFieldFilter", }, ], "fieldName": "allDocumentWithCdrField", - "filter": "_type == \\"documentWithCdrField\\"", - "type": Object { - "children": Object { + "filter": "_type == "documentWithCdrField"", + "type": { + "children": { "isNullable": false, "type": "DocumentWithCdrField", }, @@ -35326,24 +35326,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "PoppersSorting", }, @@ -35351,16 +35351,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "PoppersFilter", }, ], "fieldName": "allPoppers", - "filter": "_type == \\"poppers\\"", - "type": Object { - "children": Object { + "filter": "_type == "poppers"", + "type": { + "children": { "isNullable": false, "type": "Poppers", }, @@ -35368,24 +35368,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityFileAssetSorting", }, @@ -35393,16 +35393,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityFileAssetFilter", }, ], "fieldName": "allSanityFileAsset", - "filter": "_type == \\"sanity.fileAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.fileAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityFileAsset", }, @@ -35410,24 +35410,24 @@ Object { "kind": "List", }, }, - Object { - "args": Array [ - Object { + { + "args": [ + { "description": "Max documents to return", "isFieldFilter": false, "name": "limit", "type": "Int", }, - Object { + { "description": "Offset at which to start returning documents from", "isFieldFilter": false, "name": "offset", "type": "Int", }, - Object { + { "name": "sort", - "type": Object { - "children": Object { + "type": { + "children": { "isNullable": false, "type": "SanityImageAssetSorting", }, @@ -35435,16 +35435,16 @@ Object { "kind": "List", }, }, - Object { + { "isFieldFilter": true, "name": "where", "type": "SanityImageAssetFilter", }, ], "fieldName": "allSanityImageAsset", - "filter": "_type == \\"sanity.imageAsset\\"", - "type": Object { - "children": Object { + "filter": "_type == "sanity.imageAsset"", + "type": { + "children": { "isNullable": false, "type": "SanityImageAsset", }, @@ -35453,65 +35453,65 @@ Object { }, }, ], - "types": Array [ - Object { + "types": [ + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "awards", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "bestFriend", "isReference": true, "type": "Author", }, - Object { + { "fieldName": "image", "type": "Image", }, - Object { - "children": Object { + { + "children": { "type": "Block", }, "description": undefined, @@ -35521,79 +35521,79 @@ Object { "originalName": "minimalBlock", "type": "JSON", }, - Object { + { "description": undefined, "fieldName": "name", "type": "String", }, - Object { + { "description": undefined, "fieldName": "role", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Author", "originalName": "author", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "bestFriend", "isReference": true, "type": "AuthorFilter", }, - Object { + { "fieldName": "image", "isReference": undefined, "type": "ImageFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "role", "isReference": undefined, "type": "StringFilter", @@ -35602,41 +35602,41 @@ Object { "kind": "InputObject", "name": "AuthorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "image", "type": "ImageSorting", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "role", "type": "SortOrder", }, @@ -35644,38 +35644,38 @@ Object { "kind": "InputObject", "name": "AuthorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Span", }, "description": undefined, "fieldName": "children", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "level", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "listItem", "type": "String", }, - Object { + { "description": undefined, "fieldName": "style", "type": "String", @@ -35685,21 +35685,21 @@ Object { "name": "Block", "originalName": "block", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Boolean", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Boolean", @@ -35709,41 +35709,41 @@ Object { "kind": "InputObject", "name": "BooleanFilter", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -35753,36 +35753,36 @@ Object { "name": "CdrPersonReference", "originalName": "cdrPersonReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -35791,29 +35791,29 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -35821,38 +35821,38 @@ Object { "kind": "InputObject", "name": "CdrPersonReferenceSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "code", "type": "Text", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "Float", }, "description": undefined, "fieldName": "highlightedLines", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "language", "type": "String", @@ -35862,31 +35862,31 @@ Object { "name": "Code", "originalName": "code", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "code", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "language", "isReference": undefined, "type": "StringFilter", @@ -35895,25 +35895,25 @@ Object { "kind": "InputObject", "name": "CodeFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "code", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "language", "type": "SortOrder", }, @@ -35921,38 +35921,38 @@ Object { "kind": "InputObject", "name": "CodeSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alpha", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "hex", "type": "String", }, - Object { + { "fieldName": "hsl", "type": "HslaColor", }, - Object { + { "fieldName": "hsv", "type": "HsvaColor", }, - Object { + { "fieldName": "rgb", "type": "RgbaColor", }, @@ -35961,41 +35961,41 @@ Object { "name": "Color", "originalName": "color", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alpha", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "hex", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "hsl", "isReference": undefined, "type": "HslaColorFilter", }, - Object { + { "fieldName": "hsv", "isReference": undefined, "type": "HsvaColorFilter", }, - Object { + { "fieldName": "rgb", "isReference": undefined, "type": "RgbaColorFilter", @@ -36004,33 +36004,33 @@ Object { "kind": "InputObject", "name": "ColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alpha", "type": "SortOrder", }, - Object { + { "fieldName": "hex", "type": "SortOrder", }, - Object { + { "fieldName": "hsl", "type": "HslaColorSorting", }, - Object { + { "fieldName": "hsv", "type": "HsvaColorSorting", }, - Object { + { "fieldName": "rgb", "type": "RgbaColorSorting", }, @@ -36038,35 +36038,35 @@ Object { "kind": "InputObject", "name": "ColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_dataset", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_projectId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_ref", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_weak", "type": "Boolean", @@ -36076,36 +36076,36 @@ Object { "name": "CrossDatasetReference", "originalName": "crossDatasetReference", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_projectId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_ref", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_weak", "isReference": undefined, "type": "BooleanFilter", @@ -36114,29 +36114,29 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_dataset", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_projectId", "type": "SortOrder", }, - Object { + { "fieldName": "_ref", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_weak", "type": "SortOrder", }, @@ -36144,39 +36144,39 @@ Object { "kind": "InputObject", "name": "CrossDatasetReferenceSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Date", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Date", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Date", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Date", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Date", @@ -36186,39 +36186,39 @@ Object { "kind": "InputObject", "name": "DateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Datetime", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Datetime", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Datetime", @@ -36228,34 +36228,34 @@ Object { "kind": "InputObject", "name": "DatetimeFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "excerpt", "type": "String", }, - Object { + { "deprecationReason": "This object type has been deprecated", "description": undefined, "fieldName": "name", @@ -36266,33 +36266,33 @@ Object { "name": "DeprecatedObject", "originalName": "deprecatedObject", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "This object type has been deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "excerpt", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", @@ -36301,25 +36301,25 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "excerpt", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, @@ -36327,106 +36327,106 @@ Object { "kind": "InputObject", "name": "DeprecatedObjectSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "deprecationReason": "Entire \`Document actions\` document type deprecated", "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentActionsTest", "originalName": "documentActionsTest", "type": "Object", - Symbol(internal): Object { + Symbol(internal): { "deprecationReason": "Entire \`Document actions\` document type deprecated", }, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -36435,33 +36435,33 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -36469,34 +36469,34 @@ Object { "kind": "InputObject", "name": "DocumentActionsTestSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", @@ -36505,25 +36505,25 @@ Object { "kind": "InputObject", "name": "DocumentFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, @@ -36531,48 +36531,48 @@ Object { "kind": "InputObject", "name": "DocumentSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", "place", ], @@ -36580,10 +36580,10 @@ Object { "fieldName": "cdrFieldInline", "type": "CrossDatasetReference", }, - Object { - "crossDatasetReferenceMetadata": Object { + { + "crossDatasetReferenceMetadata": { "dataset": "production", - "typeNames": Array [ + "typeNames": [ "person", ], }, @@ -36591,58 +36591,58 @@ Object { "type": "CdrPersonReference", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "DocumentWithCdrField", "originalName": "documentWithCdrField", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "cdrFieldInline", "isReference": undefined, "type": "CrossDatasetReferenceFilter", }, - Object { + { "fieldName": "cdrFieldNamed", "isReference": undefined, "type": "CdrPersonReferenceFilter", @@ -36651,37 +36651,37 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "cdrFieldInline", "type": "CrossDatasetReferenceSorting", }, - Object { + { "fieldName": "cdrFieldNamed", "type": "CdrPersonReferenceSorting", }, @@ -36689,20 +36689,20 @@ Object { "kind": "InputObject", "name": "DocumentWithCdrFieldSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -36713,21 +36713,21 @@ Object { "name": "File", "originalName": "file", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityFileAssetFilter", @@ -36736,13 +36736,13 @@ Object { "kind": "InputObject", "name": "FileFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -36750,39 +36750,39 @@ Object { "kind": "InputObject", "name": "FileSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Float", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Float", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Float", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Float", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Float", @@ -36792,30 +36792,30 @@ Object { "kind": "InputObject", "name": "FloatFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "alt", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lat", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "lng", "type": "Float", @@ -36825,31 +36825,31 @@ Object { "name": "Geopoint", "originalName": "geopoint", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "alt", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lat", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "lng", "isReference": undefined, "type": "FloatFilter", @@ -36858,25 +36858,25 @@ Object { "kind": "InputObject", "name": "GeopointFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "alt", "type": "SortOrder", }, - Object { + { "fieldName": "lat", "type": "SortOrder", }, - Object { + { "fieldName": "lng", "type": "SortOrder", }, @@ -36884,35 +36884,35 @@ Object { "kind": "InputObject", "name": "GeopointSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "l", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", @@ -36922,36 +36922,36 @@ Object { "name": "HslaColor", "originalName": "hslaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "l", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", @@ -36960,29 +36960,29 @@ Object { "kind": "InputObject", "name": "HslaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "l", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, @@ -36990,35 +36990,35 @@ Object { "kind": "InputObject", "name": "HslaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "h", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "s", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "v", "type": "Float", @@ -37028,36 +37028,36 @@ Object { "name": "HsvaColor", "originalName": "hsvaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "h", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "s", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "v", "isReference": undefined, "type": "FloatFilter", @@ -37066,29 +37066,29 @@ Object { "kind": "InputObject", "name": "HsvaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "h", "type": "SortOrder", }, - Object { + { "fieldName": "s", "type": "SortOrder", }, - Object { + { "fieldName": "v", "type": "SortOrder", }, @@ -37096,15 +37096,15 @@ Object { "kind": "InputObject", "name": "HsvaColorSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -37112,18 +37112,18 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "ID", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "ID", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "ID", }, @@ -37136,30 +37136,30 @@ Object { "kind": "InputObject", "name": "IDFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, "type": "SanityImageAsset", }, - Object { + { "fieldName": "crop", "type": "SanityImageCrop", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspot", }, @@ -37168,31 +37168,31 @@ Object { "name": "Image", "originalName": "image", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "SanityImageAssetFilter", }, - Object { + { "fieldName": "crop", "isReference": undefined, "type": "SanityImageCropFilter", }, - Object { + { "fieldName": "hotspot", "isReference": undefined, "type": "SanityImageHotspotFilter", @@ -37201,21 +37201,21 @@ Object { "kind": "InputObject", "name": "ImageFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "crop", "type": "SanityImageCropSorting", }, - Object { + { "fieldName": "hotspot", "type": "SanityImageHotspotSorting", }, @@ -37223,39 +37223,39 @@ Object { "kind": "InputObject", "name": "ImageSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than the given input.", "fieldName": "gt", "type": "Int", }, - Object { + { "description": "Checks if the value is greater than or equal to the given input.", "fieldName": "gte", "type": "Int", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value is lesser than the given input.", "fieldName": "lt", "type": "Int", }, - Object { + { "description": "Checks if the value is lesser than or equal to the given input.", "fieldName": "lte", "type": "Int", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "Int", @@ -37265,20 +37265,20 @@ Object { "kind": "InputObject", "name": "IntFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "asset", "isReference": true, @@ -37289,42 +37289,42 @@ Object { "name": "MuxVideo", "originalName": "mux.video", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "filename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "playbackId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "status", "type": "String", }, - Object { + { "description": undefined, "fieldName": "thumbTime", "type": "Float", @@ -37334,41 +37334,41 @@ Object { "name": "MuxVideoAsset", "originalName": "mux.videoAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "filename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "playbackId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "status", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "thumbTime", "isReference": undefined, "type": "FloatFilter", @@ -37377,33 +37377,33 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "filename", "type": "SortOrder", }, - Object { + { "fieldName": "playbackId", "type": "SortOrder", }, - Object { + { "fieldName": "status", "type": "SortOrder", }, - Object { + { "fieldName": "thumbTime", "type": "SortOrder", }, @@ -37411,19 +37411,19 @@ Object { "kind": "InputObject", "name": "MuxVideoAssetSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "asset", "isReference": true, "type": "MuxVideoAssetFilter", @@ -37432,13 +37432,13 @@ Object { "kind": "InputObject", "name": "MuxVideoFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, @@ -37446,145 +37446,145 @@ Object { "kind": "InputObject", "name": "MuxVideoSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo1", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo11", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo13", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo15", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo17", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo19", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo3", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo5", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo7", "kind": "List", }, - Object { - "children": Object { + { + "children": { "type": "ObjectWithNestedArray", }, "description": undefined, "fieldName": "arrayNo9", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "fieldNo0", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo10", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo12", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo14", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo16", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo18", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo2", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo4", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo6", "type": "String", }, - Object { + { "description": undefined, "fieldName": "fieldNo8", "type": "String", @@ -37594,66 +37594,66 @@ Object { "name": "ObjectWithNestedArray", "originalName": "objectWithNestedArray", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo0", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo10", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo12", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo14", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo16", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo18", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo2", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo4", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo6", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "fieldNo8", "isReference": undefined, "type": "StringFilter", @@ -37662,53 +37662,53 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArrayFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo0", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo10", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo12", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo14", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo16", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo18", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo2", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo4", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo6", "type": "SortOrder", }, - Object { + { "fieldName": "fieldNo8", "type": "SortOrder", }, @@ -37716,35 +37716,35 @@ Object { "kind": "InputObject", "name": "ObjectWithNestedArraySorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "calculated", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "nominal", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "optimistic", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "pessimistic", "type": "Float", @@ -37754,36 +37754,36 @@ Object { "name": "PertEstimate", "originalName": "pertEstimate", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "calculated", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "nominal", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "optimistic", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "pessimistic", "isReference": undefined, "type": "FloatFilter", @@ -37792,29 +37792,29 @@ Object { "kind": "InputObject", "name": "PertEstimateFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "calculated", "type": "SortOrder", }, - Object { + { "fieldName": "nominal", "type": "SortOrder", }, - Object { + { "fieldName": "optimistic", "type": "SortOrder", }, - Object { + { "fieldName": "pessimistic", "type": "SortOrder", }, @@ -37822,126 +37822,126 @@ Object { "kind": "InputObject", "name": "PertEstimateSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "primitives", "kind": "List", }, - Object { + { "deprecationReason": "This object type has been deprecated", "fieldName": "someObject", "type": "DeprecatedObject", }, - Object { + { "deprecationReason": "This string type has been deprecated", "description": undefined, "fieldName": "someString", "type": "String", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "Poppers", "originalName": "poppers", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "someObject", "isReference": undefined, "type": "DeprecatedObjectFilter", }, - Object { + { "fieldName": "someString", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -37950,41 +37950,41 @@ Object { "kind": "InputObject", "name": "PoppersFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "someObject", "type": "DeprecatedObjectSorting", }, - Object { + { "fieldName": "someString", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -37992,35 +37992,35 @@ Object { "kind": "InputObject", "name": "PoppersSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "a", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "b", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "g", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "r", "type": "Float", @@ -38030,36 +38030,36 @@ Object { "name": "RgbaColor", "originalName": "rgbaColor", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "a", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "b", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "g", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "r", "isReference": undefined, "type": "FloatFilter", @@ -38068,29 +38068,29 @@ Object { "kind": "InputObject", "name": "RgbaColorFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "a", "type": "SortOrder", }, - Object { + { "fieldName": "b", "type": "SortOrder", }, - Object { + { "fieldName": "g", "type": "SortOrder", }, - Object { + { "fieldName": "r", "type": "SortOrder", }, @@ -38098,31 +38098,31 @@ Object { "kind": "InputObject", "name": "RgbaColorSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": "The unique ID for the asset within the originating source so you can programatically find back to it", "fieldName": "id", "type": "String", }, - Object { + { "deprecationReason": "This field is no longer used", "description": "A canonical name for the source this asset is originating from", "fieldName": "name", "type": "String", }, - Object { + { "description": "A URL to find more information about this asset in the originating source", "fieldName": "url", "type": "String", @@ -38132,31 +38132,31 @@ Object { "name": "SanityAssetSourceData", "originalName": "sanity.assetSourceData", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "id", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "name", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -38165,25 +38165,25 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "id", "type": "SortOrder", }, - Object { + { "fieldName": "name", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -38191,216 +38191,216 @@ Object { "kind": "InputObject", "name": "SanityAssetSourceDataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityFileAsset", "originalName": "sanity.fileAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -38409,81 +38409,81 @@ Object { "kind": "InputObject", "name": "SanityFileAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -38491,235 +38491,235 @@ Object { "kind": "InputObject", "name": "SanityFileAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": "Date the document was created", "fieldName": "_createdAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": "Document ID", "fieldName": "_id", "isNullable": true, "type": "ID", }, - Object { + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": "Current document revision", "fieldName": "_rev", "isNullable": true, "type": "String", }, - Object { + { "description": "Document type", "fieldName": "_type", "isNullable": true, "type": "String", }, - Object { + { "description": "Date the document was last modified", "fieldName": "_updatedAt", "isNullable": true, "type": "Datetime", }, - Object { + { "description": undefined, "fieldName": "altText", "type": "String", }, - Object { + { "description": undefined, "fieldName": "assetId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "description", "type": "String", }, - Object { + { "description": undefined, "fieldName": "extension", "type": "String", }, - Object { + { "description": undefined, "fieldName": "label", "type": "String", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadata", }, - Object { + { "description": undefined, "fieldName": "mimeType", "type": "String", }, - Object { + { "description": undefined, "fieldName": "originalFilename", "type": "String", }, - Object { + { "description": undefined, "fieldName": "path", "type": "String", }, - Object { + { "description": undefined, "fieldName": "sha1hash", "type": "String", }, - Object { + { "description": undefined, "fieldName": "size", "type": "Float", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceData", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", }, - Object { + { "description": undefined, "fieldName": "uploadId", "type": "String", }, - Object { + { "description": undefined, "fieldName": "url", "type": "String", }, ], - "interfaces": Array [ + "interfaces": [ "Document", ], "kind": "Type", "name": "SanityImageAsset", "originalName": "sanity.imageAsset", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Apply filters on document level", "fieldName": "_", "type": "Sanity_DocumentFilter", }, - Object { + { "fieldName": "_createdAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "_id", "isReference": undefined, "type": "IDFilter", }, - Object { + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_rev", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_updatedAt", "isReference": undefined, "type": "DatetimeFilter", }, - Object { + { "fieldName": "altText", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "assetId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "description", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "extension", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "label", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "metadata", "isReference": undefined, "type": "SanityImageMetadataFilter", }, - Object { + { "fieldName": "mimeType", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "originalFilename", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "path", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "sha1hash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "size", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "source", "isReference": undefined, "type": "SanityAssetSourceDataFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "uploadId", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "url", "isReference": undefined, "type": "StringFilter", @@ -38728,89 +38728,89 @@ Object { "kind": "InputObject", "name": "SanityImageAssetFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_createdAt", "type": "SortOrder", }, - Object { + { "fieldName": "_id", "type": "SortOrder", }, - Object { + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_rev", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "_updatedAt", "type": "SortOrder", }, - Object { + { "fieldName": "altText", "type": "SortOrder", }, - Object { + { "fieldName": "assetId", "type": "SortOrder", }, - Object { + { "fieldName": "description", "type": "SortOrder", }, - Object { + { "fieldName": "extension", "type": "SortOrder", }, - Object { + { "fieldName": "label", "type": "SortOrder", }, - Object { + { "fieldName": "metadata", "type": "SanityImageMetadataSorting", }, - Object { + { "fieldName": "mimeType", "type": "SortOrder", }, - Object { + { "fieldName": "originalFilename", "type": "SortOrder", }, - Object { + { "fieldName": "path", "type": "SortOrder", }, - Object { + { "fieldName": "sha1hash", "type": "SortOrder", }, - Object { + { "fieldName": "size", "type": "SortOrder", }, - Object { + { "fieldName": "source", "type": "SanityAssetSourceDataSorting", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, - Object { + { "fieldName": "uploadId", "type": "SortOrder", }, - Object { + { "fieldName": "url", "type": "SortOrder", }, @@ -38818,35 +38818,35 @@ Object { "kind": "InputObject", "name": "SanityImageAssetSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "bottom", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "left", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "right", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "top", "type": "Float", @@ -38856,36 +38856,36 @@ Object { "name": "SanityImageCrop", "originalName": "sanity.imageCrop", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "bottom", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "left", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "right", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "top", "isReference": undefined, "type": "FloatFilter", @@ -38894,29 +38894,29 @@ Object { "kind": "InputObject", "name": "SanityImageCropFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "bottom", "type": "SortOrder", }, - Object { + { "fieldName": "left", "type": "SortOrder", }, - Object { + { "fieldName": "right", "type": "SortOrder", }, - Object { + { "fieldName": "top", "type": "SortOrder", }, @@ -38924,30 +38924,30 @@ Object { "kind": "InputObject", "name": "SanityImageCropSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "aspectRatio", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", @@ -38957,31 +38957,31 @@ Object { "name": "SanityImageDimensions", "originalName": "sanity.imageDimensions", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "aspectRatio", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", @@ -38990,25 +38990,25 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "aspectRatio", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, @@ -39016,35 +39016,35 @@ Object { "kind": "InputObject", "name": "SanityImageDimensionsSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "height", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "width", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "x", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "y", "type": "Float", @@ -39054,36 +39054,36 @@ Object { "name": "SanityImageHotspot", "originalName": "sanity.imageHotspot", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "height", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "width", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "x", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "y", "isReference": undefined, "type": "FloatFilter", @@ -39092,29 +39092,29 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "height", "type": "SortOrder", }, - Object { + { "fieldName": "width", "type": "SortOrder", }, - Object { + { "fieldName": "x", "type": "SortOrder", }, - Object { + { "fieldName": "y", "type": "SortOrder", }, @@ -39122,48 +39122,48 @@ Object { "kind": "InputObject", "name": "SanityImageHotspotSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "blurHash", "type": "String", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensions", }, - Object { + { "description": undefined, "fieldName": "hasAlpha", "type": "Boolean", }, - Object { + { "description": undefined, "fieldName": "isOpaque", "type": "Boolean", }, - Object { + { "fieldName": "location", "type": "Geopoint", }, - Object { + { "description": undefined, "fieldName": "lqip", "type": "String", }, - Object { + { "fieldName": "palette", "type": "SanityImagePalette", }, @@ -39172,51 +39172,51 @@ Object { "name": "SanityImageMetadata", "originalName": "sanity.imageMetadata", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "blurHash", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "dimensions", "isReference": undefined, "type": "SanityImageDimensionsFilter", }, - Object { + { "fieldName": "hasAlpha", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "isOpaque", "isReference": undefined, "type": "BooleanFilter", }, - Object { + { "fieldName": "location", "isReference": undefined, "type": "GeopointFilter", }, - Object { + { "fieldName": "lqip", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "palette", "isReference": undefined, "type": "SanityImagePaletteFilter", @@ -39225,41 +39225,41 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "blurHash", "type": "SortOrder", }, - Object { + { "fieldName": "dimensions", "type": "SanityImageDimensionsSorting", }, - Object { + { "fieldName": "hasAlpha", "type": "SortOrder", }, - Object { + { "fieldName": "isOpaque", "type": "SortOrder", }, - Object { + { "fieldName": "location", "type": "GeopointSorting", }, - Object { + { "fieldName": "lqip", "type": "SortOrder", }, - Object { + { "fieldName": "palette", "type": "SanityImagePaletteSorting", }, @@ -39267,44 +39267,44 @@ Object { "kind": "InputObject", "name": "SanityImageMetadataSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatch", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatch", }, @@ -39313,51 +39313,51 @@ Object { "name": "SanityImagePalette", "originalName": "sanity.imagePalette", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "darkMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "darkVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "dominant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightMuted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "lightVibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "muted", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", }, - Object { + { "fieldName": "vibrant", "isReference": undefined, "type": "SanityImagePaletteSwatchFilter", @@ -39366,41 +39366,41 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "darkMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "darkVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "dominant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightMuted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "lightVibrant", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "muted", "type": "SanityImagePaletteSwatchSorting", }, - Object { + { "fieldName": "vibrant", "type": "SanityImagePaletteSwatchSorting", }, @@ -39408,35 +39408,35 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSorting", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "background", "type": "String", }, - Object { + { "description": undefined, "fieldName": "foreground", "type": "String", }, - Object { + { "description": undefined, "fieldName": "population", "type": "Float", }, - Object { + { "description": undefined, "fieldName": "title", "type": "String", @@ -39446,36 +39446,36 @@ Object { "name": "SanityImagePaletteSwatch", "originalName": "sanity.imagePaletteSwatch", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "background", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "foreground", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "population", "isReference": undefined, "type": "FloatFilter", }, - Object { + { "fieldName": "title", "isReference": undefined, "type": "StringFilter", @@ -39484,29 +39484,29 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "background", "type": "SortOrder", }, - Object { + { "fieldName": "foreground", "type": "SortOrder", }, - Object { + { "fieldName": "population", "type": "SortOrder", }, - Object { + { "fieldName": "title", "type": "SortOrder", }, @@ -39514,14 +39514,14 @@ Object { "kind": "InputObject", "name": "SanityImagePaletteSwatchSorting", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "All documents that are drafts.", "fieldName": "is_draft", "type": "Boolean", }, - Object { + { "description": "All documents referencing the given document ID.", "fieldName": "references", "type": "ID", @@ -39531,20 +39531,20 @@ Object { "kind": "InputObject", "name": "Sanity_DocumentFilter", }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { + { "description": undefined, "fieldName": "current", "type": "String", @@ -39554,21 +39554,21 @@ Object { "name": "Slug", "originalName": "slug", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "_type", "isReference": undefined, "type": "StringFilter", }, - Object { + { "fieldName": "current", "isReference": undefined, "type": "StringFilter", @@ -39577,17 +39577,17 @@ Object { "kind": "InputObject", "name": "SlugFilter", }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "fieldName": "_key", "type": "SortOrder", }, - Object { + { "fieldName": "_type", "type": "SortOrder", }, - Object { + { "fieldName": "current", "type": "SortOrder", }, @@ -39595,45 +39595,45 @@ Object { "kind": "InputObject", "name": "SlugSorting", }, - Object { - "fields": Array [], + { + "fields": [], "kind": "Enum", "name": "SortOrder", - "values": Array [ - Object { + "values": [ + { "description": "Sorts on the value in ascending order.", "name": "ASC", "value": 1, }, - Object { + { "description": "Sorts on the value in descending order.", "name": "DESC", "value": 2, }, ], }, - Object { + { "description": undefined, - "fields": Array [ - Object { + "fields": [ + { "description": undefined, "fieldName": "_key", "type": "String", }, - Object { + { "description": undefined, "fieldName": "_type", "type": "String", }, - Object { - "children": Object { + { + "children": { "type": "String", }, "description": undefined, "fieldName": "marks", "kind": "List", }, - Object { + { "description": undefined, "fieldName": "text", "type": "String", @@ -39643,17 +39643,17 @@ Object { "name": "Span", "originalName": "span", "type": "Object", - Symbol(internal): Object {}, + Symbol(internal): {}, }, - Object { - "fields": Array [ - Object { + { + "fields": [ + { "description": "Checks if the value is equal to the given input.", "fieldName": "eq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, @@ -39661,23 +39661,23 @@ Object { "fieldName": "in", "kind": "List", }, - Object { + { "description": "Checks if the value is defined.", "fieldName": "is_defined", "type": "Boolean", }, - Object { + { "description": "Checks if the value matches the given word/words.", "fieldName": "matches", "type": "String", }, - Object { + { "description": "Checks if the value is not equal to the given input.", "fieldName": "neq", "type": "String", }, - Object { - "children": Object { + { + "children": { "isNullable": false, "type": "String", }, diff --git a/packages/sanity/test/cli/graphql/extract.test.ts b/packages/sanity/test/cli/graphql/extract.test.ts index 6e9572d68d9..1e189f611cb 100644 --- a/packages/sanity/test/cli/graphql/extract.test.ts +++ b/packages/sanity/test/cli/graphql/extract.test.ts @@ -1,5 +1,5 @@ -import {afterEach, beforeEach, describe, expect, it, jest} from '@jest/globals' import {orderBy} from 'lodash' +import {afterEach, beforeEach, describe, expect, it, vi} from 'vitest' import {extractFromSanitySchema} from '../../../src/_internal/cli/actions/graphql/extractFromSanitySchema' import {type ApiSpecification} from '../../../src/_internal/cli/actions/graphql/types' @@ -7,17 +7,14 @@ import testStudioSchema from './fixtures/test-studio' describe('GraphQL - Schema extraction', () => { beforeEach(() => { - jest.useFakeTimers() - jest.resetModules() + vi.useFakeTimers() + vi.resetModules() }) afterEach(() => { - jest.runAllTimers() + vi.runAllTimers() }) - /** - * @jest-environment jsdom - */ it('Should be able to extract schema', () => { const extracted = extractFromSanitySchema(testStudioSchema, { nonNullDocumentFields: false, diff --git a/packages/sanity/test/cli/graphql/gen2.test.ts b/packages/sanity/test/cli/graphql/gen2.test.ts index 7ab26965a0f..0b8cfcb5a06 100644 --- a/packages/sanity/test/cli/graphql/gen2.test.ts +++ b/packages/sanity/test/cli/graphql/gen2.test.ts @@ -1,5 +1,5 @@ -import {afterEach, beforeEach, describe, expect, it, jest} from '@jest/globals' import {orderBy} from 'lodash' +import {afterEach, beforeEach, describe, expect, it, vi} from 'vitest' import {extractFromSanitySchema} from '../../../src/_internal/cli/actions/graphql/extractFromSanitySchema' import generateSchema from '../../../src/_internal/cli/actions/graphql/gen2' @@ -7,12 +7,12 @@ import testStudioSchema from './fixtures/test-studio' describe('GraphQL - Generation 2', () => { beforeEach(() => { - jest.useFakeTimers() - jest.resetModules() + vi.useFakeTimers() + vi.resetModules() }) afterEach(() => { - jest.runAllTimers() + vi.runAllTimers() }) /** diff --git a/packages/sanity/test/cli/graphql/gen3.test.ts b/packages/sanity/test/cli/graphql/gen3.test.ts index 78e0a0e6f1a..c57d7d7bb5f 100644 --- a/packages/sanity/test/cli/graphql/gen3.test.ts +++ b/packages/sanity/test/cli/graphql/gen3.test.ts @@ -1,5 +1,5 @@ -import {afterEach, beforeEach, describe, expect, it, jest} from '@jest/globals' import {orderBy} from 'lodash' +import {afterEach, beforeEach, describe, expect, it, vi} from 'vitest' import {extractFromSanitySchema} from '../../../src/_internal/cli/actions/graphql/extractFromSanitySchema' import generateSchema from '../../../src/_internal/cli/actions/graphql/gen3' @@ -8,12 +8,12 @@ import testStudioSchema from './fixtures/test-studio' describe('GraphQL - Generation 3', () => { beforeEach(() => { - jest.useFakeTimers() - jest.resetModules() + vi.useFakeTimers() + vi.resetModules() }) afterEach(() => { - jest.runAllTimers() + vi.runAllTimers() }) /** diff --git a/packages/sanity/test/form/index.ts b/packages/sanity/test/form/index.ts index f6d8b6efa51..5b485fccbd4 100644 --- a/packages/sanity/test/form/index.ts +++ b/packages/sanity/test/form/index.ts @@ -1,4 +1,3 @@ -export * from './renderArrayOfObjectsInput' export * from './renderBooleanInput' export * from './renderCrossDatasetReferenceInput' export * from './renderFileInput' diff --git a/packages/sanity/test/form/renderArrayOfObjectsInput.tsx b/packages/sanity/test/form/renderArrayOfObjectsInput.tsx deleted file mode 100644 index 2c7b98557df..00000000000 --- a/packages/sanity/test/form/renderArrayOfObjectsInput.tsx +++ /dev/null @@ -1,101 +0,0 @@ -import {jest} from '@jest/globals' -import {type ArraySchemaType, type FieldDefinition} from '@sanity/types' -import {type ReactElement} from 'react' - -import { - type ArrayOfObjectsFormNode, - type ArrayOfObjectsInputProps, - type ComplexElementProps, - defaultRenderAnnotation, - defaultRenderBlock, - defaultRenderField, - defaultRenderInlineBlock, - defaultRenderInput, - defaultRenderItem, - defaultRenderPreview, - type FieldMember, -} from '../../src/core' -import {renderInput, type TestRenderInputContext, type TestRenderInputProps} from './renderInput' -import {type TestRenderProps} from './types' - -const noopRenderDefault = () => <> - -export type TestRenderArrayOfObjectInputCallback = ( - inputProps: ArrayOfObjectsInputProps, -) => ReactElement - -export async function renderArrayOfObjectsInput(options: { - fieldDefinition: FieldDefinition<'array'> - props?: TestRenderProps - render: TestRenderArrayOfObjectInputCallback -}) { - const {fieldDefinition, props, render} = options - - const onItemAppend = jest.fn() - const onItemClose = jest.fn() - const onCollapse = jest.fn() - const onItemCollapse = jest.fn() - const onExpand = jest.fn() - const onItemExpand = jest.fn() - const onPathFocus = jest.fn() - const onInsert = jest.fn() - const onItemMove = jest.fn() - const onItemOpen = jest.fn() - const onItemPrepend = jest.fn() - const onUpload = jest.fn() - const onItemRemove = jest.fn() - - let initialValueId = 0 - const resolveInitialValue = () => Promise.resolve({_key: String(initialValueId++)}) - - function transformProps( - baseProps: TestRenderInputProps, - context: TestRenderInputContext, - ): ArrayOfObjectsInputProps { - const {focusPath, path, schemaType, value, ...restProps} = baseProps - const {formState} = context - const fieldMember = formState.members?.find( - (member) => member.kind === 'field' && member.name === fieldDefinition.name, - ) as FieldMember | undefined - const field = fieldMember?.field - - return { - ...restProps, - changed: false, - focusPath, - members: field?.members || [], - onItemAppend, - onItemClose, - onItemCollapse, - onItemExpand, - onPathFocus, - onInsert, - onItemMove, - onItemOpen, - onItemPrepend, - onItemRemove, - resolveUploader: () => null, - onUpload, - path, - renderAnnotation: defaultRenderAnnotation, - renderBlock: defaultRenderBlock, - renderField: defaultRenderField, - renderInlineBlock: defaultRenderInlineBlock, - renderInput: defaultRenderInput, - renderItem: defaultRenderItem, - renderPreview: defaultRenderPreview, - resolveInitialValue, - schemaType: schemaType as ArraySchemaType, - value: value as {_key: string}[], - renderDefault: noopRenderDefault, - } - } - - const ret = await renderInput({ - fieldDefinition, - props, - render: (inputProps, context) => render(transformProps(inputProps, context)), - }) - - return ret -} diff --git a/packages/sanity/test/form/renderInput.tsx b/packages/sanity/test/form/renderInput.tsx index 8cc6b9bae25..096b046c4f0 100644 --- a/packages/sanity/test/form/renderInput.tsx +++ b/packages/sanity/test/form/renderInput.tsx @@ -1,4 +1,3 @@ -import {jest} from '@jest/globals' import {type SanityClient} from '@sanity/client' import { defineType, @@ -10,6 +9,7 @@ import { } from '@sanity/types' import {render} from '@testing-library/react' import {type FocusEvent, type ReactElement, type RefObject} from 'react' +import {type MockInstance, vi} from 'vitest' import { createPatchChannel, @@ -59,14 +59,14 @@ export type TestRenderInputCallback = ( export type RenderInputResult = { container: Element focusRef: RefObject - onBlur: jest.Mock<(event: FocusEvent) => void> - onFocus: jest.Mock<(event: FocusEvent) => void> - onChange: jest.Mock<(path: PatchArg | PatchEvent) => void> - onNativeChange: jest.Mock<(event: FocusEvent) => void> - onPathBlur: jest.Mock<(path: Path) => void> - onPathFocus: jest.Mock<(path: Path) => void> - onFieldGroupSelect: jest.Mock<(field: string) => void> - onSetFieldSetCollapsed: jest.Mock<(field: string, collapsed: boolean) => void> + onBlur: MockInstance<(event: FocusEvent) => void> + onFocus: MockInstance<(event: FocusEvent) => void> + onChange: MockInstance<(path: PatchArg | PatchEvent) => void> + onNativeChange: MockInstance<(event: FocusEvent) => void> + onPathBlur: MockInstance<(path: Path) => void> + onPathFocus: MockInstance<(path: Path) => void> + onFieldGroupSelect: MockInstance<(field: string) => void> + onSetFieldSetCollapsed: MockInstance<(field: string, collapsed: boolean) => void> result: ReturnType } export async function renderInput(props: { @@ -98,17 +98,17 @@ export async function renderInput(props: { }) const focusRef = {current: null} - const onBlur = jest.fn() - const onChange = jest.fn() - const onFocus = jest.fn() - const onDOMChange = jest.fn((...args) => onChange(...args)) - - const onPathBlur = jest.fn() - const onPathFocus = jest.fn() - const onPathOpen = jest.fn() - const onFieldGroupSelect = jest.fn() - const onSetFieldSetCollapsed = jest.fn() - const onSetPathCollapsed = jest.fn() + const onBlur = vi.fn() + const onChange = vi.fn() + const onFocus = vi.fn() + const onDOMChange = vi.fn((...args) => onChange(...args)) + + const onPathBlur = vi.fn() + const onPathFocus = vi.fn() + const onPathOpen = vi.fn() + const onFieldGroupSelect = vi.fn() + const onSetFieldSetCollapsed = vi.fn() + const onSetPathCollapsed = vi.fn() function TestForm(renderProps: TestRenderProps & {render: TestRenderInputCallback}) { const { diff --git a/packages/sanity/test/form/renderObjectInput.tsx b/packages/sanity/test/form/renderObjectInput.tsx index 63aa1e86975..0d6955b1d0a 100644 --- a/packages/sanity/test/form/renderObjectInput.tsx +++ b/packages/sanity/test/form/renderObjectInput.tsx @@ -1,6 +1,6 @@ -import {jest} from '@jest/globals' import {type FieldDefinition, type ObjectSchemaType} from '@sanity/types' import {type ReactElement} from 'react' +import {vi} from 'vitest' import { type ComplexElementProps, @@ -32,13 +32,13 @@ export async function renderObjectInput(options: { }) { const {fieldDefinition, props, render: initialRender} = options - const onFieldClose = jest.fn() - const onFieldCollapse = jest.fn() - const onFieldSetCollapse = jest.fn() - const onFieldExpand = jest.fn() - const onFieldSetExpand = jest.fn() - const onFieldOpen = jest.fn() - const onFieldGroupSelect = jest.fn() + const onFieldClose = vi.fn() + const onFieldCollapse = vi.fn() + const onFieldSetCollapse = vi.fn() + const onFieldExpand = vi.fn() + const onFieldSetExpand = vi.fn() + const onFieldOpen = vi.fn() + const onFieldGroupSelect = vi.fn() function transformProps( inputProps: TestRenderInputProps, diff --git a/packages/sanity/test/manifest/extractManifest.test.ts b/packages/sanity/test/manifest/extractManifest.test.ts index 36cabadb2e9..67bf5e731da 100644 --- a/packages/sanity/test/manifest/extractManifest.test.ts +++ b/packages/sanity/test/manifest/extractManifest.test.ts @@ -1,6 +1,6 @@ /* eslint-disable camelcase */ -import {describe, expect, test} from '@jest/globals' import {defineArrayMember, defineField, defineType} from '@sanity/types' +import {describe, expect, test} from 'vitest' import {extractManifestSchemaTypes} from '../../src/_internal/manifest/extractWorkspaceManifest' import {createSchema} from '../../src/core' diff --git a/packages/sanity/test/manifest/extractManifestRestore.test.ts b/packages/sanity/test/manifest/extractManifestRestore.test.ts index a64ab1e8699..cd259fe8037 100644 --- a/packages/sanity/test/manifest/extractManifestRestore.test.ts +++ b/packages/sanity/test/manifest/extractManifestRestore.test.ts @@ -1,4 +1,3 @@ -import {describe, expect, test} from '@jest/globals' import { defineArrayMember, defineField, @@ -7,6 +6,7 @@ import { type SchemaType, } from '@sanity/types' import pick from 'lodash/pick' +import {describe, expect, test} from 'vitest' import {extractManifestSchemaTypes} from '../../src/_internal/manifest/extractWorkspaceManifest' import {createSchema} from '../../src/core' diff --git a/packages/sanity/test/manifest/extractManifestValidation.test.ts b/packages/sanity/test/manifest/extractManifestValidation.test.ts index 9709c8ea554..063b4aacaf2 100644 --- a/packages/sanity/test/manifest/extractManifestValidation.test.ts +++ b/packages/sanity/test/manifest/extractManifestValidation.test.ts @@ -1,6 +1,6 @@ /* eslint-disable camelcase */ -import {describe, expect, test} from '@jest/globals' import {defineField, defineType} from '@sanity/types' +import {describe, expect, test} from 'vitest' import {extractManifestSchemaTypes} from '../../src/_internal/manifest/extractWorkspaceManifest' import {createSchema} from '../../src/core' diff --git a/packages/sanity/test/setup/afterEnv.ts b/packages/sanity/test/setup/afterEnv.ts deleted file mode 100644 index a465256e437..00000000000 --- a/packages/sanity/test/setup/afterEnv.ts +++ /dev/null @@ -1,6 +0,0 @@ -// eslint-disable-next-line import/no-unassigned-import, import/no-extraneous-dependencies -import 'blob-polyfill' -// eslint-disable-next-line import/no-unassigned-import, import/no-extraneous-dependencies -import './clipboardItemPolyfill' -// eslint-disable-next-line import/no-unassigned-import -import '@testing-library/jest-dom' diff --git a/packages/sanity/test/setup/environment.ts b/packages/sanity/test/setup/environment.ts index ff9589ce68e..63c8c07ddb1 100644 --- a/packages/sanity/test/setup/environment.ts +++ b/packages/sanity/test/setup/environment.ts @@ -1,4 +1,14 @@ -import {jest} from '@jest/globals' +// eslint-disable-next-line import/no-unassigned-import, import/no-extraneous-dependencies +import 'blob-polyfill' +// eslint-disable-next-line import/no-unassigned-import, import/no-extraneous-dependencies +import './clipboardItemPolyfill' +// eslint-disable-next-line import/no-unassigned-import +import '@testing-library/jest-dom/vitest' + +import {cleanup} from '@testing-library/react' +import {afterEach, beforeEach, vi} from 'vitest' + +afterEach(() => cleanup()) export {} ;(globalThis as any).IS_REACT_ACT_ENVIRONMENT = true @@ -21,7 +31,7 @@ window.console = { } // IntersectionObserver isn't available in the test browser environment -const mockIntersectionObserver = jest.fn().mockReturnValue({ +const mockIntersectionObserver = vi.fn().mockReturnValue({ observe: () => null, unobserve: () => null, disconnect: () => null, @@ -30,10 +40,35 @@ const mockIntersectionObserver = jest.fn().mockReturnValue({ window.IntersectionObserver = mockIntersectionObserver as any // ResizeObserver isn't available in the test browser environment -const mockResizeObserver = jest.fn() +const mockResizeObserver = vi.fn() mockResizeObserver.mockReturnValue({ observe: () => null, unobserve: () => null, disconnect: () => null, }) window.ResizeObserver = mockResizeObserver as any + +window.matchMedia = vi.fn().mockImplementation((query) => ({ + matches: false, + media: query, + onchange: null, + addListener: vi.fn(), // deprecated + removeListener: vi.fn(), // deprecated + addEventListener: vi.fn(), + removeEventListener: vi.fn(), + dispatchEvent: vi.fn(), +})) + +// Resets the matchMedia mock +beforeEach(() => { + window.matchMedia = vi.fn().mockImplementation((query) => ({ + matches: false, + media: query, + onchange: null, + addListener: vi.fn(), // deprecated + removeListener: vi.fn(), // deprecated + addEventListener: vi.fn(), + removeEventListener: vi.fn(), + dispatchEvent: vi.fn(), + })) +}) diff --git a/packages/sanity/test/validation/__snapshots__/array.test.ts.snap b/packages/sanity/test/validation/__snapshots__/array.test.ts.snap index b19e124ff62..c2c0ad7a959 100644 --- a/packages/sanity/test/validation/__snapshots__/array.test.ts.snap +++ b/packages/sanity/test/validation/__snapshots__/array.test.ts.snap @@ -1,232 +1,232 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`array exact length constraint: exact length: too long 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > exact length constraint > exact length: too long 1`] = ` +[ + { + "item": { "message": "Must have exactly 2 items", }, "level": "error", "message": "Must have exactly 2 items", - "path": Array [], + "path": [], }, ] `; -exports[`array exact length constraint: exact length: too short 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > exact length constraint > exact length: too short 1`] = ` +[ + { + "item": { "message": "Must have exactly 2 items", }, "level": "error", "message": "Must have exactly 2 items", - "path": Array [], + "path": [], }, ] `; -exports[`array exact length constraint: exact length: valid 1`] = `Array []`; +exports[`array > exact length constraint > exact length: valid 1`] = `[]`; -exports[`array max length constraint: max length: too long 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > max length constraint > max length: too long 1`] = ` +[ + { + "item": { "message": "Must have at most 2 items", }, "level": "error", "message": "Must have at most 2 items", - "path": Array [], + "path": [], }, ] `; -exports[`array max length constraint: max length: valid 1`] = `Array []`; +exports[`array > max length constraint > max length: valid 1`] = `[]`; -exports[`array min length constraint: min length: too short 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > min length constraint > min length: too short 1`] = ` +[ + { + "item": { "message": "Must have at least 2 items", }, "level": "error", "message": "Must have at least 2 items", - "path": Array [], + "path": [], }, ] `; -exports[`array min length constraint: min length: valid 1`] = `Array []`; +exports[`array > min length constraint > min length: valid 1`] = `[]`; -exports[`array required constraint: required: empty array 1`] = `Array []`; +exports[`array > required constraint > required: empty array 1`] = `[]`; -exports[`array required constraint: required: null 1`] = ` -Array [ - Object { - "item": Object { - "message": "Expected type \\"Array\\", got \\"null\\"", +exports[`array > required constraint > required: null 1`] = ` +[ + { + "item": { + "message": "Expected type "Array", got "null"", }, "level": "error", - "message": "Expected type \\"Array\\", got \\"null\\"", - "path": Array [], + "message": "Expected type "Array", got "null"", + "path": [], }, - Object { - "item": Object { + { + "item": { "message": "Required", }, "level": "error", "message": "Required", - "path": Array [], + "path": [], }, ] `; -exports[`array required constraint: required: undefined 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > required constraint > required: undefined 1`] = ` +[ + { + "item": { "message": "Required", }, "level": "error", "message": "Required", - "path": Array [], + "path": [], }, ] `; -exports[`array required constraint: required: valid 1`] = `Array []`; +exports[`array > required constraint > required: valid 1`] = `[]`; -exports[`array unique constraint (default, array values): array unique: duplicates 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > unique constraint (default, array values) > array unique: duplicates 1`] = ` +[ + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 0, ], }, - Object { - "item": Object { + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 1, ], }, ] `; -exports[`array unique constraint (default, array values): array unique: valid 1`] = `Array []`; +exports[`array > unique constraint (default, array values) > array unique: valid 1`] = `[]`; -exports[`array unique constraint (default, bool values): boolean unique: duplicates 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > unique constraint (default, bool values) > boolean unique: duplicates 1`] = ` +[ + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 0, ], }, - Object { - "item": Object { + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 2, ], }, ] `; -exports[`array unique constraint (default, bool values): boolean unique: valid 1`] = `Array []`; +exports[`array > unique constraint (default, bool values) > boolean unique: valid 1`] = `[]`; -exports[`array unique constraint (default, numeric values): numeric unique: duplicates 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > unique constraint (default, numeric values) > numeric unique: duplicates 1`] = ` +[ + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 0, ], }, - Object { - "item": Object { + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 2, ], }, ] `; -exports[`array unique constraint (default, numeric values): numeric unique: valid 1`] = `Array []`; +exports[`array > unique constraint (default, numeric values) > numeric unique: valid 1`] = `[]`; -exports[`array unique constraint (default, object values): object unique: duplicates 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > unique constraint (default, object values) > object unique: duplicates 1`] = ` +[ + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 0, ], }, - Object { - "item": Object { + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 3, ], }, ] `; -exports[`array unique constraint (default, object values): object unique: valid 1`] = `Array []`; +exports[`array > unique constraint (default, object values) > object unique: valid 1`] = `[]`; -exports[`array unique constraint (default, simple values): simple unique: duplicates 1`] = ` -Array [ - Object { - "item": Object { +exports[`array > unique constraint (default, simple values) > simple unique: duplicates 1`] = ` +[ + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 0, ], }, - Object { - "item": Object { + { + "item": { "message": "Can't be a duplicate", }, "level": "error", "message": "Can't be a duplicate", - "path": Array [ + "path": [ 3, ], }, ] `; -exports[`array unique constraint (default, simple values): simple unique: valid 1`] = `Array []`; +exports[`array > unique constraint (default, simple values) > simple unique: valid 1`] = `[]`; diff --git a/packages/sanity/test/validation/__snapshots__/children.test.ts.snap b/packages/sanity/test/validation/__snapshots__/children.test.ts.snap index daf9b468384..213b53c5320 100644 --- a/packages/sanity/test/validation/__snapshots__/children.test.ts.snap +++ b/packages/sanity/test/validation/__snapshots__/children.test.ts.snap @@ -1,111 +1,111 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`child rules all() rules - multiple failures: all() rules - match 1`] = `Array []`; +exports[`child rules > all() rules - multiple failures > all() rules - match 1`] = `[]`; -exports[`child rules all() rules - multiple failures: all() rules - multiple failures, custom messages 1`] = ` -Array [ - Object { - "item": Object { +exports[`child rules > all() rules - multiple failures > all() rules - multiple failures, custom messages 1`] = ` +[ + { + "item": { "message": "Must start with an uppercase character and 5 chars or more", }, "level": "error", "message": "Must start with an uppercase character and 5 chars or more", - "path": Array [], + "path": [], }, ] `; -exports[`child rules all() rules - single failure, custom, common error: all() rules - multiple failures, common error 1`] = ` -Array [ - Object { - "item": Object { - "message": "Needs to be a capital letter followed by at least 4 lowercase characters", +exports[`child rules > all() rules - single failure > all() rules - match 1`] = `[]`; + +exports[`child rules > all() rules - single failure > all() rules - single failure, custom message 1`] = ` +[ + { + "item": { + "message": "Must start with an uppercase character", }, "level": "error", - "message": "Needs to be a capital letter followed by at least 4 lowercase characters", - "path": Array [], + "message": "Must start with an uppercase character", + "path": [], }, ] `; -exports[`child rules all() rules - single failure, custom, common error: all() rules - single failure, common error 1`] = ` -Array [ - Object { - "item": Object { - "message": "Needs to start with a capital letter and then follow with lowercase characters", +exports[`child rules > all() rules - single failure, custom, common error > all() rules - multiple failures, common error 1`] = ` +[ + { + "item": { + "message": "Needs to be a capital letter followed by at least 4 lowercase characters", }, "level": "error", - "message": "Needs to start with a capital letter and then follow with lowercase characters", - "path": Array [], + "message": "Needs to be a capital letter followed by at least 4 lowercase characters", + "path": [], }, ] `; -exports[`child rules all() rules - single failure: all() rules - match 1`] = `Array []`; - -exports[`child rules all() rules - single failure: all() rules - single failure, custom message 1`] = ` -Array [ - Object { - "item": Object { - "message": "Must start with an uppercase character", +exports[`child rules > all() rules - single failure, custom, common error > all() rules - single failure, common error 1`] = ` +[ + { + "item": { + "message": "Needs to start with a capital letter and then follow with lowercase characters", }, "level": "error", - "message": "Must start with an uppercase character", - "path": Array [], + "message": "Needs to start with a capital letter and then follow with lowercase characters", + "path": [], }, ] `; -exports[`child rules either() rules - all fail, custom, common error: either() rules - all fail, common error 1`] = ` -Array [ - Object { - "item": Object { +exports[`child rules > either() rules - all fail, custom, common error > either() rules - all fail, common error 1`] = ` +[ + { + "item": { "message": "Needs to start with a capital letter, unless it's an iProduct", }, "level": "error", "message": "Needs to start with a capital letter, unless it's an iProduct", - "path": Array [], + "path": [], }, ] `; -exports[`child rules either() rules - all matches: either() rules - all match 1`] = `Array []`; +exports[`child rules > either() rules - all matches > either() rules - all match 1`] = `[]`; -exports[`child rules either() rules - all matches: either() rules - no matches 1`] = ` -Array [ - Object { - "item": Object { - "message": "Must start with a capital R or Must end with \\"ed\\"", +exports[`child rules > either() rules - all matches > either() rules - no matches 1`] = ` +[ + { + "item": { + "message": "Must start with a capital R or Must end with "ed"", }, "level": "error", - "message": "Must start with a capital R or Must end with \\"ed\\"", - "path": Array [], + "message": "Must start with a capital R or Must end with "ed"", + "path": [], }, ] `; -exports[`child rules either() rules - single failure: either() rules - match 1`] = ` -Array [ - Object { - "item": Object { +exports[`child rules > either() rules - single failure > either() rules - match 1`] = ` +[ + { + "item": { "message": "Must be rgb(num, num, num) format or Must be hex color with #-prefix", }, "level": "error", "message": "Must be rgb(num, num, num) format or Must be hex color with #-prefix", - "path": Array [], + "path": [], }, ] `; -exports[`child rules either() rules - single failure: either() rules - single failure, custom message 1`] = ` -Array [ - Object { - "item": Object { +exports[`child rules > either() rules - single failure > either() rules - single failure, custom message 1`] = ` +[ + { + "item": { "message": "Must be rgb(num, num, num) format or Must be hex color with #-prefix", }, "level": "error", "message": "Must be rgb(num, num, num) format or Must be hex color with #-prefix", - "path": Array [], + "path": [], }, ] `; diff --git a/packages/sanity/test/validation/__snapshots__/dates.test.ts.snap b/packages/sanity/test/validation/__snapshots__/dates.test.ts.snap index fad5548e855..fd1c657e8a6 100644 --- a/packages/sanity/test/validation/__snapshots__/dates.test.ts.snap +++ b/packages/sanity/test/validation/__snapshots__/dates.test.ts.snap @@ -1,105 +1,105 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`date with custom format max length constraint: Must be at or before 1`] = ` -Array [ - Object { - "item": Object { +exports[`date > with custom format > max length constraint > Must be at or before 1`] = ` +[ + { + "item": { "message": "Must be at or before 01-01-2024", }, "level": "error", "message": "Must be at or before 01-01-2024", - "path": Array [], + "path": [], }, ] `; -exports[`date with custom format min length constraint: Must be at or after 1`] = ` -Array [ - Object { - "item": Object { +exports[`date > with custom format > min length constraint > Must be at or after 1`] = ` +[ + { + "item": { "message": "Must be at or after 01-01-2024", }, "level": "error", "message": "Must be at or after 01-01-2024", - "path": Array [], + "path": [], }, ] `; -exports[`date with default format max length constraint: Must be at or before 1`] = ` -Array [ - Object { - "item": Object { +exports[`date > with default format > max length constraint > Must be at or before 1`] = ` +[ + { + "item": { "message": "Must be at or before 2024-01-01", }, "level": "error", "message": "Must be at or before 2024-01-01", - "path": Array [], + "path": [], }, ] `; -exports[`date with default format min length constraint: Must be at or after 1`] = ` -Array [ - Object { - "item": Object { +exports[`date > with default format > min length constraint > Must be at or after 1`] = ` +[ + { + "item": { "message": "Must be at or after 2024-01-01", }, "level": "error", "message": "Must be at or after 2024-01-01", - "path": Array [], + "path": [], }, ] `; -exports[`datetime with custom format max length constraint: Must be at or before 1`] = ` -Array [ - Object { - "item": Object { +exports[`datetime > with custom format > max length constraint > Must be at or before 1`] = ` +[ + { + "item": { "message": "Must be at or before 1st. January 2024 09:31", }, "level": "error", "message": "Must be at or before 1st. January 2024 09:31", - "path": Array [], + "path": [], }, ] `; -exports[`datetime with custom format min length constraint: Must be at or after 1`] = ` -Array [ - Object { - "item": Object { +exports[`datetime > with custom format > min length constraint > Must be at or after 1`] = ` +[ + { + "item": { "message": "Must be at or after 1st. January 2024 09:31", }, "level": "error", "message": "Must be at or after 1st. January 2024 09:31", - "path": Array [], + "path": [], }, ] `; -exports[`datetime with default format max length constraint: Must be at or before 1`] = ` -Array [ - Object { - "item": Object { +exports[`datetime > with default format > max length constraint > Must be at or before 1`] = ` +[ + { + "item": { "message": "Must be at or before 2024-01-01 09:31", }, "level": "error", "message": "Must be at or before 2024-01-01 09:31", - "path": Array [], + "path": [], }, ] `; -exports[`datetime with default format min length constraint: Must be at or after 1`] = ` -Array [ - Object { - "item": Object { +exports[`datetime > with default format > min length constraint > Must be at or after 1`] = ` +[ + { + "item": { "message": "Must be at or after 2024-01-01 09:31", }, "level": "error", "message": "Must be at or after 2024-01-01 09:31", - "path": Array [], + "path": [], }, ] `; diff --git a/packages/sanity/test/validation/__snapshots__/generics.test.ts.snap b/packages/sanity/test/validation/__snapshots__/generics.test.ts.snap index b9a1bd2e9ee..a84e2408e2d 100644 --- a/packages/sanity/test/validation/__snapshots__/generics.test.ts.snap +++ b/packages/sanity/test/validation/__snapshots__/generics.test.ts.snap @@ -1,79 +1,79 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`generics can customize error messages 1`] = ` -Array [ - Object { - "item": Object { +exports[`generics > can customize error messages 1`] = ` +[ + { + "item": { "message": "Dude it needs to be a string", }, "level": "error", "message": "Dude it needs to be a string", - "path": Array [], + "path": [], }, ] `; -exports[`generics can customize info messages 1`] = ` -Array [ - Object { - "item": Object { +exports[`generics > can customize info messages 1`] = ` +[ + { + "item": { "message": "Dude it should probably be a string", }, "level": "info", "message": "Dude it should probably be a string", - "path": Array [], + "path": [], }, ] `; -exports[`generics can customize warning messages 1`] = ` -Array [ - Object { - "item": Object { +exports[`generics > can customize warning messages 1`] = ` +[ + { + "item": { "message": "Dude it should probably be a string", }, "level": "warning", "message": "Dude it should probably be a string", - "path": Array [], + "path": [], }, ] `; -exports[`generics can demote errors to warnings 1`] = ` -Array [ - Object { - "item": Object { - "message": "Expected type \\"String\\", got \\"Number\\"", +exports[`generics > can demote errors to warnings 1`] = ` +[ + { + "item": { + "message": "Expected type "String", got "Number"", }, "level": "warning", - "message": "Expected type \\"String\\", got \\"Number\\"", - "path": Array [], + "message": "Expected type "String", got "Number"", + "path": [], }, ] `; -exports[`generics can merge rules 1`] = ` -Array [ - Object { - "item": Object { +exports[`generics > can merge rules 1`] = ` +[ + { + "item": { "message": "Must be at least 5 characters long", }, "level": "error", "message": "Must be at least 5 characters long", - "path": Array [], + "path": [], }, ] `; -exports[`generics returns arrays of errors/warnings by default 1`] = ` -Array [ - Object { - "item": Object { - "message": "Expected type \\"String\\", got \\"Number\\"", +exports[`generics > returns arrays of errors/warnings by default 1`] = ` +[ + { + "item": { + "message": "Expected type "String", got "Number"", }, "level": "error", - "message": "Expected type \\"String\\", got \\"Number\\"", - "path": Array [], + "message": "Expected type "String", got "Number"", + "path": [], }, ] `; diff --git a/packages/sanity/test/validation/__snapshots__/numbers.test.ts.snap b/packages/sanity/test/validation/__snapshots__/numbers.test.ts.snap index fe67c783039..60261d4e428 100644 --- a/packages/sanity/test/validation/__snapshots__/numbers.test.ts.snap +++ b/packages/sanity/test/validation/__snapshots__/numbers.test.ts.snap @@ -1,183 +1,183 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`number greater than constraint: gt: too low 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > greater than constraint > gt: too low 1`] = ` +[ + { + "item": { "message": "Must be greater than 10", }, "level": "error", "message": "Must be greater than 10", - "path": Array [], + "path": [], }, ] `; -exports[`number greater than constraint: gt: too low, at limit 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > greater than constraint > gt: too low, at limit 1`] = ` +[ + { + "item": { "message": "Must be greater than 10", }, "level": "error", "message": "Must be greater than 10", - "path": Array [], + "path": [], }, ] `; -exports[`number greater than constraint: gt: valid 1`] = `Array []`; +exports[`number > greater than constraint > gt: valid 1`] = `[]`; -exports[`number integer constraint: integer: invalid (float) 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > integer constraint > integer: invalid (float) 1`] = ` +[ + { + "item": { "message": "Must be an integer", }, "level": "error", "message": "Must be an integer", - "path": Array [], + "path": [], }, ] `; -exports[`number integer constraint: integer: valid 1`] = `Array []`; +exports[`number > integer constraint > integer: valid 1`] = `[]`; -exports[`number less than constraint: lt: too high 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > less than constraint > lt: too high 1`] = ` +[ + { + "item": { "message": "Must be less than 10", }, "level": "error", "message": "Must be less than 10", - "path": Array [], + "path": [], }, ] `; -exports[`number less than constraint: lt: too high, at limit 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > less than constraint > lt: too high, at limit 1`] = ` +[ + { + "item": { "message": "Must be less than 10", }, "level": "error", "message": "Must be less than 10", - "path": Array [], + "path": [], }, ] `; -exports[`number less than constraint: lt: valid 1`] = `Array []`; +exports[`number > less than constraint > lt: valid 1`] = `[]`; -exports[`number max constraint: max: too large 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > max constraint > max: too large 1`] = ` +[ + { + "item": { "message": "Must be lower than or equal to 10", }, "level": "error", "message": "Must be lower than or equal to 10", - "path": Array [], + "path": [], }, ] `; -exports[`number max constraint: max: valid 1`] = `Array []`; +exports[`number > max constraint > max: valid 1`] = `[]`; -exports[`number max constraint: max: valid, at limit 1`] = `Array []`; +exports[`number > max constraint > max: valid, at limit 1`] = `[]`; -exports[`number min constraint: min: too low 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > min constraint > min: too low 1`] = ` +[ + { + "item": { "message": "Must be greater than or equal to 10", }, "level": "error", "message": "Must be greater than or equal to 10", - "path": Array [], + "path": [], }, ] `; -exports[`number min constraint: min: valid 1`] = `Array []`; +exports[`number > min constraint > min: valid 1`] = `[]`; -exports[`number min constraint: min: valid, at limit 1`] = `Array []`; +exports[`number > min constraint > min: valid, at limit 1`] = `[]`; -exports[`number negative constraint: negative: invalid (zero) 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > negative constraint > negative: invalid (zero) 1`] = ` +[ + { + "item": { "message": "Must be less than 0", }, "level": "error", "message": "Must be less than 0", - "path": Array [], + "path": [], }, ] `; -exports[`number negative constraint: negative: invalid 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > negative constraint > negative: invalid 1`] = ` +[ + { + "item": { "message": "Must be less than 0", }, "level": "error", "message": "Must be less than 0", - "path": Array [], + "path": [], }, ] `; -exports[`number negative constraint: negative: valid 1`] = `Array []`; +exports[`number > negative constraint > negative: valid 1`] = `[]`; -exports[`number positive constraint: positive: invalid 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > positive constraint > positive: invalid 1`] = ` +[ + { + "item": { "message": "Must be greater than or equal to 0", }, "level": "error", "message": "Must be greater than or equal to 0", - "path": Array [], + "path": [], }, ] `; -exports[`number positive constraint: positive: valid (zero) 1`] = `Array []`; +exports[`number > positive constraint > positive: valid (zero) 1`] = `[]`; -exports[`number positive constraint: positive: valid 1`] = `Array []`; +exports[`number > positive constraint > positive: valid 1`] = `[]`; -exports[`number precision constraint: precision: invalid (pi) 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > precision constraint > precision: invalid (pi) 1`] = ` +[ + { + "item": { "message": "Max precision is 3", }, "level": "error", "message": "Max precision is 3", - "path": Array [], + "path": [], }, ] `; -exports[`number precision constraint: precision: valid (at limit) 1`] = `Array []`; +exports[`number > precision constraint > precision: valid (at limit) 1`] = `[]`; -exports[`number precision constraint: precision: valid (below limit) 1`] = `Array []`; +exports[`number > precision constraint > precision: valid (below limit) 1`] = `[]`; -exports[`number required constraint: required: undefined 1`] = ` -Array [ - Object { - "item": Object { +exports[`number > required constraint > required: undefined 1`] = ` +[ + { + "item": { "message": "Required", }, "level": "error", "message": "Required", - "path": Array [], + "path": [], }, ] `; -exports[`number required constraint: required: valid 1`] = `Array []`; +exports[`number > required constraint > required: valid 1`] = `[]`; diff --git a/packages/sanity/test/validation/__snapshots__/strings.test.ts.snap b/packages/sanity/test/validation/__snapshots__/strings.test.ts.snap index d4203a712d4..4a5f26775e9 100644 --- a/packages/sanity/test/validation/__snapshots__/strings.test.ts.snap +++ b/packages/sanity/test/validation/__snapshots__/strings.test.ts.snap @@ -1,354 +1,354 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`string custom async rule with string: not a palindrome 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > custom async rule with string > not a palindrome 1`] = ` +[ + { + "item": { "message": "Must be a palindrome!", }, "level": "error", "message": "Must be a palindrome!", - "path": Array [], + "path": [], }, ] `; -exports[`string custom rule with string: not a palindrome 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > custom rule with string > not a palindrome 1`] = ` +[ + { + "item": { "message": "Must be a palindrome!", }, "level": "error", "message": "Must be a palindrome!", - "path": Array [], + "path": [], }, ] `; -exports[`string exact length constraint: exact length: too long 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > exact length constraint > exact length: too long 1`] = ` +[ + { + "item": { "message": "Must be exactly 5 characters long", }, "level": "error", "message": "Must be exactly 5 characters long", - "path": Array [], + "path": [], }, ] `; -exports[`string exact length constraint: exact length: too short 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > exact length constraint > exact length: too short 1`] = ` +[ + { + "item": { "message": "Must be exactly 5 characters long", }, "level": "error", "message": "Must be exactly 5 characters long", - "path": Array [], + "path": [], }, ] `; -exports[`string exact length constraint: exact length: valid 1`] = `Array []`; +exports[`string > exact length constraint > exact length: valid 1`] = `[]`; -exports[`string lowercase constraint: lowercase: all uppercase 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > lowercase constraint > lowercase: all uppercase 1`] = ` +[ + { + "item": { "message": "Must be all lowercase characters", }, "level": "error", "message": "Must be all lowercase characters", - "path": Array [], + "path": [], }, ] `; -exports[`string lowercase constraint: lowercase: locale characters 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > lowercase constraint > lowercase: locale characters 1`] = ` +[ + { + "item": { "message": "Must be all lowercase characters", }, "level": "error", "message": "Must be all lowercase characters", - "path": Array [], + "path": [], }, ] `; -exports[`string lowercase constraint: lowercase: some uppercase 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > lowercase constraint > lowercase: some uppercase 1`] = ` +[ + { + "item": { "message": "Must be all lowercase characters", }, "level": "error", "message": "Must be all lowercase characters", - "path": Array [], + "path": [], }, ] `; -exports[`string lowercase constraint: lowercase: valid 1`] = `Array []`; +exports[`string > lowercase constraint > lowercase: valid 1`] = `[]`; -exports[`string max length constraint: max length: too long 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > max length constraint > max length: too long 1`] = ` +[ + { + "item": { "message": "Must be at most 5 characters long", }, "level": "error", "message": "Must be at most 5 characters long", - "path": Array [], + "path": [], }, ] `; -exports[`string max length constraint: max length: valid 1`] = `Array []`; +exports[`string > max length constraint > max length: valid 1`] = `[]`; -exports[`string min length constraint: min length: too short 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > min length constraint > min length: too short 1`] = ` +[ + { + "item": { "message": "Must be at least 2 characters long", }, "level": "error", "message": "Must be at least 2 characters long", - "path": Array [], + "path": [], }, ] `; -exports[`string min length constraint: min length: valid 1`] = `Array []`; +exports[`string > min length constraint > min length: valid 1`] = `[]`; -exports[`string regex constraint (custom pattern name): regex: match w/ custom pattern name 1`] = `Array []`; +exports[`string > regex constraint (custom pattern name) > regex: match w/ custom pattern name 1`] = `[]`; -exports[`string regex constraint (custom pattern name): regex: non-match w/ custom pattern name 1`] = ` -Array [ - Object { - "item": Object { - "message": "Does not match \\"PascalCase\\"-pattern", +exports[`string > regex constraint (custom pattern name) > regex: non-match w/ custom pattern name 1`] = ` +[ + { + "item": { + "message": "Does not match "PascalCase"-pattern", }, "level": "error", - "message": "Does not match \\"PascalCase\\"-pattern", - "path": Array [], + "message": "Does not match "PascalCase"-pattern", + "path": [], }, ] `; -exports[`string regex constraint (custom pattern name, as options): regex: match w/ custom pattern name (opt) 1`] = `Array []`; +exports[`string > regex constraint (custom pattern name, as options) > regex: match w/ custom pattern name (opt) 1`] = `[]`; -exports[`string regex constraint (custom pattern name, as options): regex: non-match w/ custom pattern name (opt) 1`] = ` -Array [ - Object { - "item": Object { - "message": "Does not match \\"PascalCase\\"-pattern", +exports[`string > regex constraint (custom pattern name, as options) > regex: non-match w/ custom pattern name (opt) 1`] = ` +[ + { + "item": { + "message": "Does not match "PascalCase"-pattern", }, "level": "error", - "message": "Does not match \\"PascalCase\\"-pattern", - "path": Array [], + "message": "Does not match "PascalCase"-pattern", + "path": [], }, ] `; -exports[`string regex constraint (inverted): regex: inverted match 1`] = ` -Array [ - Object { - "item": Object { - "message": "Should not match \\"/^[A-Z][a-z]+$/\\"-pattern", +exports[`string > regex constraint (inverted) > regex: inverted match 1`] = ` +[ + { + "item": { + "message": "Should not match "/^[A-Z][a-z]+$/"-pattern", }, "level": "error", - "message": "Should not match \\"/^[A-Z][a-z]+$/\\"-pattern", - "path": Array [], + "message": "Should not match "/^[A-Z][a-z]+$/"-pattern", + "path": [], }, ] `; -exports[`string regex constraint (inverted): regex: inverted non-match 1`] = `Array []`; +exports[`string > regex constraint (inverted) > regex: inverted non-match 1`] = `[]`; -exports[`string regex constraint: regex: match 1`] = `Array []`; +exports[`string > regex constraint > regex: match 1`] = `[]`; -exports[`string regex constraint: regex: non-match 1`] = ` -Array [ - Object { - "item": Object { - "message": "Does not match \\"/^[A-Z][a-z]+$/\\"-pattern", +exports[`string > regex constraint > regex: non-match 1`] = ` +[ + { + "item": { + "message": "Does not match "/^[A-Z][a-z]+$/"-pattern", }, "level": "error", - "message": "Does not match \\"/^[A-Z][a-z]+$/\\"-pattern", - "path": Array [], + "message": "Does not match "/^[A-Z][a-z]+$/"-pattern", + "path": [], }, ] `; -exports[`string required constraint: required: empty string 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > required constraint > required: empty string 1`] = ` +[ + { + "item": { "message": "Required", }, "level": "error", "message": "Required", - "path": Array [], + "path": [], }, ] `; -exports[`string required constraint: required: null 1`] = ` -Array [ - Object { - "item": Object { - "message": "Expected type \\"String\\", got \\"null\\"", +exports[`string > required constraint > required: null 1`] = ` +[ + { + "item": { + "message": "Expected type "String", got "null"", }, "level": "error", - "message": "Expected type \\"String\\", got \\"null\\"", - "path": Array [], + "message": "Expected type "String", got "null"", + "path": [], }, - Object { - "item": Object { + { + "item": { "message": "Required", }, "level": "error", "message": "Required", - "path": Array [], + "path": [], }, ] `; -exports[`string required constraint: required: undefined 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > required constraint > required: undefined 1`] = ` +[ + { + "item": { "message": "Required", }, "level": "error", "message": "Required", - "path": Array [], + "path": [], }, ] `; -exports[`string required constraint: required: valid 1`] = `Array []`; +exports[`string > required constraint > required: valid 1`] = `[]`; -exports[`string uppercase constraint: uppercase: all lowercase 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > uppercase constraint > uppercase: all lowercase 1`] = ` +[ + { + "item": { "message": "Must be all uppercase characters", }, "level": "error", "message": "Must be all uppercase characters", - "path": Array [], + "path": [], }, ] `; -exports[`string uppercase constraint: uppercase: locale characters 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > uppercase constraint > uppercase: locale characters 1`] = ` +[ + { + "item": { "message": "Must be all uppercase characters", }, "level": "error", "message": "Must be all uppercase characters", - "path": Array [], + "path": [], }, ] `; -exports[`string uppercase constraint: uppercase: some lowercase 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > uppercase constraint > uppercase: some lowercase 1`] = ` +[ + { + "item": { "message": "Must be all uppercase characters", }, "level": "error", "message": "Must be all uppercase characters", - "path": Array [], + "path": [], }, ] `; -exports[`string uppercase constraint: uppercase: some lowercase 2`] = ` -Array [ - Object { - "item": Object { +exports[`string > uppercase constraint > uppercase: some lowercase 2`] = ` +[ + { + "item": { "message": "Must be all uppercase characters", }, "level": "error", "message": "Must be all uppercase characters", - "path": Array [], + "path": [], }, ] `; -exports[`string uppercase constraint: uppercase: valid 1`] = `Array []`; +exports[`string > uppercase constraint > uppercase: valid 1`] = `[]`; -exports[`string uri constraint (credentials): uri: credentials specified but not allowed 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > uri constraint (credentials) > uri: credentials specified but not allowed 1`] = ` +[ + { + "item": { "message": "Username/password not allowed", }, "level": "error", "message": "Username/password not allowed", - "path": Array [], + "path": [], }, ] `; -exports[`string uri constraint (credentials): uri: username specified but not allowed 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > uri constraint (credentials) > uri: username specified but not allowed 1`] = ` +[ + { + "item": { "message": "Username/password not allowed", }, "level": "error", "message": "Username/password not allowed", - "path": Array [], + "path": [], }, ] `; -exports[`string uri constraint (invalid protocol): uri: protocol non-match 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > uri constraint (invalid protocol) > uri: protocol non-match 1`] = ` +[ + { + "item": { "message": "Does not match allowed protocols/schemes", }, "level": "error", "message": "Does not match allowed protocols/schemes", - "path": Array [], + "path": [], }, ] `; -exports[`string uri constraint (with unicode chars): uri: non-match 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > uri constraint (with unicode chars) > uri: non-match 1`] = ` +[ + { + "item": { "message": "Not a valid URL", }, "level": "error", "message": "Not a valid URL", - "path": Array [], + "path": [], }, ] `; -exports[`string uri constraint: uri: non-match 1`] = ` -Array [ - Object { - "item": Object { +exports[`string > uri constraint > uri: non-match 1`] = ` +[ + { + "item": { "message": "Not a valid URL", }, "level": "error", "message": "Not a valid URL", - "path": Array [], + "path": [], }, ] `; diff --git a/packages/sanity/test/validation/array.test.ts b/packages/sanity/test/validation/array.test.ts index b32887e3d0b..5656a3d6ad2 100644 --- a/packages/sanity/test/validation/array.test.ts +++ b/packages/sanity/test/validation/array.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {getFallbackLocaleSource} from '../../src/core/i18n/fallback' import {Rule} from '../../src/core/validation' diff --git a/packages/sanity/test/validation/children.test.ts b/packages/sanity/test/validation/children.test.ts index 15bc10be61a..2810d28ace2 100644 --- a/packages/sanity/test/validation/children.test.ts +++ b/packages/sanity/test/validation/children.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {getFallbackLocaleSource} from '../../src/core/i18n/fallback' import {Rule} from '../../src/core/validation' diff --git a/packages/sanity/test/validation/dates.test.ts b/packages/sanity/test/validation/dates.test.ts index 0b8bffe4fb9..34a291095e5 100644 --- a/packages/sanity/test/validation/dates.test.ts +++ b/packages/sanity/test/validation/dates.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {getFallbackLocaleSource} from '../../src/core/i18n/fallback' import {Rule} from '../../src/core/validation' diff --git a/packages/sanity/test/validation/generics.test.ts b/packages/sanity/test/validation/generics.test.ts index 02cab20a1fa..e59ab792ca3 100644 --- a/packages/sanity/test/validation/generics.test.ts +++ b/packages/sanity/test/validation/generics.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {getFallbackLocaleSource} from '../../src/core/i18n/fallback' import {Rule} from '../../src/core/validation' diff --git a/packages/sanity/test/validation/infer.test.ts b/packages/sanity/test/validation/infer.test.ts index 20040c27a70..573e122ad04 100644 --- a/packages/sanity/test/validation/infer.test.ts +++ b/packages/sanity/test/validation/infer.test.ts @@ -1,10 +1,11 @@ -import {afterEach, describe, expect, jest, test} from '@jest/globals' import {type SanityClient} from '@sanity/client' import {Schema as SchemaBuilder} from '@sanity/schema' import {type ObjectSchemaType, type Rule, type SanityDocument} from '@sanity/types' +import {afterEach, describe, expect, test, vi} from 'vitest' -import {createSchema, type Workspace} from '../../src/core' +import {type Workspace} from '../../src/core/config' import {getFallbackLocaleSource} from '../../src/core/i18n/fallback' +import {createSchema} from '../../src/core/schema/createSchema' import {inferFromSchema} from '../../src/core/validation/inferFromSchema' import {validateDocument} from '../../src/core/validation/validateDocument' import {createMockSanityClient} from './mocks/mockSanityClient' @@ -257,7 +258,7 @@ describe('schema validation inference', () => { }) test('referenced document must exist (unless weak)', async () => { - const mockGetDocumentExists = jest.fn(() => Promise.resolve(false)) + const mockGetDocumentExists = vi.fn(() => Promise.resolve(false)) await expect( validateDocument({ document: { @@ -295,7 +296,7 @@ describe('schema validation inference', () => { }) test('reference is valid if schema type is strong and document does exists', async () => { - const mockGetDocumentExists = jest.fn(() => Promise.resolve(true)) + const mockGetDocumentExists = vi.fn(() => Promise.resolve(true)) await expect( validateDocument({ getClient, diff --git a/packages/sanity/test/validation/mocks/mockSanityClient.ts b/packages/sanity/test/validation/mocks/mockSanityClient.ts index 195893cfa81..70354e3bec1 100644 --- a/packages/sanity/test/validation/mocks/mockSanityClient.ts +++ b/packages/sanity/test/validation/mocks/mockSanityClient.ts @@ -1,11 +1,11 @@ -import {jest} from '@jest/globals' +import {type Mock, vi} from 'vitest' type MockSanityClient = { - fetch: jest.Mock<(query: string) => Promise> + fetch: Mock<(query: string) => Promise> withConfig: () => MockSanityClient } export function createMockSanityClient(): MockSanityClient { - const fetch = jest.fn((query: string) => Promise.resolve(null)) + const fetch = vi.fn((query: string) => Promise.resolve(null)) const client = { fetch, withConfig: () => client, diff --git a/packages/sanity/test/validation/numbers.test.ts b/packages/sanity/test/validation/numbers.test.ts index 13a60fbb6bf..936e3a6003d 100644 --- a/packages/sanity/test/validation/numbers.test.ts +++ b/packages/sanity/test/validation/numbers.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {getFallbackLocaleSource} from '../../src/core/i18n/fallback' import {Rule} from '../../src/core/validation' diff --git a/packages/sanity/test/validation/strings.test.ts b/packages/sanity/test/validation/strings.test.ts index c3cada5db99..bafafa522a1 100644 --- a/packages/sanity/test/validation/strings.test.ts +++ b/packages/sanity/test/validation/strings.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, test} from '@jest/globals' +import {describe, expect, test} from 'vitest' import {getFallbackLocaleSource} from '../../src/core/i18n/fallback' import {Rule} from '../../src/core/validation' diff --git a/packages/sanity/test/validation/util/normalizeValidationRules.test.ts b/packages/sanity/test/validation/util/normalizeValidationRules.test.ts index c7bf1f8fa0d..82043d82d2e 100644 --- a/packages/sanity/test/validation/util/normalizeValidationRules.test.ts +++ b/packages/sanity/test/validation/util/normalizeValidationRules.test.ts @@ -1,5 +1,5 @@ -import {describe, expect, it} from '@jest/globals' import {type NumberSchemaType, type SchemaType, type StringSchemaType} from '@sanity/types' +import {describe, expect, it} from 'vitest' import {Rule as RuleClass} from '../../../src/core/validation' import {normalizeValidationRules} from '../../../src/core/validation/util/normalizeValidationRules' diff --git a/packages/sanity/test/validation/util/typeString.test.ts b/packages/sanity/test/validation/util/typeString.test.ts index c0070427d60..ed9a819f8d2 100644 --- a/packages/sanity/test/validation/util/typeString.test.ts +++ b/packages/sanity/test/validation/util/typeString.test.ts @@ -1,4 +1,4 @@ -import {describe, expect, it} from '@jest/globals' +import {describe, expect, it} from 'vitest' import {typeString} from '../../../src/core/validation/util/typeString' diff --git a/packages/sanity/test/validation/validateDocument.test.ts b/packages/sanity/test/validation/validateDocument.test.ts index 436a032deff..e1d9f84e6e2 100644 --- a/packages/sanity/test/validation/validateDocument.test.ts +++ b/packages/sanity/test/validation/validateDocument.test.ts @@ -1,4 +1,3 @@ -import {beforeEach, describe, expect, it, jest} from '@jest/globals' import { type ArraySchemaType, type PortableTextTextBlock, @@ -9,6 +8,7 @@ import { type SchemaTypeDefinition, type ValidationContext, } from '@sanity/types' +import {beforeEach, describe, expect, it, vi} from 'vitest' import {createSchema, type Workspace} from '../../src/core' import {getFallbackLocaleSource} from '../../src/core/i18n/fallback' @@ -24,18 +24,20 @@ type ConvertToValidationMarker = // eslint-disable-next-line @typescript-eslint/consistent-type-imports typeof import('../../src/core/validation/util/convertToValidationMarker') -jest.mock('../../src/core/validation/util/convertToValidationMarker', () => { +vi.mock('../../src/core/validation/util/convertToValidationMarker', async () => { return { - convertToValidationMarker: jest.fn( - jest.requireActual( - '../../src/core/validation/util/convertToValidationMarker', + convertToValidationMarker: vi.fn( + ( + await vi.importActual( + '../../src/core/validation/util/convertToValidationMarker', + ) ).convertToValidationMarker, ), } }) beforeEach(() => { - ;(convertToValidationMarker as jest.Mock).mockClear() + convertToValidationMarker.mockClear() }) // mock client @@ -292,8 +294,8 @@ describe('validateItem', () => { // @todo this one fails, needs investigation for what is actually the expected outcome it.skip('runs nested validation for markDefs', async () => { - const linkValidationSpy = jest.fn(() => true as const) - const internalLinkSpy = jest.fn(() => 'mock invalid response') + const linkValidationSpy = vi.fn(() => true as const) + const internalLinkSpy = vi.fn(() => 'mock invalid response') const schema = createSchema({ name: 'default', @@ -674,7 +676,7 @@ describe('validateItem', () => { }, ]) - const calls = (convertToValidationMarker as jest.Mock).mock.calls + const calls = convertToValidationMarker.mock.calls expect(calls.find((call) => call[0] === 'from root')).toMatchObject([ 'from root', diff --git a/packages/sanity/vitest.config.mts b/packages/sanity/vitest.config.mts new file mode 100644 index 00000000000..7a5ef147a90 --- /dev/null +++ b/packages/sanity/vitest.config.mts @@ -0,0 +1,25 @@ +import path from 'node:path' + +import {defineConfig} from '@repo/test-config/vitest' +import react from '@vitejs/plugin-react' + +export default defineConfig({ + test: { + environment: 'jsdom', + globalSetup: ['./test/setup/global.ts'], + setupFiles: ['./test/setup/environment.ts'], + exclude: [ + './playwright-ct', + './src/_internal/cli', // the CLI has its own jest config + ], + /** + * Portabletext package depends on monorepo packages that are not necessarily the same version + * as the latest sanity packages. pnpm dedupes this packages so the aliases do not work in this case. + * This alias points to the source of the pte package so the aliases work. + */ + alias: { + '@portabletext/editor': path.join(__dirname, './node_modules/@portabletext/editor/src'), + }, + }, + plugins: [react()], +}) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1fa28936bda..e8c532b1c88 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1875,6 +1875,9 @@ importers: swr: specifier: 2.2.5 version: 2.2.5(react@18.3.1) + vitest: + specifier: 2.1.1 + version: 2.1.1(@types/node@18.19.44)(jsdom@23.2.0)(terser@5.32.0) packages/sanity/fixtures/examples/prj-with-react-18: dependencies: @@ -2183,11 +2186,6 @@ packages: engines: {node: '>=6.0.0'} hasBin: true - '@babel/parser@7.25.6': - resolution: {integrity: sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==} - engines: {node: '>=6.0.0'} - hasBin: true - '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.3': resolution: {integrity: sha512-wUrcsxZg6rqBXG05HG1FPYgsP6EvwF4WpBbxIpWIIYnH8wG0gzx3yZY3dtEHas4sTAOGkbTsc9EGPxwff8lRoA==} engines: {node: '>=6.9.0'} @@ -12266,10 +12264,6 @@ snapshots: dependencies: '@babel/types': 7.25.6 - '@babel/parser@7.25.6': - dependencies: - '@babel/types': 7.25.6 - '@babel/plugin-bugfix-firefox-class-in-computed-class-key@7.25.3(@babel/core@7.25.2)': dependencies: '@babel/core': 7.25.2 diff --git a/vitest.workspace.ts b/vitest.workspace.ts index 2f87dd8801a..7ada82792eb 100644 --- a/vitest.workspace.ts +++ b/vitest.workspace.ts @@ -7,4 +7,5 @@ export default defineWorkspace([ 'packages/@sanity/schema', 'packages/@sanity/types', 'packages/@sanity/util', + 'packages/sanity', ])