@sigmaott/base-next 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sigmaott/base-next",
3
3
  "type": "module",
4
- "version": "1.0.7",
4
+ "version": "1.0.9",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -1,5 +1,5 @@
1
1
  <script lang="ts" setup>
2
- import { langOptions } from '@sigmaott/base-next/src/constants/languageCode'
2
+ import { langOptions } from '../../constants/languageCode'
3
3
 
4
4
  const { schemaObj } = useAsyncSchema('/api/transcode/api-docs-json', 'CreatePresetDto')
5
5
  const { schemaObj: schemaSCTE35 } = useAsyncSchema('/api/transcode/api-docs-json', 'PresetScte35OverwriteDto')
@@ -1,4 +1,3 @@
1
- import type { FieldConfigMap } from '@sigmaott/base-next/src/components'
2
1
 
3
2
  export interface SchemaField {
4
3
  type: string
@@ -82,7 +81,7 @@ export function useFilterSchema(schema: Record<string, SchemaField>,
82
81
  })
83
82
 
84
83
  const fieldMap = Object.values(filterable || []).reduce(
85
- (acc: FieldConfigMap, curr: SchemaField) => {
84
+ (acc: Record<string, any>, curr: SchemaField) => {
86
85
  acc[curr.value] = {
87
86
  label: curr.label,
88
87
  value: curr.value,
@@ -93,7 +92,7 @@ export function useFilterSchema(schema: Record<string, SchemaField>,
93
92
  }
94
93
  return acc
95
94
  },
96
- {} as FieldConfigMap,
95
+ {} ,
97
96
  )
98
97
 
99
98
  return {
@@ -1 +1 @@
1
- 1752310908863
1
+ 1752462511712