mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Enforce node: schema for builtins, import extensions
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { z } from 'zod';
|
||||
import { convertUndefinedToNull } from '../../util/dropNull';
|
||||
import { attachmentDownloadTypeSchema } from '../../types/AttachmentDownload';
|
||||
import { APPLICATION_OCTET_STREAM } from '../../types/MIME';
|
||||
import type { MessageAttachmentDBType } from '../Interface';
|
||||
import { convertUndefinedToNull } from '../../util/dropNull.js';
|
||||
import { attachmentDownloadTypeSchema } from '../../types/AttachmentDownload.js';
|
||||
import { APPLICATION_OCTET_STREAM } from '../../types/MIME.js';
|
||||
import type { MessageAttachmentDBType } from '../Interface.js';
|
||||
|
||||
const permissiveStringOrNull = z
|
||||
.string()
|
||||
|
||||
Reference in New Issue
Block a user