Compare commits
No commits in common. "ts-conversion" and "master" have entirely different histories.
ts-convers
...
master
@ -1,8 +1,9 @@
|
||||
{
|
||||
"name": "lovelacejs",
|
||||
"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",
|
||||
"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",
|
||||
"directories": {
|
||||
"test": "tests"
|
||||
},
|
||||
|
@ -1,3 +1,4 @@
|
||||
import filterTypes from "../constants/filterTypes"
|
||||
import Table from "../entities/Table"
|
||||
import { tableRow } from "./tableTypes"
|
||||
|
||||
@ -8,7 +9,9 @@ type noduleConstructorProps = {
|
||||
tables?: Table[]
|
||||
}
|
||||
|
||||
type filterType = 'EQUAL' | 'GREATER' | 'GREATEREQUAL' | 'LESSER' | 'LESSEREQUAL'
|
||||
type filterKeys = keyof typeof filterTypes
|
||||
type filterValues = typeof filterTypes[filterKeys]
|
||||
type filterType = filterValues
|
||||
type filterParams = Record<string, string | number>
|
||||
type filterNoduleConstructionProps = noduleConstructorProps & {filterType: filterType} & {filterParams: filterParams}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user