apply polyfills
parent
0ede73d229
commit
64085b36fc
|
|
@ -1,3 +1,4 @@
|
||||||
|
import './polyfills.js';
|
||||||
import type * as recordTypes from '../types/recordTypes';
|
import type * as recordTypes from '../types/recordTypes';
|
||||||
export declare function regenerateApiKey(userName: string): Promise<void>;
|
export declare function regenerateApiKey(userName: string): Promise<void>;
|
||||||
export declare function getApiKey(userName: string): Promise<string>;
|
export declare function getApiKey(userName: string): Promise<string>;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
import './polyfills.js';
|
||||||
import fs from 'node:fs/promises';
|
import fs from 'node:fs/promises';
|
||||||
import { v4 as uuidv4 } from 'uuid';
|
import { v4 as uuidv4 } from 'uuid';
|
||||||
import Debug from 'debug';
|
import Debug from 'debug';
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// import { applyPolyfills } from './polyfills.js'
|
import './polyfills.js'
|
||||||
|
|
||||||
import fs from 'node:fs/promises'
|
import fs from 'node:fs/promises'
|
||||||
import { v4 as uuidv4 } from 'uuid'
|
import { v4 as uuidv4 } from 'uuid'
|
||||||
|
|
@ -9,8 +9,6 @@ import type * as recordTypes from '../types/recordTypes'
|
||||||
|
|
||||||
const debug = Debug('lot-occupancy-system:functions.api')
|
const debug = Debug('lot-occupancy-system:functions.api')
|
||||||
|
|
||||||
// applyPolyfills()
|
|
||||||
|
|
||||||
const apiKeyPath = 'data/apiKeys.json'
|
const apiKeyPath = 'data/apiKeys.json'
|
||||||
let apiKeys: Record<string, string>
|
let apiKeys: Record<string, string>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue