Compare commits
No commits in common. "master" and "ts-conversion" have entirely different histories.
master
...
ts-convers
@ -1,9 +1,8 @@
|
||||
{
|
||||
"name": "lovelacejs",
|
||||
"version": "1.0.0",
|
||||
"description": "Lovelace.js is a library to easily mutate data through relationships, filtering, and tranforming the shape of data.",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
"version": "0.2.2",
|
||||
"description": "Lovelace.js is a modern JavaScript Library to create objects that easily mutate data through relationships, filtering, and tranforming the shape of data.",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
"test": "tests"
|
||||
},
|
||||
|
@ -1,4 +1,3 @@
|
||||
import filterTypes from "../constants/filterTypes"
|
||||
import Table from "../entities/Table"
|
||||
import { tableRow } from "./tableTypes"
|
||||
|
||||
@ -9,9 +8,7 @@ type noduleConstructorProps = {
|
||||
tables?: Table[]
|
||||
}
|
||||
|
||||
type filterKeys = keyof typeof filterTypes
|
||||
type filterValues = typeof filterTypes[filterKeys]
|
||||
type filterType = filterValues
|
||||
type filterType = 'EQUAL' | 'GREATER' | 'GREATEREQUAL' | 'LESSER' | 'LESSEREQUAL'
|
||||
type filterParams = Record<string, string | number>
|
||||
type filterNoduleConstructionProps = noduleConstructorProps & {filterType: filterType} & {filterParams: filterParams}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user