@rpcbase/server 0.507.0 → 0.508.0
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/dist/{handler-CedzJJg0.js → handler-BNrqh1Kb.js} +2 -2
- package/dist/{handler-CedzJJg0.js.map → handler-BNrqh1Kb.js.map} +1 -1
- package/dist/{handler-qCAUmVgd.js → handler-Bh3a6Br1.js} +2 -2
- package/dist/{handler-qCAUmVgd.js.map → handler-Bh3a6Br1.js.map} +1 -1
- package/dist/{handler-BwK8qxLn.js → handler-r-HYO3Oy.js} +2 -2
- package/dist/{handler-BwK8qxLn.js.map → handler-r-HYO3Oy.js.map} +1 -1
- package/dist/index.js +186 -82
- package/dist/index.js.map +1 -1
- package/dist/notifications.js +1 -1
- package/dist/rts/index.js +1 -1
- package/dist/{schemas-7qqi9OQy.js → schemas-Cjdjgehl.js} +4 -4
- package/dist/schemas-Cjdjgehl.js.map +1 -0
- package/dist/uploads.js +1 -1
- package/package.json +1 -1
- package/dist/schemas-7qqi9OQy.js.map +0 -1
package/dist/notifications.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { models } from "@rpcbase/db";
|
|
2
2
|
import { s as sendEmail } from "./email-DEw8keax.js";
|
|
3
3
|
const routes = Object.entries({
|
|
4
|
-
.../* @__PURE__ */ Object.assign({ "./api/notifications/handler.ts": () => import("./handler-
|
|
4
|
+
.../* @__PURE__ */ Object.assign({ "./api/notifications/handler.ts": () => import("./handler-r-HYO3Oy.js") })
|
|
5
5
|
}).reduce((acc, [path, mod]) => {
|
|
6
6
|
acc[path.replace("./api/", "@rpcbase/server/notifications/api/")] = mod;
|
|
7
7
|
return acc;
|
package/dist/rts/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { models } from "@rpcbase/db";
|
|
|
3
3
|
import { buildAbilityFromSession, getTenantRolesFromSessionUser, buildAbility, getAccessibleByQuery } from "@rpcbase/db/acl";
|
|
4
4
|
import { WebSocketServer } from "ws";
|
|
5
5
|
const routes = Object.entries({
|
|
6
|
-
.../* @__PURE__ */ Object.assign({ "./api/changes/handler.ts": () => import("../handler-
|
|
6
|
+
.../* @__PURE__ */ Object.assign({ "./api/changes/handler.ts": () => import("../handler-BNrqh1Kb.js") })
|
|
7
7
|
}).reduce((acc, [path, mod]) => {
|
|
8
8
|
acc[path.replace("./api/", "@rpcbase/server/rts/api/")] = mod;
|
|
9
9
|
return acc;
|
|
@@ -1073,7 +1073,7 @@ class Doc {
|
|
|
1073
1073
|
const version = {
|
|
1074
1074
|
major: 4,
|
|
1075
1075
|
minor: 3,
|
|
1076
|
-
patch:
|
|
1076
|
+
patch: 6
|
|
1077
1077
|
};
|
|
1078
1078
|
const $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
1079
1079
|
var _a2;
|
|
@@ -2031,7 +2031,7 @@ const $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
2031
2031
|
if (keyResult instanceof Promise) {
|
|
2032
2032
|
throw new Error("Async schemas not supported in object keys currently");
|
|
2033
2033
|
}
|
|
2034
|
-
const checkNumericKey = typeof key === "string" && number$1.test(key) && keyResult.issues.length
|
|
2034
|
+
const checkNumericKey = typeof key === "string" && number$1.test(key) && keyResult.issues.length;
|
|
2035
2035
|
if (checkNumericKey) {
|
|
2036
2036
|
const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
|
|
2037
2037
|
if (retryResult instanceof Promise) {
|
|
@@ -3111,7 +3111,7 @@ function finalize(ctx, schema) {
|
|
|
3111
3111
|
}
|
|
3112
3112
|
}
|
|
3113
3113
|
}
|
|
3114
|
-
if (refSchema.$ref) {
|
|
3114
|
+
if (refSchema.$ref && refSeen.def) {
|
|
3115
3115
|
for (const key in schema2) {
|
|
3116
3116
|
if (key === "$ref" || key === "allOf")
|
|
3117
3117
|
continue;
|
|
@@ -4222,4 +4222,4 @@ export {
|
|
|
4222
4222
|
string as s,
|
|
4223
4223
|
unknown as u
|
|
4224
4224
|
};
|
|
4225
|
-
//# sourceMappingURL=schemas-
|
|
4225
|
+
//# sourceMappingURL=schemas-Cjdjgehl.js.map
|