@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)**
13 lines (12 loc) • 551 B
TypeScript
import type { MetaAction } from '../../actions/types';
import { Indexable, ValidationError } from '../type-validate';
import { Action } from '../../actions/ContextualSaveBar';
export declare const contextSaveBarSchema: (value: any) => ValidationError[] | undefined;
export declare function validateProps(props: Indexable): {
path: string | undefined;
error: string;
message?: string | undefined;
value: any;
}[] | undefined;
export declare function validateAction(action: MetaAction): ValidationError[] | undefined;
export { Action };