mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-04-28 17:46:56 +00:00
Merge branch 'develop' into merge/2024-02-03
# Conflicts: # packages/backend/src/core/SearchService.ts # packages/misskey-js/src/autogen/types.ts
This commit is contained in:
commit
c67d985254
2 changed files with 3 additions and 3 deletions
|
@ -85,14 +85,14 @@ const fileTypes = {
|
|||
};
|
||||
|
||||
// Make sure to regenerate misskey-js and check search.note.vue after changing these
|
||||
export const fileTypeCategories = ['image', 'video', 'audio', 'module', 'flash'] as const;
|
||||
export const fileTypeCategories = ['image', 'video', 'audio', 'module', 'flash', null] as const;
|
||||
export type FileTypeCategory = typeof fileTypeCategories[number];
|
||||
|
||||
export type SearchOpts = {
|
||||
userId?: MiNote['userId'] | null;
|
||||
channelId?: MiNote['channelId'] | null;
|
||||
host?: string | null;
|
||||
filetype?: FileTypeCategory | null;
|
||||
filetype?: FileTypeCategory;
|
||||
order?: string | null;
|
||||
disableMeili?: boolean | null;
|
||||
};
|
||||
|
|
|
@ -25901,7 +25901,7 @@ export type operations = {
|
|||
/** @description The local host is represented with `.`. */
|
||||
host?: string;
|
||||
/** @enum {string|null} */
|
||||
filetype?: 'image' | 'video' | 'audio' | 'module' | 'flash';
|
||||
filetype?: 'image' | 'video' | 'audio' | 'module' | 'flash' | null;
|
||||
/**
|
||||
* Format: misskey:id
|
||||
* @default null
|
||||
|
|
Loading…
Add table
Reference in a new issue