@ai0x0/utils 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/backend/actions/delete-action-fn.d.ts +0 -1
- package/es/backend/actions/get-action-fn.d.ts +0 -1
- package/es/backend/actions/get-list-action-fn.d.ts +0 -1
- package/es/backend/actions/get-list-data.d.ts +0 -1
- package/es/backend/actions/get-list-query.d.ts +0 -1
- package/es/backend/actions/index.d.ts +0 -1
- package/es/backend/actions/post-action-fn.d.ts +0 -1
- package/es/backend/actions/put-action-fn.d.ts +0 -1
- package/es/backend/actions/transform-body.d.ts +0 -1
- package/es/backend/index.d.ts +0 -1
- package/es/backend/route-operation/delete-operation.d.ts +0 -1
- package/es/backend/route-operation/get-list-operation.d.ts +6 -3
- package/es/backend/route-operation/get-list-operation.js +31 -10
- package/es/backend/route-operation/get-operation.d.ts +6 -3
- package/es/backend/route-operation/get-operation.js +35 -7
- package/es/backend/route-operation/get-table-name.d.ts +0 -1
- package/es/backend/route-operation/index.d.ts +0 -1
- package/es/backend/route-operation/post-operation.d.ts +4 -2
- package/es/backend/route-operation/post-operation.js +39 -19
- package/es/backend/route-operation/put-operation.d.ts +4 -2
- package/es/backend/route-operation/put-operation.js +43 -23
- package/es/backend/schemas/index.d.ts +0 -1
- package/es/backend/types.d.ts +0 -1
- package/es/index.d.ts +0 -1
- package/lib/backend/actions/delete-action-fn.d.ts +0 -1
- package/lib/backend/actions/get-action-fn.d.ts +0 -1
- package/lib/backend/actions/get-list-action-fn.d.ts +0 -1
- package/lib/backend/actions/get-list-data.d.ts +0 -1
- package/lib/backend/actions/get-list-query.d.ts +0 -1
- package/lib/backend/actions/index.d.ts +0 -1
- package/lib/backend/actions/post-action-fn.d.ts +0 -1
- package/lib/backend/actions/put-action-fn.d.ts +0 -1
- package/lib/backend/actions/transform-body.d.ts +0 -1
- package/lib/backend/index.d.ts +0 -1
- package/lib/backend/route-operation/delete-operation.d.ts +0 -1
- package/lib/backend/route-operation/get-list-operation.d.ts +6 -3
- package/lib/backend/route-operation/get-list-operation.js +8 -2
- package/lib/backend/route-operation/get-operation.d.ts +6 -3
- package/lib/backend/route-operation/get-operation.js +8 -2
- package/lib/backend/route-operation/get-table-name.d.ts +0 -1
- package/lib/backend/route-operation/index.d.ts +0 -1
- package/lib/backend/route-operation/post-operation.d.ts +4 -2
- package/lib/backend/route-operation/post-operation.js +6 -1
- package/lib/backend/route-operation/put-operation.d.ts +4 -2
- package/lib/backend/route-operation/put-operation.js +6 -1
- package/lib/backend/schemas/index.d.ts +0 -1
- package/lib/backend/types.d.ts +0 -1
- package/lib/index.d.ts +0 -1
- package/package.json +2 -2
- package/es/backend/actions/delete-action-fn.d.ts.map +0 -1
- package/es/backend/actions/get-action-fn.d.ts.map +0 -1
- package/es/backend/actions/get-list-action-fn.d.ts.map +0 -1
- package/es/backend/actions/get-list-data.d.ts.map +0 -1
- package/es/backend/actions/get-list-query.d.ts.map +0 -1
- package/es/backend/actions/index.d.ts.map +0 -1
- package/es/backend/actions/post-action-fn.d.ts.map +0 -1
- package/es/backend/actions/put-action-fn.d.ts.map +0 -1
- package/es/backend/actions/transform-body.d.ts.map +0 -1
- package/es/backend/index.d.ts.map +0 -1
- package/es/backend/route-operation/delete-operation.d.ts.map +0 -1
- package/es/backend/route-operation/get-list-operation.d.ts.map +0 -1
- package/es/backend/route-operation/get-operation.d.ts.map +0 -1
- package/es/backend/route-operation/get-table-name.d.ts.map +0 -1
- package/es/backend/route-operation/index.d.ts.map +0 -1
- package/es/backend/route-operation/post-operation.d.ts.map +0 -1
- package/es/backend/route-operation/put-operation.d.ts.map +0 -1
- package/es/backend/schemas/index.d.ts.map +0 -1
- package/es/backend/types.d.ts.map +0 -1
- package/es/index.d.ts.map +0 -1
- package/lib/backend/actions/delete-action-fn.d.ts.map +0 -1
- package/lib/backend/actions/get-action-fn.d.ts.map +0 -1
- package/lib/backend/actions/get-list-action-fn.d.ts.map +0 -1
- package/lib/backend/actions/get-list-data.d.ts.map +0 -1
- package/lib/backend/actions/get-list-query.d.ts.map +0 -1
- package/lib/backend/actions/index.d.ts.map +0 -1
- package/lib/backend/actions/post-action-fn.d.ts.map +0 -1
- package/lib/backend/actions/put-action-fn.d.ts.map +0 -1
- package/lib/backend/actions/transform-body.d.ts.map +0 -1
- package/lib/backend/index.d.ts.map +0 -1
- package/lib/backend/route-operation/delete-operation.d.ts.map +0 -1
- package/lib/backend/route-operation/get-list-operation.d.ts.map +0 -1
- package/lib/backend/route-operation/get-operation.d.ts.map +0 -1
- package/lib/backend/route-operation/get-table-name.d.ts.map +0 -1
- package/lib/backend/route-operation/index.d.ts.map +0 -1
- package/lib/backend/route-operation/post-operation.d.ts.map +0 -1
- package/lib/backend/route-operation/put-operation.d.ts.map +0 -1
- package/lib/backend/schemas/index.d.ts.map +0 -1
- package/lib/backend/types.d.ts.map +0 -1
- package/lib/index.d.ts.map +0 -1
package/es/backend/index.d.ts
CHANGED
|
@@ -7,4 +7,3 @@ export interface DeleteOperationOptions<TTable extends BaseTable> {
|
|
|
7
7
|
export declare const createDeleteOperation: <TTable extends BaseTable>({ db }: {
|
|
8
8
|
db: NodePgDatabase<any>;
|
|
9
9
|
}) => ({ table, summary }: DeleteOperationOptions<TTable>) => any;
|
|
10
|
-
//# sourceMappingURL=delete-operation.d.ts.map
|
|
@@ -8,6 +8,7 @@ export interface GetListOperationOptions<T extends ZodSchema, Q extends ZodSchem
|
|
|
8
8
|
querySchema: Q;
|
|
9
9
|
relations?: GetListRelations;
|
|
10
10
|
setParams?: (req: NextRequest) => Promise<Record<string, unknown>>;
|
|
11
|
+
byCreator?: boolean;
|
|
11
12
|
summary?: string;
|
|
12
13
|
table: TTable;
|
|
13
14
|
transform?: <D extends T>(data: {
|
|
@@ -18,7 +19,9 @@ export interface GetListOperationOptions<T extends ZodSchema, Q extends ZodSchem
|
|
|
18
19
|
total: number;
|
|
19
20
|
}>;
|
|
20
21
|
}
|
|
21
|
-
export declare const createGetListOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, Q extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends BaseTable>({ db, }: {
|
|
22
|
+
export declare const createGetListOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, Q extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends BaseTable>({ db, getSession, }: {
|
|
22
23
|
db: NodePgDatabase<any>;
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
getSession: (req: NextRequest) => Promise<{
|
|
25
|
+
userId?: string;
|
|
26
|
+
} | undefined>;
|
|
27
|
+
}) => ({ querySchema, bodySchema, table, summary, relations, jsonArrayFields, setParams, transform, byCreator, }: GetListOperationOptions<T, Q, TTable>) => any;
|
|
@@ -7,7 +7,8 @@ import getTableName from "./get-table-name";
|
|
|
7
7
|
import { listBodySchema } from "../schemas";
|
|
8
8
|
import { getListActionFn } from "../actions";
|
|
9
9
|
export var createGetListOperation = function createGetListOperation(_ref) {
|
|
10
|
-
var db = _ref.db
|
|
10
|
+
var db = _ref.db,
|
|
11
|
+
getSession = _ref.getSession;
|
|
11
12
|
return function (_ref2) {
|
|
12
13
|
var querySchema = _ref2.querySchema,
|
|
13
14
|
bodySchema = _ref2.bodySchema,
|
|
@@ -16,7 +17,9 @@ export var createGetListOperation = function createGetListOperation(_ref) {
|
|
|
16
17
|
relations = _ref2.relations,
|
|
17
18
|
jsonArrayFields = _ref2.jsonArrayFields,
|
|
18
19
|
setParams = _ref2.setParams,
|
|
19
|
-
transform = _ref2.transform
|
|
20
|
+
transform = _ref2.transform,
|
|
21
|
+
_ref2$byCreator = _ref2.byCreator,
|
|
22
|
+
byCreator = _ref2$byCreator === void 0 ? true : _ref2$byCreator;
|
|
20
23
|
return routeOperation({
|
|
21
24
|
method: "GET",
|
|
22
25
|
openApiOperation: {
|
|
@@ -31,7 +34,7 @@ export var createGetListOperation = function createGetListOperation(_ref) {
|
|
|
31
34
|
status: 200
|
|
32
35
|
}]).handler( /*#__PURE__*/function () {
|
|
33
36
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(req) {
|
|
34
|
-
var params, result;
|
|
37
|
+
var params, _ref4, userId, result;
|
|
35
38
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
36
39
|
while (1) switch (_context.prev = _context.next) {
|
|
37
40
|
case 0:
|
|
@@ -46,7 +49,25 @@ export var createGetListOperation = function createGetListOperation(_ref) {
|
|
|
46
49
|
_context.t0 = {};
|
|
47
50
|
case 5:
|
|
48
51
|
params = _context.t0;
|
|
49
|
-
|
|
52
|
+
if (!byCreator) {
|
|
53
|
+
_context.next = 15;
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
_context.next = 9;
|
|
57
|
+
return getSession(req);
|
|
58
|
+
case 9:
|
|
59
|
+
_context.t1 = _context.sent;
|
|
60
|
+
if (_context.t1) {
|
|
61
|
+
_context.next = 12;
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
_context.t1 = {};
|
|
65
|
+
case 12:
|
|
66
|
+
_ref4 = _context.t1;
|
|
67
|
+
userId = _ref4.userId;
|
|
68
|
+
params.creatorId = userId;
|
|
69
|
+
case 15:
|
|
70
|
+
_context.next = 17;
|
|
50
71
|
return getListActionFn({
|
|
51
72
|
bodySchema: bodySchema,
|
|
52
73
|
db: db,
|
|
@@ -55,21 +76,21 @@ export var createGetListOperation = function createGetListOperation(_ref) {
|
|
|
55
76
|
relations: relations,
|
|
56
77
|
table: table
|
|
57
78
|
})(Object.assign(Object.fromEntries(new URL(req.url).searchParams), params));
|
|
58
|
-
case
|
|
79
|
+
case 17:
|
|
59
80
|
result = _context.sent;
|
|
60
81
|
if (!transform) {
|
|
61
|
-
_context.next =
|
|
82
|
+
_context.next = 22;
|
|
62
83
|
break;
|
|
63
84
|
}
|
|
64
|
-
_context.next =
|
|
85
|
+
_context.next = 21;
|
|
65
86
|
return transform(result);
|
|
66
|
-
case
|
|
87
|
+
case 21:
|
|
67
88
|
result = _context.sent;
|
|
68
|
-
case
|
|
89
|
+
case 22:
|
|
69
90
|
return _context.abrupt("return", TypedNextResponse.json(result, {
|
|
70
91
|
status: 200
|
|
71
92
|
}));
|
|
72
|
-
case
|
|
93
|
+
case 23:
|
|
73
94
|
case "end":
|
|
74
95
|
return _context.stop();
|
|
75
96
|
}
|
|
@@ -10,8 +10,11 @@ export interface GetOperationOptions<T extends ZodSchema, Q extends ZodSchema, T
|
|
|
10
10
|
setParams?: (req: NextRequest) => Promise<Record<string, any>>;
|
|
11
11
|
summary?: string;
|
|
12
12
|
table: TTable;
|
|
13
|
+
byCreator?: boolean;
|
|
13
14
|
}
|
|
14
|
-
export declare const createGetOperation: <T extends ZodSchema<any, import("zod").ZodTypeDef, any>, Q extends ZodSchema<any, import("zod").ZodTypeDef, any>, TTable extends BaseTable>({ db, }: {
|
|
15
|
+
export declare const createGetOperation: <T extends ZodSchema<any, import("zod").ZodTypeDef, any>, Q extends ZodSchema<any, import("zod").ZodTypeDef, any>, TTable extends BaseTable>({ getSession, db, }: {
|
|
15
16
|
db: NodePgDatabase<any>;
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
getSession: (req: NextRequest) => Promise<{
|
|
18
|
+
userId?: string;
|
|
19
|
+
} | undefined>;
|
|
20
|
+
}) => ({ querySchema, bodySchema, table, summary, relations, setParams, jsonArrayFields, byCreator, }: GetOperationOptions<T, Q, TTable>) => any;
|
|
@@ -6,7 +6,8 @@ import { routeOperation, TypedNextResponse } from "next-rest-framework";
|
|
|
6
6
|
import getTableName from "./get-table-name";
|
|
7
7
|
import { getActionFn } from "../actions";
|
|
8
8
|
export var createGetOperation = function createGetOperation(_ref) {
|
|
9
|
-
var
|
|
9
|
+
var getSession = _ref.getSession,
|
|
10
|
+
db = _ref.db;
|
|
10
11
|
return function (_ref2) {
|
|
11
12
|
var querySchema = _ref2.querySchema,
|
|
12
13
|
bodySchema = _ref2.bodySchema,
|
|
@@ -14,7 +15,9 @@ export var createGetOperation = function createGetOperation(_ref) {
|
|
|
14
15
|
summary = _ref2.summary,
|
|
15
16
|
relations = _ref2.relations,
|
|
16
17
|
setParams = _ref2.setParams,
|
|
17
|
-
jsonArrayFields = _ref2.jsonArrayFields
|
|
18
|
+
jsonArrayFields = _ref2.jsonArrayFields,
|
|
19
|
+
_ref2$byCreator = _ref2.byCreator,
|
|
20
|
+
byCreator = _ref2$byCreator === void 0 ? true : _ref2$byCreator;
|
|
18
21
|
return routeOperation({
|
|
19
22
|
method: "GET",
|
|
20
23
|
openApiOperation: {
|
|
@@ -29,15 +32,40 @@ export var createGetOperation = function createGetOperation(_ref) {
|
|
|
29
32
|
status: 200
|
|
30
33
|
}]).handler( /*#__PURE__*/function () {
|
|
31
34
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(req) {
|
|
32
|
-
var params, result;
|
|
35
|
+
var params, _ref4, userId, result;
|
|
33
36
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
34
37
|
while (1) switch (_context.prev = _context.next) {
|
|
35
38
|
case 0:
|
|
36
39
|
_context.next = 2;
|
|
37
40
|
return setParams === null || setParams === void 0 ? void 0 : setParams(req);
|
|
38
41
|
case 2:
|
|
39
|
-
|
|
40
|
-
_context.
|
|
42
|
+
_context.t0 = _context.sent;
|
|
43
|
+
if (_context.t0) {
|
|
44
|
+
_context.next = 5;
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
_context.t0 = {};
|
|
48
|
+
case 5:
|
|
49
|
+
params = _context.t0;
|
|
50
|
+
if (!byCreator) {
|
|
51
|
+
_context.next = 15;
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
_context.next = 9;
|
|
55
|
+
return getSession(req);
|
|
56
|
+
case 9:
|
|
57
|
+
_context.t1 = _context.sent;
|
|
58
|
+
if (_context.t1) {
|
|
59
|
+
_context.next = 12;
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
_context.t1 = {};
|
|
63
|
+
case 12:
|
|
64
|
+
_ref4 = _context.t1;
|
|
65
|
+
userId = _ref4.userId;
|
|
66
|
+
params.creatorId = userId;
|
|
67
|
+
case 15:
|
|
68
|
+
_context.next = 17;
|
|
41
69
|
return getActionFn({
|
|
42
70
|
bodySchema: bodySchema,
|
|
43
71
|
db: db,
|
|
@@ -46,12 +74,12 @@ export var createGetOperation = function createGetOperation(_ref) {
|
|
|
46
74
|
relations: relations,
|
|
47
75
|
table: table
|
|
48
76
|
})(Object.assign(Object.fromEntries(new URL(req.url).searchParams), params));
|
|
49
|
-
case
|
|
77
|
+
case 17:
|
|
50
78
|
result = _context.sent;
|
|
51
79
|
return _context.abrupt("return", TypedNextResponse.json(result, {
|
|
52
80
|
status: 200
|
|
53
81
|
}));
|
|
54
|
-
case
|
|
82
|
+
case 19:
|
|
55
83
|
case "end":
|
|
56
84
|
return _context.stop();
|
|
57
85
|
}
|
|
@@ -8,7 +8,9 @@ export interface PostOperationOptions<T extends ZodSchema, TTable extends PgTabl
|
|
|
8
8
|
summary?: string;
|
|
9
9
|
table: TTable;
|
|
10
10
|
}
|
|
11
|
-
export declare const createPostOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends PgTable<import("drizzle-orm/pg-core").TableConfig>>({ db, }: {
|
|
11
|
+
export declare const createPostOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends PgTable<import("drizzle-orm/pg-core").TableConfig>>({ getSession, db, }: {
|
|
12
12
|
db: NodePgDatabase<any>;
|
|
13
|
+
getSession: (req: NextRequest) => Promise<{
|
|
14
|
+
userId?: string;
|
|
15
|
+
} | undefined>;
|
|
13
16
|
}) => ({ bodySchema, setBody, summary, table }: PostOperationOptions<T, TTable>) => any;
|
|
14
|
-
//# sourceMappingURL=post-operation.d.ts.map
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3
8
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
4
9
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5
10
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
@@ -13,7 +18,8 @@ import { routeOperation, TypedNextResponse } from "next-rest-framework";
|
|
|
13
18
|
import getTableName from "./get-table-name";
|
|
14
19
|
import { postActionFn } from "../actions";
|
|
15
20
|
export var createPostOperation = function createPostOperation(_ref) {
|
|
16
|
-
var
|
|
21
|
+
var getSession = _ref.getSession,
|
|
22
|
+
db = _ref.db;
|
|
17
23
|
return function (_ref2) {
|
|
18
24
|
var bodySchema = _ref2.bodySchema,
|
|
19
25
|
setBody = _ref2.setBody,
|
|
@@ -36,41 +42,55 @@ export var createPostOperation = function createPostOperation(_ref) {
|
|
|
36
42
|
status: 200
|
|
37
43
|
}]).handler( /*#__PURE__*/function () {
|
|
38
44
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(req) {
|
|
39
|
-
var body, _yield$postActionFn, _yield$postActionFn2, data;
|
|
45
|
+
var _ref4, userId, body, _yield$postActionFn, _yield$postActionFn2, data;
|
|
40
46
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
41
47
|
while (1) switch (_context.prev = _context.next) {
|
|
42
48
|
case 0:
|
|
43
|
-
_context.
|
|
44
|
-
|
|
49
|
+
_context.next = 2;
|
|
50
|
+
return getSession(req);
|
|
51
|
+
case 2:
|
|
52
|
+
_context.t0 = _context.sent;
|
|
53
|
+
if (_context.t0) {
|
|
54
|
+
_context.next = 5;
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
_context.t0 = {};
|
|
58
|
+
case 5:
|
|
59
|
+
_ref4 = _context.t0;
|
|
60
|
+
userId = _ref4.userId;
|
|
61
|
+
_context.t1 = Object;
|
|
62
|
+
_context.next = 10;
|
|
45
63
|
return setBody === null || setBody === void 0 ? void 0 : setBody(req);
|
|
46
|
-
case
|
|
47
|
-
_context.
|
|
48
|
-
if (_context.
|
|
49
|
-
_context.next =
|
|
64
|
+
case 10:
|
|
65
|
+
_context.t2 = _context.sent;
|
|
66
|
+
if (_context.t2) {
|
|
67
|
+
_context.next = 13;
|
|
50
68
|
break;
|
|
51
69
|
}
|
|
52
|
-
_context.
|
|
53
|
-
case
|
|
54
|
-
_context.
|
|
55
|
-
_context.next =
|
|
70
|
+
_context.t2 = {};
|
|
71
|
+
case 13:
|
|
72
|
+
_context.t3 = _context.t2;
|
|
73
|
+
_context.next = 16;
|
|
56
74
|
return req.json();
|
|
57
|
-
case
|
|
58
|
-
_context.
|
|
59
|
-
body = _context.
|
|
60
|
-
_context.next =
|
|
75
|
+
case 16:
|
|
76
|
+
_context.t4 = _context.sent;
|
|
77
|
+
body = _context.t1.assign.call(_context.t1, _context.t3, _context.t4);
|
|
78
|
+
_context.next = 20;
|
|
61
79
|
return postActionFn({
|
|
62
80
|
bodySchema: bodySchema,
|
|
63
81
|
db: db,
|
|
64
82
|
table: table
|
|
65
|
-
})(body)
|
|
66
|
-
|
|
83
|
+
})(_objectSpread(_objectSpread({}, body), {}, {
|
|
84
|
+
creatorId: userId
|
|
85
|
+
}));
|
|
86
|
+
case 20:
|
|
67
87
|
_yield$postActionFn = _context.sent;
|
|
68
88
|
_yield$postActionFn2 = _slicedToArray(_yield$postActionFn, 1);
|
|
69
89
|
data = _yield$postActionFn2[0];
|
|
70
90
|
return _context.abrupt("return", TypedNextResponse.json(data, {
|
|
71
91
|
status: 200
|
|
72
92
|
}));
|
|
73
|
-
case
|
|
93
|
+
case 24:
|
|
74
94
|
case "end":
|
|
75
95
|
return _context.stop();
|
|
76
96
|
}
|
|
@@ -8,7 +8,9 @@ export interface PutOperationOptions<T extends ZodSchema, TTable extends PgTable
|
|
|
8
8
|
summary?: string;
|
|
9
9
|
setBody?: (req: NextRequest) => Promise<Partial<z.infer<T>>>;
|
|
10
10
|
}
|
|
11
|
-
export declare const createPutOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends PgTable<import("drizzle-orm/pg-core").TableConfig>>({ db, }: {
|
|
11
|
+
export declare const createPutOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends PgTable<import("drizzle-orm/pg-core").TableConfig>>({ getSession, db, }: {
|
|
12
|
+
getSession: (req: NextRequest) => Promise<{
|
|
13
|
+
userId?: string;
|
|
14
|
+
} | undefined>;
|
|
12
15
|
db: NodePgDatabase<any>;
|
|
13
16
|
}) => ({ bodySchema, table, summary, setBody }: PutOperationOptions<T, TTable>) => any;
|
|
14
|
-
//# sourceMappingURL=put-operation.d.ts.map
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
3
8
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
9
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
10
|
import { routeOperation, TypedNextResponse } from "next-rest-framework";
|
|
6
11
|
import getTableName from "./get-table-name";
|
|
7
12
|
import { putActionFn } from "../actions";
|
|
8
13
|
export var createPutOperation = function createPutOperation(_ref) {
|
|
9
|
-
var
|
|
14
|
+
var getSession = _ref.getSession,
|
|
15
|
+
db = _ref.db;
|
|
10
16
|
return function (_ref2) {
|
|
11
17
|
var bodySchema = _ref2.bodySchema,
|
|
12
18
|
table = _ref2.table,
|
|
@@ -23,41 +29,55 @@ export var createPutOperation = function createPutOperation(_ref) {
|
|
|
23
29
|
contentType: "application/json"
|
|
24
30
|
}).handler( /*#__PURE__*/function () {
|
|
25
31
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(req) {
|
|
26
|
-
var body;
|
|
32
|
+
var _ref4, userId, body;
|
|
27
33
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
28
34
|
while (1) switch (_context.prev = _context.next) {
|
|
29
35
|
case 0:
|
|
30
|
-
_context.
|
|
31
|
-
|
|
36
|
+
_context.next = 2;
|
|
37
|
+
return getSession(req);
|
|
38
|
+
case 2:
|
|
39
|
+
_context.t0 = _context.sent;
|
|
40
|
+
if (_context.t0) {
|
|
41
|
+
_context.next = 5;
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
_context.t0 = {};
|
|
45
|
+
case 5:
|
|
46
|
+
_ref4 = _context.t0;
|
|
47
|
+
userId = _ref4.userId;
|
|
48
|
+
_context.t1 = Object;
|
|
49
|
+
_context.next = 10;
|
|
32
50
|
return setBody === null || setBody === void 0 ? void 0 : setBody(req);
|
|
33
|
-
case
|
|
34
|
-
_context.
|
|
35
|
-
if (_context.
|
|
36
|
-
_context.next =
|
|
51
|
+
case 10:
|
|
52
|
+
_context.t2 = _context.sent;
|
|
53
|
+
if (_context.t2) {
|
|
54
|
+
_context.next = 13;
|
|
37
55
|
break;
|
|
38
56
|
}
|
|
39
|
-
_context.
|
|
40
|
-
case
|
|
41
|
-
_context.
|
|
42
|
-
_context.next =
|
|
57
|
+
_context.t2 = {};
|
|
58
|
+
case 13:
|
|
59
|
+
_context.t3 = _context.t2;
|
|
60
|
+
_context.next = 16;
|
|
43
61
|
return req.json();
|
|
44
|
-
case
|
|
45
|
-
_context.
|
|
46
|
-
body = _context.
|
|
47
|
-
_context.
|
|
48
|
-
_context.next =
|
|
62
|
+
case 16:
|
|
63
|
+
_context.t4 = _context.sent;
|
|
64
|
+
body = _context.t1.assign.call(_context.t1, _context.t3, _context.t4);
|
|
65
|
+
_context.t5 = TypedNextResponse;
|
|
66
|
+
_context.next = 21;
|
|
49
67
|
return putActionFn({
|
|
50
68
|
bodySchema: bodySchema,
|
|
51
69
|
table: table,
|
|
52
70
|
db: db
|
|
53
|
-
})(body)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
71
|
+
})(_objectSpread(_objectSpread({}, body), {}, {
|
|
72
|
+
editorId: userId
|
|
73
|
+
}));
|
|
74
|
+
case 21:
|
|
75
|
+
_context.t6 = _context.sent;
|
|
76
|
+
_context.t7 = {
|
|
57
77
|
status: 200
|
|
58
78
|
};
|
|
59
|
-
return _context.abrupt("return", _context.
|
|
60
|
-
case
|
|
79
|
+
return _context.abrupt("return", _context.t5.json.call(_context.t5, _context.t6, _context.t7));
|
|
80
|
+
case 24:
|
|
61
81
|
case "end":
|
|
62
82
|
return _context.stop();
|
|
63
83
|
}
|
package/es/backend/types.d.ts
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.d.ts.map
|
package/lib/backend/index.d.ts
CHANGED
|
@@ -7,4 +7,3 @@ export interface DeleteOperationOptions<TTable extends BaseTable> {
|
|
|
7
7
|
export declare const createDeleteOperation: <TTable extends BaseTable>({ db }: {
|
|
8
8
|
db: NodePgDatabase<any>;
|
|
9
9
|
}) => ({ table, summary }: DeleteOperationOptions<TTable>) => any;
|
|
10
|
-
//# sourceMappingURL=delete-operation.d.ts.map
|
|
@@ -8,6 +8,7 @@ export interface GetListOperationOptions<T extends ZodSchema, Q extends ZodSchem
|
|
|
8
8
|
querySchema: Q;
|
|
9
9
|
relations?: GetListRelations;
|
|
10
10
|
setParams?: (req: NextRequest) => Promise<Record<string, unknown>>;
|
|
11
|
+
byCreator?: boolean;
|
|
11
12
|
summary?: string;
|
|
12
13
|
table: TTable;
|
|
13
14
|
transform?: <D extends T>(data: {
|
|
@@ -18,7 +19,9 @@ export interface GetListOperationOptions<T extends ZodSchema, Q extends ZodSchem
|
|
|
18
19
|
total: number;
|
|
19
20
|
}>;
|
|
20
21
|
}
|
|
21
|
-
export declare const createGetListOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, Q extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends BaseTable>({ db, }: {
|
|
22
|
+
export declare const createGetListOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, Q extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends BaseTable>({ db, getSession, }: {
|
|
22
23
|
db: NodePgDatabase<any>;
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
getSession: (req: NextRequest) => Promise<{
|
|
25
|
+
userId?: string;
|
|
26
|
+
} | undefined>;
|
|
27
|
+
}) => ({ querySchema, bodySchema, table, summary, relations, jsonArrayFields, setParams, transform, byCreator, }: GetListOperationOptions<T, Q, TTable>) => any;
|
|
@@ -37,7 +37,8 @@ var import_get_table_name = __toESM(require("./get-table-name"));
|
|
|
37
37
|
var import_schemas = require("../schemas");
|
|
38
38
|
var import_actions = require("../actions");
|
|
39
39
|
var createGetListOperation = ({
|
|
40
|
-
db
|
|
40
|
+
db,
|
|
41
|
+
getSession
|
|
41
42
|
}) => ({
|
|
42
43
|
querySchema,
|
|
43
44
|
bodySchema,
|
|
@@ -46,7 +47,8 @@ var createGetListOperation = ({
|
|
|
46
47
|
relations,
|
|
47
48
|
jsonArrayFields,
|
|
48
49
|
setParams,
|
|
49
|
-
transform
|
|
50
|
+
transform,
|
|
51
|
+
byCreator = true
|
|
50
52
|
}) => (0, import_next_rest_framework.routeOperation)({
|
|
51
53
|
method: "GET",
|
|
52
54
|
openApiOperation: {
|
|
@@ -63,6 +65,10 @@ var createGetListOperation = ({
|
|
|
63
65
|
}
|
|
64
66
|
]).handler(async (req) => {
|
|
65
67
|
const params = await (setParams == null ? void 0 : setParams(req)) || {};
|
|
68
|
+
if (byCreator) {
|
|
69
|
+
const { userId } = await getSession(req) || {};
|
|
70
|
+
params.creatorId = userId;
|
|
71
|
+
}
|
|
66
72
|
let result = await (0, import_actions.getListActionFn)({
|
|
67
73
|
bodySchema,
|
|
68
74
|
db,
|
|
@@ -10,8 +10,11 @@ export interface GetOperationOptions<T extends ZodSchema, Q extends ZodSchema, T
|
|
|
10
10
|
setParams?: (req: NextRequest) => Promise<Record<string, any>>;
|
|
11
11
|
summary?: string;
|
|
12
12
|
table: TTable;
|
|
13
|
+
byCreator?: boolean;
|
|
13
14
|
}
|
|
14
|
-
export declare const createGetOperation: <T extends ZodSchema<any, import("zod").ZodTypeDef, any>, Q extends ZodSchema<any, import("zod").ZodTypeDef, any>, TTable extends BaseTable>({ db, }: {
|
|
15
|
+
export declare const createGetOperation: <T extends ZodSchema<any, import("zod").ZodTypeDef, any>, Q extends ZodSchema<any, import("zod").ZodTypeDef, any>, TTable extends BaseTable>({ getSession, db, }: {
|
|
15
16
|
db: NodePgDatabase<any>;
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
getSession: (req: NextRequest) => Promise<{
|
|
18
|
+
userId?: string;
|
|
19
|
+
} | undefined>;
|
|
20
|
+
}) => ({ querySchema, bodySchema, table, summary, relations, setParams, jsonArrayFields, byCreator, }: GetOperationOptions<T, Q, TTable>) => any;
|
|
@@ -36,6 +36,7 @@ var import_next_rest_framework = require("next-rest-framework");
|
|
|
36
36
|
var import_get_table_name = __toESM(require("./get-table-name"));
|
|
37
37
|
var import_actions = require("../actions");
|
|
38
38
|
var createGetOperation = ({
|
|
39
|
+
getSession,
|
|
39
40
|
db
|
|
40
41
|
}) => ({
|
|
41
42
|
querySchema,
|
|
@@ -44,7 +45,8 @@ var createGetOperation = ({
|
|
|
44
45
|
summary,
|
|
45
46
|
relations,
|
|
46
47
|
setParams,
|
|
47
|
-
jsonArrayFields
|
|
48
|
+
jsonArrayFields,
|
|
49
|
+
byCreator = true
|
|
48
50
|
}) => (0, import_next_rest_framework.routeOperation)({
|
|
49
51
|
method: "GET",
|
|
50
52
|
openApiOperation: {
|
|
@@ -60,7 +62,11 @@ var createGetOperation = ({
|
|
|
60
62
|
status: 200
|
|
61
63
|
}
|
|
62
64
|
]).handler(async (req) => {
|
|
63
|
-
const params = await (setParams == null ? void 0 : setParams(req));
|
|
65
|
+
const params = await (setParams == null ? void 0 : setParams(req)) || {};
|
|
66
|
+
if (byCreator) {
|
|
67
|
+
const { userId } = await getSession(req) || {};
|
|
68
|
+
params.creatorId = userId;
|
|
69
|
+
}
|
|
64
70
|
const result = await (0, import_actions.getActionFn)({
|
|
65
71
|
bodySchema,
|
|
66
72
|
db,
|
|
@@ -8,7 +8,9 @@ export interface PostOperationOptions<T extends ZodSchema, TTable extends PgTabl
|
|
|
8
8
|
summary?: string;
|
|
9
9
|
table: TTable;
|
|
10
10
|
}
|
|
11
|
-
export declare const createPostOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends PgTable<import("drizzle-orm/pg-core").TableConfig>>({ db, }: {
|
|
11
|
+
export declare const createPostOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends PgTable<import("drizzle-orm/pg-core").TableConfig>>({ getSession, db, }: {
|
|
12
12
|
db: NodePgDatabase<any>;
|
|
13
|
+
getSession: (req: NextRequest) => Promise<{
|
|
14
|
+
userId?: string;
|
|
15
|
+
} | undefined>;
|
|
13
16
|
}) => ({ bodySchema, setBody, summary, table }: PostOperationOptions<T, TTable>) => any;
|
|
14
|
-
//# sourceMappingURL=post-operation.d.ts.map
|
|
@@ -37,6 +37,7 @@ var import_next_rest_framework = require("next-rest-framework");
|
|
|
37
37
|
var import_get_table_name = __toESM(require("./get-table-name"));
|
|
38
38
|
var import_actions = require("../actions");
|
|
39
39
|
var createPostOperation = ({
|
|
40
|
+
getSession,
|
|
40
41
|
db
|
|
41
42
|
}) => ({ bodySchema, setBody, summary, table }) => (0, import_next_rest_framework.routeOperation)({
|
|
42
43
|
method: "POST",
|
|
@@ -54,11 +55,15 @@ var createPostOperation = ({
|
|
|
54
55
|
status: 200
|
|
55
56
|
}
|
|
56
57
|
]).handler(async (req) => {
|
|
58
|
+
const { userId } = await getSession(req) || {};
|
|
57
59
|
const body = Object.assign(
|
|
58
60
|
await (setBody == null ? void 0 : setBody(req)) || {},
|
|
59
61
|
await req.json()
|
|
60
62
|
);
|
|
61
|
-
const [data] = await (0, import_actions.postActionFn)({ bodySchema, db, table })(
|
|
63
|
+
const [data] = await (0, import_actions.postActionFn)({ bodySchema, db, table })({
|
|
64
|
+
...body,
|
|
65
|
+
creatorId: userId
|
|
66
|
+
});
|
|
62
67
|
return import_next_rest_framework.TypedNextResponse.json(data, { status: 200 });
|
|
63
68
|
});
|
|
64
69
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -8,7 +8,9 @@ export interface PutOperationOptions<T extends ZodSchema, TTable extends PgTable
|
|
|
8
8
|
summary?: string;
|
|
9
9
|
setBody?: (req: NextRequest) => Promise<Partial<z.infer<T>>>;
|
|
10
10
|
}
|
|
11
|
-
export declare const createPutOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends PgTable<import("drizzle-orm/pg-core").TableConfig>>({ db, }: {
|
|
11
|
+
export declare const createPutOperation: <T extends z.ZodType<any, z.ZodTypeDef, any>, TTable extends PgTable<import("drizzle-orm/pg-core").TableConfig>>({ getSession, db, }: {
|
|
12
|
+
getSession: (req: NextRequest) => Promise<{
|
|
13
|
+
userId?: string;
|
|
14
|
+
} | undefined>;
|
|
12
15
|
db: NodePgDatabase<any>;
|
|
13
16
|
}) => ({ bodySchema, table, summary, setBody }: PutOperationOptions<T, TTable>) => any;
|
|
14
|
-
//# sourceMappingURL=put-operation.d.ts.map
|
|
@@ -36,6 +36,7 @@ var import_next_rest_framework = require("next-rest-framework");
|
|
|
36
36
|
var import_get_table_name = __toESM(require("./get-table-name"));
|
|
37
37
|
var import_actions = require("../actions");
|
|
38
38
|
var createPutOperation = ({
|
|
39
|
+
getSession,
|
|
39
40
|
db
|
|
40
41
|
}) => ({ bodySchema, table, summary, setBody }) => (0, import_next_rest_framework.routeOperation)({
|
|
41
42
|
method: "PUT",
|
|
@@ -47,6 +48,7 @@ var createPutOperation = ({
|
|
|
47
48
|
body: bodySchema,
|
|
48
49
|
contentType: "application/json"
|
|
49
50
|
}).handler(async (req) => {
|
|
51
|
+
const { userId } = await getSession(req) || {};
|
|
50
52
|
const body = Object.assign(
|
|
51
53
|
await (setBody == null ? void 0 : setBody(req)) || {},
|
|
52
54
|
await req.json()
|
|
@@ -56,7 +58,10 @@ var createPutOperation = ({
|
|
|
56
58
|
bodySchema,
|
|
57
59
|
table,
|
|
58
60
|
db
|
|
59
|
-
})(
|
|
61
|
+
})({
|
|
62
|
+
...body,
|
|
63
|
+
editorId: userId
|
|
64
|
+
}),
|
|
60
65
|
{ status: 200 }
|
|
61
66
|
);
|
|
62
67
|
});
|
package/lib/backend/types.d.ts
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai0x0/utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "AI0x0 utils",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai0x0"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"*.{ts,tsx,js}": [
|
|
42
42
|
"eslint",
|
|
43
|
-
"
|
|
43
|
+
"tsc -p tsconfig.check.json"
|
|
44
44
|
]
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-action-fn.d.ts","sourceRoot":"","sources":["delete-action-fn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,iBAAwB;AAE5C,wBAAgB,cAAc,CAAC,MAAM,SAAS,SAAS,EAAE,EACvD,KAAK,EACL,EAAE,GACH,EAAE;IACD,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,OASA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-fn.d.ts","sourceRoot":"","sources":["get-action-fn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAGhC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAwB;AAE9D,wBAAgB,WAAW,CACzB,CAAC,SAAS,SAAS,EACnB,CAAC,SAAS,SAAS,EACnB,MAAM,SAAS,SAAS,EACxB,EACA,UAAU,EACV,EAAE,EACF,eAAe,EACf,WAAW,EACX,SAAS,EACT,KAAK,GACN,EAAE;IACD,UAAU,EAAE,CAAC,CAAC;IACd,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,EAAE,CAAC,CAAC;IACf,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf,OA8CA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-action-fn.d.ts","sourceRoot":"","sources":["get-list-action-fn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAwB;AAM9D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,wBAAgB,eAAe,CAC7B,CAAC,SAAS,SAAS,EACnB,CAAC,SAAS,SAAS,EACnB,MAAM,SAAS,SAAS,EACxB,EACA,UAAU,EACV,EAAE,EACF,eAAe,EACf,WAAW,EACX,SAAS,EACT,KAAK,GACN,EAAE;IACD,UAAU,EAAE,CAAC,CAAC;IACd,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,EAAE,CAAC,CAAC;IACf,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf,OA2CA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-data.d.ts","sourceRoot":"","sources":["get-list-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AA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,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"post-action-fn.d.ts","sourceRoot":"","sources":["post-action-fn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEnC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,wBAAgB,YAAY,CAAC,CAAC,SAAS,SAAS,EAAE,MAAM,SAAS,OAAO,EAAE,EACxE,UAAU,EACV,KAAK,EACL,EAAE,GACH,EAAE;IACD,UAAU,EAAE,CAAC,CAAC;IACd,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf;;;;oCAgBA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"put-action-fn.d.ts","sourceRoot":"","sources":["put-action-fn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,wBAAgB,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,MAAM,SAAS,OAAO,EAAE,EACvE,EAAE,EACF,UAAU,EACV,KAAK,GACN,EAAE;IACD,UAAU,EAAE,CAAC,CAAC;IACd,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,OAiBA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transform-body.d.ts","sourceRoot":"","sources":["transform-body.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,SAAU,OAAO,MAAM,EAAE,GAAG,CAAC,KAAG,GASzD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-operation.d.ts","sourceRoot":"","sources":["delete-operation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,iBAAwB;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,sBAAsB,CAAC,MAAM,SAAS,SAAS;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,eAAO,MAAM,qBAAqB;QACS,eAAe,GAAG,CAAC;iEAoB/C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-operation.d.ts","sourceRoot":"","sources":["get-list-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK1C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAwB;AAE9D,MAAM,WAAW,uBAAuB,CACtC,CAAC,SAA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AAW,EAAE,CAAC,CAAC;IACf,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAC/D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,kBAAkB;QAIvB,eAAe,GAAG,CAAC;qIA4CZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-name.d.ts","sourceRoot":"","sources":["get-table-name.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,iBAAS,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAa5C;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"post-operation.d.ts","sourceRoot":"","sources":["post-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,oBAAoB,CACnC,CAAC,SAAS,SAAS,EACnB,MAAM,SAAS,OAAO;IAEtB,UAAU,EAAE,CAAC,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,mBAAmB;QAIxB,eAAe,GAAG,CAAC;uFA4BZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"put-operation.d.ts","sourceRoot":"","sources":["put-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI9C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,mBAAmB,CAClC,CAAC,SAAS,SAAS,EACnB,MAAM,SAAS,OAAO;IAEtB,UAAU,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,kBAAkB;QAIvB,eAAe,GAAG,CAAC;sFA2BZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,CAAC,EAAc,MAAM,KAAK,CAAC;AAClD,OAAO,EACL,mBAAmB,EAEnB,uBAAuB,EAGxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAMtD,OAAO,EAAE,WAAW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ACd;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjC,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,EAAE,CAAC"}
|
package/es/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-action-fn.d.ts","sourceRoot":"","sources":["delete-action-fn.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,iBAAwB;AAE5C,wBAAgB,cAAc,CAAC,MAAM,SAAS,SAAS,EAAE,EACvD,KAAK,EACL,EAAE,GACH,EAAE;IACD,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,OASA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-action-fn.d.ts","sourceRoot":"","sources":["get-action-fn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAGhC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAwB;AAE9D,wBAAgB,WAAW,CACzB,CAAC,SAAS,SAAS,EACnB,CAAC,SAAS,SAAS,EACnB,MAAM,SAAS,SAAS,EACxB,EACA,UAAU,EACV,EAAE,EACF,eAAe,EACf,WAAW,EACX,SAAS,EACT,KAAK,GACN,EAAE;IACD,UAAU,EAAE,CAAC,CAAC;IACd,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,EAAE,CAAC,CAAC;IACf,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf,OA8CA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-action-fn.d.ts","sourceRoot":"","sources":["get-list-action-fn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAwB;AAM9D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,wBAAgB,eAAe,CAC7B,CAAC,SAAS,SAAS,EACnB,CAAC,SAAS,SAAS,EACnB,MAAM,SAAS,SAAS,EACxB,EACA,UAAU,EACV,EAAE,EACF,eAAe,EACf,WAAW,EACX,SAAS,EACT,KAAK,GACN,EAAE;IACD,UAAU,EAAE,CAAC,CAAC;IACd,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,EAAE,CAAC,CAAC;IACf,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf,OA2CA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-data.d.ts","sourceRoot":"","sources":["get-list-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIhD,wBAAgB,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,EAC/C,KAAK,EACL,UAAU,EACV,QAAa,EACb,OAAW,EACX,UAAU,GACX,EAAE;IACD,UAAU,EAAE,CAAC,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,UAAU,CAAC,OAAO,YAAY,CAAC,OAoBlC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-query.d.ts","sourceRoot":"","sources":["get-list-query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAwB;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACjF,OAAO,EAYL,GAAG,EACJ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,wBAAgB,YAAY,CAC1B,MAAM,SAAS,SAAS,EACxB,UAAU,SAAS,cAAc,EACjC,EACA,EAAE,EACF,MAAM,EACN,eAAe,EACf,MAAM,EACN,SAAS,EACT,KAAK,GACN,EAAE;IACD,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,MAAM,EAAE,UAAU,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,MAAM,EAAE;QAEN,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,CAAC;QAErB,OAAO,CAAC,EAAE,MAAM,SAAS,CAAC;QAE1B,QAAQ,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;QAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf;;;;;;;;;;;EA6MA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"post-action-fn.d.ts","sourceRoot":"","sources":["post-action-fn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAEnC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,wBAAgB,YAAY,CAAC,CAAC,SAAS,SAAS,EAAE,MAAM,SAAS,OAAO,EAAE,EACxE,UAAU,EACV,KAAK,EACL,EAAE,GACH,EAAE;IACD,UAAU,EAAE,CAAC,CAAC;IACd,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf;;;;oCAgBA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"put-action-fn.d.ts","sourceRoot":"","sources":["put-action-fn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,wBAAgB,WAAW,CAAC,CAAC,SAAS,SAAS,EAAE,MAAM,SAAS,OAAO,EAAE,EACvE,EAAE,EACF,UAAU,EACV,KAAK,GACN,EAAE;IACD,UAAU,EAAE,CAAC,CAAC;IACd,EAAE,EAAE,cAAc,CAAC,GAAG,CAAC,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;CACf,OAiBA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transform-body.d.ts","sourceRoot":"","sources":["transform-body.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,SAAU,OAAO,MAAM,EAAE,GAAG,CAAC,KAAG,GASzD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-operation.d.ts","sourceRoot":"","sources":["delete-operation.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,iBAAwB;AAG5C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,sBAAsB,CAAC,MAAM,SAAS,SAAS;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AACD,eAAO,MAAM,qBAAqB;QACS,eAAe,GAAG,CAAC;iEAoB/C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-list-operation.d.ts","sourceRoot":"","sources":["get-list-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAK1C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAwB;AAE9D,MAAM,WAAW,uBAAuB,CACtC,CAAC,SAAS,SAAS,EACnB,CAAC,SAAS,SAAS,EACnB,MAAM,SAAS,SAAS;IAExB,UAAU,EAAE,CAAC,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,EAAE,CAAC,CAAC;IACf,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,S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M,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,kBAAkB;QAIvB,eAAe,GAAG,CAAC;qIA4CZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-table-name.d.ts","sourceRoot":"","sources":["get-table-name.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,iBAAS,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAa5C;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"post-operation.d.ts","sourceRoot":"","sources":["post-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAI1C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,MAAM,WAAW,oBAAoB,CACnC,CAAC,SAAS,SAAS,EACnB,MAAM,SAAS,OAAO;IAEtB,UAAU,EAAE,CAAC,CAAC;IACd,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,mBAAmB;QAIxB,eAAe,GAAG,CAAC;uFA4BZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"put-operation.d.ts","sourceRoot":"","sources":["put-operation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI9C,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,MAAM,WAAW,mBAAmB,CAClC,CAAC,SAAS,SAAS,EACnB,MAAM,SAAS,OAAO;IAEtB,UAAU,EAAE,CAAC,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAC9D;AAED,eAAO,MAAM,kBAAkB;QAIvB,eAAe,GAAG,CAAC;sFA2BZ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,CAAC,EAAc,MAAM,KAAK,CAAC;AAClD,OAAO,EACL,mBAAmB,EAEnB,uBAAuB,EAGxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAMtD,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAmBhE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;sFAaV,CAAC;AAGnB,eAAO,MAAM,cAAc;;;;;;;;;EAIvB,CAAC;AAGL,eAAO,MAAM,iBAAiB;;;0BAWpB,wBACJ,MAAM,EACN,OAAO,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AAC;CACnB,EAAE,CAAC"}
|
package/lib/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":""}
|