File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/modules/datasets/dataset/schema Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 1- import { DatasetSchemaQuery } from '@/graphql/dataprotector/graphql' ;
21import { cn } from '@/lib/utils' ;
32import React from 'react' ;
43import {
@@ -12,20 +11,14 @@ import { borderTypeColor } from '../../borderTypeColor';
1211import { SchemaFilter } from '../../schemaFilters' ;
1312
1413export interface TypeBadgeProps {
15- schemaPaths ?: NonNullable <
16- NonNullable < DatasetSchemaQuery [ 'protectedData' ] > [ 'schema' ]
17- > ;
14+ schemaPaths ?: SchemaFilter [ ] ;
1815 isLoading ?: boolean ;
1916 maxVisible ?: number ;
2017 direction ?: 'vertical' | 'horizontal' ;
2118 className ?: string ;
2219 overflowHidden ?: boolean ;
2320 enableTooltip ?: boolean ;
24- onSchemaSearch ?: (
25- schema : NonNullable <
26- NonNullable < DatasetSchemaQuery [ 'protectedData' ] > [ 'schema' ]
27- >
28- ) => void ;
21+ onSchemaSearch ?: ( schema : SchemaFilter ) => void ;
2922}
3023
3124const getBorderColor = ( type : string ) => {
You can’t perform that action at this time.
0 commit comments