feat: enhance variableFilters schema with additional properties and update exports in index

This commit is contained in:
sheldon guo 2025-02-25 12:26:58 +08:00
parent cf00fe1aa8
commit d2e69e0b35
2 changed files with 12 additions and 2 deletions

View File

@ -17,7 +17,8 @@ export const variableFilters = [
category: 'date',
paramSchema: [
{
label: "{{t('Format')}}",
name: 'format',
title: "{{t('Format')}}",
'x-component': 'Input',
type: 'string',
required: true,
@ -31,12 +32,15 @@ export const variableFilters = [
category: 'date',
paramSchema: [
{
name: 'number',
title: "{{t('Number')}}",
type: 'number',
'x-component': 'InputNumber',
required: true,
},
{
title: 'unit',
name: 'unit',
title: "{{t('Unit')}}",
type: 'string',
required: true,
'x-component': 'Select',
@ -55,11 +59,14 @@ export const variableFilters = [
category: 'date',
paramSchema: [
{
name: 'number',
title: "{{t('Number')}}",
type: 'number',
'x-component': 'InputNumber',
required: true,
},
{
name: 'unit',
title: "{{t('Unit')}}",
type: 'string',
required: true,

View File

@ -9,3 +9,6 @@
export * from './parser';
export * from './filters';
export * from './utils';
export * from './engine';
export * from './escape';