A small collection of custom scalars for EdgeDB, ensuring valid values going into the database.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import fs = require("fs-extra"); | |
import glob = require("glob"); | |
import readline = require("readline"); | |
import path = require("path"); | |
export type Header = { key: string, value: string }; | |
export type Order = { [header: string]: "ASC"|"DESC" }; | |
export interface File { | |
file: string; |