misskey/packages/backend/src/models/util/id.ts

10 lines
186 B
TypeScript

/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/
export const id = () => ({
type: 'varchar' as const,
length: 32,
});