Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2025-01-06 11:53:32 +00:00
commit 538c00c6fc
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import { useRecord } from '../../../record-provider';
import { useCompile } from '../../../schema-component'; import { useCompile } from '../../../schema-component';
import { useCollectionManager_deprecated } from '../../hooks'; import { useCollectionManager_deprecated } from '../../hooks';
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid']; const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid', 'nanoid'];
export const SourceForeignKey = observer( export const SourceForeignKey = observer(
() => { () => {
const record = useRecord(); const record = useRecord();

View File

@ -14,7 +14,7 @@ import { useParams } from 'react-router-dom';
import { useRecord, useCompile, useAPIClient, useCollectionManager_deprecated } from '@nocobase/client'; import { useRecord, useCompile, useAPIClient, useCollectionManager_deprecated } from '@nocobase/client';
import { useRemoteCollectionContext } from '../CollectionFields'; import { useRemoteCollectionContext } from '../CollectionFields';
const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid']; const supportTypes = ['string', 'bigInt', 'integer', 'uuid', 'uid', 'nanoid'];
export const SourceKey = observer( export const SourceKey = observer(
(props: any) => { (props: any) => {