11 lines
275 B
TypeScript
11 lines
275 B
TypeScript
import Chart from '../../core';
|
|
|
|
export const name = 'testIntersection';
|
|
|
|
export const schema = {
|
|
'a': { uniqueIncrement: true },
|
|
'b': { uniqueIncrement: true },
|
|
'aAndB': { intersection: ['a', 'b'] },
|
|
} as const;
|
|
|
|
export const entity = Chart.schemaToEntity(name, schema);
|