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 { createWaitablePromise as waitable } from '@algolia/client-common' | |
import type { | |
ChunkedBatchResponse, | |
DeleteResponse, | |
SearchResponse, | |
SetSettingsResponse, | |
Settings | |
} from '@algolia/client-search' | |
import type { SearchIndex } from 'algoliasearch' | |
import type { PlainObject } from 'simplytyped' |
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 type { | |
VercelRequest as IVercelRequest, | |
VercelRequestBody, | |
VercelRequestCookies, | |
VercelRequestQuery | |
} from '@vercel/node' | |
import isUndefined from 'lodash/isUndefined' | |
import omit from 'lodash/omit' | |
import type { MockRequestOptions } from 'mock-http' | |
import { Request } from 'mock-http' |
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 type { | |
NullishNumber, | |
NullishString, | |
PartialOr | |
} from '@flex-development/json' | |
import { NumberString } from './utils' | |
/** | |
* @file Type Definitions - Shopify REST Admin API (v2021-01) | |
* @module types/shopify-rest-admin-api |
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 type { ANYTHING } from '@flex-development/json' | |
/** | |
* Shuffle an array. | |
* | |
* @param {ANYTHING[]} array - Array to shuffle | |
* @return {ANYTHING[]} Shuffled array | |
*/ | |
const shuffle = (array: ANYTHING[]): typeof array => { | |
let c = array.length - 1 |
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
#!/bin/bash | |
# Vercel Ignored Build Step | |
# If the following workflow exists with "0", the build will be skipped. | |
# If a code "1" or greater is returned, then a new deployment will be built. | |
# See: https://vercel.com/docs/platform/projects#ignored-build-step | |
# Common files to check for changes in the root of each package | |
COMMON_FILES="package.json tsconfig.json vercel.json" |
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 pino from 'pino' | |
/** | |
* @file Pino Logger Configuration | |
* @module logger | |
* | |
* @see {@link https://github.com/pinojs/pino} | |
* @see {@link https://github.com/pinojs/pino-pretty} | |
* @see {@link https://docs.feathersjs.com/api/errors.html} | |
*/ |
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
/// ---------------------------------------------------------------------------- | |
/// @name spacing-utils-first-last | |
/// @group mixins | |
/// ---------------------------------------------------------------------------- | |
/// Generates utility classes for removing the margin or padding from the first | |
/// or last element within a container. | |
/// @require {function} breakpoint-infix | |
/// @require {mixin} breakpoint-up | |
/// @require {variable} $grid-breakpoints |
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' | |
/** | |
* @file Implementation - reduceObjects | |
* @author Lexus Drumgold <[email protected]> | |
*/ | |
type AnyObject = Record<string, any> | |
/** |
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
# NPM Configuration | |
# See: https://docs.npmjs.com/cli/v6/using-npm/config#npmrc-files | |
# See: https://stackoverflow.com/questions/53099434/using-auth-tokens-in-npmrc | |
# Registry Configuration - npm | |
//registry.npmjs.org/:_authToken=${NPM_TOKEN} | |
registry=https://registry.npmjs.org/ | |
# Registry Configuration - gpr / @flex-development scope | |
//registry.yarnpkg.com/:_authToken=${GH_PAT} |
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
/// <reference types='mdx-js__react' /> | |
declare module 'mdx-scoped-runtime' { | |
import { FC, ReactNode } from 'react' | |
type AnyObject = Record<string, any> | |
interface MDXProps extends MDXProviderProps { | |
children?: ReactNode | |
components?: MDXProviderComponents |