mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 19:01:02 +01:00
- Added server-side actions for updating conditions with layer permissions. - Enhanced the conditions page to handle draft conditions and validation. - Introduced a modal for selecting save targets based on user permissions. - Refactored condition and draft condition components to emit changes immutably. - Updated general page to manage form data more reactively and validate inputs.
30 lines
1.4 KiB
TypeScript
30 lines
1.4 KiB
TypeScript
/**
|
|
* Custom Format queries and mutations
|
|
*/
|
|
|
|
// Export all types
|
|
export type { CustomFormatTableRow, ConditionRef, CustomFormatBasic, CustomFormatGeneral, CustomFormatTest } from './types.ts';
|
|
export type { CreateTestInput, CreateTestOptions } from './testCreate.ts';
|
|
export type { UpdateTestInput, UpdateTestOptions } from './testUpdate.ts';
|
|
export type { DeleteTestOptions } from './testDelete.ts';
|
|
export type { ConditionData } from './conditions.ts';
|
|
export type { ConditionListItem } from './listConditions.ts';
|
|
export type { ConditionResult, EvaluationResult, ParsedInfo } from './evaluator.ts';
|
|
export type { UpdateGeneralInput, UpdateGeneralOptions } from './updateGeneral.ts';
|
|
export type { UpdateConditionsOptions } from './updateConditions.ts';
|
|
|
|
// Export query functions (reads)
|
|
export { list } from './list.ts';
|
|
export { general } from './general.ts';
|
|
export { getById, listTests, getTestById } from './tests.ts';
|
|
export { getConditionsForEvaluation } from './conditions.ts';
|
|
export { listConditions } from './listConditions.ts';
|
|
export { evaluateCustomFormat, getParsedInfo } from './evaluator.ts';
|
|
|
|
// Export mutation functions (writes via PCD operations)
|
|
export { createTest } from './testCreate.ts';
|
|
export { updateTest } from './testUpdate.ts';
|
|
export { deleteTest } from './testDelete.ts';
|
|
export { updateGeneral } from './updateGeneral.ts';
|
|
export { updateConditions } from './updateConditions.ts';
|