sprint-es 0.0.77 → 0.0.79
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/cjs/index.cjs +21 -43
- package/dist/cjs/modules/schemas/index.cjs +8 -4
- package/dist/esm/index.js +21 -43
- package/dist/esm/modules/schemas/index.js +8 -4
- package/dist/types/middleware.d.ts.map +1 -1
- package/dist/types/modules/schemas/index.d.ts +8 -1
- package/dist/types/modules/schemas/index.d.ts.map +1 -1
- package/dist/types/modules/telemetry/types.d.ts +1 -0
- package/dist/types/modules/telemetry/types.d.ts.map +1 -1
- package/dist/types/sprint.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -497,9 +497,7 @@ class Sprint {
|
|
|
497
497
|
if (description) {
|
|
498
498
|
try {
|
|
499
499
|
const parsed = JSON.parse(description);
|
|
500
|
-
if (parsed.__sprintAuthorization && parsed.sources)
|
|
501
|
-
sources = Array.isArray(parsed.sources) ? parsed.sources : [parsed.sources];
|
|
502
|
-
}
|
|
500
|
+
if (parsed.__sprintAuthorization && parsed.sources) sources = Array.isArray(parsed.sources) ? parsed.sources : [parsed.sources];
|
|
503
501
|
} catch {
|
|
504
502
|
}
|
|
505
503
|
}
|
|
@@ -529,9 +527,7 @@ class Sprint {
|
|
|
529
527
|
}
|
|
530
528
|
}
|
|
531
529
|
if (allParams.length > 0) {
|
|
532
|
-
const uniqueParams = allParams.filter(
|
|
533
|
-
(param, index, self) => index === self.findIndex((p) => p.name === param.name && p.in === param.in)
|
|
534
|
-
);
|
|
530
|
+
const uniqueParams = allParams.filter((param, index, self) => index === self.findIndex((p) => p.name === param.name && p.in === param.in));
|
|
535
531
|
routeSpec.parameters = uniqueParams;
|
|
536
532
|
}
|
|
537
533
|
paths[route.path][method] = routeSpec;
|
|
@@ -556,25 +552,15 @@ class Sprint {
|
|
|
556
552
|
const zodDef = value._def;
|
|
557
553
|
const typeName = zodDef?.typeName;
|
|
558
554
|
let propSchema = {};
|
|
559
|
-
if (typeName === "ZodString") {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
propSchema = { type: "array", items: this.zodSchemaToOpenAPI(zodDef?.type) };
|
|
567
|
-
} else if (typeName === "ZodObject") {
|
|
568
|
-
propSchema = this.zodSchemaToOpenAPI(zodDef?.type);
|
|
569
|
-
} else if (typeName === "ZodOptional") {
|
|
570
|
-
continue;
|
|
571
|
-
} else {
|
|
572
|
-
propSchema = { type: "string" };
|
|
573
|
-
}
|
|
555
|
+
if (typeName === "ZodString") propSchema = { type: "string" };
|
|
556
|
+
else if (typeName === "ZodNumber") propSchema = { type: "number" };
|
|
557
|
+
else if (typeName === "ZodBoolean") propSchema = { type: "boolean" };
|
|
558
|
+
else if (typeName === "ZodArray") propSchema = { type: "array", items: this.zodSchemaToOpenAPI(zodDef?.type) };
|
|
559
|
+
else if (typeName === "ZodObject") propSchema = this.zodSchemaToOpenAPI(zodDef?.type);
|
|
560
|
+
else if (typeName === "ZodOptional") continue;
|
|
561
|
+
else propSchema = { type: "string" };
|
|
574
562
|
properties[key] = propSchema;
|
|
575
|
-
if (!zodDef?.isOptional && typeName !== "ZodOptional")
|
|
576
|
-
required.push(key);
|
|
577
|
-
}
|
|
563
|
+
if (!zodDef?.isOptional && typeName !== "ZodOptional") required.push(key);
|
|
578
564
|
}
|
|
579
565
|
return { type: "object", properties, required: required.length > 0 ? required : void 0 };
|
|
580
566
|
}
|
|
@@ -589,15 +575,10 @@ class Sprint {
|
|
|
589
575
|
const zodDef = value._def;
|
|
590
576
|
const typeName = zodDef?.typeName;
|
|
591
577
|
let paramSchema = {};
|
|
592
|
-
if (typeName === "ZodString") {
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
} else if (typeName === "ZodBoolean") {
|
|
597
|
-
paramSchema = { type: "boolean" };
|
|
598
|
-
} else {
|
|
599
|
-
paramSchema = { type: "string" };
|
|
600
|
-
}
|
|
578
|
+
if (typeName === "ZodString") paramSchema = { type: "string" };
|
|
579
|
+
else if (typeName === "ZodNumber") paramSchema = { type: "number" };
|
|
580
|
+
else if (typeName === "ZodBoolean") paramSchema = { type: "boolean" };
|
|
581
|
+
else paramSchema = { type: "string" };
|
|
601
582
|
params.push({
|
|
602
583
|
name: key,
|
|
603
584
|
in: "query",
|
|
@@ -616,15 +597,10 @@ class Sprint {
|
|
|
616
597
|
const zodDef = value._def;
|
|
617
598
|
const typeName = zodDef?.typeName;
|
|
618
599
|
let paramSchema = {};
|
|
619
|
-
if (typeName === "ZodString") {
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
} else if (typeName === "ZodBoolean") {
|
|
624
|
-
paramSchema = { type: "boolean" };
|
|
625
|
-
} else {
|
|
626
|
-
paramSchema = { type: "string" };
|
|
627
|
-
}
|
|
600
|
+
if (typeName === "ZodString") paramSchema = { type: "string" };
|
|
601
|
+
else if (typeName === "ZodNumber") paramSchema = { type: "number" };
|
|
602
|
+
else if (typeName === "ZodBoolean") paramSchema = { type: "boolean" };
|
|
603
|
+
else paramSchema = { type: "string" };
|
|
628
604
|
headers.push({
|
|
629
605
|
name: key,
|
|
630
606
|
in: "header",
|
|
@@ -713,7 +689,9 @@ class Sprint {
|
|
|
713
689
|
function createSchemaValidationMiddleware(schema) {
|
|
714
690
|
return (req, res, next) => {
|
|
715
691
|
const errors = [];
|
|
716
|
-
|
|
692
|
+
const method = req.method.toUpperCase();
|
|
693
|
+
const noBodyMethods = ["GET", "HEAD", "DELETE"];
|
|
694
|
+
if (schema.body && !noBodyMethods.includes(method)) {
|
|
717
695
|
const result = schema.body.safeParse(req.body);
|
|
718
696
|
if (!result.success) {
|
|
719
697
|
errors.push(...result.error.issues.map((issue) => ({
|
|
@@ -12,11 +12,13 @@ const sprintBuilder = {
|
|
|
12
12
|
const sprintAuth = {
|
|
13
13
|
authorization: createSprintAuthorizationSchema
|
|
14
14
|
};
|
|
15
|
+
const sprintCallable = function() {
|
|
16
|
+
return sprintAuth;
|
|
17
|
+
};
|
|
18
|
+
Object.assign(sprintCallable, sprintAuth);
|
|
15
19
|
const proxyZ = new Proxy(zod.z, {
|
|
16
20
|
get(target, prop) {
|
|
17
|
-
if (prop === "sprint")
|
|
18
|
-
return sprintAuth;
|
|
19
|
-
}
|
|
21
|
+
if (prop === "sprint") return sprintCallable;
|
|
20
22
|
return target[prop];
|
|
21
23
|
}
|
|
22
24
|
});
|
|
@@ -36,7 +38,9 @@ function parseSchema(schema, data) {
|
|
|
36
38
|
function defineRouteSchema(schema) {
|
|
37
39
|
const middleware = (req, res, next) => {
|
|
38
40
|
const errors = [];
|
|
39
|
-
|
|
41
|
+
const method = req.method.toUpperCase();
|
|
42
|
+
const noBodyMethods = ["GET", "HEAD", "DELETE"];
|
|
43
|
+
if (schema.body && !noBodyMethods.includes(method)) {
|
|
40
44
|
const result = parseSchema(schema.body, req.body);
|
|
41
45
|
if (!result.success) errors.push(...result.errors.map((e) => ({ location: "body", ...e })));
|
|
42
46
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -472,9 +472,7 @@ class Sprint {
|
|
|
472
472
|
if (description) {
|
|
473
473
|
try {
|
|
474
474
|
const parsed = JSON.parse(description);
|
|
475
|
-
if (parsed.__sprintAuthorization && parsed.sources)
|
|
476
|
-
sources = Array.isArray(parsed.sources) ? parsed.sources : [parsed.sources];
|
|
477
|
-
}
|
|
475
|
+
if (parsed.__sprintAuthorization && parsed.sources) sources = Array.isArray(parsed.sources) ? parsed.sources : [parsed.sources];
|
|
478
476
|
} catch {
|
|
479
477
|
}
|
|
480
478
|
}
|
|
@@ -504,9 +502,7 @@ class Sprint {
|
|
|
504
502
|
}
|
|
505
503
|
}
|
|
506
504
|
if (allParams.length > 0) {
|
|
507
|
-
const uniqueParams = allParams.filter(
|
|
508
|
-
(param, index, self) => index === self.findIndex((p) => p.name === param.name && p.in === param.in)
|
|
509
|
-
);
|
|
505
|
+
const uniqueParams = allParams.filter((param, index, self) => index === self.findIndex((p) => p.name === param.name && p.in === param.in));
|
|
510
506
|
routeSpec.parameters = uniqueParams;
|
|
511
507
|
}
|
|
512
508
|
paths[route.path][method] = routeSpec;
|
|
@@ -531,25 +527,15 @@ class Sprint {
|
|
|
531
527
|
const zodDef = value._def;
|
|
532
528
|
const typeName = zodDef?.typeName;
|
|
533
529
|
let propSchema = {};
|
|
534
|
-
if (typeName === "ZodString") {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
propSchema = { type: "array", items: this.zodSchemaToOpenAPI(zodDef?.type) };
|
|
542
|
-
} else if (typeName === "ZodObject") {
|
|
543
|
-
propSchema = this.zodSchemaToOpenAPI(zodDef?.type);
|
|
544
|
-
} else if (typeName === "ZodOptional") {
|
|
545
|
-
continue;
|
|
546
|
-
} else {
|
|
547
|
-
propSchema = { type: "string" };
|
|
548
|
-
}
|
|
530
|
+
if (typeName === "ZodString") propSchema = { type: "string" };
|
|
531
|
+
else if (typeName === "ZodNumber") propSchema = { type: "number" };
|
|
532
|
+
else if (typeName === "ZodBoolean") propSchema = { type: "boolean" };
|
|
533
|
+
else if (typeName === "ZodArray") propSchema = { type: "array", items: this.zodSchemaToOpenAPI(zodDef?.type) };
|
|
534
|
+
else if (typeName === "ZodObject") propSchema = this.zodSchemaToOpenAPI(zodDef?.type);
|
|
535
|
+
else if (typeName === "ZodOptional") continue;
|
|
536
|
+
else propSchema = { type: "string" };
|
|
549
537
|
properties[key] = propSchema;
|
|
550
|
-
if (!zodDef?.isOptional && typeName !== "ZodOptional")
|
|
551
|
-
required.push(key);
|
|
552
|
-
}
|
|
538
|
+
if (!zodDef?.isOptional && typeName !== "ZodOptional") required.push(key);
|
|
553
539
|
}
|
|
554
540
|
return { type: "object", properties, required: required.length > 0 ? required : void 0 };
|
|
555
541
|
}
|
|
@@ -564,15 +550,10 @@ class Sprint {
|
|
|
564
550
|
const zodDef = value._def;
|
|
565
551
|
const typeName = zodDef?.typeName;
|
|
566
552
|
let paramSchema = {};
|
|
567
|
-
if (typeName === "ZodString") {
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
} else if (typeName === "ZodBoolean") {
|
|
572
|
-
paramSchema = { type: "boolean" };
|
|
573
|
-
} else {
|
|
574
|
-
paramSchema = { type: "string" };
|
|
575
|
-
}
|
|
553
|
+
if (typeName === "ZodString") paramSchema = { type: "string" };
|
|
554
|
+
else if (typeName === "ZodNumber") paramSchema = { type: "number" };
|
|
555
|
+
else if (typeName === "ZodBoolean") paramSchema = { type: "boolean" };
|
|
556
|
+
else paramSchema = { type: "string" };
|
|
576
557
|
params.push({
|
|
577
558
|
name: key,
|
|
578
559
|
in: "query",
|
|
@@ -591,15 +572,10 @@ class Sprint {
|
|
|
591
572
|
const zodDef = value._def;
|
|
592
573
|
const typeName = zodDef?.typeName;
|
|
593
574
|
let paramSchema = {};
|
|
594
|
-
if (typeName === "ZodString") {
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
} else if (typeName === "ZodBoolean") {
|
|
599
|
-
paramSchema = { type: "boolean" };
|
|
600
|
-
} else {
|
|
601
|
-
paramSchema = { type: "string" };
|
|
602
|
-
}
|
|
575
|
+
if (typeName === "ZodString") paramSchema = { type: "string" };
|
|
576
|
+
else if (typeName === "ZodNumber") paramSchema = { type: "number" };
|
|
577
|
+
else if (typeName === "ZodBoolean") paramSchema = { type: "boolean" };
|
|
578
|
+
else paramSchema = { type: "string" };
|
|
603
579
|
headers.push({
|
|
604
580
|
name: key,
|
|
605
581
|
in: "header",
|
|
@@ -688,7 +664,9 @@ class Sprint {
|
|
|
688
664
|
function createSchemaValidationMiddleware(schema) {
|
|
689
665
|
return (req, res, next) => {
|
|
690
666
|
const errors = [];
|
|
691
|
-
|
|
667
|
+
const method = req.method.toUpperCase();
|
|
668
|
+
const noBodyMethods = ["GET", "HEAD", "DELETE"];
|
|
669
|
+
if (schema.body && !noBodyMethods.includes(method)) {
|
|
692
670
|
const result = schema.body.safeParse(req.body);
|
|
693
671
|
if (!result.success) {
|
|
694
672
|
errors.push(...result.error.issues.map((issue) => ({
|
|
@@ -10,11 +10,13 @@ const sprintBuilder = {
|
|
|
10
10
|
const sprintAuth = {
|
|
11
11
|
authorization: createSprintAuthorizationSchema
|
|
12
12
|
};
|
|
13
|
+
const sprintCallable = function() {
|
|
14
|
+
return sprintAuth;
|
|
15
|
+
};
|
|
16
|
+
Object.assign(sprintCallable, sprintAuth);
|
|
13
17
|
const proxyZ = new Proxy(z, {
|
|
14
18
|
get(target, prop) {
|
|
15
|
-
if (prop === "sprint")
|
|
16
|
-
return sprintAuth;
|
|
17
|
-
}
|
|
19
|
+
if (prop === "sprint") return sprintCallable;
|
|
18
20
|
return target[prop];
|
|
19
21
|
}
|
|
20
22
|
});
|
|
@@ -34,7 +36,9 @@ function parseSchema(schema, data) {
|
|
|
34
36
|
function defineRouteSchema(schema) {
|
|
35
37
|
const middleware = (req, res, next) => {
|
|
36
38
|
const errors = [];
|
|
37
|
-
|
|
39
|
+
const method = req.method.toUpperCase();
|
|
40
|
+
const noBodyMethods = ["GET", "HEAD", "DELETE"];
|
|
41
|
+
if (schema.body && !noBodyMethods.includes(method)) {
|
|
38
42
|
const result = parseSchema(schema.body, req.body);
|
|
39
43
|
if (!result.success) errors.push(...result.errors.map((e) => ({ location: "body", ...e })));
|
|
40
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/middleware.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAyC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/middleware.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAyC,MAAM,SAAS,CAAC;AA+FlF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,gBAAgB,GAAG,gBAAgB,CA+B3E"}
|
|
@@ -8,7 +8,14 @@ declare function createSprintAuthorizationSchema(options?: SprintAuthorizationOp
|
|
|
8
8
|
declare const sprintBuilder: {
|
|
9
9
|
authorization: typeof createSprintAuthorizationSchema;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const sprintAuth: {
|
|
12
|
+
authorization: typeof createSprintAuthorizationSchema;
|
|
13
|
+
};
|
|
14
|
+
type SprintCallable = typeof sprintAuth & (() => typeof sprintAuth);
|
|
15
|
+
type ZodWithSprint = typeof z & {
|
|
16
|
+
sprint: SprintCallable;
|
|
17
|
+
};
|
|
18
|
+
declare const proxyZ: ZodWithSprint;
|
|
12
19
|
export { proxyZ as z };
|
|
13
20
|
export { sprintBuilder as sprint };
|
|
14
21
|
export interface RouteSchemaOptions {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AACzC,OAAO,EAAE,CAAC,EAAE,SAAS,IAAI,aAAa,EAAE,UAAU,EAAuB,MAAM,KAAK,CAAC;AAErF,MAAM,MAAM,mBAAmB,GAAG,SAAS,MAAM,EAAE,GAAG,WAAW,MAAM,EAAE,CAAC;AAE1E,MAAM,WAAW,0BAA0B;IACvC,OAAO,CAAC,EAAE,mBAAmB,GAAG,mBAAmB,EAAE,CAAC;CACzD;AAED,iBAAS,+BAA+B,CAAC,OAAO,CAAC,EAAE,0BAA0B,GAAG,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,MAAM,CAAC,CAKxH;AAED,QAAA,MAAM,aAAa;;CAElB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAA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AqBD,wBAAgB,iBAAiB,CAAC,CAAC,SAAS,kBAAkB,EAAE,MAAM,EAAE,CAAC,GAAG,cAAc,CA2EzF;AAED,YAAY,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/modules/telemetry/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC;AAEnE,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IACzB,QAAQ,EAAE,QAAQ,GAAG,WAAW,CAAC;IACjC,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC1B,QAAQ,EAAE,SAAS,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACtB"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/modules/telemetry/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC;AAEnE,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAEzC,MAAM,WAAW,eAAe;IAC5B,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,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