CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
schema.js30 linesDownload Raw Back to util
1/**2 * @import {Schema as SchemaType, Space} from 'property-information'3 */4 5/** @type {SchemaType} */6export class Schema {7  /**8   * @param {SchemaType['property']} property9   *   Property.10   * @param {SchemaType['normal']} normal11   *   Normal.12   * @param {Space | undefined} [space]13   *   Space.14   * @returns15   *   Schema.16   */17  constructor(property, normal, space) {18    this.normal = normal19    this.property = property20 21    if (space) {22      this.space = space23    }24  }25}26 27Schema.prototype.normal = {}28Schema.prototype.property = {}29Schema.prototype.space = undefined30