Enforce node: schema for builtins, import extensions

This commit is contained in:
Fedor Indutny 2025-09-16 17:39:03 -07:00 committed by GitHub
commit c02565eaa8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2096 changed files with 14955 additions and 14023 deletions

View file

@ -1,17 +1,17 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { ConversationAttributesType } from '../model-types';
import { hasExpired } from '../state/selectors/expiration';
import { isOSUnsupported } from '../state/selectors/updates';
import type { ConversationAttributesType } from '../model-types.js';
import { hasExpired } from '../state/selectors/expiration.js';
import { isOSUnsupported } from '../state/selectors/updates.js';
import type { AnyToast } from '../types/Toast';
import { ToastType } from '../types/Toast';
import type { AnyToast } from '../types/Toast.js';
import { ToastType } from '../types/Toast.js';
import {
isDirectConversation,
isGroupV1,
isGroupV2,
} from './whatTypeOfConversation';
} from './whatTypeOfConversation.js';
const MAX_MESSAGE_BODY_LENGTH = 64 * 1024;