feat(core): create references from version documents and new version documents. #29177
Annotations
7 errors and 1 warning
Test:
packages/sanity/src/core/studio/copyPaste/__test__/schema/index.ts#L49
TypeError: (0 , createSchema) is not a function
❯ src/core/studio/copyPaste/__test__/schema/index.ts:49:23
❯ src/core/studio/copyPaste/__test__/transferValue.test.ts:9:1
|
Test:
packages/sanity/src/core/util/draftUtils.ts#L66
TypeError: Cannot read properties of undefined (reading 'startsWith')
❯ isVersionId src/core/util/draftUtils.ts:66:13
❯ getPublishedId src/core/util/draftUtils.ts:136:7
❯ useDocumentVersions src/core/releases/hooks/useDocumentVersions.tsx:31:23
❯ DocumentPerspectiveList2 src/structure/panes/document/documentPanel/header/perspective/DocumentPerspectiveList.tsx:85:36
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ updateSimpleMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19454:10
❯ updateMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19303:14
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21712:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
|
Test:
packages/sanity/src/core/util/draftUtils.ts#L66
TypeError: Cannot read properties of undefined (reading 'startsWith')
❯ isVersionId src/core/util/draftUtils.ts:66:13
❯ getPublishedId src/core/util/draftUtils.ts:136:7
❯ useDocumentVersions src/core/releases/hooks/useDocumentVersions.tsx:31:23
❯ DocumentPerspectiveList2 src/structure/panes/document/documentPanel/header/perspective/DocumentPerspectiveList.tsx:85:36
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ updateSimpleMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19454:10
❯ updateMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19303:14
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21712:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
|
Test:
packages/sanity/src/core/util/draftUtils.ts#L66
TypeError: Cannot read properties of undefined (reading 'startsWith')
❯ isVersionId src/core/util/draftUtils.ts:66:13
❯ getPublishedId src/core/util/draftUtils.ts:136:7
❯ useDocumentVersions src/core/releases/hooks/useDocumentVersions.tsx:31:23
❯ DocumentPerspectiveList2 src/structure/panes/document/documentPanel/header/perspective/DocumentPerspectiveList.tsx:85:36
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ updateSimpleMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19454:10
❯ updateMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19303:14
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21712:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
|
Test:
packages/sanity/src/core/util/draftUtils.ts#L66
TypeError: Cannot read properties of undefined (reading 'startsWith')
❯ isVersionId src/core/util/draftUtils.ts:66:13
❯ getPublishedId src/core/util/draftUtils.ts:136:7
❯ useDocumentVersions src/core/releases/hooks/useDocumentVersions.tsx:31:23
❯ DocumentPerspectiveList2 src/structure/panes/document/documentPanel/header/perspective/DocumentPerspectiveList.tsx:85:36
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ updateSimpleMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19454:10
❯ updateMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19303:14
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21712:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
|
Test:
packages/sanity/src/core/util/draftUtils.ts#L66
TypeError: Cannot read properties of undefined (reading 'startsWith')
❯ isVersionId src/core/util/draftUtils.ts:66:13
❯ getPublishedId src/core/util/draftUtils.ts:136:7
❯ useDocumentVersions src/core/releases/hooks/useDocumentVersions.tsx:31:23
❯ DocumentPerspectiveList2 src/structure/panes/document/documentPanel/header/perspective/DocumentPerspectiveList.tsx:85:36
❯ renderWithHooks ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ updateSimpleMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19454:10
❯ updateMemoComponent ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:19303:14
❯ beginWork ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:21712:16
❯ beginWork$1 ../../node_modules/.pnpm/[email protected][email protected]/node_modules/react-dom/cjs/react-dom.development.js:27465:14
|
Test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading