UNPKG

@mapeo/schema

Version:

JSON schema and flow types for Mapeo

26 lines (24 loc) 1.09 kB
import { Common as Common_1 } from './common/v1' import { CoreOwnership as CoreOwnership_1 } from './coreOwnership/v1' import { Device as Device_1 } from './device/v1' import { Field as Field_1 } from './field/v1' import { Filter as Filter_1 } from './filter/v1' import { Observation as Observation_4 } from './observation/v4' import { Observation as Observation_5 } from './observation/v5' import { Preset as Preset_1 } from './preset/v1' import { Role as Role_1 } from './role/v1' interface base { schemaType?: string; type?: string; schemaVersion?: number; } export type JSONSchema = (Common_1 | CoreOwnership_1 | Device_1 | Field_1 | Filter_1 | Observation_4 | Observation_5 | Preset_1 | Role_1) & base export { Common } from './common/v1' export { CoreOwnership } from './coreOwnership/v1' export { Device } from './device/v1' export { Field } from './field/v1' export { Filter } from './filter/v1' export { Observation as Observation_4 } from './observation/v5' export { Observation } from './observation/v5' export { Preset } from './preset/v1' export { Role } from './role/v1'