Use UUIDs in group database schema

This commit is contained in:
Fedor Indutny 2021-10-26 15:59:08 -07:00 committed by GitHub
parent 74fde10ff5
commit 63fcdbe787
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 4530 additions and 3664 deletions

View file

@ -12,11 +12,10 @@ import type { MentionCompletionOptions } from '../../../quill/mentions/completio
import { MentionCompletion } from '../../../quill/mentions/completion';
import type { ConversationType } from '../../../state/ducks/conversations';
import { MemberRepository } from '../../../quill/memberRepository';
import { getDefaultConversation } from '../../../test-both/helpers/getDefaultConversation';
import { getDefaultConversationWithUuid } from '../../../test-both/helpers/getDefaultConversation';
const me: ConversationType = getDefaultConversation({
const me: ConversationType = getDefaultConversationWithUuid({
id: '666777',
uuid: 'pqrstuv',
title: 'Fred Savage',
firstName: 'Fred',
profileName: 'Fred S.',
@ -28,9 +27,8 @@ const me: ConversationType = getDefaultConversation({
});
const members: Array<ConversationType> = [
getDefaultConversation({
getDefaultConversationWithUuid({
id: '555444',
uuid: 'abcdefg',
title: 'Mahershala Ali',
firstName: 'Mahershala',
profileName: 'Mahershala A.',
@ -39,9 +37,8 @@ const members: Array<ConversationType> = [
markedUnread: false,
areWeAdmin: false,
}),
getDefaultConversation({
getDefaultConversationWithUuid({
id: '333222',
uuid: 'hijklmno',
title: 'Shia LaBeouf',
firstName: 'Shia',
profileName: 'Shia L.',