Skip to content

Commit

Permalink
format and lint clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
SenexCrenshaw committed Oct 31, 2023
1 parent f25e59e commit 85e89d7
Show file tree
Hide file tree
Showing 35 changed files with 51 additions and 57 deletions.
3 changes: 2 additions & 1 deletion streammasterwebui/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
_next/
__tmp__/
build/
node_modules/
node_modules/
dist/
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/AddButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const AddButton: React.FC<ChildButtonProperties> = ({ disabled = false, iconFilled, label, onClick, tooltip = 'Add' }) => (
<BaseButton
Expand Down
3 changes: 1 addition & 2 deletions streammasterwebui/components/buttons/AutoSetButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const AutoSetButton: React.FC<ChildButtonProperties> = ({ disabled = true, onClick, tooltip = 'Auto Set' }) => (
<BaseButton disabled={disabled} icon="pi-sort-numeric-up-alt" onClick={onClick} tooltip={tooltip} />
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/BanButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const BanButton: React.FC<ChildButtonProperties> = ({ className, disabled = false, onClick, tooltip = '' }) => (
<BaseButton className={className} disabled={disabled} icon="pi-ban" iconFilled={false} onClick={onClick} tooltip={tooltip} />
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/BookButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const BookButton: React.FC<ChildButtonProperties> = ({ disabled = false, iconFilled = true, label, onClick, tooltip = '' }) => (
<BaseButton disabled={disabled} icon="pi-book" iconFilled={iconFilled} label={label} onClick={onClick} tooltip={tooltip} />
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/ClearButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const ClearButton: React.FC<ChildButtonProperties> = ({ disabled = true, onClick, tooltip = '' }) => (
<BaseButton disabled={disabled} icon="pi-book" onClick={onClick} tooltip={tooltip} />
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/ClockButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const ClockButton: React.FC<ChildButtonProperties> = ({ disabled = false, label, onClick, tooltip = 'Time Shift', iconFilled }) => (
<BaseButton disabled={disabled} icon="pi-stopwatch" iconFilled={iconFilled} label={label} onClick={onClick} tooltip={tooltip} />
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/DeleteButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const DeleteButton: React.FC<ChildButtonProperties> = ({ disabled = false, iconFilled, label, onClick, tooltip = 'Delete Stream' }) => (
<BaseButton
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/DownArrowButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const DownArrowButton: React.FC<ChildButtonProperties> = ({ className, disabled = false, onClick, tooltip = 'Add Additional Channels' }) => (
<BaseButton className={className} disabled={disabled} icon="pi-chevron-down" iconFilled={false} onClick={onClick} severity="success" tooltip={tooltip} />
Expand Down
3 changes: 1 addition & 2 deletions streammasterwebui/components/buttons/EditButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const EditButton: React.FC<ChildButtonProperties> = ({ disabled = false, iconFilled, label, onClick, tooltip = 'Edit' }) => (
<BaseButton
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/ImageButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const ImageButton: React.FC<ChildButtonProperties> = ({ disabled = true, iconFilled = true, onClick, tooltip = '' }) => (
<BaseButton disabled={disabled} icon="pi-image" iconFilled={iconFilled} onClick={onClick} tooltip={tooltip} />
Expand Down
3 changes: 1 addition & 2 deletions streammasterwebui/components/buttons/OKButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const OKButton: React.FC<ChildButtonProperties> = ({ iconFilled = true, label, onClick, tooltip = '' }) => (
<BaseButton
Expand Down
3 changes: 1 addition & 2 deletions streammasterwebui/components/buttons/RefreshButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const RefreshButton: React.FC<ChildButtonProperties> = ({ disabled = false, onClick, tooltip = '' }) => (
<BaseButton disabled={disabled} icon="pi-sync" iconFilled={false} onClick={onClick} tooltip={tooltip} />
Expand Down
3 changes: 1 addition & 2 deletions streammasterwebui/components/buttons/ResetButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const ResetButton: React.FC<ChildButtonProperties> = ({ disabled = false, onClick, tooltip = '' }) => (
<BaseButton disabled={disabled} icon="pi-history" iconFilled={false} onClick={onClick} tooltip={tooltip} />
Expand Down
3 changes: 1 addition & 2 deletions streammasterwebui/components/buttons/RightArrowButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const RightArrowButton: React.FC<ChildButtonProperties> = ({ disabled = false, onClick, tooltip = 'Add' }) => (
<BaseButton disabled={disabled} icon="pi-chevron-right" iconFilled={false} onClick={onClick} severity="success" tooltip={tooltip} />
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/VisibleButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const VisibleButton: React.FC<ChildButtonProperties> = ({ disabled = false, iconFilled = true, label, onClick, tooltip = 'Toggle Visibility' }) => (
<BaseButton
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/buttons/XButton.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import BaseButton, { type ChildButtonProps as ChildButtonProperties } from './BaseButton';
import BaseButton, { type ChildButtonProperties } from './BaseButton';

const XButton: React.FC<ChildButtonProperties> = ({ disabled = false, onClick, tooltip = 'Remove', iconFilled, label }) => (
<BaseButton disabled={disabled} icon="pi-times" iconFilled={iconFilled} label={label} onClick={onClick} severity="danger" tooltip={tooltip} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type DataTableExpandedRows, type DataTableFilterMeta, type DataTableVal
import { useLocalStorage } from 'primereact/hooks';
import { useState } from 'react';

import { AdditionalFilterProps } from '@lib/common/common';
import { AdditionalFilterProperties } from '@lib/common/common';
import { VideoStreamIsReadOnly } from '@lib/iptvApi';
import { useSelectAll } from '@lib/redux/slices/useSelectAll';
import { useSelectedItems } from '@lib/redux/slices/useSelectedItemsSlice';
Expand All @@ -25,7 +25,7 @@ const useDataSelectorState = <T extends DataTableValue>(id: string, selectedItem
const [dataSource, setDataSource] = useState<T[]>();
const [first, setFirst] = useState<number>(0);
const [page, setPage] = useState<number>(1);
const [additionalFilterProperties, setAdditionalFilterProperties] = useState<AdditionalFilterProps | undefined>();
const [additionalFilterProperties, setAdditionalFilterProperties] = useState<AdditionalFilterProperties | undefined>();

const [rows, setRows] = useState<number>(25);
const [filters, setFilters] = useState<DataTableFilterMeta>({});
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/epg/EPGFileDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CreateEpgFileRequest, useEpgFilesCreateEpgFileMutation } from '@lib/iptvApi';
import React, { useState } from 'react';
import FileDialog, { type FileDialogProps as FileDialogProperties } from '../sharedEPGM3U/FileDialog';
import FileDialog, { type FileDialogProperties } from '../sharedEPGM3U/FileDialog';

const EPGFileDialog: React.FC<Partial<FileDialogProperties>> = () => {
const [infoMessage, setInfoMessage] = useState('');
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/m3u/M3UFileDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useM3UFilesCreateM3UFileMutation, type CreateM3UFileRequest } from '@lib/iptvApi';
import React, { useState } from 'react';
import FileDialog, { type FileDialogProps as FileDialogProperties } from '../sharedEPGM3U/FileDialog';
import FileDialog, { type FileDialogProperties } from '../sharedEPGM3U/FileDialog';

const M3UFileDialog: React.FC<Partial<FileDialogProperties>> = () => {
const [infoMessage, setInfoMessage] = useState('');
Expand Down
16 changes: 8 additions & 8 deletions streammasterwebui/components/selectors/BaseSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import {
addOrUpdateValueForField,
doSetsContainSameIds,
type GetApiArg,
type GetApiArgument,
type HasId,
type SMDataTableFilterMetaData,
type SimpleQueryApiArg
type SimpleQueryApiArgument
} from '@lib/common/common';
import { skipToken } from '@reduxjs/toolkit/dist/query/react';
import { Dropdown, type DropdownChangeEvent, type DropdownFilterEvent } from 'primereact/dropdown';
Expand Down Expand Up @@ -42,8 +42,8 @@ export interface BaseSelectorProperties<T extends HasId> {
readonly onChange: (value: string) => void;
readonly optionLabel: string;
readonly optionValue: string;
readonly queryFilter: (option: GetApiArg | typeof skipToken) => PagedResponseDtoData<T>;
readonly queryHook: (option: SimpleQueryApiArg) => SimpleQueryResponse<T>;
readonly queryFilter: (option: GetApiArgument | typeof skipToken) => PagedResponseDtoData<T>;
readonly queryHook: (option: SimpleQueryApiArgument) => SimpleQueryResponse<T>;
readonly querySelectedItem: (argument: StringArgument) => Promise<T | null>;
readonly selectName: string;
readonly selectedTemplate: (option: T) => JSX.Element;
Expand All @@ -58,13 +58,13 @@ const BaseSelector = <T extends HasId>(props: BaseSelectorProperties<T>) => {
const [dataSource, setDataSource] = useState<T[]>([]);
const [filteredDataSource, setFilteredDataSource] = useState<T[]>([]);

const [simpleQuery, setSimpleQuery] = useState<SimpleQueryApiArg>({
const [simpleQuery, setSimpleQuery] = useState<SimpleQueryApiArgument>({
first: 0,
last: 200
});
const query = props.queryHook(simpleQuery);

const [queryFilter, setQueryFilter] = useState<GetApiArg | undefined>();
const [queryFilter, setQueryFilter] = useState<GetApiArgument | undefined>();

const filterQuery = props.queryFilter(queryFilter ?? skipToken);

Expand Down Expand Up @@ -218,7 +218,7 @@ const BaseSelector = <T extends HasId>(props: BaseSelectorProperties<T>) => {
setQueryFilter({
jsonFiltersString: JSON.stringify(toSend),
pageSize: 40
} as GetApiArg);
} as GetApiArgument);
};

return (
Expand Down Expand Up @@ -256,7 +256,7 @@ const BaseSelector = <T extends HasId>(props: BaseSelectorProperties<T>) => {
setSimpleQuery({
first: firstRecord,
last: (e.last as number) + 100
} as SimpleQueryApiArg);
} as SimpleQueryApiArgument);
}
},
showLoader: true,
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/selectors/EPGSelector.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ProgrammeNameDto, useProgrammesGetPagedProgrammeNameSelectionsQuery, useProgrammesGetProgrammsSimpleQueryQuery } from '@lib/iptvApi';
import { GetProgrammeFromDisplayName } from '@lib/smAPI/Programmes/ProgrammesGetAPI';
import React, { useCallback } from 'react';
import BaseSelector, { type BaseSelectorProps as BaseSelectorProperties } from './BaseSelector';
import BaseSelector, { type BaseSelectorProperties } from './BaseSelector';

type EPGSelectorProperties = BaseSelectorProperties<ProgrammeNameDto> & {
enableEditMode?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/components/selectors/IconSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IconFileDto, useIconsGetIconsSimpleQueryQuery, useIconsGetPagedIconsQue
import { GetIconFromSource } from '@lib/smAPI/Icons/IconsGetAPI';
import useSettings from '@lib/useSettings';
import React, { useCallback } from 'react';
import BaseSelector, { BaseSelectorProps as BaseSelectorProperties } from './BaseSelector';
import BaseSelector, { BaseSelectorProperties } from './BaseSelector';

type IconSelectorProperties = BaseSelectorProperties<IconFileDto> & {
enableEditMode?: boolean;
Expand Down
6 changes: 3 additions & 3 deletions streammasterwebui/components/sharedEPGM3U/FileDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const FileDialog: React.FC<FileDialogProperties> = ({ fileType, infoMessage: inp

const onTemplateClear = () => {
setProgress(0);
setActiveFile();
setActiveFile(undefined);
setNameFromFileName(false);
};

Expand Down Expand Up @@ -143,7 +143,7 @@ const FileDialog: React.FC<FileDialogProperties> = ({ fileType, infoMessage: inp
}
setShowOverlay(false);
setBlock(false);
setInfoMessage();
setInfoMessage(undefined);
setStreamURLPrefix(0);
setProgress(0);
setUploadedBytes(0);
Expand Down Expand Up @@ -310,7 +310,7 @@ const FileDialog: React.FC<FileDialogProperties> = ({ fileType, infoMessage: inp
maxFileSize={300_000_000}
onClear={onTemplateClear}
onError={onTemplateClear}
onRemove={() => setActiveFile()}
onRemove={() => setActiveFile(undefined)}
onSelect={onTemplateSelect}
ref={fileUploadReference}
style={{ width: '100vw' }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ const StreamGroupDeleteDialog = ({ id, onHide }: StreamGroupDeleteDialogProperti

await streamGroupsDeleteStreamGroupMutations(data)
.then(() => {
setSelectedStreamGroup();
setSelectedStreamGroup(undefined);
setInfoMessage('Stream Group Deleted Successfully');
})
.catch((error) => {
setSelectedStreamGroup();
setSelectedStreamGroup(undefined);
setInfoMessage(`Stream Group Delete Error: ${error.message}`);
});
}, [ReturnToParent, selectedStreamGroup, setSelectedStreamGroup, streamGroupsDeleteStreamGroupMutations]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const VideoStreamPanel = ({ group, onEdit, onSave, videoStream }: VideoStreamPan
url
} as CreateVideoStreamRequest);

setDataSource();
setDataSource(undefined);
}}
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const ChannelGroupVideoStreamDataSelector = ({ enableEdit: propsEnableEdit, id,
}, [channelGroupNames, dataKey, queryAdditionalFilter, setQueryAdditionalFilter]);

useEffect(() => {
if (propsEnableEdit! == enableEdit) {
if (propsEnableEdit !== enableEdit) {
setEnableEdit(propsEnableEdit ?? true);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createSlice, type PayloadAction } from '@reduxjs/toolkit';
import { type AdditionalFilterProperties } from '../../common/common';
import { type RootState } from '../store';
import { type AdditionalFilterProps as AdditionalFilterProperties } from '../../common/common';

interface SetQueryAdditionalFilterPayload {
filter: AdditionalFilterProperties | null | undefined;
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/lib/redux/slices/queryFilterSlice.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { createSlice, type PayloadAction } from '@reduxjs/toolkit';
import { type GetApiArgument } from '../../common/common';
import { type RootState } from '../store';
import { type GetApiArg as GetApiArgument } from '../../common/common';

interface SetQueryFilterPayload {
filter: GetApiArgument | undefined;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useDispatch, useSelector } from 'react-redux';
import { type AdditionalFilterProperties } from '../../common/common';
import { type AppDispatch, type RootState } from '../store';
import { type AdditionalFilterProps as AdditionalFilterProperties } from '../../common/common';
import { setQueryAdditionalFilter as setQueryAdditionalFilterInternal } from './queryAdditionalFiltersSlice';

export const useQueryAdditionalFilters = (typename: string) => {
Expand Down
2 changes: 1 addition & 1 deletion streammasterwebui/lib/redux/slices/useQueryFilter.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useDispatch, useSelector } from 'react-redux';
import { type GetApiArgument } from '../../common/common';
import { type AppDispatch, type RootState } from '../store';
import { type GetApiArg as GetApiArgument } from '../../common/common';
import { setQueryFilterInternal } from './queryFilterSlice';

export const useQueryFilter = (typename: string) => {
Expand Down
4 changes: 2 additions & 2 deletions streammasterwebui/lib/smAPI/Icons/IconsGetAPI.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint unused-imports/no-unused-imports-ts: off */
/* eslint @typescript-eslint/no-unused-vars: off */
import { type StringArg } from '@components/selectors/BaseSelector';
import { type StringArgument } from '@components/selectors/BaseSelector';
import type * as iptv from '@lib/iptvApi';
import { invokeHubConnection } from '@lib/signalr/signalr';

export const GetIcon = async (argument: iptv.IconFileDto): Promise<iptv.IconFileDto | null> => invokeHubConnection<iptv.IconFileDto>('GetIcon', argument);
export const GetIconFromSource = async (argument: StringArg): Promise<iptv.IconFileDto | null> =>
export const GetIconFromSource = async (argument: StringArgument): Promise<iptv.IconFileDto | null> =>
invokeHubConnection<iptv.IconFileDto>('GetIconFromSource', argument);
export const GetPagedIcons = async (argument: iptv.PagedResponseOfIconFileDto): Promise<iptv.IconFileDto[] | null> =>
invokeHubConnection<iptv.IconFileDto[]>('GetPagedIcons', argument);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const GetLineupPreviews = async (argument: iptv.LineUpPreview[]): Promise
invokeHubConnection<iptv.LineUpPreview[]>('GetLineupPreviews', argument);
export const GetLineups = async (argument: iptv.LineUpsResult): Promise<iptv.LineUpsResult | null> =>
invokeHubConnection<iptv.LineUpsResult>('GetLineups', argument);
export const GetSDPrograms = async (argument: SdProgram): Promise<iptv.SDProgram[] | null> => invokeHubConnection<iptv.SDProgram[]>('GetSDPrograms', argument);
export const GetSchedules = async (argument: iptv.Schedule[]): Promise<iptv.Schedule[] | null> =>
invokeHubConnection<iptv.Schedule[]>('GetSchedules', argument);
export const GetSelectedStationIds = async (argument: iptv.StationIdLineUp[]): Promise<iptv.StationIdLineUp[] | null> =>
Expand Down
11 changes: 5 additions & 6 deletions streammasterwebui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,14 @@
"build": "vite build",
"preview": "vite preview",
"builddev": "npm run build && cp -r dist/* ..StreamMasterAPI\\bin\\Debug\\net7.0\\wwwroot -force",
"build:check": "npm run foramt && npm run format:check && npm run type:check && npm run security:check",
"security:check": "npm audit --production --audit-level high",
"format": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"format:check": "prettier --check \"{components,pages,service,api-generator}/**/*.{js,ts,tsx,d.ts}\"",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"build:check": "npm run prettier:check && npm run lint && npm run type:check && npm run security:check",
"security:check": "npm audit --omit=dev --audit-level high",
"lint": "eslint --ignore-path .estlintignore . --ext .js,.jsx,.ts,.tsx",
"type:check": "tsc",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"lint:fix": "eslint --ignore-path .estlintignore . --ext .js,.jsx,.ts,.tsx --fix",
"buildapi": "npx @rtk-query/codegen-openapi openapi-config.ts",
"prettier": "npx prettier --write .",
"prettier:check": "prettier --check \"{components,pages,service,api-generator}/**/*.{js,ts,tsx,d.ts}\"",
"test": "vitest run",
"watch": "vitest watch",
"coverage": "vitest run --coverage",
Expand Down
1 change: 1 addition & 0 deletions streammasterwebui/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

0 comments on commit 85e89d7

Please sign in to comment.