@forklaunch/implementation-worker-kafka 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/kafka.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");
|
|
@@ -1023,47 +1023,47 @@ var KafkaWorkerOptionsSchema = {
|
|
|
1023
1023
|
peekCount: number
|
|
1024
1024
|
};
|
|
1025
1025
|
|
|
1026
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
1026
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/zod/index.mjs
|
|
1027
1027
|
var import_zod_openapi = __toESM(require_src(), 1);
|
|
1028
|
-
var
|
|
1029
|
-
(0, import_zod_openapi.extendZodWithOpenApi)(
|
|
1028
|
+
var import_v3 = require("zod/v3");
|
|
1029
|
+
(0, import_zod_openapi.extendZodWithOpenApi)(import_v3.z);
|
|
1030
1030
|
var ZodSchemaValidator = class {
|
|
1031
1031
|
_Type = "Zod";
|
|
1032
1032
|
_SchemaCatchall;
|
|
1033
1033
|
_ValidSchemaObject;
|
|
1034
|
-
string =
|
|
1034
|
+
string = import_v3.z.string().openapi({
|
|
1035
1035
|
title: "String",
|
|
1036
1036
|
example: "a string"
|
|
1037
1037
|
});
|
|
1038
|
-
uuid =
|
|
1038
|
+
uuid = import_v3.z.string().uuid().openapi({
|
|
1039
1039
|
title: "UUID",
|
|
1040
1040
|
format: "uuid",
|
|
1041
1041
|
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}$",
|
|
1042
1042
|
example: "a8b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
|
|
1043
1043
|
});
|
|
1044
|
-
email =
|
|
1044
|
+
email = import_v3.z.string().email().openapi({
|
|
1045
1045
|
title: "Email",
|
|
1046
1046
|
format: "email",
|
|
1047
1047
|
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])+)])`,
|
|
1048
1048
|
example: "a@b.com"
|
|
1049
1049
|
});
|
|
1050
|
-
uri =
|
|
1050
|
+
uri = import_v3.z.string().url().openapi({
|
|
1051
1051
|
title: "URI",
|
|
1052
1052
|
format: "uri",
|
|
1053
1053
|
pattern: "^[a-zA-Z][a-zA-Z\\d+-.]*:[^\\s]*$",
|
|
1054
1054
|
example: "https://forklaunch.com"
|
|
1055
1055
|
});
|
|
1056
|
-
number =
|
|
1056
|
+
number = import_v3.z.preprocess((value) => {
|
|
1057
1057
|
try {
|
|
1058
1058
|
return Number(value);
|
|
1059
1059
|
} catch {
|
|
1060
1060
|
return value;
|
|
1061
1061
|
}
|
|
1062
|
-
},
|
|
1062
|
+
}, import_v3.z.number()).openapi({
|
|
1063
1063
|
title: "Number",
|
|
1064
1064
|
example: 123
|
|
1065
1065
|
});
|
|
1066
|
-
bigint =
|
|
1066
|
+
bigint = import_v3.z.preprocess((value) => {
|
|
1067
1067
|
try {
|
|
1068
1068
|
if (value instanceof Date) {
|
|
1069
1069
|
return BigInt(value.getTime());
|
|
@@ -1080,23 +1080,23 @@ var ZodSchemaValidator = class {
|
|
|
1080
1080
|
} catch {
|
|
1081
1081
|
return value;
|
|
1082
1082
|
}
|
|
1083
|
-
},
|
|
1083
|
+
}, import_v3.z.bigint()).openapi({
|
|
1084
1084
|
title: "BigInt",
|
|
1085
1085
|
type: "integer",
|
|
1086
1086
|
format: "int64",
|
|
1087
1087
|
example: 123n
|
|
1088
1088
|
});
|
|
1089
|
-
boolean =
|
|
1089
|
+
boolean = import_v3.z.preprocess((val) => {
|
|
1090
1090
|
if (typeof val === "string") {
|
|
1091
1091
|
if (val.toLowerCase() === "true") return true;
|
|
1092
1092
|
if (val.toLowerCase() === "false") return false;
|
|
1093
1093
|
}
|
|
1094
1094
|
return val;
|
|
1095
|
-
},
|
|
1095
|
+
}, import_v3.z.boolean()).openapi({
|
|
1096
1096
|
title: "Boolean",
|
|
1097
1097
|
example: true
|
|
1098
1098
|
});
|
|
1099
|
-
date =
|
|
1099
|
+
date = import_v3.z.preprocess((value) => {
|
|
1100
1100
|
try {
|
|
1101
1101
|
switch (typeof value) {
|
|
1102
1102
|
case "string":
|
|
@@ -1109,58 +1109,58 @@ var ZodSchemaValidator = class {
|
|
|
1109
1109
|
} catch {
|
|
1110
1110
|
return value;
|
|
1111
1111
|
}
|
|
1112
|
-
},
|
|
1112
|
+
}, import_v3.z.date()).openapi({
|
|
1113
1113
|
title: "Date",
|
|
1114
1114
|
type: "string",
|
|
1115
1115
|
format: "date-time",
|
|
1116
1116
|
example: "2025-05-16T21:13:04.123Z"
|
|
1117
1117
|
});
|
|
1118
|
-
symbol =
|
|
1118
|
+
symbol = import_v3.z.symbol().openapi({
|
|
1119
1119
|
title: "Symbol",
|
|
1120
1120
|
example: Symbol("symbol")
|
|
1121
1121
|
});
|
|
1122
|
-
nullish =
|
|
1122
|
+
nullish = import_v3.z.union([import_v3.z.void(), import_v3.z.null(), import_v3.z.undefined()]).openapi({
|
|
1123
1123
|
title: "Nullish",
|
|
1124
1124
|
type: "null",
|
|
1125
1125
|
example: null
|
|
1126
1126
|
});
|
|
1127
|
-
void =
|
|
1127
|
+
void = import_v3.z.void().openapi({
|
|
1128
1128
|
title: "Void",
|
|
1129
1129
|
type: "null",
|
|
1130
1130
|
example: void 0
|
|
1131
1131
|
});
|
|
1132
|
-
null =
|
|
1132
|
+
null = import_v3.z.null().openapi({
|
|
1133
1133
|
title: "Null",
|
|
1134
1134
|
type: "null",
|
|
1135
1135
|
example: null
|
|
1136
1136
|
});
|
|
1137
|
-
undefined =
|
|
1137
|
+
undefined = import_v3.z.undefined().openapi({
|
|
1138
1138
|
title: "Undefined",
|
|
1139
1139
|
type: "null",
|
|
1140
1140
|
example: void 0
|
|
1141
1141
|
});
|
|
1142
|
-
any =
|
|
1142
|
+
any = import_v3.z.any().openapi({
|
|
1143
1143
|
title: "Any",
|
|
1144
1144
|
type: "object",
|
|
1145
1145
|
example: "any"
|
|
1146
1146
|
});
|
|
1147
|
-
unknown =
|
|
1147
|
+
unknown = import_v3.z.unknown().openapi({
|
|
1148
1148
|
title: "Unknown",
|
|
1149
1149
|
type: "object",
|
|
1150
1150
|
example: "unknown"
|
|
1151
1151
|
});
|
|
1152
|
-
never =
|
|
1152
|
+
never = import_v3.z.never().openapi({
|
|
1153
1153
|
title: "Never",
|
|
1154
1154
|
type: "null",
|
|
1155
1155
|
example: "never"
|
|
1156
1156
|
});
|
|
1157
|
-
binary =
|
|
1157
|
+
binary = import_v3.z.string().transform((v) => new TextEncoder().encode(v)).openapi({
|
|
1158
1158
|
title: "Binary",
|
|
1159
1159
|
type: "string",
|
|
1160
1160
|
format: "binary",
|
|
1161
1161
|
example: "a utf-8 encodable string"
|
|
1162
1162
|
});
|
|
1163
|
-
file =
|
|
1163
|
+
file = import_v3.z.string().transform((val) => {
|
|
1164
1164
|
return new Blob([val]);
|
|
1165
1165
|
}).openapi({
|
|
1166
1166
|
title: "File",
|
|
@@ -1185,20 +1185,20 @@ var ZodSchemaValidator = class {
|
|
|
1185
1185
|
*/
|
|
1186
1186
|
schemify(schema) {
|
|
1187
1187
|
if (typeof schema === "string" || typeof schema === "number" || typeof schema === "boolean") {
|
|
1188
|
-
return
|
|
1188
|
+
return import_v3.z.literal(schema);
|
|
1189
1189
|
}
|
|
1190
|
-
if (schema instanceof
|
|
1190
|
+
if (schema instanceof import_v3.ZodType) {
|
|
1191
1191
|
return schema;
|
|
1192
1192
|
}
|
|
1193
1193
|
const newSchema = {};
|
|
1194
1194
|
Object.getOwnPropertyNames(schema).forEach((key) => {
|
|
1195
|
-
if (schema[key] instanceof
|
|
1195
|
+
if (schema[key] instanceof import_v3.ZodType) {
|
|
1196
1196
|
newSchema[key] = schema[key];
|
|
1197
1197
|
} else {
|
|
1198
1198
|
newSchema[key] = this.schemify(schema[key]);
|
|
1199
1199
|
}
|
|
1200
1200
|
});
|
|
1201
|
-
return
|
|
1201
|
+
return import_v3.z.object(newSchema);
|
|
1202
1202
|
}
|
|
1203
1203
|
/**
|
|
1204
1204
|
* Make a schema optional.
|
|
@@ -1225,7 +1225,7 @@ var ZodSchemaValidator = class {
|
|
|
1225
1225
|
*/
|
|
1226
1226
|
union(schemas) {
|
|
1227
1227
|
const resolvedSchemas = schemas.map((schema) => this.schemify(schema));
|
|
1228
|
-
return
|
|
1228
|
+
return import_v3.z.union(
|
|
1229
1229
|
resolvedSchemas
|
|
1230
1230
|
);
|
|
1231
1231
|
}
|
|
@@ -1235,7 +1235,7 @@ var ZodSchemaValidator = class {
|
|
|
1235
1235
|
* @returns {ZodLiteral<ZodResolve<T>>} The literal schema.
|
|
1236
1236
|
*/
|
|
1237
1237
|
literal(value) {
|
|
1238
|
-
return
|
|
1238
|
+
return import_v3.z.literal(value);
|
|
1239
1239
|
}
|
|
1240
1240
|
/**
|
|
1241
1241
|
* Create an enum schema.
|
|
@@ -1256,7 +1256,7 @@ var ZodSchemaValidator = class {
|
|
|
1256
1256
|
function_(args, returnType) {
|
|
1257
1257
|
const schemaArgs = args.map((schema) => this.schemify(schema));
|
|
1258
1258
|
const schemaReturnType = this.schemify(returnType);
|
|
1259
|
-
return
|
|
1259
|
+
return import_v3.z.function(import_v3.z.tuple(schemaArgs), schemaReturnType);
|
|
1260
1260
|
}
|
|
1261
1261
|
/**
|
|
1262
1262
|
* Create a record schema.
|
|
@@ -1267,7 +1267,7 @@ var ZodSchemaValidator = class {
|
|
|
1267
1267
|
record(key, value) {
|
|
1268
1268
|
const keySchema = this.schemify(key);
|
|
1269
1269
|
const valueSchema = this.schemify(value);
|
|
1270
|
-
return
|
|
1270
|
+
return import_v3.z.record(keySchema, valueSchema);
|
|
1271
1271
|
}
|
|
1272
1272
|
/**
|
|
1273
1273
|
* Create a promise schema.
|
|
@@ -1275,7 +1275,7 @@ var ZodSchemaValidator = class {
|
|
|
1275
1275
|
* @returns {ZodPromise<ZodResolve<T>>} The promise schema.
|
|
1276
1276
|
*/
|
|
1277
1277
|
promise(schema) {
|
|
1278
|
-
return
|
|
1278
|
+
return import_v3.z.promise(this.schemify(schema));
|
|
1279
1279
|
}
|
|
1280
1280
|
/**
|
|
1281
1281
|
* Checks if a value is a Zod schema.
|
|
@@ -1283,7 +1283,7 @@ var ZodSchemaValidator = class {
|
|
|
1283
1283
|
* @returns {boolean} True if the value is a Zod schema.
|
|
1284
1284
|
*/
|
|
1285
1285
|
isSchema(value) {
|
|
1286
|
-
return value instanceof
|
|
1286
|
+
return value instanceof import_v3.ZodType;
|
|
1287
1287
|
}
|
|
1288
1288
|
/**
|
|
1289
1289
|
* 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/kafka.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,
|
|
@@ -1030,12 +1030,12 @@ var KafkaWorkerOptionsSchema = {
|
|
|
1030
1030
|
peekCount: number
|
|
1031
1031
|
};
|
|
1032
1032
|
|
|
1033
|
-
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.
|
|
1033
|
+
// ../../../node_modules/.pnpm/@forklaunch+validator@0.7.5_openapi3-ts@4.5.0/node_modules/@forklaunch/validator/lib/src/zod/index.mjs
|
|
1034
1034
|
var import_zod_openapi = __toESM(require_src(), 1);
|
|
1035
1035
|
import {
|
|
1036
1036
|
z,
|
|
1037
1037
|
ZodType
|
|
1038
|
-
} from "zod";
|
|
1038
|
+
} from "zod/v3";
|
|
1039
1039
|
(0, import_zod_openapi.extendZodWithOpenApi)(z);
|
|
1040
1040
|
var ZodSchemaValidator = class {
|
|
1041
1041
|
_Type = "Zod";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/implementation-worker-kafka",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7",
|
|
4
4
|
"description": "Kafka 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
|
"@sinclair/typebox": "^0.34.37",
|
|
48
48
|
"kafkajs": "^2.2.4",
|
|
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",
|