update
This commit is contained in:
parent
48420b2e18
commit
2705e7281e
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
export.json
|
||||
.dev.env
|
||||
dev
|
|
@ -1,8 +1,6 @@
|
|||
include "dropins";
|
||||
|
||||
import "lib/typeLib" as typeLib;
|
||||
|
||||
#["DEBUG:",{"creationDate":"number","ingestions":[{"administrationRoute":"string","consumerName":"null","creationDate":"number","customUnitId":"null","dose":"number","estimatedDoseStandardDeviation":"null","isDoseAnEstimate":"boolean","notes":"string","stomachFullness":"null","substanceName":"string","time":"number","units":"string"}],"isFavorite":"boolean","location":"null","ratings":"array:empty/unknown","sortDate":"number","text":"string","timedNotes":"array:empty/unknown","title":"string"}]
|
||||
import "typeLib" as typeLib;
|
||||
|
||||
def ensureAdministrationRoute:
|
||||
. as $administrationRoute |
|
0
tool/lib/substancesLib.jq
Normal file
0
tool/lib/substancesLib.jq
Normal file
|
@ -6,9 +6,9 @@ import "lib/stringLib" as stringLib;
|
|||
import "lib/tableLib" as tableLib;
|
||||
import "lib/utilsLib" as utilsLib;
|
||||
import "lib/journalLib" as journalLib;
|
||||
import "lib/journalTypes" as journalTypes;
|
||||
|
||||
import "journalUtils" as journalUtils;
|
||||
import "types" as types;
|
||||
|
||||
def printExperienceStats($stats; $substanceFilter; $consumerFilter; $withTitle):
|
||||
. as $experience |
|
||||
|
@ -131,7 +131,7 @@ def main:
|
|||
] | join("\n") | halt_error(1);
|
||||
|
||||
$ARGS.named["exportFile"][0] as $exportData |
|
||||
$exportData | types::ensureExportData |
|
||||
$exportData | journalTypes::ensureExportData |
|
||||
|
||||
($ARGS | argsLib::parseArgs) as $parsedArgs |
|
||||
|
||||
|
|
Loading…
Reference in a new issue