@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)**
15 lines (14 loc) • 553 B
TypeScript
import type { MetaAction } from '../../actions/types';
import * as Redirect from '../../actions/Navigation/Redirect';
export declare function matchesAbsolutePath(value: string): {
value: string;
error: string;
message: string;
}[] | undefined;
export declare function getSectionSchema(payload: Redirect.AdminSectionPayload): import("../type-validate").Validator;
export declare function validateAction(action: MetaAction): {
path: string | undefined;
error: string;
message?: string | undefined;
value: any;
}[] | undefined;