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 { merge } from "lodash"; | |
| import { request } from "https"; | |
| import { v4 as uuidv4 } from "uuid"; | |
| export const name = "analytics-lamdba"; | |
| export const version = "0.1.2"; | |
| export type SegmentMessageTypes = | |
| | "identify" | |
| | "group" |
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 { ServerResponse } from "http"; | |
| interface CacheControlConfig { | |
| sMaxAge?: number; | |
| maxAge?: number; | |
| staleWhileRevalidate?: boolean | number; | |
| publicCache?: boolean; | |
| privateCache?: boolean; | |
| immutable?: boolean; | |
| noCache?: boolean; |
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 React, { useRef, useEffect } from 'react'; | |
| import places from 'places.js'; | |
| // Custom component for React implementation with Hooks for Places.js | |
| const AlgoliaPlaces = ({ | |
| inputComponent = input, | |
| placeholder, | |
| options, | |
| initialValue, |
NewerOlder