@mapeo/mock-data
Version:
Module and CLI to generate mock data for Mapeo
13 lines (12 loc) • 368 B
TypeScript
/**
* @param {string} jsonSchemaId
* @returns {string}
*/
export function extractSchemaVersion(jsonSchemaId: string): string;
/**
*
* @param {string} name
*
* @return {asserts name is import('@comapeo/schema/dist/types.js').SchemaName}
*/
export function assertValidSchemaName(name: string): asserts name is import("@comapeo/schema/dist/types.js").SchemaName;