@open-dpp/dto 6.2.0 → 6.2.1
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.
|
@@ -20,4 +20,10 @@ export declare const PassportFilterParamsDtoSchema: z.ZodObject<{
|
|
|
20
20
|
templateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
21
|
}, z.core.$strip>;
|
|
22
22
|
export type PassportFilterParamsDto = z.infer<typeof PassportFilterParamsDtoSchema>;
|
|
23
|
+
export declare const PassportRegistryExportRequestDtoSchema: z.ZodObject<{
|
|
24
|
+
startDate: z.ZodOptional<z.ZodISODateTime>;
|
|
25
|
+
endDate: z.ZodOptional<z.ZodISODateTime>;
|
|
26
|
+
templateIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
export type PassportRegistryExportRequestDto = z.infer<typeof PassportRegistryExportRequestDtoSchema>;
|
|
23
29
|
//# sourceMappingURL=filter.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.dto.d.ts","sourceRoot":"","sources":["../../src/shared/filter.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB;;;;;;;;iBAIF,CAAC;AAEjC,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAGpE,eAAO,MAAM,6BAA6B;;;;;;;;;iBAExC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"filter.dto.d.ts","sourceRoot":"","sources":["../../src/shared/filter.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,qBAAqB;;;;;;;;iBAIF,CAAC;AAEjC,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAGpE,eAAO,MAAM,6BAA6B;;;;;;;;;iBAExC,CAAC;AAEH,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAGpF,eAAO,MAAM,sCAAsC;;;;iBAEjD,CAAC;AAEH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,sCAAsC,CAC9C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PassportFilterParamsDtoSchema = exports.FilterParamsDtoSchema = void 0;
|
|
3
|
+
exports.PassportRegistryExportRequestDtoSchema = exports.PassportFilterParamsDtoSchema = exports.FilterParamsDtoSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const time_dto_1 = require("./time.dto");
|
|
6
6
|
const digital_product_document_schemas_1 = require("../digital-product-document/digital-product-document.schemas");
|
|
@@ -13,3 +13,7 @@ exports.FilterParamsDtoSchema = zod_1.z
|
|
|
13
13
|
exports.PassportFilterParamsDtoSchema = exports.FilterParamsDtoSchema.extend({
|
|
14
14
|
templateIds: zod_1.z.string().min(1).array().optional(),
|
|
15
15
|
});
|
|
16
|
+
// Body of the EU registry export: the passport filters without status (only Published are exported).
|
|
17
|
+
exports.PassportRegistryExportRequestDtoSchema = exports.PassportFilterParamsDtoSchema.omit({
|
|
18
|
+
status: true,
|
|
19
|
+
});
|
package/package.json
CHANGED
package/src/shared/filter.dto.ts
CHANGED
|
@@ -16,3 +16,12 @@ export const PassportFilterParamsDtoSchema = FilterParamsDtoSchema.extend({
|
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
export type PassportFilterParamsDto = z.infer<typeof PassportFilterParamsDtoSchema>;
|
|
19
|
+
|
|
20
|
+
// Body of the EU registry export: the passport filters without status (only Published are exported).
|
|
21
|
+
export const PassportRegistryExportRequestDtoSchema = PassportFilterParamsDtoSchema.omit({
|
|
22
|
+
status: true,
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export type PassportRegistryExportRequestDto = z.infer<
|
|
26
|
+
typeof PassportRegistryExportRequestDtoSchema
|
|
27
|
+
>;
|