CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
checks.cjs57 linesDownload Raw Back to sqlite-core
1"use strict";2var __defProp = Object.defineProperty;3var __getOwnPropDesc = Object.getOwnPropertyDescriptor;4var __getOwnPropNames = Object.getOwnPropertyNames;5var __hasOwnProp = Object.prototype.hasOwnProperty;6var __export = (target, all) => {7  for (var name in all)8    __defProp(target, name, { get: all[name], enumerable: true });9};10var __copyProps = (to, from, except, desc) => {11  if (from && typeof from === "object" || typeof from === "function") {12    for (let key of __getOwnPropNames(from))13      if (!__hasOwnProp.call(to, key) && key !== except)14        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });15  }16  return to;17};18var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);19var checks_exports = {};20__export(checks_exports, {21  Check: () => Check,22  CheckBuilder: () => CheckBuilder,23  check: () => check24});25module.exports = __toCommonJS(checks_exports);26var import_entity = require("../entity.cjs");27class CheckBuilder {28  constructor(name, value) {29    this.name = name;30    this.value = value;31  }32  static [import_entity.entityKind] = "SQLiteCheckBuilder";33  brand;34  build(table) {35    return new Check(table, this);36  }37}38class Check {39  constructor(table, builder) {40    this.table = table;41    this.name = builder.name;42    this.value = builder.value;43  }44  static [import_entity.entityKind] = "SQLiteCheck";45  name;46  value;47}48function check(name, value) {49  return new CheckBuilder(name, value);50}51// Annotate the CommonJS export names for ESM import in node:520 && (module.exports = {53  Check,54  CheckBuilder,55  check56});57//# sourceMappingURL=checks.cjs.map