@joeygrable94/utm-src-pub-validators 0.0.59 → 0.0.60
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/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2614,11 +2614,11 @@ type StrapiResponseMeta = {
|
|
|
2614
2614
|
type StrapiResponseMetaWithPagination = StrapiResponseMeta & {
|
|
2615
2615
|
pagination: StrapiPagination;
|
|
2616
2616
|
};
|
|
2617
|
-
type StrapiErrorDetail = {
|
|
2617
|
+
type StrapiErrorDetail<T> = {
|
|
2618
2618
|
status: string | number;
|
|
2619
2619
|
name: string;
|
|
2620
2620
|
message: string;
|
|
2621
|
-
details: Record<
|
|
2621
|
+
details: Record<keyof T, string>;
|
|
2622
2622
|
};
|
|
2623
2623
|
type StrapiSingleResponse<T> = {
|
|
2624
2624
|
data: T;
|
|
@@ -2630,9 +2630,9 @@ type StrapiListResponse<T> = {
|
|
|
2630
2630
|
error?: undefined;
|
|
2631
2631
|
meta?: StrapiResponseMetaWithPagination;
|
|
2632
2632
|
};
|
|
2633
|
-
type StrapiErrorResponse = {
|
|
2633
|
+
type StrapiErrorResponse<T> = {
|
|
2634
2634
|
data: null;
|
|
2635
|
-
error: StrapiErrorDetail
|
|
2635
|
+
error: StrapiErrorDetail<T>;
|
|
2636
2636
|
meta?: undefined;
|
|
2637
2637
|
};
|
|
2638
2638
|
|
package/dist/index.d.ts
CHANGED
|
@@ -2614,11 +2614,11 @@ type StrapiResponseMeta = {
|
|
|
2614
2614
|
type StrapiResponseMetaWithPagination = StrapiResponseMeta & {
|
|
2615
2615
|
pagination: StrapiPagination;
|
|
2616
2616
|
};
|
|
2617
|
-
type StrapiErrorDetail = {
|
|
2617
|
+
type StrapiErrorDetail<T> = {
|
|
2618
2618
|
status: string | number;
|
|
2619
2619
|
name: string;
|
|
2620
2620
|
message: string;
|
|
2621
|
-
details: Record<
|
|
2621
|
+
details: Record<keyof T, string>;
|
|
2622
2622
|
};
|
|
2623
2623
|
type StrapiSingleResponse<T> = {
|
|
2624
2624
|
data: T;
|
|
@@ -2630,9 +2630,9 @@ type StrapiListResponse<T> = {
|
|
|
2630
2630
|
error?: undefined;
|
|
2631
2631
|
meta?: StrapiResponseMetaWithPagination;
|
|
2632
2632
|
};
|
|
2633
|
-
type StrapiErrorResponse = {
|
|
2633
|
+
type StrapiErrorResponse<T> = {
|
|
2634
2634
|
data: null;
|
|
2635
|
-
error: StrapiErrorDetail
|
|
2635
|
+
error: StrapiErrorDetail<T>;
|
|
2636
2636
|
meta?: undefined;
|
|
2637
2637
|
};
|
|
2638
2638
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joeygrable94/utm-src-pub-validators",
|
|
3
3
|
"description": "Schema Validator for UTM.Src.Pub types",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.60",
|
|
5
5
|
"author": "Joey Grable <joey@getcommunity.com> (https://joeygrable.com)",
|
|
6
6
|
"contributors": [],
|
|
7
7
|
"main": "dist/index.js",
|