mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-09 22:02:19 +02:00
restructure files onto electron-vite boilerplate
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { nanoid } from 'nanoid/non-secure';
|
||||
|
||||
import { NDSongQueryFields } from '/@/renderer/api/navidrome.types';
|
||||
import { QueryBuilderGroup } from '/@/renderer/types';
|
||||
|
||||
@@ -93,7 +94,7 @@ export const convertNDQueryToQueryGroup = (query: Record<string, any>) => {
|
||||
const rootGroup: QueryBuilderGroup = {
|
||||
group: [],
|
||||
rules: [],
|
||||
type: rootType as 'any' | 'all',
|
||||
type: rootType as 'all' | 'any',
|
||||
uniqueId: nanoid(),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user