1 | "use strict";
|
2 | var __extends = (this && this.__extends) || (function () {
|
3 | var extendStatics = function (d, b) {
|
4 | extendStatics = Object.setPrototypeOf ||
|
5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
7 | return extendStatics(d, b);
|
8 | };
|
9 | return function (d, b) {
|
10 | extendStatics(d, b);
|
11 | function __() { this.constructor = d; }
|
12 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
13 | };
|
14 | })();
|
15 | var __assign = (this && this.__assign) || function () {
|
16 | __assign = Object.assign || function(t) {
|
17 | for (var s, i = 1, n = arguments.length; i < n; i++) {
|
18 | s = arguments[i];
|
19 | for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
20 | t[p] = s[p];
|
21 | }
|
22 | return t;
|
23 | };
|
24 | return __assign.apply(this, arguments);
|
25 | };
|
26 | Object.defineProperty(exports, "__esModule", { value: true });
|
27 | var Prisma_1 = require("./Prisma");
|
28 | function makePrismaBindingClass(_a) {
|
29 | var typeDefs = _a.typeDefs;
|
30 | return (function (_super) {
|
31 | __extends(Binding, _super);
|
32 | function Binding(options) {
|
33 | return _super.call(this, __assign({ typeDefs: typeDefs }, options)) || this;
|
34 | }
|
35 | return Binding;
|
36 | }(Prisma_1.Prisma));
|
37 | }
|
38 | exports.makePrismaBindingClass = makePrismaBindingClass;
|
39 |
|
\ | No newline at end of file |