@forklaunch/implementation-worker-redis 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/redisWorker.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");
|
|
@@ -1020,47 +1020,47 @@ var RedisWorkerOptionsSchema = {
|
|
|
1020
1020
|
interval: number
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
1023
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
1023
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/zod/index.mjs
|
|
1024
1024
|
var import_zod_openapi = __toESM(require_src(), 1);
|
|
1025
|
-
var
|
|
1026
|
-
(0, import_zod_openapi.extendZodWithOpenApi)(
|
|
1025
|
+
var import_v3 = require("zod/v3");
|
|
1026
|
+
(0, import_zod_openapi.extendZodWithOpenApi)(import_v3.z);
|
|
1027
1027
|
var ZodSchemaValidator = class {
|
|
1028
1028
|
_Type = "Zod";
|
|
1029
1029
|
_SchemaCatchall;
|
|
1030
1030
|
_ValidSchemaObject;
|
|
1031
|
-
string =
|
|
1031
|
+
string = import_v3.z.string().openapi({
|
|
1032
1032
|
title: "String",
|
|
1033
1033
|
example: "a string"
|
|
1034
1034
|
});
|
|
1035
|
-
uuid =
|
|
1035
|
+
uuid = import_v3.z.string().uuid().openapi({
|
|
1036
1036
|
title: "UUID",
|
|
1037
1037
|
format: "uuid",
|
|
1038
1038
|
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}$",
|
|
1039
1039
|
example: "a8b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
|
|
1040
1040
|
});
|
|
1041
|
-
email =
|
|
1041
|
+
email = import_v3.z.string().email().openapi({
|
|
1042
1042
|
title: "Email",
|
|
1043
1043
|
format: "email",
|
|
1044
1044
|
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])+)])`,
|
|
1045
1045
|
example: "a@b.com"
|
|
1046
1046
|
});
|
|
1047
|
-
uri =
|
|
1047
|
+
uri = import_v3.z.string().url().openapi({
|
|
1048
1048
|
title: "URI",
|
|
1049
1049
|
format: "uri",
|
|
1050
1050
|
pattern: "^[a-zA-Z][a-zA-Z\\d+-.]*:[^\\s]*$",
|
|
1051
1051
|
example: "https://forklaunch.com"
|
|
1052
1052
|
});
|
|
1053
|
-
number =
|
|
1053
|
+
number = import_v3.z.preprocess((value) => {
|
|
1054
1054
|
try {
|
|
1055
1055
|
return Number(value);
|
|
1056
1056
|
} catch {
|
|
1057
1057
|
return value;
|
|
1058
1058
|
}
|
|
1059
|
-
},
|
|
1059
|
+
}, import_v3.z.number()).openapi({
|
|
1060
1060
|
title: "Number",
|
|
1061
1061
|
example: 123
|
|
1062
1062
|
});
|
|
1063
|
-
bigint =
|
|
1063
|
+
bigint = import_v3.z.preprocess((value) => {
|
|
1064
1064
|
try {
|
|
1065
1065
|
if (value instanceof Date) {
|
|
1066
1066
|
return BigInt(value.getTime());
|
|
@@ -1077,23 +1077,23 @@ var ZodSchemaValidator = class {
|
|
|
1077
1077
|
} catch {
|
|
1078
1078
|
return value;
|
|
1079
1079
|
}
|
|
1080
|
-
},
|
|
1080
|
+
}, import_v3.z.bigint()).openapi({
|
|
1081
1081
|
title: "BigInt",
|
|
1082
1082
|
type: "integer",
|
|
1083
1083
|
format: "int64",
|
|
1084
1084
|
example: 123n
|
|
1085
1085
|
});
|
|
1086
|
-
boolean =
|
|
1086
|
+
boolean = import_v3.z.preprocess((val) => {
|
|
1087
1087
|
if (typeof val === "string") {
|
|
1088
1088
|
if (val.toLowerCase() === "true") return true;
|
|
1089
1089
|
if (val.toLowerCase() === "false") return false;
|
|
1090
1090
|
}
|
|
1091
1091
|
return val;
|
|
1092
|
-
},
|
|
1092
|
+
}, import_v3.z.boolean()).openapi({
|
|
1093
1093
|
title: "Boolean",
|
|
1094
1094
|
example: true
|
|
1095
1095
|
});
|
|
1096
|
-
date =
|
|
1096
|
+
date = import_v3.z.preprocess((value) => {
|
|
1097
1097
|
try {
|
|
1098
1098
|
switch (typeof value) {
|
|
1099
1099
|
case "string":
|
|
@@ -1106,58 +1106,58 @@ var ZodSchemaValidator = class {
|
|
|
1106
1106
|
} catch {
|
|
1107
1107
|
return value;
|
|
1108
1108
|
}
|
|
1109
|
-
},
|
|
1109
|
+
}, import_v3.z.date()).openapi({
|
|
1110
1110
|
title: "Date",
|
|
1111
1111
|
type: "string",
|
|
1112
1112
|
format: "date-time",
|
|
1113
1113
|
example: "2025-05-16T21:13:04.123Z"
|
|
1114
1114
|
});
|
|
1115
|
-
symbol =
|
|
1115
|
+
symbol = import_v3.z.symbol().openapi({
|
|
1116
1116
|
title: "Symbol",
|
|
1117
1117
|
example: Symbol("symbol")
|
|
1118
1118
|
});
|
|
1119
|
-
nullish =
|
|
1119
|
+
nullish = import_v3.z.union([import_v3.z.void(), import_v3.z.null(), import_v3.z.undefined()]).openapi({
|
|
1120
1120
|
title: "Nullish",
|
|
1121
1121
|
type: "null",
|
|
1122
1122
|
example: null
|
|
1123
1123
|
});
|
|
1124
|
-
void =
|
|
1124
|
+
void = import_v3.z.void().openapi({
|
|
1125
1125
|
title: "Void",
|
|
1126
1126
|
type: "null",
|
|
1127
1127
|
example: void 0
|
|
1128
1128
|
});
|
|
1129
|
-
null =
|
|
1129
|
+
null = import_v3.z.null().openapi({
|
|
1130
1130
|
title: "Null",
|
|
1131
1131
|
type: "null",
|
|
1132
1132
|
example: null
|
|
1133
1133
|
});
|
|
1134
|
-
undefined =
|
|
1134
|
+
undefined = import_v3.z.undefined().openapi({
|
|
1135
1135
|
title: "Undefined",
|
|
1136
1136
|
type: "null",
|
|
1137
1137
|
example: void 0
|
|
1138
1138
|
});
|
|
1139
|
-
any =
|
|
1139
|
+
any = import_v3.z.any().openapi({
|
|
1140
1140
|
title: "Any",
|
|
1141
1141
|
type: "object",
|
|
1142
1142
|
example: "any"
|
|
1143
1143
|
});
|
|
1144
|
-
unknown =
|
|
1144
|
+
unknown = import_v3.z.unknown().openapi({
|
|
1145
1145
|
title: "Unknown",
|
|
1146
1146
|
type: "object",
|
|
1147
1147
|
example: "unknown"
|
|
1148
1148
|
});
|
|
1149
|
-
never =
|
|
1149
|
+
never = import_v3.z.never().openapi({
|
|
1150
1150
|
title: "Never",
|
|
1151
1151
|
type: "null",
|
|
1152
1152
|
example: "never"
|
|
1153
1153
|
});
|
|
1154
|
-
binary =
|
|
1154
|
+
binary = import_v3.z.string().transform((v) => new TextEncoder().encode(v)).openapi({
|
|
1155
1155
|
title: "Binary",
|
|
1156
1156
|
type: "string",
|
|
1157
1157
|
format: "binary",
|
|
1158
1158
|
example: "a utf-8 encodable string"
|
|
1159
1159
|
});
|
|
1160
|
-
file =
|
|
1160
|
+
file = import_v3.z.string().transform((val) => {
|
|
1161
1161
|
return new Blob([val]);
|
|
1162
1162
|
}).openapi({
|
|
1163
1163
|
title: "File",
|
|
@@ -1182,20 +1182,20 @@ var ZodSchemaValidator = class {
|
|
|
1182
1182
|
*/
|
|
1183
1183
|
schemify(schema) {
|
|
1184
1184
|
if (typeof schema === "string" || typeof schema === "number" || typeof schema === "boolean") {
|
|
1185
|
-
return
|
|
1185
|
+
return import_v3.z.literal(schema);
|
|
1186
1186
|
}
|
|
1187
|
-
if (schema instanceof
|
|
1187
|
+
if (schema instanceof import_v3.ZodType) {
|
|
1188
1188
|
return schema;
|
|
1189
1189
|
}
|
|
1190
1190
|
const newSchema = {};
|
|
1191
1191
|
Object.getOwnPropertyNames(schema).forEach((key) => {
|
|
1192
|
-
if (schema[key] instanceof
|
|
1192
|
+
if (schema[key] instanceof import_v3.ZodType) {
|
|
1193
1193
|
newSchema[key] = schema[key];
|
|
1194
1194
|
} else {
|
|
1195
1195
|
newSchema[key] = this.schemify(schema[key]);
|
|
1196
1196
|
}
|
|
1197
1197
|
});
|
|
1198
|
-
return
|
|
1198
|
+
return import_v3.z.object(newSchema);
|
|
1199
1199
|
}
|
|
1200
1200
|
/**
|
|
1201
1201
|
* Make a schema optional.
|
|
@@ -1222,7 +1222,7 @@ var ZodSchemaValidator = class {
|
|
|
1222
1222
|
*/
|
|
1223
1223
|
union(schemas) {
|
|
1224
1224
|
const resolvedSchemas = schemas.map((schema) => this.schemify(schema));
|
|
1225
|
-
return
|
|
1225
|
+
return import_v3.z.union(
|
|
1226
1226
|
resolvedSchemas
|
|
1227
1227
|
);
|
|
1228
1228
|
}
|
|
@@ -1232,7 +1232,7 @@ var ZodSchemaValidator = class {
|
|
|
1232
1232
|
* @returns {ZodLiteral<ZodResolve<T>>} The literal schema.
|
|
1233
1233
|
*/
|
|
1234
1234
|
literal(value) {
|
|
1235
|
-
return
|
|
1235
|
+
return import_v3.z.literal(value);
|
|
1236
1236
|
}
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Create an enum schema.
|
|
@@ -1253,7 +1253,7 @@ var ZodSchemaValidator = class {
|
|
|
1253
1253
|
function_(args, returnType) {
|
|
1254
1254
|
const schemaArgs = args.map((schema) => this.schemify(schema));
|
|
1255
1255
|
const schemaReturnType = this.schemify(returnType);
|
|
1256
|
-
return
|
|
1256
|
+
return import_v3.z.function(import_v3.z.tuple(schemaArgs), schemaReturnType);
|
|
1257
1257
|
}
|
|
1258
1258
|
/**
|
|
1259
1259
|
* Create a record schema.
|
|
@@ -1264,7 +1264,7 @@ var ZodSchemaValidator = class {
|
|
|
1264
1264
|
record(key, value) {
|
|
1265
1265
|
const keySchema = this.schemify(key);
|
|
1266
1266
|
const valueSchema = this.schemify(value);
|
|
1267
|
-
return
|
|
1267
|
+
return import_v3.z.record(keySchema, valueSchema);
|
|
1268
1268
|
}
|
|
1269
1269
|
/**
|
|
1270
1270
|
* Create a promise schema.
|
|
@@ -1272,7 +1272,7 @@ var ZodSchemaValidator = class {
|
|
|
1272
1272
|
* @returns {ZodPromise<ZodResolve<T>>} The promise schema.
|
|
1273
1273
|
*/
|
|
1274
1274
|
promise(schema) {
|
|
1275
|
-
return
|
|
1275
|
+
return import_v3.z.promise(this.schemify(schema));
|
|
1276
1276
|
}
|
|
1277
1277
|
/**
|
|
1278
1278
|
* Checks if a value is a Zod schema.
|
|
@@ -1280,7 +1280,7 @@ var ZodSchemaValidator = class {
|
|
|
1280
1280
|
* @returns {boolean} True if the value is a Zod schema.
|
|
1281
1281
|
*/
|
|
1282
1282
|
isSchema(value) {
|
|
1283
|
-
return value instanceof
|
|
1283
|
+
return value instanceof import_v3.ZodType;
|
|
1284
1284
|
}
|
|
1285
1285
|
/**
|
|
1286
1286
|
* 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/redisWorker.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,
|
|
@@ -1027,12 +1027,12 @@ var RedisWorkerOptionsSchema = {
|
|
|
1027
1027
|
interval: number
|
|
1028
1028
|
};
|
|
1029
1029
|
|
|
1030
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
1030
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/zod/index.mjs
|
|
1031
1031
|
var import_zod_openapi = __toESM(require_src(), 1);
|
|
1032
1032
|
import {
|
|
1033
1033
|
z,
|
|
1034
1034
|
ZodType
|
|
1035
|
-
} from "zod";
|
|
1035
|
+
} from "zod/v3";
|
|
1036
1036
|
(0, import_zod_openapi.extendZodWithOpenApi)(z);
|
|
1037
1037
|
var ZodSchemaValidator = class {
|
|
1038
1038
|
_Type = "Zod";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-worker-redis",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Redis implementation for forklaunch workers",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -42,19 +42,19 @@
|
|
|
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
|
"@sinclair/typebox": "^0.34.37",
|
|
48
|
-
"zod": "^3.25.
|
|
49
|
-
"@forklaunch/interfaces-worker": "0.2.
|
|
48
|
+
"zod": "^3.25.76",
|
|
49
|
+
"@forklaunch/interfaces-worker": "0.2.5"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
52
|
+
"@typescript/native-preview": "7.0.0-dev.20250710.1",
|
|
53
53
|
"depcheck": "^1.4.7",
|
|
54
54
|
"eslint": "^9.30.1",
|
|
55
55
|
"prettier": "^3.6.2",
|
|
56
56
|
"typedoc": "^0.28.7",
|
|
57
|
-
"typescript-eslint": "^8.
|
|
57
|
+
"typescript-eslint": "^8.36.0"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"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",
|