UNPKG

@jsvfs/types

Version:

Types for the JavaScript Virtual File System and adapters.

48 lines (47 loc) 1.14 kB
"use strict"; /** * [[include:packages/types/README.md]] * @packageDocumentation * @module @jsvfs/types */ Object.defineProperty(exports, "__esModule", { value: true }); exports.JSON_SCHEMA = void 0; exports.JSON_SCHEMA = { JournalEntry: { type: 'object', required: [ 'op', 'level', 'message' ], properties: { id: { type: ['string', 'number'] }, op: { type: 'string', enum: [ 'snapshot', 'write', 'mkdir', 'link', 'remove', 'flush' ] }, level: { type: 'string', enum: [ 'info', 'warn', 'error', 'crit' ] }, message: { type: 'string' } }, additionalProperties: true } };