@shopify/app-bridge
Version:
**Shopify is doubling our engineering staff in 2021! [Join our team and work on libraries like this one.](https://smrtr.io/5GGrc)**
9 lines (8 loc) • 586 B
TypeScript
import type { Indexable } from '../actions/merge';
import { Validator, ValidationError } from './type-validate';
export declare function createActionValidator(type: Indexable, payloadSchema?: Validator | undefined, payloadRequired?: boolean, idRequired?: boolean): Validator;
export declare function actionMessage(errors: ValidationError[]): string;
export declare function isValidRelativePath(path?: string): boolean;
export declare const relativeUrlSchema: Validator;
export declare const relativePathSchema: Validator;
export declare function mixedAppClientCheck(window: any): void;