@nomalism-com/types 0.43.76 → 0.43.78
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.cjs
CHANGED
|
@@ -2289,7 +2289,10 @@ __export(route_schema_exports24, {
|
|
|
2289
2289
|
});
|
|
2290
2290
|
import joi25 from "joi";
|
|
2291
2291
|
var createBodyKeys16 = {
|
|
2292
|
-
name: joi25.string().required()
|
|
2292
|
+
name: joi25.string().required(),
|
|
2293
|
+
native_name: joi25.string().required(),
|
|
2294
|
+
iso_code: joi25.string().required(),
|
|
2295
|
+
short_list: joi25.boolean().default(false).optional()
|
|
2293
2296
|
};
|
|
2294
2297
|
var createBody17 = joi25.object().keys(createBodyKeys16).messages(messages);
|
|
2295
2298
|
var updateBodyKeys13 = {
|
package/dist/index.js
CHANGED
|
@@ -2289,7 +2289,10 @@ __export(route_schema_exports24, {
|
|
|
2289
2289
|
});
|
|
2290
2290
|
import joi25 from "joi";
|
|
2291
2291
|
var createBodyKeys16 = {
|
|
2292
|
-
name: joi25.string().required()
|
|
2292
|
+
name: joi25.string().required(),
|
|
2293
|
+
native_name: joi25.string().required(),
|
|
2294
|
+
iso_code: joi25.string().required(),
|
|
2295
|
+
short_list: joi25.boolean().default(false).optional()
|
|
2293
2296
|
};
|
|
2294
2297
|
var createBody17 = joi25.object().keys(createBodyKeys16).messages(messages);
|
|
2295
2298
|
var updateBodyKeys13 = {
|
|
@@ -13,6 +13,9 @@ export interface IFindPaginatedRequest extends IFindRequest, IShared.IPagination
|
|
|
13
13
|
export type IFindWithPaginationResponse = IShared.IPaginationResponse<Omit<IFindDetailedResponse, ''>>;
|
|
14
14
|
export interface ICreateRequest {
|
|
15
15
|
name: string;
|
|
16
|
+
native_name: string;
|
|
17
|
+
iso_code: string;
|
|
18
|
+
short_list: boolean;
|
|
16
19
|
}
|
|
17
20
|
export interface IUpdateRequest {
|
|
18
21
|
name?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.43.
|
|
4
|
+
"version": "0.43.78",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|