CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
real.cjs53 linesDownload Raw Back to columns
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 real_exports = {};20__export(real_exports, {21  SQLiteReal: () => SQLiteReal,22  SQLiteRealBuilder: () => SQLiteRealBuilder,23  real: () => real24});25module.exports = __toCommonJS(real_exports);26var import_entity = require("../../entity.cjs");27var import_common = require("./common.cjs");28class SQLiteRealBuilder extends import_common.SQLiteColumnBuilder {29  static [import_entity.entityKind] = "SQLiteRealBuilder";30  constructor(name) {31    super(name, "number", "SQLiteReal");32  }33  /** @internal */34  build(table) {35    return new SQLiteReal(table, this.config);36  }37}38class SQLiteReal extends import_common.SQLiteColumn {39  static [import_entity.entityKind] = "SQLiteReal";40  getSQLType() {41    return "real";42  }43}44function real(name) {45  return new SQLiteRealBuilder(name ?? "");46}47// Annotate the CommonJS export names for ESM import in node:480 && (module.exports = {49  SQLiteReal,50  SQLiteRealBuilder,51  real52});53//# sourceMappingURL=real.cjs.map