From 11b8a72aad53852ca98352bef46f623b7afcf9da Mon Sep 17 00:00:00 2001 From: Advaiya Lad <67528879+PythonCreator27@users.noreply.github.com> Date: Wed, 26 May 2021 02:42:20 -0500 Subject: [PATCH] feat(options): accept `date` option (#186) feat(options): accept `date` option --- schema.json | 3 +++ src/modules/options.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/schema.json b/schema.json index 2b99a850..d7a0a666 100644 --- a/schema.json +++ b/schema.json @@ -2523,6 +2523,9 @@ "OptionsOptions": { "additionalProperties": false, "properties": { + "date": { + "yahooFinanceType": "number" + }, "formatted": { "type": "boolean" }, diff --git a/src/modules/options.ts b/src/modules/options.ts index 5c92e3ab..ddc41a54 100644 --- a/src/modules/options.ts +++ b/src/modules/options.ts @@ -45,6 +45,7 @@ export interface OptionsOptions { formatted?: boolean; lang?: string; region?: string; + date?: number; } const queryOptionsDefaults: OptionsOptions = {