CoolFace
Apppublic

AK-21/Graphite-Industrial-Intelligence

sourceHugging Faceupdated 3mo agoView on Hugging Face
0likes
policies.js33 linesDownload Raw Back to gel-core
1import { entityKind } from "../entity.js";2class GelPolicy {3  constructor(name, config) {4    this.name = name;5    if (config) {6      this.as = config.as;7      this.for = config.for;8      this.to = config.to;9      this.using = config.using;10      this.withCheck = config.withCheck;11    }12  }13  static [entityKind] = "GelPolicy";14  as;15  for;16  to;17  using;18  withCheck;19  /** @internal */20  _linkedTable;21  link(table) {22    this._linkedTable = table;23    return this;24  }25}26function gelPolicy(name, config) {27  return new GelPolicy(name, config);28}29export {30  GelPolicy,31  gelPolicy32};33//# sourceMappingURL=policies.js.map