@forklaunch/implementation-worker-database 0.3.6 → 0.3.7
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/lib/domain/schemas/index.js +44 -44
- package/lib/domain/schemas/index.mjs +11 -11
- package/package.json +7 -7
|
@@ -80,9 +80,9 @@ var require_cjs = __commonJS({
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
|
|
83
|
-
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
83
|
+
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/lib/zod-openapi.js
|
|
84
84
|
var require_zod_openapi = __commonJS({
|
|
85
|
-
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
85
|
+
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/lib/zod-openapi.js"(exports2) {
|
|
86
86
|
"use strict";
|
|
87
87
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
88
88
|
exports2.generateSchema = exports2.extendApi = void 0;
|
|
@@ -410,9 +410,9 @@ var require_zod_openapi = __commonJS({
|
|
|
410
410
|
}
|
|
411
411
|
});
|
|
412
412
|
|
|
413
|
-
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
413
|
+
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/lib/zod-extensions.js
|
|
414
414
|
var require_zod_extensions = __commonJS({
|
|
415
|
-
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
415
|
+
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/lib/zod-extensions.js"(exports2) {
|
|
416
416
|
"use strict";
|
|
417
417
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
418
418
|
exports2.extendZodWithOpenApi = void 0;
|
|
@@ -429,9 +429,9 @@ var require_zod_extensions = __commonJS({
|
|
|
429
429
|
}
|
|
430
430
|
});
|
|
431
431
|
|
|
432
|
-
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
432
|
+
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/index.js
|
|
433
433
|
var require_src = __commonJS({
|
|
434
|
-
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
434
|
+
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/index.js"(exports2) {
|
|
435
435
|
"use strict";
|
|
436
436
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
437
437
|
if (k2 === void 0) k2 = k;
|
|
@@ -465,7 +465,7 @@ module.exports = __toCommonJS(schemas_exports);
|
|
|
465
465
|
// domain/schemas/databaseWorker.schema.ts
|
|
466
466
|
var import_internal = require("@forklaunch/internal");
|
|
467
467
|
|
|
468
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
468
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/typebox/index.mjs
|
|
469
469
|
var typebox_exports = {};
|
|
470
470
|
__export(typebox_exports, {
|
|
471
471
|
SchemaValidator: () => SchemaValidator,
|
|
@@ -505,7 +505,7 @@ __export(typebox_exports, {
|
|
|
505
505
|
});
|
|
506
506
|
__reExport(typebox_exports, require("@sinclair/typebox"));
|
|
507
507
|
|
|
508
|
-
// ../../../node_modules/.pnpm/@forklaunch+common@0.4.
|
|
508
|
+
// ../../../node_modules/.pnpm/@forklaunch+common@0.4.3/node_modules/@forklaunch/common/lib/index.mjs
|
|
509
509
|
var InMemoryBlob = class extends Blob {
|
|
510
510
|
constructor(content) {
|
|
511
511
|
super([Buffer.from(content)]);
|
|
@@ -513,7 +513,7 @@ var InMemoryBlob = class extends Blob {
|
|
|
513
513
|
}
|
|
514
514
|
};
|
|
515
515
|
|
|
516
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
516
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/typebox/index.mjs
|
|
517
517
|
var import_typebox = require("@sinclair/typebox");
|
|
518
518
|
var import_compiler = require("@sinclair/typebox/compiler");
|
|
519
519
|
var import_errors = require("@sinclair/typebox/errors");
|
|
@@ -1019,47 +1019,47 @@ var DatabaseWorkerOptionsSchema = {
|
|
|
1019
1019
|
interval: number
|
|
1020
1020
|
};
|
|
1021
1021
|
|
|
1022
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
1022
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/zod/index.mjs
|
|
1023
1023
|
var import_zod_openapi = __toESM(require_src(), 1);
|
|
1024
|
-
var
|
|
1025
|
-
(0, import_zod_openapi.extendZodWithOpenApi)(
|
|
1024
|
+
var import_v3 = require("zod/v3");
|
|
1025
|
+
(0, import_zod_openapi.extendZodWithOpenApi)(import_v3.z);
|
|
1026
1026
|
var ZodSchemaValidator = class {
|
|
1027
1027
|
_Type = "Zod";
|
|
1028
1028
|
_SchemaCatchall;
|
|
1029
1029
|
_ValidSchemaObject;
|
|
1030
|
-
string =
|
|
1030
|
+
string = import_v3.z.string().openapi({
|
|
1031
1031
|
title: "String",
|
|
1032
1032
|
example: "a string"
|
|
1033
1033
|
});
|
|
1034
|
-
uuid =
|
|
1034
|
+
uuid = import_v3.z.string().uuid().openapi({
|
|
1035
1035
|
title: "UUID",
|
|
1036
1036
|
format: "uuid",
|
|
1037
1037
|
pattern: "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$",
|
|
1038
1038
|
example: "a8b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
|
|
1039
1039
|
});
|
|
1040
|
-
email =
|
|
1040
|
+
email = import_v3.z.string().email().openapi({
|
|
1041
1041
|
title: "Email",
|
|
1042
1042
|
format: "email",
|
|
1043
1043
|
pattern: `(?:[a-z0-9!#$%&'*+/=?^_{|}~-]+(?:\\.[a-z0-9!#$%&'*+/=?^_{|}~-]+)*|"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)])`,
|
|
1044
1044
|
example: "a@b.com"
|
|
1045
1045
|
});
|
|
1046
|
-
uri =
|
|
1046
|
+
uri = import_v3.z.string().url().openapi({
|
|
1047
1047
|
title: "URI",
|
|
1048
1048
|
format: "uri",
|
|
1049
1049
|
pattern: "^[a-zA-Z][a-zA-Z\\d+-.]*:[^\\s]*$",
|
|
1050
1050
|
example: "https://forklaunch.com"
|
|
1051
1051
|
});
|
|
1052
|
-
number =
|
|
1052
|
+
number = import_v3.z.preprocess((value) => {
|
|
1053
1053
|
try {
|
|
1054
1054
|
return Number(value);
|
|
1055
1055
|
} catch {
|
|
1056
1056
|
return value;
|
|
1057
1057
|
}
|
|
1058
|
-
},
|
|
1058
|
+
}, import_v3.z.number()).openapi({
|
|
1059
1059
|
title: "Number",
|
|
1060
1060
|
example: 123
|
|
1061
1061
|
});
|
|
1062
|
-
bigint =
|
|
1062
|
+
bigint = import_v3.z.preprocess((value) => {
|
|
1063
1063
|
try {
|
|
1064
1064
|
if (value instanceof Date) {
|
|
1065
1065
|
return BigInt(value.getTime());
|
|
@@ -1076,23 +1076,23 @@ var ZodSchemaValidator = class {
|
|
|
1076
1076
|
} catch {
|
|
1077
1077
|
return value;
|
|
1078
1078
|
}
|
|
1079
|
-
},
|
|
1079
|
+
}, import_v3.z.bigint()).openapi({
|
|
1080
1080
|
title: "BigInt",
|
|
1081
1081
|
type: "integer",
|
|
1082
1082
|
format: "int64",
|
|
1083
1083
|
example: 123n
|
|
1084
1084
|
});
|
|
1085
|
-
boolean =
|
|
1085
|
+
boolean = import_v3.z.preprocess((val) => {
|
|
1086
1086
|
if (typeof val === "string") {
|
|
1087
1087
|
if (val.toLowerCase() === "true") return true;
|
|
1088
1088
|
if (val.toLowerCase() === "false") return false;
|
|
1089
1089
|
}
|
|
1090
1090
|
return val;
|
|
1091
|
-
},
|
|
1091
|
+
}, import_v3.z.boolean()).openapi({
|
|
1092
1092
|
title: "Boolean",
|
|
1093
1093
|
example: true
|
|
1094
1094
|
});
|
|
1095
|
-
date =
|
|
1095
|
+
date = import_v3.z.preprocess((value) => {
|
|
1096
1096
|
try {
|
|
1097
1097
|
switch (typeof value) {
|
|
1098
1098
|
case "string":
|
|
@@ -1105,58 +1105,58 @@ var ZodSchemaValidator = class {
|
|
|
1105
1105
|
} catch {
|
|
1106
1106
|
return value;
|
|
1107
1107
|
}
|
|
1108
|
-
},
|
|
1108
|
+
}, import_v3.z.date()).openapi({
|
|
1109
1109
|
title: "Date",
|
|
1110
1110
|
type: "string",
|
|
1111
1111
|
format: "date-time",
|
|
1112
1112
|
example: "2025-05-16T21:13:04.123Z"
|
|
1113
1113
|
});
|
|
1114
|
-
symbol =
|
|
1114
|
+
symbol = import_v3.z.symbol().openapi({
|
|
1115
1115
|
title: "Symbol",
|
|
1116
1116
|
example: Symbol("symbol")
|
|
1117
1117
|
});
|
|
1118
|
-
nullish =
|
|
1118
|
+
nullish = import_v3.z.union([import_v3.z.void(), import_v3.z.null(), import_v3.z.undefined()]).openapi({
|
|
1119
1119
|
title: "Nullish",
|
|
1120
1120
|
type: "null",
|
|
1121
1121
|
example: null
|
|
1122
1122
|
});
|
|
1123
|
-
void =
|
|
1123
|
+
void = import_v3.z.void().openapi({
|
|
1124
1124
|
title: "Void",
|
|
1125
1125
|
type: "null",
|
|
1126
1126
|
example: void 0
|
|
1127
1127
|
});
|
|
1128
|
-
null =
|
|
1128
|
+
null = import_v3.z.null().openapi({
|
|
1129
1129
|
title: "Null",
|
|
1130
1130
|
type: "null",
|
|
1131
1131
|
example: null
|
|
1132
1132
|
});
|
|
1133
|
-
undefined =
|
|
1133
|
+
undefined = import_v3.z.undefined().openapi({
|
|
1134
1134
|
title: "Undefined",
|
|
1135
1135
|
type: "null",
|
|
1136
1136
|
example: void 0
|
|
1137
1137
|
});
|
|
1138
|
-
any =
|
|
1138
|
+
any = import_v3.z.any().openapi({
|
|
1139
1139
|
title: "Any",
|
|
1140
1140
|
type: "object",
|
|
1141
1141
|
example: "any"
|
|
1142
1142
|
});
|
|
1143
|
-
unknown =
|
|
1143
|
+
unknown = import_v3.z.unknown().openapi({
|
|
1144
1144
|
title: "Unknown",
|
|
1145
1145
|
type: "object",
|
|
1146
1146
|
example: "unknown"
|
|
1147
1147
|
});
|
|
1148
|
-
never =
|
|
1148
|
+
never = import_v3.z.never().openapi({
|
|
1149
1149
|
title: "Never",
|
|
1150
1150
|
type: "null",
|
|
1151
1151
|
example: "never"
|
|
1152
1152
|
});
|
|
1153
|
-
binary =
|
|
1153
|
+
binary = import_v3.z.string().transform((v) => new TextEncoder().encode(v)).openapi({
|
|
1154
1154
|
title: "Binary",
|
|
1155
1155
|
type: "string",
|
|
1156
1156
|
format: "binary",
|
|
1157
1157
|
example: "a utf-8 encodable string"
|
|
1158
1158
|
});
|
|
1159
|
-
file =
|
|
1159
|
+
file = import_v3.z.string().transform((val) => {
|
|
1160
1160
|
return new Blob([val]);
|
|
1161
1161
|
}).openapi({
|
|
1162
1162
|
title: "File",
|
|
@@ -1181,20 +1181,20 @@ var ZodSchemaValidator = class {
|
|
|
1181
1181
|
*/
|
|
1182
1182
|
schemify(schema) {
|
|
1183
1183
|
if (typeof schema === "string" || typeof schema === "number" || typeof schema === "boolean") {
|
|
1184
|
-
return
|
|
1184
|
+
return import_v3.z.literal(schema);
|
|
1185
1185
|
}
|
|
1186
|
-
if (schema instanceof
|
|
1186
|
+
if (schema instanceof import_v3.ZodType) {
|
|
1187
1187
|
return schema;
|
|
1188
1188
|
}
|
|
1189
1189
|
const newSchema = {};
|
|
1190
1190
|
Object.getOwnPropertyNames(schema).forEach((key) => {
|
|
1191
|
-
if (schema[key] instanceof
|
|
1191
|
+
if (schema[key] instanceof import_v3.ZodType) {
|
|
1192
1192
|
newSchema[key] = schema[key];
|
|
1193
1193
|
} else {
|
|
1194
1194
|
newSchema[key] = this.schemify(schema[key]);
|
|
1195
1195
|
}
|
|
1196
1196
|
});
|
|
1197
|
-
return
|
|
1197
|
+
return import_v3.z.object(newSchema);
|
|
1198
1198
|
}
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Make a schema optional.
|
|
@@ -1221,7 +1221,7 @@ var ZodSchemaValidator = class {
|
|
|
1221
1221
|
*/
|
|
1222
1222
|
union(schemas) {
|
|
1223
1223
|
const resolvedSchemas = schemas.map((schema) => this.schemify(schema));
|
|
1224
|
-
return
|
|
1224
|
+
return import_v3.z.union(
|
|
1225
1225
|
resolvedSchemas
|
|
1226
1226
|
);
|
|
1227
1227
|
}
|
|
@@ -1231,7 +1231,7 @@ var ZodSchemaValidator = class {
|
|
|
1231
1231
|
* @returns {ZodLiteral<ZodResolve<T>>} The literal schema.
|
|
1232
1232
|
*/
|
|
1233
1233
|
literal(value) {
|
|
1234
|
-
return
|
|
1234
|
+
return import_v3.z.literal(value);
|
|
1235
1235
|
}
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Create an enum schema.
|
|
@@ -1252,7 +1252,7 @@ var ZodSchemaValidator = class {
|
|
|
1252
1252
|
function_(args, returnType) {
|
|
1253
1253
|
const schemaArgs = args.map((schema) => this.schemify(schema));
|
|
1254
1254
|
const schemaReturnType = this.schemify(returnType);
|
|
1255
|
-
return
|
|
1255
|
+
return import_v3.z.function(import_v3.z.tuple(schemaArgs), schemaReturnType);
|
|
1256
1256
|
}
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Create a record schema.
|
|
@@ -1263,7 +1263,7 @@ var ZodSchemaValidator = class {
|
|
|
1263
1263
|
record(key, value) {
|
|
1264
1264
|
const keySchema = this.schemify(key);
|
|
1265
1265
|
const valueSchema = this.schemify(value);
|
|
1266
|
-
return
|
|
1266
|
+
return import_v3.z.record(keySchema, valueSchema);
|
|
1267
1267
|
}
|
|
1268
1268
|
/**
|
|
1269
1269
|
* Create a promise schema.
|
|
@@ -1271,7 +1271,7 @@ var ZodSchemaValidator = class {
|
|
|
1271
1271
|
* @returns {ZodPromise<ZodResolve<T>>} The promise schema.
|
|
1272
1272
|
*/
|
|
1273
1273
|
promise(schema) {
|
|
1274
|
-
return
|
|
1274
|
+
return import_v3.z.promise(this.schemify(schema));
|
|
1275
1275
|
}
|
|
1276
1276
|
/**
|
|
1277
1277
|
* Checks if a value is a Zod schema.
|
|
@@ -1279,7 +1279,7 @@ var ZodSchemaValidator = class {
|
|
|
1279
1279
|
* @returns {boolean} True if the value is a Zod schema.
|
|
1280
1280
|
*/
|
|
1281
1281
|
isSchema(value) {
|
|
1282
|
-
return value instanceof
|
|
1282
|
+
return value instanceof import_v3.ZodType;
|
|
1283
1283
|
}
|
|
1284
1284
|
/**
|
|
1285
1285
|
* Checks if a value is an instance of a Zod schema.
|
|
@@ -84,9 +84,9 @@ var require_cjs = __commonJS({
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
|
|
87
|
-
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
87
|
+
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/lib/zod-openapi.js
|
|
88
88
|
var require_zod_openapi = __commonJS({
|
|
89
|
-
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
89
|
+
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/lib/zod-openapi.js"(exports) {
|
|
90
90
|
"use strict";
|
|
91
91
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
92
92
|
exports.generateSchema = exports.extendApi = void 0;
|
|
@@ -414,9 +414,9 @@ var require_zod_openapi = __commonJS({
|
|
|
414
414
|
}
|
|
415
415
|
});
|
|
416
416
|
|
|
417
|
-
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
417
|
+
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/lib/zod-extensions.js
|
|
418
418
|
var require_zod_extensions = __commonJS({
|
|
419
|
-
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
419
|
+
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/lib/zod-extensions.js"(exports) {
|
|
420
420
|
"use strict";
|
|
421
421
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
422
422
|
exports.extendZodWithOpenApi = void 0;
|
|
@@ -433,9 +433,9 @@ var require_zod_extensions = __commonJS({
|
|
|
433
433
|
}
|
|
434
434
|
});
|
|
435
435
|
|
|
436
|
-
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
436
|
+
// ../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/index.js
|
|
437
437
|
var require_src = __commonJS({
|
|
438
|
-
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.
|
|
438
|
+
"../../../node_modules/.pnpm/@anatine+zod-openapi@2.2.8_openapi3-ts@4.5.0_zod@3.25.76/node_modules/@anatine/zod-openapi/src/index.js"(exports) {
|
|
439
439
|
"use strict";
|
|
440
440
|
var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
441
441
|
if (k2 === void 0) k2 = k;
|
|
@@ -462,7 +462,7 @@ var require_src = __commonJS({
|
|
|
462
462
|
// domain/schemas/databaseWorker.schema.ts
|
|
463
463
|
import { serviceSchemaResolver } from "@forklaunch/internal";
|
|
464
464
|
|
|
465
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
465
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/typebox/index.mjs
|
|
466
466
|
var typebox_exports = {};
|
|
467
467
|
__export(typebox_exports, {
|
|
468
468
|
SchemaValidator: () => SchemaValidator,
|
|
@@ -503,7 +503,7 @@ __export(typebox_exports, {
|
|
|
503
503
|
__reExport(typebox_exports, typebox_star);
|
|
504
504
|
import * as typebox_star from "@sinclair/typebox";
|
|
505
505
|
|
|
506
|
-
// ../../../node_modules/.pnpm/@forklaunch+common@0.4.
|
|
506
|
+
// ../../../node_modules/.pnpm/@forklaunch+common@0.4.3/node_modules/@forklaunch/common/lib/index.mjs
|
|
507
507
|
var InMemoryBlob = class extends Blob {
|
|
508
508
|
constructor(content) {
|
|
509
509
|
super([Buffer.from(content)]);
|
|
@@ -511,7 +511,7 @@ var InMemoryBlob = class extends Blob {
|
|
|
511
511
|
}
|
|
512
512
|
};
|
|
513
513
|
|
|
514
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
514
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/typebox/index.mjs
|
|
515
515
|
import {
|
|
516
516
|
FormatRegistry,
|
|
517
517
|
Kind,
|
|
@@ -1026,12 +1026,12 @@ var DatabaseWorkerOptionsSchema = {
|
|
|
1026
1026
|
interval: number
|
|
1027
1027
|
};
|
|
1028
1028
|
|
|
1029
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
1029
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/zod/index.mjs
|
|
1030
1030
|
var import_zod_openapi = __toESM(require_src(), 1);
|
|
1031
1031
|
import {
|
|
1032
1032
|
z,
|
|
1033
1033
|
ZodType
|
|
1034
|
-
} from "zod";
|
|
1034
|
+
} from "zod/v3";
|
|
1035
1035
|
(0, import_zod_openapi.extendZodWithOpenApi)(z);
|
|
1036
1036
|
var ZodSchemaValidator = class {
|
|
1037
1037
|
_Type = "Zod";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-worker-database",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Database implementation for forklaunch workers",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
"lib/**"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@forklaunch/core": "^0.
|
|
46
|
-
"@forklaunch/internal": "^0.1.
|
|
45
|
+
"@forklaunch/core": "^0.11.0",
|
|
46
|
+
"@forklaunch/internal": "^0.1.5",
|
|
47
47
|
"@mikro-orm/core": "^6.4.16",
|
|
48
48
|
"@sinclair/typebox": "^0.34.37",
|
|
49
|
-
"zod": "^3.25.
|
|
50
|
-
"@forklaunch/interfaces-worker": "0.2.
|
|
49
|
+
"zod": "^3.25.76",
|
|
50
|
+
"@forklaunch/interfaces-worker": "0.2.5"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
53
|
+
"@typescript/native-preview": "7.0.0-dev.20250710.1",
|
|
54
54
|
"depcheck": "^1.4.7",
|
|
55
55
|
"eslint": "^9.30.1",
|
|
56
56
|
"prettier": "^3.6.2",
|
|
57
57
|
"typedoc": "^0.28.7",
|
|
58
|
-
"typescript-eslint": "^8.
|
|
58
|
+
"typescript-eslint": "^8.36.0"
|
|
59
59
|
},
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "tsc --noEmit && tsup producers/index.ts consumers/index.ts domain/schemas/index.ts domain/types/index.ts --format cjs,esm --no-splitting --dts --tsconfig tsconfig.json --out-dir lib --clean && if [ -f eject-package.bash ]; then pnpm package:eject; fi",
|